Commit Graph

8682 Commits (aa583bd8ce5f1a112baec4a4b95729db3bb4c931)

Author SHA1 Message Date
Alessandro Angelino eb86d12aee EFM32: Add support for uVisor 2016-10-24 18:29:51 +02:00
Alessandro Angelino 371d652a04 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-24 18:29:37 +02:00
Steven Cooreman 0b6ed71626 [EFM32] 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-24 18:29:25 +02:00
Steven Cooreman 758d160384 [EFM32] 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-24 18:29:00 +02:00
Steven Cooreman 7c0dd13bc6 [Silicon Labs][CMSIS] 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-24 18:28:44 +02:00
Martin Kojtal 4fa5a80c84 Merge pull request #3084 from nvlsianpu/fix_gpioe_uninit
[nrf5] fix in Digital I/O : a gpioe pin was uninitialized badly
2016-10-24 18:27:28 +02:00
Martin Kojtal a0ca7eba07 Merge pull request #3092 from bridadan/parallelize-iar-build-system
[tools + tests] Adding parallelized build option for iar and uvision exporters
2016-10-24 18:26:07 +02:00
Steven Cooreman 3c450f1b37 [EFM32] 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-24 18:26:02 +02:00
Steven Cooreman c60dacfccf [EFM32] Fix typo to targets.json 2016-10-24 18:25:34 +02:00
Steven Cooreman bb03e8c9e4 [EFM32] More condensation 2016-10-24 18:25:21 +02:00
Steven Cooreman 6315147faf [EFM32] 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-24 18:25:11 +02:00
Steven Cooreman 1f3003fb22 [EFM32] 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-24 18:24:59 +02:00
Steven Cooreman 4df6986100 [EFM32] 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-24 18:24:49 +02:00
Steven Cooreman 6574f4d0a4 [EFM32] 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-24 18:24:33 +02:00
Steven Cooreman b766c48744 [EFM32] 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-24 18:23:51 +02:00
Martin Kojtal 9cd14e29a7 Merge pull request #3110 from sam-taylor-arm/patch-1
Update README.md for 5.2
2016-10-24 16:09:27 +02:00
Vincent Coubard 501a00b1ac Add define for FPU_EXCEPTION_MASK 2016-10-24 14:15:34 +01:00
Sam Taylor fd9e9980ba Update README.md
Changed revision number and documentation links for the 5.2 release
2016-10-21 19:09:41 +01:00
Christopher Haster 2fefc05f08 events - Removed unused variable warning in ndebug builds 2016-10-21 12:51:55 -05:00
Vincent Coubard bd1ad99452 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-21 14:47:44 +01:00
Jimmy Brisson 800792a42e Remove pycurl dependency 2016-10-20 16:24:47 -05:00
Brian Daniels d192491191 Making IAR exporter build test parallelized 2016-10-20 16:11:03 -05:00
Russ Butler d1a71eb9fc Merge pull request #3088 from andresag01/mbedtls-preoprocessor-checks
Add checks for NULL_ENTROPY and SSL_TLS in mbed OS
2016-10-20 15:51:24 -04:00
Russ Butler a6e199ac75 Merge pull request #3087 from theotherjimmy/update-packs
Update pack-derived files, and add safely test to uVision exporter
2016-10-20 15:30:05 -04:00
Bruno Monteiro Pires 0e8ba855a0 [SDFileSystem] 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-20 14:20:32 -02:00
Andres AG 509a72ca81 Add checks for NULL_ENTROPY and SSL_TLS in mbed OS 2016-10-20 17:07:32 +01:00
Jimmy Brisson 7b15984483 Update pack-derived files, and add safely test 2016-10-20 09:37:02 -05:00
jeromecoutant eb812a1887 Add LOWPOWERTIMER capability for NUCLEO_F303ZE 2016-10-20 15:02:06 +02:00
Mahadevan Mahesh ea2f0df821 Kinetis HAL: Remove clock initialization code from serial and ticker HAL drivers
after updates to the mbed startup code

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-20 07:59:41 -05:00
Andrzej Puzdrowski 93c67fbd73 nrf5 fix - gpioe pin was uninitialzied for new mode, should been uninitailzed for mode. 2016-10-20 14:10:32 +02:00
Martin Kojtal 9fce16dddf Merge pull request #3061 from theotherjimmy/makefile-lib-fix
Exporters: Use correct names for library files in makefile exporter
2016-10-20 11:02:24 +01:00
Martin Kojtal 5b67832959 Merge pull request #3054 from andreaslarssonublox/ublox_fix_odin_mbedtls_config
Moved mbedtls config for u-blox ODIN-W2 to macros in target.json
2016-10-20 10:59:05 +01:00
Sam Grove ff2a7db3f2 Merge pull request #3067 from theotherjimmy/checkin-pack-index
Arm-Pack-Manager - Checkin pack index
2016-10-19 16:49:59 -05:00
Christopher Haster cce82b13ac nsapi - Fixed unaligned writes from <word-sized scanf calls 2016-10-19 16:49:35 -05:00
Christopher Haster 281a0e2fe1 nsapi - Added rudimentary ip parsing tests 2016-10-19 15:28:32 -05:00
Christopher Haster bf83cb28cd nsapi - Fixed leftover bytes from suffix during ipv6 parsing
Thanks to @EduardPon for hunting this down
2016-10-19 15:28:32 -05:00
Jimmy Brisson 1a4dabd65d Account for different linker flags across the compilers 2016-10-19 14:21:11 -05:00
Jimmy Brisson f812deed24 Remove dependency on XDG home spec 2016-10-19 12:07:37 -05:00
Jimmy Brisson 8f19672530 Add update command to project.py 2016-10-19 12:05:10 -05:00
bcostm 8a570cce93 STM32F1: correct the read of timer master value 2016-10-19 16:46:51 +02:00
Michel Jaouen 26f3352f83 STM32F3xxx : GCC_ARM remove zero bss, in startup.
zero bss is done in libc init after call _start.
2016-10-19 14:54:43 +02:00
Michel Jaouen 759837aff4 STM32F207: GCC_ARM remove zero bss, in startup.
zero bss is done in libc init after call to _start.
2016-10-19 14:54:41 +02:00
Martin Kojtal 382cb9f57a Merge pull request #3021 from hasnainvirk/master
ONME-2822 Binary build script mod
2016-10-19 13:42:22 +01:00
Martin Kojtal 03fc9f4c92 Merge pull request #3070 from theotherjimmy/iar-debugging
Exporters - Update the IAR debug template to version 7.70.1
2016-10-19 13:21:28 +01:00
Martin Kojtal 1339f0dede Merge pull request #3060 from theotherjimmy/sw4stm32-fix
[exporters] Fix traceback in SW4STM32 from incorrect use of core
2016-10-19 13:10:54 +01:00
Sam Grove fc39f6b736 Merge pull request #3064 from c1728p9/f429_heap
NUCLEO_F429 - Increase IAR heap size
2016-10-19 05:51:20 -05:00
Sam Grove d6831b3386 Merge pull request #3063 from theotherjimmy/make-srec-print
[Exporters] Add quick print to the makefile when srec_cat is required
2016-10-19 05:51:04 -05:00
Sam Grove f1d678f8a4 Merge pull request #3056 from LMESTM/fix_stm32_pull_overwrite
Fix stm32 pull overwrite
2016-10-19 05:50:30 -05:00
Sam Grove 725892e147 Merge pull request #3055 from toyowata/master
[TARGET_RENESAS] Add cmsis.h inclusion
2016-10-19 05:50:05 -05:00
Sam Grove 9138f62742 Merge pull request #3052 from theotherjimmy/name-eclipse-exporters
Exporters - Name the eclipse exporters and remove relpath computations
2016-10-19 05:49:46 -05:00