Commit Graph

220 Commits (3bde75a74ce436d238e2aed2023e57703324a823)

Author SHA1 Message Date
Głąbek, Andrzej 3ff34ef58d Merge branch 'nordic_sdk_integration' into hal_improvements
# Conflicts:
#	hal/targets.json
2016-06-28 12:13:50 +02:00
Andrzej Puzdrowski 1c262e3444 remove unwanted initialization of adc_value 2016-06-28 11:58:18 +02:00
Andrzej Puzdrowski 5ba9392280 Merge branch 'nordic_sdk_integration' of https://github.com/nvlsianpu/mbed-nordic into nordic_sdk_integration
# Conflicts:
#	hal/targets.json
2016-06-27 12:42:13 +02:00
Andrzej Puzdrowski a664be0347 Fix AnalogInput fo nRF51. 2016-06-27 12:28:17 +02:00
Głąbek, Andrzej 1357fb0ffc Polished ticker related code. 2016-06-24 16:30:11 +02:00
Głąbek, Andrzej ba863f4e3d Enabled I2C_ASYNCH. 2016-06-24 09:02:29 +02:00
Głąbek, Andrzej 3bdbccb5c0 Corrected serial_api implementation, so 'serial_putc' no longer requires enabled interrupts. 2016-06-24 08:27:52 +02:00
Głąbek, Andrzej f880312477 Merge branch 'nordic_sdk_integration' of https://github.com/ARMmbed/mbed-nordic into nordic_sdk_integration
# Conflicts:
#	hal/targets.json
#	hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822/system_nrf51.c
#	hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.c
2016-06-23 07:03:18 +02:00
Głąbek, Andrzej 601b96dde2 Restored alternative method of RTOS tick generation for NRF51, which was undesirably removed when the new us_ticker implementation was introduced. 2016-06-22 15:09:54 +02:00
Głąbek, Andrzej 6c7d15d381 Re-enabled SPI after adjusting HAL implementation to slightly different API. 2016-06-22 13:55:36 +02:00
Andrzej Puzdrowski 05fea6e286 Corection in macros for NRF5x devices
Remove duplicated macro "BLE_STACK_SUPPORT_REQD" for MCU_NRF51
add macro "S132" for MCU_NRF52
2016-06-21 09:13:20 +02:00
Vincent Coubard daf7ef352d Import assert fix from mbed v3. 2016-06-17 11:26:48 +01:00
Vincent Coubard d1b902a46d Update NRF51 link and startup sequence.
* Update softdevice offset so they match the offset of sd 2.0.
* Update RAM initialization sequence.
* Import fs_data section in final binary
2016-06-17 11:26:46 +01:00
Vincent Coubard 3fe77a5efe Fix known BUG in nrf_svc.h when compiled by GCC. 2016-06-17 11:26:44 +01:00
Vincent Coubard 96b2604469 Remove obsolete softdevices. 2016-06-17 11:26:42 +01:00
Vincent Coubard 10c803ee3b Add LF clock initialization in startup sequence. 2016-06-17 11:26:40 +01:00
Vincent Coubard 38671de942 Remove unused BLE services. 2016-06-17 11:26:38 +01:00
Vincent Coubard 1b826f286b Namespace softdevice headers to avoid conflict wih other headers. 2016-06-17 11:26:25 +01:00
Vincent Coubard 7ad0af3265 Enable BLE feature on NRF51 and nrf52.
Update softdevice references.
Add BLE and softdevice related macros.
Add specific macros for NRF52_DK.
2016-06-17 11:02:37 +01:00
Vincent Coubard c8dc17aa4f Import radio notification from the nordic SDK (required y BLE
implementation).
2016-06-17 11:00:24 +01:00
Andrzej Puzdrowski 441a665302 fix implemet pwm_write 2016-06-16 18:53:39 +01:00
Andrzej Puzdrowski 4fcffd40b1 fix pwm hal implemenation for nRF51.
PwmOut::pwm renamed to PwmOut::pwm_name
2016-06-16 17:23:35 +01:00
Głąbek, Andrzej 52b9563e56 Added modifications in SDK drivers needed for mbed HAL implementation. 2016-06-16 12:09:24 +01:00
Głąbek, Andrzej 082fd409ce Added LF clock starting code to SysInit. 2016-06-15 21:43:38 +01:00
Głąbek, Andrzej df6bd2f66c Changed the drivers HAL implementations to the ones using NRF5 SDK, moved nrf_drv_config.h to MCU specific targets, updated lists of device features, so non-compiling stuff is excluded from build. 2016-06-15 20:56:03 +01:00
Głąbek, Andrzej 96a175973d Updated device definition file for NRF52_DK target. 2016-06-15 18:06:13 +01:00
Głąbek, Andrzej 2eaa468c50 Added missing SDK drivers, added SOFTDEVICE_PRESENT macros in targets definitions. 2016-06-15 17:51:40 +01:00
Vincent Coubard 216fa9dfa7 Introduce nordic SDK v11, cleanup path and targets. 2016-06-15 16:43:06 +01:00
Vincent Coubard f2c4b770fd Factorization of NRF51 and NRF52 targets.
A new wbase target has been added (NRF5).
In this target, commonalities between 51 and 52 will be shared.
2016-06-15 12:30:04 +01:00
Vincent Coubard 70ffeb61be Add softdevice S132 binary for nrf52 targets. 2016-06-15 11:27:44 +01:00
Vincent Coubard a3b9c78df6 Update detection code for NRF52. 2016-06-15 11:26:53 +01:00
Vincent Coubard 9d85bfda25 Implementation of nrf52 target (draft). 2016-06-14 22:39:45 +01:00
Vincent Coubard 9d66dca950 Add NRF52 and NRF52_TARGETS. 2016-06-14 22:39:06 +01:00
Brian Daniels 8bbc163d3f Removing K64F_UVISOR target 2016-06-14 05:00:19 +01:00
Martin Kojtal e9b56018d2 Merge pull request #1848 from TomoYamanaka/master
Implement SystemcoreClock
2016-06-14 01:53:10 +02:00
Martin Kojtal ab5bd795a4 Merge pull request #1920 from 0xc0170/fix_inclusion
Fix inclusion (board.c and critical.c)
2016-06-14 01:10:06 +02:00
Martin Kojtal 9a06a7509b Merge pull request #1921 from akselsm/efm32-license-update
[EFM32] Update license texts.
2016-06-14 00:30:26 +02:00
Aksel Skauge Mellbye 8bdfb6c71d [EFM32] Update license texts. 2016-06-13 23:23:58 +01:00
Martin Kojtal f03943ccf6 Merge pull request #1889 from svastm/fix_rtos_uarm_l4
[STM32L4XX] Fix heap size for RTOS on uARM
2016-06-13 23:40:37 +02:00
0xc0170 81a7bdc482 critical - fix __STDC_LIMIT_MACROS for armcc
UINT32_MAX is defined only if __STDC_LIMIT_MACROS is provided prior
including stdint.h
2016-06-13 22:14:13 +01:00
0xc0170 3b2d75fcda error - include interface header file
to get mbed_error_vprinf() declaration
2016-06-13 21:54:44 +01:00
Vincenzo Frascino f8d7a76128 [BEETLE] Enable RTOS on Beetle
This patch enables RTOS support on Beetle.
It contains:
* Updated Beetle Startup code for ARMCC
* Modified SysTick Driver
* RTOS specific configuration parameters
* RTOS specific test suite enablement

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 16:21:19 +01:00
Martin Kojtal 89c1bef1b1 Merge pull request #1916 from c1728p9/fix_gcc
Fix GCC malloc lock
2016-06-13 16:17:02 +02:00
Russ Butler 8c2e352dd8 Fix GCC malloc lock
The malloc lock functions were not declared as extern "C" so they
are not getting linked to the standard library.  Add extern "C" to
fix this.

This bug was introduced in the commit:
d0b7b3b497 -
Fix duplicate symbols for malloc lock and unlock
2016-06-13 15:00:42 +01:00
Vincenzo Frascino ce1c2c780a [BEETLE] Add LED Emulation
The current version of MBED test environment requires LEDs to be present
in the platform.

Beetle HW does not provide any user programmable LEDs. This patch provides an
emulation of the feature by using dummy PINs.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 14:26:49 +01:00
Vincenzo Frascino c1442139a0 [BEETLE] Add support for uVision 5 exporter
This patch adds support for uVision 5 exporter to the Beetle Target.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 14:26:45 +01:00
Vincenzo Frascino 09b5551d41 [BEETLE] Add initial Beetle HAL files
This patch adds support for BEETLE SoC Target into the HAL layer.
It contains:
* Beetle Platform Configuration
* I2C API
* SPI API
* Serial API
* Port API
* us Ticker API

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 14:26:30 +01:00
Vincenzo Frascino 44be0626a6 [BEETLE] Add initial Beetle CMSIS files
This patch adds support for BEETLE SoC Target into the CMSIS layer.
It contains:
* Beetle System Core
* APB DualTimer Driver
* APB Timer Driver
* eFlash Driver
* Flash Cache Driver
* ARM Toolchain Support
* GCC ARM Toolchain Support

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 11:56:14 +01:00
Vincenzo Frascino 0d3268b61c [BEETLE] Add initial support
This patch adds support for the BEETLE Target. The compilers supported by
this target are:
* ARMCC
* GCC ARM

The exporters and the CMSIS/HAL components will follow in future patches.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 11:55:33 +01:00
Sam Grove 5acdad9fd7 Merge pull request #1907 from c1728p9/only_allow_one_thread_for_unsafe_stdlib
Only allow one thread for unsafe stdlib
2016-06-12 22:03:07 +01:00