Commit Graph

8413 Commits (a9d65e46a31725cb36cc8d7753761b572639f694)

Author SHA1 Message Date
Sam Grove 483d3fd277 Merge pull request #2923 from bcostm/adcintch_F1
STM32F1xx - Add support of ADC internal channel (Temperature, VRef)
2016-10-06 15:58:26 -05:00
Sam Grove 41323855ec Merge pull request #2918 from theotherjimmy/memap-improvements
Allow max-depth specification in memap
2016-10-06 15:57:39 -05:00
Sam Grove 3a16ca9855 Merge pull request #2911 from theotherjimmy/docs-generation
[Tools] Add documentation generation script
2016-10-06 15:57:08 -05:00
Sam Grove 3aca6fdd86 Merge pull request #2899 from TomoYamanaka/master
Fix bugs of PWM driver.
2016-10-06 15:54:29 -05:00
Sam Grove 76fb1f8c3f Merge pull request #2708 from sarahmarshy/uvision-and-iar
[Exporters] Refactor Uvision and IAR and initial support of CMSIS projects
2016-10-06 15:54:00 -05:00
Sam Grove 22ec73bc3a Merge pull request #2948 from jamike/Fixed_iarm_debug_built_failed
[IAR build] fix debug build
2016-10-06 13:37:58 -05:00
Russ Butler 6375b8cf2b Fix ncs36510 by updating header guard
Fix the header guard in the ncs36510 RF driver. Also update the
license in NanostackRfPhyNcs36510.h.
2016-10-06 11:52:09 -05:00
Andres AG 39c95e0e2f Sync mbed TLS with development HEAD
Update the current version of mbed TLS with the development HEAD of the
mbed TLS project repository. This mostly includes the latest CMAC
feature. Also, update the version in the importer Makefile and
VERSION.txt with the hash of the mbed TLS commit that was sync'ed.
2016-10-06 16:29:41 +01:00
bcostm 50cb26040a STM32L1xx - Add support of ADC internal channels (Temperature, VRef) 2016-10-06 17:15:16 +02:00
bcostm 49fe84ccd0 STM32L1xx - Use STM_PIN_DATA_EXT macro and obj->channel field to facilitate channels configuration 2016-10-06 16:48:45 +02:00
Mahadevan Mahesh b290c71f57 The HAL CM4 for ARM and IAR toolchains is valid only for FPU present. These guards were added
to mbed SDK as there are targets with Cortex-M4. This is similar to the implementation already
done for GCC ARM

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-06 09:27:59 -05:00
Michel Jaouen 144e97bf63 [IAR build] fix debug build
with option  --profile ./tools/profiles/debug.json
2016-10-06 16:16:14 +02:00
bcostm 569f64a966 STM32L4xx - Add support of ADC internal channels 2016-10-06 15:41:00 +02:00
bcostm 5f8052a9ef Remove VLCD ADC internal channel on L011 and L031 devices (not present) 2016-10-06 14:58:40 +02:00
bcostm c637477711 Add support of ADC internal channels for L0 devices 2016-10-06 14:53:28 +02:00
Sarah Marsh 2a8c9ef6a5 More formatting changes in targets.json 2016-10-05 14:00:11 -05:00
Blackstone Engineering 3e39ef8916 Change K64F D8 pin from PTA0->PTC4
Modifying D8 to reflect latest hardare changes in RevD hardware
https://github.com/ARMmbed/mbed-os/issues/2933
2016-10-05 13:32:12 -05:00
Jimmy Brisson 8f9f4eefed Allow max-depth specification in memap 2016-10-05 12:36:30 -05:00
Christopher Haster 2a58befd15 restructure - Fixed missing include paths in mbed 2 project builds 2016-10-05 11:06:27 -05:00
bcostm 4207ebf329 Fix issue with Temp and VBat channels. Use internal channels specific definitions. 2016-10-05 16:33:46 +02:00
bcostm 480d784497 Use ADC internal channels specific definitions 2016-10-05 15:20:55 +02:00
Seppo Takalo 35c4ceb2ef Update mbed-trace
* commit '7a4b3d11a35f764d887b1a8c7a31b1944d2c9c46':
  Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from b17e969..31e338c
2016-10-05 16:09:58 +03:00
Seppo Takalo 7a4b3d11a3 Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from b17e969..31e338c
31e338c Use temp variable in mutex release loop (#52)

git-subtree-dir: features/FEATURE_COMMON_PAL/mbed-trace
git-subtree-split: 31e338c23934491fcb852ee4d2788d34851d01a2
2016-10-05 16:09:58 +03:00
bcostm ed411983a0 Use ADC internal channels specific definitions 2016-10-05 15:06:35 +02:00
bcostm dfc2a2d097 Add VBat channel and manage better the internal channels configuration 2016-10-05 14:58:01 +02:00
bcostm 7f14131d5b STM32F7xx - Add support of ADC internal channels 2016-10-05 14:38:02 +02:00
Andres AG 916ce43ffa Fix mbedtls user config and null entropy 2016-10-05 11:04:35 +01: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
Sam Grove 670b0984eb Merge pull request #2917 from c1728p9/fix_InitTCs
Initialization steps in toolchains
2016-10-05 00:54:45 -05: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