Commit Graph

8008 Commits (95383dde32fd49f19bee526631bf3c414bb627d9)

Author SHA1 Message Date
Laurent MEUNIER 478168c712 [STM32F4] SPI ASYNCH support
This commit is highly derived from an existing work from salkinium.

It adds SPI ASYNC support to STM32 F4 devices. This required a small
rework of the structure to have SYNCH and ASYNCH co-exist.
2016-09-20 19:25:25 +02:00
Laurent MEUNIER 5fdce5fbf7 [STM32F4] move spi_s to common file 2016-09-20 19:25:25 +02:00
Mahadevan Mahesh 47db661e8d Updated ARM linker scripts for Kinetis platforms that use SDK 2.0
1. Fix Heap start address
2. Update to the latest script provided by the Kinetis SDK team

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-09-20 10:38:04 -05:00
svastm 883ff3a1d4 STM32L4 - Enable the low power timer
Enable the low power timer for the following targets:
 - DISCO_L476VG
 - NUCLEO_L432KC
 - NUCLEO_L476RG
2016-09-20 17:36:56 +02:00
svastm 35d101ee50 STM32L4 - Add low power timer 2016-09-20 17:36:56 +02:00
svastm e70921a5e1 STM32F3 - Enable the low power timer
Enable the low power timer for the following targets:
 - NUCLEO_F302R8
 - NUCLEO_F303K8
 - NUCLEO_F303RE
 - NUCLEO_F334R8
 - DISCO_F334C8
 - DISCO_F303VC
2016-09-20 17:21:13 +02:00
svastm 06df09f250 STM32F3 - Add low power timer 2016-09-20 17:21:13 +02:00
svastm 369ecf2b26 STM32F0 - Enable the low power timer
Enable the low power timer for the following targets:
 - NUCLEO_F070RB
 - NUCLEO_F072RB
 - NUCLEO_F091RC
2016-09-20 17:19:56 +02:00
svastm e4f643144d STM32F0 - Add low power timer 2016-09-20 17:19:56 +02:00
jeromecoutant 012f2c3353 [NUCLEO_F767ZI] Add CAN capability 2016-09-20 16:18:11 +02:00
Mika Karjalainen 7e6882c284 Update Jenkinsfile
Fixing error with test app builds in case when PR is done from a fork and the commit hash is not visible in test app build
2016-09-20 16:05:59 +03:00
bcostm 15f7a87f18 STM32L0xx - Add SERIAL_FC in "device_has" 2016-09-20 14:18:54 +02:00
bcostm f9dd9d3cfb STM32L0xx - Add UART_RTS and CTS pins 2016-09-20 14:17:40 +02:00
jeromecoutant 257c3678da tcp_client_hello_world K&R style 2016-09-20 14:09:53 +02:00
svastm 7e3d73310a [STM32F0] Add tests for asynchronous serial 2016-09-20 12:57:56 +02:00
svastm a1324151d2 [STM32F0] Enable asynchronous serial 2016-09-20 12:57:56 +02:00
svastm 12210bc12f [STM32F0] Add asynchronous serial 2016-09-20 12:57:56 +02:00
Bogdan Marinescu e4a40cd6a7 Merge pull request #2746 from mazimkhan/uvisor-gt-client-integration
Updated required mbed-host-tests(htrun) version to required version 1…
2016-09-20 13:55:16 +03:00
Andrzej Puzdrowski 13a1fd5584 [BLE NRF5] Fix bug: "purgeAllBondingState could had returned before deletion task was done"
by reimplement the btle_purgeAllBondingState as blocking function.
2016-09-20 12:01:22 +02:00
bcostm 7dfc2fd424 DISCO_F746NG - Add Serial Flow Control pins 2016-09-20 09:58:05 +02:00
jeromecoutant b7caa5448f tcp_client_hello_worldminor update 2016-09-20 09:40:48 +02:00
Toyomasa Watarai d52498f2fa [LPC11U68] Fix pin interrupt select offset
* Fix incorrect comment
* Add offset value calculation by interrupt port number
2016-09-20 15:24:56 +09:00
Sam Grove eccecd3735 Merge pull request #2733 from meriac/master
uVisor: Debug Box & ENET DMA-support for default box
2016-09-19 22:55:13 -05:00
Mohammad Azim Khan df8b41ef48 Updated required mbed-host-tests(htrun) version to required version 1.1.2 and above 2016-09-19 15:48:29 +01:00
Vincent Coubard f4f8b491d1 Override exit and atexit functions from newlib.
This change simplify the exit and initialization process.
It also reduce the number of hidden memory allocation made by atexit.
2016-09-19 15:17:39 +01:00
jeromecoutant 11d0f51bc4 FEATURE_IPV4/TESTS: result status could be wrong
result status should be set to false by default before starting test execution.
2016-09-19 16:05:29 +02:00
Vincent Coubard ce23ec3120 Disable registration of __libc_fini_array in the init process.
With this call, destructors are not registered for execution atexit.
2016-09-19 13:54:50 +01:00
Vincent Coubard b67d863c0a Disable registration of atexit handlers on ARMCC.
This prevent destructors for global C++ objects to be invoked at exit.
By default atexit handlers registration involved dynamic allocation.
2016-09-19 13:29:29 +01:00
Vincent Coubard 2f0b772c77 Disable destruction of global C++ objects when IAR is used.
This behavior is realized by enabling the flag --no_static_destruction
when the compilerin the invoked.
2016-09-19 11:59:24 +01:00
Milosch Meriac 2ca40955a6 uVisor: Debug Box & ENET DMA-support for default box
- Enhanced Debug Box
- Allow hw-specific ACL extensions per region
- Reduce background region rights to debugger and core
- Added Beetle SoC uVisor support
- MPU code restructured
2016-09-19 11:38:06 +01:00
Milosch Meriac d389f65cf2 Don't disable the MPU for ENET when uVisor is around 2016-09-19 11:38:06 +01:00
jeromecoutant f05e6200d3 [STM32 NUCLEO] Init MAC address 2016-09-19 11:51:42 +02:00
Bogdan Marinescu 65ffa8cbb7 Merge pull request #2702 from mazimkhan/uvisor-gt-client-integration
Changes in greentea-client for uvisor-tests-standalone integration
2016-09-19 12:47:06 +03:00
jeromecoutant a6ed7cd77b [NUCLEO_F207ZG] Conflict with Arduino D11 and Ethernet port
The board has a jumper that be used to select between using ethernet
or using SPI for the same pin.
Without this patch, a user that configures the board in 'SPI' mode
would get a "pinmap not found for peripheral" error.
With this change a user doesn't have to change the mbed library
when switching modes
(of course user has to take care of SW and HW matching...
SPI wouldn't work as expected if board is configured in Ethernet)
2016-09-19 11:33:54 +02:00
Vincent Coubard 9803b62b4d Makes flush of IOs at exit configurable.
This change allows program which doesn't use the IO subsystem to
completelly get rid of it in the binary generated.

IO's are still flushed by default but it can be overriden in
configuration.
2016-09-19 10:33:48 +01:00
jeromecoutant 79cacd6c77 STM32 / IPV4: #2685 has been forgotten with #2731 2016-09-19 11:19:53 +02:00
jeromecoutant 968d44d5dc RTOS_1: patch correction 2016-09-19 10:17:59 +02:00
jeromecoutant dc8957a046 STM32F070RB/STM32F072RB: issue with some mbedmicro-rtos-mbed tests
Status is now OK
2016-09-19 10:17:56 +02:00
jeromecoutant 7eb69b041f STM32F070RB/STM32F072RB: decrease thread_stack_main size
Thread_stack_main is by default too large for this 16K target
2016-09-19 10:17:53 +02:00
jeromecoutant 536e006a19 STM32F070RB/STM32F072RB: RTOS tests
Make all RTOS tests OK
2016-09-19 10:17:50 +02:00
jeromecoutant 519b52181f [STM32F070RB] correct INITIAL_SP 2016-09-19 10:17:30 +02:00
Sam Grove ff89555f45 Merge pull request #2731 from jeromecoutant/PR_STM32_IPV4
[TARGET_STM] IPV4 feature hal files factorisation
2016-09-18 17:47:53 -05:00
Sam Grove 3c33e4f9e3 Merge pull request #2722 from geky/nsapi-rst
lwip - Fixed error code on disconnect TCP socket
2016-09-18 17:47:34 -05:00
Sam Grove 6aae4170ba Merge pull request #2698 from TsungtaWu/master
DELTA_DFBM_NQ620 target
2016-09-18 17:47:12 -05:00
Sam Grove ee1cba0b69 Merge pull request #2572 from tung7970/master
Fix STM32F407VG target name and LPC11U6X linker errors
2016-09-18 17:44:55 -05:00
Sam Grove c4a02b037e Merge pull request #2463 from svastm/serial_asynch_l0
[STM32L0] Add asynchronous serial
2016-09-18 17:44:08 -05:00
Sam Grove 3194cc202f Merge pull request #2735 from bridadan/fix-iar-archive-builds
Fixing archived library builds for IAR
2016-09-18 12:40:02 -05:00
Brian Daniels ba5ab753b1 Fixing missing import for os.path.exists 2016-09-17 21:12:47 -05:00
Tony Wu 59dcd3f40c Fix signed/unsigned comparison warning in SerialBase.cpp
Silence the following compiler warning:

Compile: SerialBase.cpp
[Warning] SerialBase.cpp@34,23: comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Tony Wu <tung7970@gmail.com>
2016-09-17 21:58:05 +08:00
Sam Grove c19dd19f9c Merge pull request #2723 from NXPmicro/Update_Serial_API
KSDK serial_api.c: Fix assertion error for ParityEven
2016-09-16 17:38:33 -05:00