Commit Graph

8609 Commits (d484d573abe584d43f549f50f31f013028f450fc)

Author SHA1 Message Date
bcostm f118e893fd STM32xx - Change how the ADC internal pins are checked before pinmap_pinout 2016-11-08 10:42:57 +00:00
bcostm 62c5298190 Fix wrong timer channel number of pwm PB_5 pin 2016-11-08 10:42:56 +00:00
Brian Daniels beb7ec247a Removing dependency on StringIO, only change return type of table export 2016-11-08 10:42:54 +00:00
Brian Daniels 32b4e60982 Removing need for memap to printed through toolchains 2016-11-08 10:42:53 +00:00
Brian Daniels 09a09f70b7 Handling output of parallelized test building.
This makes use of the reports generated by the building of tests to
prevent output from interleaving when the build is parallelized. This
required some changes to memap to return a generated string from
the 'generate_output' function. I also had an option to stop the prints
from memap to prevent text from interleaving
2016-11-08 10:42:52 +00:00
Brian Daniels d1eaefe688 Modifying behavior of 'silent' option in toolchains
The 'silent' option has always been present in the toolchains API, however
it did not actually stop anything from being printed. Instead, it just
changed what was added to the build log. This make the 'silent' stop all
prints, but ensures that the output for the toolchain is still preserved
and accessible via the 'get_output' function.
2016-11-08 10:42:51 +00:00
Brian Daniels b6366e3e62 Making building and linking tests fully parallel.
This uses similar code that is used withing the toolchains to parallelize
the linking process of all the tests accross all the available CPUs. It
also respects the `-j` parameter if you wish to limit the number of cores
used.
2016-11-08 10:42:49 +00:00
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