Martin Kojtal
e2617cc0e1
Merge pull request #3144 from ARMmbed/release-candidate
...
Release candidate for 5.2.1
2016-10-27 15:58:26 +02:00
0xc0170
03edc371a1
Targets- NUMAKER_PFM_NUC47216 remove mbed 2
...
crypto failures due to mbedtls dependency
2016-10-27 11:13:50 +01:00
jeromecoutant
9fbb939791
analog_loop test - keep mcu list and update with STM32 boards
2016-10-27 11:13:48 +01:00
jeromecoutant
c9ced221ef
analog_loop tests update for STM32
2016-10-27 11:13:47 +01:00
Christopher Haster
d36bda7d81
lwip - Added support for NSAPI_UNSPEC to lwip
2016-10-27 11:13:46 +01:00
Christopher Haster
1703ed38c9
nsapi - Standardized support of NSAPI_UNSPEC
...
- Reordered nsapi_version_t to make defaule nsapi_addr_t NSAPI_UNSPEC
- Added support to NSAPI_UNSPEC in SocketAddress
2016-10-27 11:13:44 +01:00
Bradley Scott
463490285f
STM32F3: Eliminate two unused variable warnings
2016-10-27 11:13:43 +01:00
Bradley Scott
0fdbe3d16d
STM32F3: Correct UART4 and UART5 defines when using DEVICE_SERIAL_ASYNCH
2016-10-27 11:13:42 +01:00
Hasnain Virk
8d4abba2d4
OnSemi RAM usage fix
...
Previous code base had been wasting almost 4K of precious RAM.
* Main stack allocation reduced from 4K to 1K
* Un-necessary breakdown of RAM regions is removed. This gives us back 2K of RAM.
2016-10-27 11:13:41 +01:00
Steven Cooreman
88c9e07c53
Workaround for SDK5.0.0 and USB
...
Aliased a few macros that changed name from SDK4.x to SDK5.x. in order to make the USB library play nice with SDK5.0.0
2016-10-27 11:13:39 +01:00
Steven Cooreman
dbd32f94e5
NVIC virtualization was not committed for CM0
...
This is a workaround to fix the breaking build until someone adds NVIC virtualization to the CM0plus CMSIS header
2016-10-27 11:13:38 +01:00
Steven Cooreman
f9b873db0a
This one slipped through
2016-10-27 11:13:37 +01:00
Alessandro Angelino
8d7a05c537
EFM32: Add support for uVisor
2016-10-27 11:13:35 +01:00
Alessandro Angelino
9b5411d1fd
EFM32: Use SECURE_ACCESS to access the ROM table
...
To allow enabling of uVisor on EFM32, the ROM table must be accessed
through the CMSIS-provided SECURE_ACCESS macro.
2016-10-27 11:13:34 +01:00
Steven Cooreman
f5e96d35bb
Move clock configuration to target settings
...
Moving the per-board clock configuration (which oscillators are available on the board, their frequencies, and which ones to use) as config options to the target database. This way, they're more easily overridable when third parties start creating boards with EFM32 MCUs
2016-10-27 11:13:33 +01:00
Steven Cooreman
a65e7932c4
Collapse NVIC relocation handling
...
Gecko SDK 5.0.0 provides a convenient define for the amount of vectors wired on the chip, so we can use that to collapse the cmsis_nvic.h header
2016-10-27 11:13:31 +01:00
Steven Cooreman
c25a513612
Patch CMSIS v4.2+ macros into mbed
...
The current version of cmsis shipping with mbed does not provide the __IOM and friends macros that became standard with CMSIS 4.2+. Patching these into CMSIS to allow vendors to continue updating their support libraries, awaiting a full CMSIS update in mbed (which is past due now).
2016-10-27 11:13:30 +01:00
Steven Cooreman
576556c05c
Update emlib to version 5.0.0 in preparation for new targets
...
* Updated cmsis headers to match emlib 5.0.0
* Updated GPIO handling to match new header guards in use
* Updated linker scripts to match emlib 5.0.0
2016-10-27 11:13:29 +01:00
Steven Cooreman
209437f8e5
Fix typo to targets.json
2016-10-27 11:13:23 +01:00
Steven Cooreman
21c7926614
More condensation
2016-10-27 11:13:22 +01:00
Steven Cooreman
f0ce89652c
Use serial configuration from platform
...
mbed added configuration options for default serial baud rate and stdio baud rate, so we can get rid of the workaround in the HAL
2016-10-27 11:13:21 +01:00
Steven Cooreman
ac66d0206f
Small fixes
...
* Use mbed_error
* Include cmsis headers by default when grabbing device.h
* Get rid of enum to uint casting in pinmap
2016-10-27 11:13:19 +01:00
Steven Cooreman
7eccfbd6f5
Use targets.json to improve directory structure
...
Now that we have targets.json, we get target inheritance and can use it to clean up the EFM32 folder structure.
* In the top-level EFM32 folder, there are now folders per MCU family (Giant, Leopard, ...)
* Those family folders contain the CMSIS headers in the 'device' subfolder, as well as global family headers (i.e. mapping of pins to peripherals)
* Inside of the family folder, there is a per-target folder containing target settings. In the future, we'll want to get rid of those by using the config system provided by targets.json
2016-10-27 11:13:18 +01:00
Steven Cooreman
9a584b8672
Clean up per-target Modules.h
...
Removed deprecated defines MODULES_SIZE_* and moved the setting for the SPI asynch transfer queue size to targets.json, where it apparently belongs
2016-10-27 11:13:14 +01:00
Steven Cooreman
9f479e1d3a
Condense common header files
...
First wave of squashing header files in order to get to a more sensible folder tree.
* Moved header files with 100% similarity to common folder
* Created a CommonPinNames.h header containing the base pin names P[A-F][0-15] and NC
2016-10-27 11:13:13 +01:00
Russ Butler
67878fcc63
Remove non-code profiles
...
Remove profiles which are not suitable for building stand alone. This
leaves just the 3 core profiles.
2016-10-27 11:13:12 +01:00
Russ Butler
93ea2e8ccf
New build profile and docs
...
Add a small build profile and general docs for build profiles.
2016-10-27 11:13:10 +01:00
Marc Moreno Berengue
21788eae8d
Update BLE Cordio libraries
...
This patch updates the BLE Cordio libraries.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2016-10-27 11:13:09 +01:00
Marc Moreno Berengue
600f04970e
Update disable dualtimer irq function
...
This patch updates DualTimer_DisableInterrupt to
disable the interrupt timers individually.
In addition, it updates lp_ticker accordingly.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2016-10-27 11:13:08 +01:00
Jimmy Brisson
b9235663f4
Remove pycurl dependency
2016-10-27 11:13:07 +01:00
Bruno Monteiro Pires
aa6fbb676f
Fixed tab spacing from 0e8ba85
...
* Removed missplaced tabs
Signed-off-by: Bruno Monteiro Pires <brunomonteiropires@gmail.com>
2016-10-27 11:13:05 +01:00
Bruno Monteiro Pires
8b3ae981df
Enable / Disable serial debug.
...
+ Added ``void debug(bool dbg)`` method to allow enabling/disabling
serial debug at runtime.
+ Replaced calls to ``debug`` with ``debug_if`` to prevent messges
from being thrown via serial when debug is disabled.
Signed-off-by: Bruno Monteiro Pires <brunomonteiropires@gmail.com>
2016-10-27 11:13:04 +01:00
jeromecoutant
9fc10640a9
Add LOWPOWERTIMER capability for NUCLEO_F303ZE
2016-10-27 11:13:03 +01:00
bcostm
0287eccf5b
STM32F1: correct the read of timer master value
2016-10-27 11:13:02 +01:00
Vincent Coubard
e763793a28
Add define for FPU_EXCEPTION_MASK
2016-10-27 11:13:00 +01:00
Vincent Coubard
0098e985c7
Fix sleep function for NRF52.
...
An active IRQ from the FPU can prevent the micro to go to sleep, even if this
IRQ is not enabled and not implemented. As a workaround, the FPU IRQ is cleared
before enterring sleep.
2016-10-27 11:12:59 +01:00
Christopher Haster
20e97b0312
nsapi - Fixed unaligned writes from <word-sized scanf calls
2016-10-27 11:12:58 +01:00
Christopher Haster
333aee7ece
nsapi - Added rudimentary ip parsing tests
2016-10-27 11:12:57 +01:00
Christopher Haster
8dcbf63bb6
nsapi - Fixed leftover bytes from suffix during ipv6 parsing
...
Thanks to @EduardPon for hunting this down
2016-10-27 11:12:55 +01:00
Christopher Haster
350a5a4b31
events - Removed unused variable warning in ndebug builds
2016-10-27 11:12:54 +01:00
Radhika
38b45aa2be
Enable not checking against 0 or 1.
2016-10-27 11:12:53 +01:00
Radhika
22556d827d
IRQ enable code moved out.
2016-10-27 11:12:52 +01:00
Radhika
0358d62690
Reverting Clock GPIO code to previous implementation of the gpio_api.c and gpio_irq_api.c
2016-10-27 11:12:50 +01:00
Radhika
14afd591ec
gpio is connected API
2016-10-27 11:12:49 +01:00
Radhika
823f4dc6dd
Fixed automerge problems.
2016-10-27 11:12:48 +01:00
Radhika
5a35583e57
Serial printf and InterruptIn changes
2016-10-27 11:12:47 +01:00
Andrzej Puzdrowski
d72553e27a
fix - added proper code of cmsis_nvic.c for regular nrf51 target
2016-10-27 11:12:45 +01:00
Andrzej Puzdrowski
8339f9c294
Fix - Remove unwanted changes to the legacy nrf51822 target (caused by rebase). ad applied them to to regular targets. Fix a typo and polish nordic's code.
2016-10-27 11:12:44 +01:00
Andrzej Puzdrowski
505ea34732
NRF5: Reduce vector table size in FLASH by cutting unused endians. Move to one IAR startup code for both varaint of RAM (16 KB & 32 KB).
2016-10-27 11:12:43 +01:00
Andrzej Puzdrowski
647bdcd3e2
nRF5x Add registering bluetooth's IRQn vector by NVIC_SetVector.
2016-10-27 11:12:42 +01:00