Commit Graph

6 Commits (mbed-os-5.10)

Author SHA1 Message Date
Russ Butler 256ba04261 Fix comparison warning on STM32L4 devices
Cast the pointer used in l4_retarget to uint32_t before comparing it
to fix the warning:
"comparison between pointer and integer"
2018-09-11 15:04:48 +01:00
Russ Butler 3c8e3ed126 Fix memory allocation on STM32L4 devices
Depending on initial size allocated on STM32L4 devices with
TWO_RAM_REGIONS  set a crash may occur. This is because there is a
mismatch between the size newlib is expecting and the size actually
returned by _sbrk. This is because the STM32L4 implementation of _sbrk
is performing alignment internally.

This patch fixes this problem by removing the code in __wrap__sbrk
which performs the alignment.
2018-09-11 15:04:48 +01:00
jeromecoutant 78410e7032 TARGET_STM32L4 astyle 2018-06-27 14:46:00 +02:00
Jimmy Brisson d374bb4a5a Correct armc6 detection logic 2018-04-05 15:13:52 -05:00
adustm 67953251f9 Use official toolchain defines 2018-02-23 10:29:29 +01:00
adustm f551255ded Add support of separate memories for heap and stack region swith the use of TWO_RAM_REGIONS define 2018-02-22 17:37:34 +01:00