Commit Graph

12750 Commits (mbed-os-5.6)

Author SHA1 Message Date
Jimmy Brisson 3387ddcd3e Test the supported check in the ARM toolchains
They fail right now, Cores are not checked
2017-11-03 12:59:04 +00:00
Jimmy Brisson ce58c04433 Check for uARM support when compiling with uARM 2017-11-03 12:59:03 +00:00
Tony Wu 7bf56cff96 rtl8195am - remove redundant file
This file is unused and redundant.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-11-03 12:59:03 +00:00
Tony Wu 16784d41ff rtl8195am - fix IAR zero padding issue
Remove redundant memory regions, and merge multiple RAM regions into one
to solve ielftool zero padding issue.

The side effect is less control over object files placement. It's all up
to linker's best effort.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-11-03 12:59:03 +00:00
Tony Wu 28d76ac248 rtl8195am - cleanup IAR icf file
Cleanup ICF file. No logic change.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-11-03 12:59:03 +00:00
bcostm b9acc52977 Typo correction 2017-11-03 12:59:03 +00:00
bcostm 781f6f731c Coding style and add State field init 2017-11-03 12:59:03 +00:00
bcostm 4afca4df87 NUCLEO_F207ZG: Fix issue with tests-api-analogout and GCC_ARM
Without this fix the tests-api-analogout test is fail with GCC_ARM.
2017-11-03 12:59:03 +00:00
Laurent MEUNIER 9bbe822d56 STM32: RNG: Ensure that no more than 1 instance is used
There is only 1 RNG HW IP and we do not support more than one driver
user at a time, so let's ensure this is the case and raise an error if
needed.
2017-11-03 12:59:03 +00:00
Laurent MEUNIER a375ea0619 STM32: TRNG: remove call to deprecated HAL_RNG_GetRandomNumber
HAL_RNG_GetRandomNumber is a deprecated API and replaced here with
a call to HAL_RNG_GenerateRandomNumber.

Doing so, we also rework the driver to use the 4 bytes returned by a call
to HAL_RNG_GenerateRandomNumber instead of 1 byte out of 4.

HAL_RNG_GenerateRandomNumber was not returning any error code, so now
we can also check the return code.
2017-11-03 12:59:03 +00:00
Laurent MEUNIER 16048c261f Activate FLASH hal support on 2 STM32 boards
The generic Flash support for L4 and L0 families is already there,
but was not activated by default on 2 recentely added boards:
DISCO_L475VG_IOT01A and DISCO_L072CZ_LRWAN1
This is done now.
2017-11-03 12:59:02 +00:00
Martin Kojtal e62a1b9236 Merge pull request #5355 from ARMmbed/release-candidate
Release candidate for mbed-os-5.6.3
2017-10-23 15:12:07 +01:00
adbridge 730646d0d7 Updated MBED versionning block for patch release 2017-10-20 16:18:32 +01:00
Przemyslaw Stekiel 3e56f41aa2 Remove redundant ISR test. 2017-10-20 16:18:30 +01:00
Maciej Bocianski c9e589cc70 Move heap_and_stack tests 2017-10-20 16:18:30 +01:00
Maciej Bocianski 6adfa8fae8 Extends test set for EventFlags class 2017-10-20 16:18:30 +01:00
Tony Wu 3cf6a09a67 rtl8195am - use TOOLCHAIN_PATHS to locate toolchain
Use TOOLCHAIN_PATHS to locate toolchain binaries for users might set
compiler paths, through mbed_settings.py, env vars, or system path.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-10-20 16:18:30 +01:00
Filip Jagodzinski 91f648cd66 Tests: RTOS: RtosTimer: Fix tests on debug profile
Redefine error() as noop to fix tests being aborted when compiled
with -DMBED_TRAP_ERRORS_ENABLED=1.
2017-10-20 16:18:30 +01:00
Filip Jagodzinski 910025f19d Tests: RTOS: RtosTimer: Add tests 2017-10-20 16:18:30 +01:00
Filip Jagodzinski d812594c88 RTOS: RtosTimer: Improve API docs 2017-10-20 16:18:30 +01:00
maclobdell 9c125dbdcc fix app start size in IAR linker for K66F 2017-10-20 16:18:30 +01:00
maclobdell f5850b02ac add updates for bootloader support to K66F 2017-10-20 16:18:30 +01:00
maclobdell 7a5687396e enabled flash in-application-programming driver for k66f 2017-10-20 16:18:30 +01:00
Roberto Spelta c6f68b21b5 removed memory allocation 2017-10-20 16:18:30 +01:00
Roberto Spelta dd1d294c74 fixed pin LEDs 2017-10-20 16:18:30 +01:00
Roberto Spelta 6015ae04e0 added IAR export for STM32L476JG 2017-10-20 16:18:30 +01:00
Roberto Spelta 4d4884d688 setted pin USBTX and USBRX 2017-10-20 16:18:30 +01:00
Roberto Spelta 12a5a2f4fa added clock_source for tests 2017-10-20 16:18:30 +01:00
Roberto Spelta d98fc9538c modified mesh_system.c to improve memory 2017-10-20 16:18:30 +01:00
Roberto Spelta eb0da90583 added TARGET_STM32L476JG define in mbed_rtx.h 2017-10-20 16:18:29 +01:00
Roberto Spelta f44d0fb443 modification to .ld to improve memory 2017-10-20 16:18:29 +01:00
Roberto Spelta 2f4f0b85ac copy of L476RG ld file 2017-10-20 16:18:29 +01:00
Roberto Spelta 54452b5feb peripherals pins adaptation 2017-10-20 16:18:29 +01:00
Roberto Spelta 2209e01515 copy of L476RG target 2017-10-20 16:18:29 +01:00
Roberto Spelta 857f30b778 added SILICA_SENSOR_NODE in target.json 2017-10-20 16:18:29 +01:00
Maciej Bocianski 0ab1272c7d Basic test refactoring 2017-10-20 16:18:29 +01:00
Jimmy Brisson e56bb681b6 Remove debug print from memap IAR impl 2017-10-20 16:18:29 +01:00
Christopher Haster 3ab2f85262 Fix behaviour of empty .mbedignore
Should ignore nothing, currently ignores everything
An empty .mbedignore is easy to create when tinkering with a local repo
2017-10-20 16:18:29 +01:00
Kevin Gilbert fceea7a597 Add additional information on the block parameter in the HeapBlockDevice ctor 2017-10-20 16:18:29 +01:00
Alexander Zilberkant b855fde736 uVisor: Upgrade to v0.31.0 2017-10-20 16:18:29 +01:00
Kevin Gilbert 06bd5297af Add erase to example
Use defined blocksize constant
2017-10-20 16:18:29 +01:00
Kevin Gilbert 6f9a6787af Update HeapBlockDevice example in header file to compile 2017-10-20 16:18:29 +01:00
Laurent MEUNIER 7cde58db70 STM32: RTC: Call irq_handler whenever interrupt fires
lp_ticker driver is the known registered user of RTC handler API.

In case, a lp_ticker is set in the past, the lp_ticker_fire_interrupt
will be called which itself sets the RTC interrupt as pending by calling
NVIC_SetPendingIRQ(RTC_WKUP_IRQn). This all happens without actual
programing of the RTC wake-up.

As a result the RTC HW and corresponding HAL layer doesn't expect an
interrupt to happen and will not call HAL_RTCEx_WakeUpTimerEventCallback.

To sove this situation, we will not use HAL_RTCEx_WakeUpTimerEventCallback
weak definition but rather call handler whenever an RTC interrupt fires.
2017-10-20 16:18:29 +01:00
bcostm 4215a38de3 NUCLEO_L011K4: add ALT pins + cleanup 2017-10-20 16:18:29 +01:00
bcostm f47600c746 NUCLEO_F042K6: add ALT pins + cleanup 2017-10-20 16:18:29 +01:00
bcostm 84c8244e2e NUCLEO_L432KC: add ALT pins + cleanup 2017-10-20 16:18:29 +01:00
bcostm 05433d3ab7 NUCLEO_L031K6: add ALT pins + cleanup 2017-10-20 16:18:29 +01:00
bcostm 82b36f5ca6 NUCLEO_F303K8: add ALT pins + cleanup 2017-10-20 16:18:29 +01:00
andreas.larsson b33ad2714d Updated u-blox ODIN-W2 binaries to 2.2 rc1 2017-10-20 16:18:29 +01:00
bcostm 817cead74d Initialize State variable 2017-10-20 16:18:28 +01:00