Marcus Chang
299c7f24ac
mbed-hal: Fixed flash test
...
The test assumed that data written to flash would be memory mapped
and directly accessible. On some platform this is not the case
and data has to read back through an explicit read command.
The test has been changed to use the flash read command instead
of direct memory access.
2017-07-19 14:32:39 +01:00
Marcus Chang
1930c4b136
REALTEK_RTL8195AM: FlashIAP read and address scope
...
The FlashIAP is supposed to have access to the full application
memory, so the address scope has been changed to encompass
the entire external flash.
The address translation has also been changed to reflect the memory
layout in the documentation:
Realtek Ameba1 Memory Layout: 5.1 Flash Memory
2017-07-19 14:24:50 +01:00
adustm
a89860c81d
fix typo in directory name
2017-07-18 17:09:56 -05:00
adustm
1ae5f8cdaa
Add AES HW encryption for NUCLEO_F756ZG in mbedtls
2017-07-18 17:09:54 -05:00
Russ Butler
c18b0e5c05
Fix non-portable defines
...
A define which expands to more defines is not portable across all
compilers and GCC warns about this. Restructure this so the behavior
is defined. This fixes the GCC warning:
"this use of "defined" may not be portable"
2017-07-18 12:04:13 -05:00
Russ Butler
e46bb0ed15
Add support for runtime test specification
...
Add a constructor which explicitly takes the number of test cases.
This allows a test case array created at runtime to be used.
2017-07-18 12:03:06 -05:00
Jimmy Brisson
953b9250f1
Merge pull request #4751 from andreaslarssonublox/ublox_remove_redundant_odin_target_folder
...
Remove redundant ODIN-W2 target folder
2017-07-17 11:09:58 -05:00
Jimmy Brisson
e62b61c9a5
Merge pull request #4745 from Wiznet/master
...
WIZnet W7500*: Remove support for RTC
2017-07-17 11:09:39 -05:00
Jimmy Brisson
a0231db0b9
Merge pull request #4727 from u-blox/c030_peripheral_pins
...
Update UART3 pins for UBLOX_C030 platform.
2017-07-17 11:09:19 -05:00
Jimmy Brisson
1f23f74b93
Merge pull request #4732 from theotherjimmy/bcostm-pinmap
...
Correct DAC pin assignment
2017-07-17 11:08:57 -05:00
Jimmy Brisson
9cb9b9b5b5
Merge pull request #4718 from ARMmbed/g-weak-note
...
Toolchain: Add a note about weak functions and header files
2017-07-17 11:08:22 -05:00
Jimmy Brisson
10a06a7083
Merge pull request #4733 from theotherjimmy/fix-old-builds
...
Prevent double define in very old builds
2017-07-17 11:07:59 -05:00
Jimmy Brisson
a2896cbd8d
Merge pull request #4708 from mattot01/CM3DS_enable_MPS2_test
...
Enable greentea testing on CM3DS_MPS2 target
2017-07-17 11:07:35 -05:00
Jimmy Brisson
775b935ed0
Merge pull request #4687 from bcostm/update_mbed_rtx_h
...
STM: cleanup mbed_rtx.h file
2017-07-17 11:07:07 -05:00
Jimmy Brisson
160940b30e
Merge pull request #4682 from bulislaw/sem_tests
...
Test: RTOS: Semaphore: Rework tests
2017-07-17 11:06:48 -05:00
Jimmy Brisson
185b7233da
Merge pull request #4676 from LMESTM/issue_2959
...
Correctly enable / disable InterruptIn Edges detection
2017-07-17 11:06:27 -05:00
Jimmy Brisson
a75f935348
Merge pull request #4664 from bperry730/fix/st_can_api_freq
...
STM32: Fix the CAN initializing to the wrong frequency
2017-07-17 11:06:04 -05:00
Jimmy Brisson
adfed0f9de
Merge pull request #4644 from 0xc0170/fix_ticker_delta_negative
...
Ticker: add fire interrupt now function
2017-07-17 11:05:46 -05:00
Jimmy Brisson
6593d5bc7f
Merge pull request #4640 from chrissnow/xDot-Bootloader
...
STM32L1 Flash API and xDot bootloader support
2017-07-17 11:04:53 -05:00
Jimmy Brisson
18bb6fdc1f
Merge pull request #4620 from bulislaw/thread_tests
...
Extend tests for RTOS Thread class
2017-07-17 11:03:34 -05:00
Jimmy Brisson
80121e51e5
Merge pull request #4648 from Patater/uvisor-tests-sync
...
Update uVisor to v0.29.0
2017-07-17 11:02:29 -05:00
Laurent MEUNIER
b9d801fe72
STM32: L0: adc struct member does not exist anymore
2017-07-17 16:29:09 +02:00
jeromecoutant
7da7af6cc4
STM32F0 : remove unavailable pins
...
Pins used for STDIO_UART_TX and STDIO_UART_RX are not available
2017-07-17 16:19:15 +02:00
jeromecoutant
a98594d132
DISCO_L475VG_IOT: remove unavailable pins
2017-07-17 14:09:01 +02:00
jeromecoutant
e0e332f5d9
STM32L4 AnalogIn init issue with _ALT pins
2017-07-17 13:33:50 +02:00
Laurent MEUNIER
ea33f8bf94
STM32: F2: adc; struct member not needed
...
Same as other families applied here
2017-07-17 13:27:22 +02:00
Laurent MEUNIER
efbeb0d057
STM32: analogin: adc struct member not needed anymore
...
The adc in analogin_t has the same value as the Instance member of
ADC_HandleTypeDef. So we can only rely on the later one.
2017-07-17 13:27:22 +02:00
Laurent MEUNIER
8540e8a1dd
STM32: Analogin - define handle in object not as a global
...
In this commit, the analogin_s structure is moved to commonn_objects.h file
to limit the duplicaion.
The ADC handle is moved from a global variable to a struct member of the
analogin object. This allows multiple ADC instances to work correctly.
Note that State needs to be explicitely set to HAL_ADC_STATE_RESET
because the object is not zero initialized.
2017-07-17 13:23:45 +02:00
Laurent MEUNIER
b5cbaaa0d0
STM32: Serial - use TXE as tx_irq instead of TC
...
TXE indicates that a byte can be written to UART register for sending,
while TC indicates that last byte was completely sent. So the TXE flag
can be used in case of interrupt based Serial communication, to allow
faster and efficient application buffer emptying.
Also TXE flag will be erased from the interrupt when writing to register.
In case there is nothing to write in the register, the application is
expected to disable the interrupt.
2017-07-17 08:46:00 +02:00
Laurent MEUNIER
85711eb09e
STM32: Serial - do no clear RXNE flag
...
The RXNE flag is getting cleared when reading Data Register so it should
not be cleared here. Especially in case of high data rate, another byte of
data could have received during irq_handler call and clearing the flag
would read and discard this data which would be lost for application.
2017-07-17 08:46:00 +02:00
Jesse Marroquin
3a4138369d
Update BLE, fix sleep and open-drain LEDs in MAX326xx
...
MAX32630FTHR gets BLE, uses timer peripheral 5 for HCI timing
libexactLE update for 610,620
Fixup hal_sleep and hal_deepsleep for 620
LEDn outputs now forced to open-drain
2017-07-14 17:36:56 -05:00
Yuguo Zou
2ec8b04074
Resolve TLS handshake failing issue
...
this issue, relating to wifi thread priority, makes blocking TCP socket
failing
2017-07-14 11:21:53 +08:00
Martin Kojtal
a7f9dc66b8
Fix #4613 : remove duplicated startup files for MICRONFCBOARD
...
Inherits from LPC11U34_421, that defines startup. They were identical.
2017-07-13 17:03:29 +01:00
Jaeden Amero
6f1bb67b55
uVisor: Import v0.29.0
2017-07-13 16:47:47 +01:00
Jaeden Amero
f080a0ea6c
uVisor: importer: Copy uvisor-tests pointer
...
This enables mbed-os and uvisor-tests to stay synchronized.
2017-07-13 16:47:43 +01:00
Martin Kojtal
692d9055b1
Merge pull request #4725 from theotherjimmy/extra_targets_exporters
...
Parse and use custom targets in exporters
2017-07-13 17:00:38 +02:00
Martin Kojtal
c295187750
Merge pull request #4634 from nvlsianpu/bugfix/issue_4357_I2C_SPI_simultaneously
...
Fix the issue #4357 : NRF52 doesn't support simultaneous use of I2C and SPI.
2017-07-13 16:53:33 +02:00
Martin Kojtal
b685fe89b1
Merge pull request #4592 from KariHaapalehto/connect_timeout
...
[ONME-3089] - Adjust lowpan ND interface connect timeout
2017-07-13 16:50:19 +02:00
Bartek Szatkowski
693a3a8837
sara_nbiot_evk: Expose SystemCoreClock via cmsis.h
...
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-13 15:49:34 +01:00
Bartek Szatkowski
03e80119b5
REALTEK_RTL8195AM: Expose SystemCoreClock via cmsis.h
...
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-13 15:49:33 +01:00
Martin Kojtal
1849370100
Merge pull request #4652 from geky/fat-fix-unaligned-ioctl
...
fatfs: Fix unaligned access in disk_ioctl
2017-07-13 16:49:01 +02:00
Martin Kojtal
5a5d159a3c
Merge pull request #4666 from chrissnow/tests-mbed_hal-flash-Timing_fix
...
Fix timing issues found in "Flash - clock and cache test"
2017-07-13 16:48:32 +02:00
Martin Kojtal
43a361214a
Merge pull request #4667 from Archcady/mute_debug_msg
...
Update and mute debug messages of REALTEK_TRL8195AM
2017-07-13 16:47:31 +02:00
Martin Kojtal
1e821499df
Merge pull request #4668 from bcostm/update_f429zi_pinouts
...
DISCO/NUCLEO_F429ZI: Enable all alternate functions and pins
2017-07-13 16:45:59 +02:00
Martin Kojtal
7d1e87a5b3
Merge pull request #4677 from u-blox/ppp_stack_increase
...
Increase default PPP stack size from 512 bytes to 768 bytes.
2017-07-13 16:44:30 +02:00
Martin Kojtal
42548f3dce
Merge pull request #4691 from LMESTM/analogin_sample_time
...
STM32: F4: Increase ADC sampling time for VBAT
2017-07-13 16:43:40 +02:00
Martin Kojtal
06ff4f8bf2
Merge pull request #4693 from pan-/fix#4658
...
Nordic: Fix multiple defined symbol.
2017-07-13 16:43:09 +02:00
Martin Kojtal
58d0aa5ce8
Merge pull request #4694 from bcostm/typo_pins_disco_l475vg
...
DISCO_L475VG_IOT01A: typo corrections in PeripheralPins.c
2017-07-13 16:42:00 +02:00
Martin Kojtal
29fefe8639
Merge pull request #4699 from jeromecoutant/PR_L0_InternalADC
...
STM32L0 : internal ADC channels
2017-07-13 16:40:54 +02:00
Martin Kojtal
59dd859210
Merge pull request #4707 from LMESTM/stm32_serial_it_source
...
STM32: serial: use proper macro to check interrupt
2017-07-13 16:40:16 +02:00