Commit Graph

8539 Commits (61e40cd90be766f7a25c1b3dd4e7cc1c39c81088)

Author SHA1 Message Date
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 5693e7a7ca Merge pull request #2916 from c1728p9/ncs36510_rf_phy
Add ncs36510 RF phy
2016-10-05 00:52:54 -05:00
Sam Grove 683d7b7d74 Merge pull request #2874 from 0xc0170/feature_wifi_ublox
emac HAL API, WiFiInterface additions
2016-10-04 22:46:09 -05:00
Sam Grove 970c6551a1 Merge pull request #2873 from tung7970/fix-mbedos
callchain - fix add_front assignment
2016-10-04 22:45:30 -05: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
Sam Grove 6521be6805 Merge pull request #2905 from ARMmbed/nanostack_fix_m3
Fix build on Cortex M3 with Nanostack.
2016-10-04 18:34:34 -05:00
Christopher Haster 2be7207388 restructure - Fixed missing symbols in generation of mbed 2 cmsis library 2016-10-04 17:51:44 -05:00
Christopher Haster 96b4ff3358 restructure - Updated mbed 2 build to respect the new cmsis directory 2016-10-04 17:51:44 -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
Sarah Marsh 51b13c3ca7 -Oh flag removed from IAR. Optimization set in GUI. 2016-10-04 15:07:41 -05:00
Jimmy Brisson 9261ed4161 Remove tag-adding code from script 2016-10-04 15:03:17 -05:00
Jimmy Brisson f1a78027d3 Add tags to our code 2016-10-04 15:02:44 -05:00
Jimmy Brisson 2cea844199 Automatically Add group tags to documented code 2016-10-04 15:02:33 -05:00
Laurent MEUNIER bcbe0b17de INIT:GCC with rtos: Align pre-main initialization steps between TCs
In this commit we're moving the mbed_sdk_init call before the RTOS
initialisation so that the sequence is similar to other toolchains.
2016-10-04 14:55:31 -05:00
Laurent MEUNIER 3a61bd025f INIT:ARM + rtos: Align pre-main initialization steps between TCs
Various toolchains supported in MBED don't followthe 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 and IAR, this was done in previous commit to avoid HAL_Init()
to be called twice.

In ARM this there is no hook defined in MBED yet to place the call.
The proposal is to take benefit of the library's
_platform_post_stackheap_init function that is going to be called before
__rt_lib_init where the C++ object init is done (__cpp_initialize__aeabi_)

In case of mbed with rtos, the __rt_entry is redefined so we need to add
the call to _platform_post_stackheap_init.

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:28 -05:00
Laurent MEUNIER e8d67ac530 INIT: uARM no rtos: Align pre-main initialization steps between TCs
In uARM, the library's hook _platform_post_stackheap_init does not seem to
exist and I couldnot find a documentation describing the initialisation
flow. All we know is that _open is called after RAM init and before the
C++ init, so this is a working placeholder.

This is maybe not acceptable so a uARM lib expert may propose a better
hook to fullfil the requirement.

At least this is a workign setup.

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:27 -05:00
Laurent MEUNIER f50e23aea6 INIT:ARM no rtos: Align pre-main initialization steps between TCs
Various toolchains supported in MBED don't followthe 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 and IAR, this was done in previous commit to avoid HAL_Init()
to be called twice.

In ARM this there is no hook defined in MBED yet to place the call.
The proposal is to take benefit of the library's
_platform_post_stackheap_init function that is going to be called before
__rt_lib_init where the C++ object init is done (__cpp_initialize__aeabi_)

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:23 -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 e19d04ad31 Move docs_gen.py script to tools/misc 2016-10-04 14:41:18 -05:00
Jimmy Brisson 9dffa04894 Add inside namespaces 2016-10-04 14:41:18 -05:00
Jimmy Brisson b6b72ca50b Add supported_toolchains to super_target 2016-10-04 14:41:17 -05:00
Jimmy Brisson 51fdce3eff Switch how we do groups 2016-10-04 14:41:17 -05:00
Jimmy Brisson 2959acd94c Automatically add groups from features 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 fd86fef205 [uvision] Flash DLL string/debug
Versioning for arm-pack-manager
2016-10-04 14:26:45 -05:00
Christopher Haster 4f1ededb58 Renamed NSAPI_SECURITY_UNSUPPORTED -> NSAPI_SECURITY_UNKNOWN
Returning a wifi access point without information regarding the
security type is only valid if the security type is unknown (from
the perspective of the network-socket API). For clarity in situations
in which scan may return an unsupported, but known security type,
type name has been changed to NSAPI_SECURITY_UNKNOWN.
2016-10-04 14:23:36 -05:00
Russ Butler 1aec3700de Add ncs36510 RF phy
Check in the RF phy for the ncs36510. Note that the RF phy is included
in the built when nanostack is included since the phy is specific to
nanostack.
2016-10-04 14:20:14 -05:00
Sarah Marsh 2a907d296d Fix Uvision CPU type error for DP and FPU targets. 2016-10-04 14:13:36 -05:00
Sarah Marsh b1c8aac25e Updated device name for nucleo_f746zg and disco_f746ng 2016-10-04 14:13:36 -05:00
Sarah Marsh b861c36e41 Removed IAR export support for invalid IAR targets.
Fixed naming of one target selection.
2016-10-04 14:13:36 -05:00
Sarah Marsh 9bec4181d9 Uvision FPU setting added to template 2016-10-04 14:13:36 -05:00
Sarah Marsh 4bc70c0c5f Remove static destruction flag 2016-10-04 14:13:36 -05:00
Sarah Marsh fa148578d2 Uvision5 => Uvision or Uvision5 2016-10-04 14:13:36 -05:00
Sarah Marsh ab050a2319 Cpu type set in uvision template 2016-10-04 14:13:36 -05:00
Sarah Marsh b074ee14c2 IAR debugging and docstrings 2016-10-04 14:13:36 -05:00
Sarah Marsh ce1939b74f Remove : from vendor info in cmsis pdsc 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 8ca7ff2f5b .lst file goes to hidden .build for uvision5 2016-10-04 14:13:36 -05:00
Sarah Marsh 09c5be5921 Buid logs print with no new lines 2016-10-04 14:13:36 -05:00
Jimmy Brisson 66b347c6e6 Add arm_pack_manager's requirements 2016-10-04 14:13:36 -05:00
Sarah Marsh fa13cd2d57 Iar nucleo template referenced correctly 2016-10-04 14:13:36 -05:00
Sarah Marsh a9d1dd005f Build tests clean and logging revision 2016-10-04 14:13:36 -05:00
Jimmy Brisson 072128b29c Integrate arm_pack_manager with exporters 2016-10-04 14:13:36 -05:00
Sarah Marsh bb185476e2 arm_pack_manager - Retrieve debug adapter. Strip URLS 2016-10-04 14:13:36 -05:00
Jimmy Brisson b9cadfb8cd arm_pack_manager - Remove extra print; make url joining work on windows 2016-10-04 14:13:36 -05:00