Commit Graph

8536 Commits (c25a513612ac604454328cc3075d9de7047ace5f)

Author SHA1 Message Date
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
Andrzej Puzdrowski e3d12d4047 Fix: reverted unwanted changes in ARM5's scatter files of legacy nRF51822 targets. Applied proper changes to ARM5's scatter files of nRF5 regular targets. Improvement: Remove hardcoding of FLASH vector address, now FLASH vector address is imported form linker to C code.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2016-10-27 11:12:40 +01:00
Andrzej Puzdrowski bd18ede438 Fix error in nRF5 build of Travis CI caused by request of "target hal" includes from "target cmsis" sources move form the path target/cmsis... and rename dispatch_IRQn_handler.c to the path target/.. and beter name. 2016-10-27 11:12:39 +01:00
Andrzej Puzdrowski 212a13344a Remove unwanted #ifdef form nRF5 targets spi_api implementations. Reduce size of no-init section to precisely fit to size of vector in RAM. 2016-10-27 11:12:38 +01:00
Andrzej Puzdrowski 03653b741f Intorduce NVIC_SetVector functionality for nRF5 port
# Conflicts:
#	hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/serial_api.c
#	hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/us_ticker.c
2016-10-27 11:12:37 +01:00
Mahadevan Mahesh 21ab7e063b 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-27 11:12:35 +01:00
Mike Fiore 3fb6738389 remove duplicate PWMs, fix swapped pins 2016-10-27 11:12:34 +01:00
Mike Fiore f20deb6b07 clean up peripheral pins & add new pin names 2016-10-27 11:12:33 +01:00
Mahadevan Mahesh f520135762 Sleep API Update. Call Board RUN function as some platforms need more than setting the clock mode.
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-27 11:12:32 +01:00
Mahadevan Mahesh 482cc91b98 Add support for FRDM KW24D
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-27 11:12:30 +01:00
Anna Bridge e435a07d92 Merge pull request #3111 from ARMmbed/release-candidate
Update README.md
2016-10-24 12:07:29 +01:00
Sam Grove 83f74b05bf Update README.md
Changes from 5.1 to 5.2
2016-10-21 13:14:15 -05:00
Anna Bridge de41409830 Merge pull request #3109 from ARMmbed/release-candidate
Update MBED_LIBRARY_VERSION to 128
2016-10-21 18:22:03 +01:00
Anna Bridge 75803d8fbb Update MBED_LIBRARY_VERSION to 128 2016-10-21 17:43:33 +01:00
Andres AG 1d875083b7 Add checks for NULL_ENTROPY and SSL_TLS in mbed OS 2016-10-20 14:53:57 -05:00
Sam Grove d283c0fb80 Merge pull request #3086 from iriark01/patch-4
Edit
2016-10-20 14:27:31 -05:00
Jimmy Brisson 775bfa36a4 Update pack-derived files, and add safely test 2016-10-20 10:42:59 -05:00