Commit Graph

2379 Commits (cd573a603fb35f974d5421cbf33cf90e8c0f5ed2)

Author SHA1 Message Date
Głąbek, Andrzej f62d7e5cfd Revert "Enabled flow control feature for NRF51_DK and NRF52_DK targets."
This reverts commit 1f208f6916.

# Conflicts:
#	hal/targets.json
2016-10-05 14:32:07 +02:00
bcostm 354ffe84ab Add channel 17 for Vref 2016-10-05 11:12:47 +02:00
bcostm 007aac86ca Add channel 17 for VRef 2016-10-05 11:02:11 +02:00
bcostm ad431dc613 STM32F2xx - Add support of ADC internal channels (temperature) 2016-10-05 10:25:03 +02:00
bcostm bcd8f2431a STM32F1xx - Add ADC internal channel (Temperature) 2016-10-05 10:06:15 +02:00
Głąbek, Andrzej 1b593b125a TARGET_NORDIC: simplified the checking if SD is enabled in 'sleep()', used the new implementation in legacy HAL for NRF51822. 2016-10-05 09:10:29 +02:00
Sam Grove 670b0984eb Merge pull request #2917 from c1728p9/fix_InitTCs
Initialization steps in toolchains
2016-10-05 00:54:45 -05:00
Głąbek, Andrzej 10419cd3f5 Merge branch 'master' into hal_fixes
# Conflicts:
#	hal/targets.json
2016-10-05 07:54:00 +02:00
Sam Grove f9001e23e9 Merge pull request #2790 from mtkrtk/master
[Renesas RZ/A1H] Allow using PWM and MTU in the same time
2016-10-04 22:45:03 -05:00
Sarah Marsh e8b34282cb Minor formatting changes 2016-10-04 19:34:52 -05:00
Christopher Haster 26ced98734 restructure - Restructured cmsis directory
targets/cmsis -> cmsis
targets/cmsis/TARGET_* -> targets/TARGET_*/device
targets/cmsis/TARGET_*/mbed_rtx.h -> targets/TARGET_*/mbed_rtx.h
2016-10-04 17:51:44 -05:00
Laurent MEUNIER e8675033f4 [STM32] remove superfluous calls to SystemCoreClockUpdate
Supported toolchains initialization steps have been modified to make sure
that mbed_sdk_initi is called _after_ RAM initialization and _before_ C++
objects creation.

since this was done, there is no need to redundant SystemCoreClockUpdates
in the drivers
2016-10-04 15:08:28 -05:00
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