Commit Graph

7317 Commits (bc860db7c512ac7bf8bddcf88383303ab3e88844)

Author SHA1 Message Date
Laurent MEUNIER fe9d3174bf INIT:GCC no rtos: Align pre-main initialization steps between TCs
Various toolchains supported in MBED don't follow the same initialization
steps. This can have impacts on platform behavior.

For STM32, it is needed to call the HAL_Init() _after_ the  RAM has been
initialized (sdata from flash / zero initialized data) and _before_ the C++
objects are being created, especially if those objects require support
of tickers for instance.

In GCC, this is easily done because SystemInit is called after the ram
initialisation, so HAL_Init does not need to called from mbed_sdk_init.
this is covered by the changes in mbed_overrides.c files.

This series should solve issue reported here:
STM32 (At least F401) breaks if Tickers are activated in a global object #2115
2016-10-04 14:55:20 -05:00
Jimmy Brisson b6b72ca50b Add supported_toolchains to super_target 2016-10-04 14:41:17 -05:00
Jimmy Brisson 77c7524471 Add simple documentation generation 2016-10-04 14:41:17 -05:00
Sarah Marsh b1c8aac25e Updated device name for nucleo_f746zg and disco_f746ng 2016-10-04 14:13:36 -05:00
Sarah Marsh 9a02bfb7a3 Additional device names. mbed_targets.md update 2016-10-04 14:13:36 -05:00
Sarah Marsh 448205ac87 device_name in targets.json. Removed progen target 2016-10-04 14:13:01 -05:00
Laurent MEUNIER 3f81f5df50 [STM32F4] Use previously introduced pin_function_gpiomode
This way the pull-up / pull-down modes would not be overwritten
as first reported in issue #2638
2016-10-04 11:19:24 +02:00
Laurent MEUNIER e516bddc66 [STM32F4] Introduce a function that sets gpio mode w/o changin pull mode
This function reads the pull mode from HW and can then be used
to avoid over-writing the previously set pull-up / pull-down modes.

This is done following reported issue: #2638
2016-10-04 11:19:22 +02:00
Russ Butler c9739f4a51 NCS36510 - decrease reserved heap space
Decrease the minimum space reserved for the heap from 16K down to
2K for GCC. This does not have an effect on the actual heap size since
the heap takes up all free RAM. This just allows code to compile in
configurations where the heap is smaller than 16K.
2016-10-03 22:22:01 -05:00
tomoyuki yamanaka 762d47e6c8 Fix bugs of PWM driver.
Bugs are as below.
- In the case of MTU2 mode, modify a problem that does not excute "pwmout_write ()" at the end of "pwmout_pulsewidth_us ()" function.
- In the case of MTU2 mode in "pwmout_period_us ()" function, modify a problem that the executing result of "set_mtu2_duty_again ()" function does not reflect in the register of TGRA_MATCH [] and TGRC_MATCH [].
2016-10-04 10:41:34 +09:00
Sam Grove 45d47b931b Merge pull request #2526 from NXPmicro/HEXIWEAR_TLS_Update
HEXIWEAR: Enable the entropy collector for use in mbed TLS
2016-10-03 18:58:48 -05:00
mtkrtk 5033a479c0 Merge remote-tracking branch 'ARMmbed/master' 2016-10-04 06:47:55 +09:00
Mahadevan Mahesh eff03824bc HEXIWEAR: Enable the entropy collector for use in mbed TLS
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-03 11:24:09 -05:00
andreas.larsson 1d3c63d9bb Changed name for the target UBLOX_C029 to UBLOX_EVK_ODIN_W2 2016-10-03 12:10:50 +02:00
Sam Grove db8d1f679f Add feature LWIP to LPC1768, UBLOX_C027 and ARCH_PRO targets. 2016-10-01 02:16:45 -05:00
Christopher Haster 03bbc86dd6 restructure - Added FEATURE_LWIP to __allowed_features 2016-09-30 19:18:09 -05:00
Christopher Haster 0bad622a16 restructure - Moved targets out to top level
hal/targets -> targets
hal/targets.json -> targets/targets.json
2016-09-30 19:18:09 -05:00