Commit Graph

8137 Commits (960d69f081ed540f83ac02fe87760a9635f1712b)

Author SHA1 Message Date
Erwan GOURIOU d2c3dc3d08 [dev_asynch_i2c] HAL Fix to support Master Rx w/ repeated start
As per reference manual, closing communication for master receiver
with repeated start requires, after reading second last data byte
(after second last RxNE event):
-Clearing ACK bit (same as non repeated start case)
-Set START bit (instead of STOP bit in non repeated start case)
This is valid for I2C_FIRST_FRAME and I2C_NEXT_FRAME conditions
2016-09-22 09:39:10 +02:00
Erwan GOURIOU 4b42fc5a22 [dev_asynch_i2c] Test Asynch I2C on F411RE
Add single board I2C master/slave asynch test
2016-09-22 09:39:10 +02:00
Erwan GOURIOU 7632f7aa5c [dev_asynch_i2c] Enable asynch I2C on NUCLEO_F411RE
Dev Asynch I2c
One limitation linked to HAL bug:
Master RX(Repeated Start) KO
2016-09-22 09:34:51 +02:00
Erwan GOURIOU 6304980d70 [dev_asynch_i2c] Update I2C Tests to support F411 2016-09-22 09:34:51 +02:00
Tony Wu aa663ea42d RTOS - Move per-target RTX config to mbed_rtx.h
Disintegrate global RTX target config. Move per-target fragment
to mbed_rtx.h under each vendor's directory.

One mbed_rtx.h is defined for each vendor at this moment, however,
the granularity of mbed_rtx.h can be per-chip, or per-board
if necessary.

Signed-off-by: Tony Wu <tung7970@gmail.com>
2016-09-22 15:09:49 +08:00
Sam Grove c1c1492fa7 Merge pull request #2744 from jeromecoutant/PR_STM32_IPV4
FEATURE_IPV4/TESTS: result status could be wrong
2016-09-22 01:21:35 -05:00
Sam Grove cc69dedac2 Merge pull request #2752 from ARMmbed/jenkinsfile
Update Jenkinsfile
2016-09-22 00:48:33 -05:00
Sam Grove 0c0455bf3f Merge pull request #2745 from pan-/disable_global_objects_destruction
Disable global objects destruction
2016-09-22 00:48:08 -05:00
Sam Grove c424913071 Merge pull request #2662 from mintisan/master
Update CONTRIBUTING.md
2016-09-22 00:47:44 -05:00
Sam Grove 28013dddc4 Merge pull request #2650 from svastm/lp_timer_f3
STM32F3 - Add low power timer
2016-09-22 00:47:30 -05:00
Sam Grove a994f47da9 Merge pull request #2640 from jeromecoutant/PR_F0_RB
[NUCLEO_F072RB-NUCLEO_F070RB] RTOS issues
2016-09-22 00:47:14 -05:00
Sam Grove 6fce892f05 Merge pull request #2614 from MarceloSalazar/uvision_default
Change default uvision exporter to uvision5
2016-09-22 00:46:18 -05:00
Sam Grove 4fa65a656e Merge pull request #2542 from LMESTM/dev_spi_asynch_stm32f4
Dev spi asynch stm32f4
2016-09-22 00:45:08 -05:00
Alessandro Angelino 2a42255bba uVisor: Update to v0.25.0
The update includes:

* Fixes to the ARMv7-M MPU driver.
* RPC APIs implementation.
* NVIC_SystemReset virtualization.
2016-09-21 18:16:33 +01:00
Mahadevan Mahesh c3b4a43bec Update KSDK SDHC driver for K64F & K66F
1. Use function pointer for interrupt handler, this should reduce the code-size
   for applications that do not use this driver
2. Fix the wait for initialization of the SD card
3. Fix SDHC driver support for non-word aligned accesses
4. Remove some redundant code & assert function calls.
5. Updated various comments

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-09-21 12:07:09 -05:00
Sarah Marsh b39fbd3273 Use single quotes to escape make commands 2016-09-21 11:30:58 -05:00
Alessandro Angelino 8c5200c37f uVisor: Fix the core selection pattern 2016-09-21 17:16:47 +01:00
Alessandro Angelino 373b0ba34a CMSIS 5: Virtualize NVIC_SystemReset
This applies only when the virtualization option is explicitly set.
Currently only uVisor virtualizes the NVIC APIs.
2016-09-21 17:15:42 +01:00
Martin Kojtal 2866e21bea Merge pull request #2701 from simonqhughes/master
CFSTORE Integration with Storage-Volume-Manager and Flash-Journal API update to the latest versions
2016-09-21 17:03:31 +01:00
Laurent MEUNIER b7a39d04d4 fixup! UTEST Spi Asynch 2016-09-21 13:49:57 +02:00
svastm e38b1d12fb STM32L1 - Enable the low power timer
Enable the low power timer for the NUCLEO_L152RE
2016-09-21 10:57:15 +02:00
svastm 37ee192205 STM32L1 - Add low power timer 2016-09-21 10:56:37 +02:00
Jimmy Brisson d4f9820577 Refactor Target and Config away from global variables 2016-09-20 16:09:22 -05:00
Jimmy Brisson ed3ee52c3b Add .bld directories to exported project 2016-09-20 15:33:00 -05:00
Laurent MEUNIER 04fe4d2588 [STM32F4 HAL] Avoid SPI spurious interrupt
If SPI TXE is not disabled at the end of transfer, MBED application
callback that is registered for transfer completion might be called twice
2016-09-20 19:25:25 +02:00
Laurent MEUNIER 00086a6f44 [STM32F4] Simplify spi Asynch transfer implementation
Following discussion on:

it seems now clear that the transfer API is meant to be used either
with only Rx, or only Tx or Rx and Tx with the same lenth.

Therefore we're removing support of transfers of Rx and Tx with different
lenghts - this makes porting to HAL more direct and simpler.
2016-09-20 19:25:25 +02:00
Laurent MEUNIER e68b550c2a [STM32F4] enable SPI ASYNCH 2016-09-20 19:25:25 +02:00
Laurent MEUNIER 3140b4bb29 UTEST Spi Asynch
Update test to be able to test on NUCLEO boards using generic
default pins definitions
2016-09-20 19:25:25 +02:00
Laurent MEUNIER c5323c13a8 [STM32F4] SPI: avoid duplicate information accross layers
Same information was stored in spi_api.c and STM32 HAL layers.
Modify code to avoid this duplicate information.
2016-09-20 19:25:25 +02:00
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