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
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
4fa65a656e
Merge pull request #2542 from LMESTM/dev_spi_asynch_stm32f4
...
Dev spi asynch stm32f4
2016-09-22 00:45:08 -05: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
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
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
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
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
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
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
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
Sam Grove
184e58d581
Merge pull request #2704 from jeromecoutant/PR_DISCO_L476VG_SPI
...
DISCO_L476VG: add SPI nicknames
2016-09-16 17:35:17 -05:00
Sam Grove
6b8774fb4e
Merge pull request #2703 from anangl/master
...
TARGET_NRF5: Changed 'serial_baud' implementation to support special baud rates.
2016-09-16 17:34:41 -05:00
Sam Grove
8cdb69eca1
Merge pull request #2696 from c1728p9/add_nrf51_device_has
...
Add device_has to all nrf51 devices
2016-09-16 17:33:25 -05:00
Sam Grove
27c6e25bcc
Merge pull request #2687 from nvlsianpu/add_fs_data_secton_gcc
...
[NRF5] Add fs_data symbol in data secton for gcc
2016-09-16 17:32:41 -05:00
Sam Grove
5920896169
Merge pull request #2681 from bcostm/adcintch_F0
...
STM32F0xx - Add support of ADC internal channels
2016-09-16 17:31:53 -05:00
Sam Grove
2fbbf0a4f8
Merge pull request #2666 from stevew817/bugfix/EFM32_us_timer
...
[EFM32] Microsecond ticker optimization
2016-09-16 17:28:23 -05:00
Sam Grove
27eb9c0969
Merge pull request #2620 from bcostm/serialfc_F4
...
NUCLEO_F429ZI - Add SERIAL_FC macro
2016-09-16 17:22:18 -05:00
Sam Grove
ffdf9ddcae
Merge pull request #2619 from bcostm/serialfc_L1
...
NUCLEO_L152RE - Add Serial Flow Control
2016-09-16 17:22:02 -05:00
Sam Grove
5b5da03129
Merge pull request #2616 from bcostm/serialfc_F3
...
STM32F3xx - Add Serial Flow Control pins + enable it
2016-09-16 17:21:43 -05:00
Sam Grove
75af749baa
Merge pull request #2571 from svastm/serial_asynch_f7
...
STM32F7 - Add asynchronous serial
2016-09-16 17:20:51 -05:00
Mahadevan Mahesh
20fc6ce180
KSDK serial_api.c: Fix assertion error for ParityEven
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-09-15 15:59:40 -05:00
Sam Grove
da14bce7a2
Merge pull request #2518 from fvincenzo/master
...
Enable uvisor on Beetle
2016-09-15 14:01:07 -05:00
Głąbek, Andrzej
c9c946f3b4
Made the constant array in serial_baud() static.
2016-09-14 21:52:24 +02:00
jeromecoutant
0b25fd5863
DISCO_L476VG: add SPI nicknames
2016-09-14 15:02:15 +02:00
Głąbek, Andrzej
b2de59d8ed
Changed 'serial_baud' implementation to make it possible to use baud rates like 56000 or 31250.
2016-09-14 14:44:33 +02:00
Simon Hughes
655a37ad6a
Remove storage_abstraction directory from include pathname which is not supported in mbed sdk builds
2016-09-14 13:18:10 +01:00
Martin Kojtal
21a2123aad
Merge pull request #2669 from andreaslarssonublox/updated_master
...
Target - Add u-blox C029 target
2016-09-14 10:35:22 +01:00
Martin Kojtal
e014b0f502
Merge pull request #2522 from svastm/cthunk_cm7
...
Add CThunk for CM7
2016-09-14 08:19:08 +01:00
TsungtaWu
b032587ddb
make "macros_add" as a single line
...
make "macros_add" as a single line
2016-09-14 14:01:57 +08:00
Russ Butler
bb0ba95259
Add device_has to all nrf51 devices
...
Move common device_has attributes into MCU_NRF51 and
MCU_NRF51_UNIFIED. This ensures all nrf51 devices have the correct
features enabled. Any devices that want to explicitly disable features
should use device_has_remove.
2016-09-13 16:55:37 -05:00
Simon Hughes
5e22db842f
This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes:
...
- flash-journal basicAPI fix for ARM toolchain
- Updated storage-abstraction with version 0.4.7
(commit c7c4a8c52298bbc006a6f53a059fb2599cad73cc).
- https://github.com/ARMmbed/storage-volume-manager at version v0.2.10.
- https://github.com/ARMmbed/mtd-k64f v0.4.2 version of flash.c (imported as storage_driver.c).
- update to CFSTORE to use the storage-volume-manager API to initialize volume manager and
add a volume for CFSTORE to use.
- https://github.com/ARMmbed/flash-journal at version v0.5.3
(commit 4c58165e2fa02c6ed2b9d166a9c96967e81f458f) including readFrom() support.
- Taking flash-journal-strategy-sequential v0.6.7 strategy.c
(commit b11a718761aa9f33679956968a21aaef9179bde1).
- GCC_ARM, ARM and IAR compiler warning fixes for new versions of flash-journal code.
- Fix storage-volume-manager test cases for concurrent access from 2 volumes to use
addresses within the 512-1024kB address range, which is within the cfstore added volume.
- Fix cfstore/storage-volume-manager IAR warnings when building with verbose flag.
2016-09-13 18:16:56 +01:00
svastm
af0f7e3376
Change cthunk implementation + cm7 support
...
- Add support of cortex-M7 for cthunk.
- Change the cthunk trampoline implementation to safer and quicker
solutions:
* thumb2, the behaviour was undefined. new implementation use now 2
instructions
* thumb, The new implementation use 3 instructions instead of 6.
2016-09-13 15:45:58 +02:00
Andrzej Puzdrowski
55fbdd1389
Add .fs_data symbol in data section for gcc.
...
It is neede for folowing nRF5 SDk component:
fstorage, fds, Peer manager.
2016-09-13 14:01:30 +02:00
bcostm
fa2ae70a77
STM32F0xx - Fix problem with channel 18 not present on all F0 devices
2016-09-13 09:24:34 +02:00
bcostm
bf42846e81
STM32F0xx - Add support of ADC internal channels
2016-09-13 09:24:34 +02:00
Brian Daniels
a929bbb161
Fixing NCS36510 compile on Linux
...
There was a case sensitivity issue when compiling the NCS36510 on Linux.
This commit changes the include directive to the proper case.
2016-09-12 23:10:13 -05:00
andreas.larsson
dba6278dfe
Aligned with STM32F429
2016-09-12 16:09:09 +02:00
svastm
64cfee51b1
[STM32L0] Enable asynchronous serial
2016-09-12 16:04:59 +02:00
svastm
2613bc7a70
[STM32L0] Add asynchronous serial
2016-09-12 16:04:59 +02:00
andreas.larsson
c3022ff456
Fixed wrong RAM start and added NVIC start.
2016-09-12 15:55:38 +02:00
andreas.larsson
ca99c3325f
Fixed wrong flash size. Fixed duplicate RW_IRAM1 region.
2016-09-12 15:54:19 +02:00
bcostm
aa9d0dbe06
NUCLEO_F429ZI - Add SERIAL_FC macro
2016-09-12 14:18:55 +02:00