jeromecoutant
f7c392eb75
reduce IAR heap and stack size for small targets
2017-04-07 14:01:41 +01:00
Mahadevan Mahesh
88b3a7b1a5
Issue 3763: Reduce heap allocation in the GCC linker file
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-04-07 14:01:35 +01:00
Mahadevan Mahesh
4d3a34ee29
K66F: Move bss section to m_data_2 Section
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-04-07 14:01:29 +01:00
jeromecoutant
f50accc03c
NUCLEO_L011K4 remove unsupported tool chain files
2017-04-07 14:01:09 +01:00
Bradley Scott
72c7cedf12
STM32: Correct I2C master error handling
...
If I2C slave support is included, then the I2C error handler would
always reset the I2C address, resulting in incorrectly changing the
I2C state to listen for a controller configured as I2C master. This
change conditionalizes the address setting to only occur if the
controller was in slave mode when the error occurred.
2017-04-07 14:01:03 +01:00
Seppe Stas
79c79a4347
Fixed OBOE in async serial tx for NRF52 target, fixes #4002
2017-04-07 14:00:57 +01:00
Rob Meades
31d1338c82
Construct a ticker-based wait, rather than calling wait_ms(), in the C027 board startup code since, for mbed 5, wait_ms() is an RTOS function and the RTOS is not initialised at this stage in start-up.
2017-04-07 14:00:44 +01:00
Mahadevan Mahesh
a0aacd607a
KW24D: Add missing SPI defines and Arduino connector definitions
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-04-07 14:00:38 +01:00
Jimmy Brisson
cebf64a7a3
Remove the nrf_soc_nosd directory
...
This removes the duplicate header files from the build. We were getting
lucky on most invocations of `mbed compile` in that these headers were
searched for after some others, but not when exporting to uvision.
2017-04-07 14:00:32 +01:00
Brian Daniels
87cc3d599a
Fixing a macro to detect when RTOS was in use for the NRF52840_DK
2017-04-07 14:00:26 +01:00
Andrzej Puzdrowski
1d1df9e172
use core_util_critical_section_enter/exit instead of __enable_irq/__disable_irq
2017-04-07 14:00:19 +01:00
Ron Eldor
7e2a2ca1df
Fix compilation errors on linux machine
...
Change path of include from '\' to '/', which works on linux as well.
2017-04-07 14:00:13 +01:00
Andrzej Puzdrowski
ff5ad3ff92
Removed nrf52 targets files form nrf5_sdk13 sources.
2017-04-07 14:00:06 +01:00
Andrzej Puzdrowski
842bfc70f7
code formating, CR changes corrected spi_init() to properly handle re-initialization… #3842
2017-04-07 14:00:00 +01:00
Andrzej Puzdrowski
afdbcd3db9
i2c_api implementation has been changed in order to support single byte reads and writes (the latter are used in I2CEeprom module used in CI tests, and this caused that tests-i2c-api were failing). These operations (single byte transfers) are not possible to achieve with the driver from nrf5 SDK (nrf_drv_twi), so the new implementation uses TWI HAL only.
2017-04-07 13:59:53 +01:00
Andrzej Puzdrowski
8731015202
fix mbed-os-rtos-rtx-target_cortex_m-tests-memory-heap_and_stack@IAR by increasing heap size for IAR. Corected initial MSP for ARMCC.
2017-04-07 13:59:47 +01:00
Andrzej Puzdrowski
bb1f316ad5
Changes from CR. - fix typso, renaming, repharse commnets. - fix alghoritm of white/id lists setup functions in nRF5xGap class.
2017-04-07 13:59:15 +01:00
Andrzej Puzdrowski
f7aa6e5efe
fix: - bad number of pin from nRF52840 , - bad type of mask of gpio for nRF52940 - typo (object.h) - revert abort func. to spi_master driver - update twi_master driver to the newest (e8527f65e90eee6a4dd48ca55d3fc051a556320a master SDK nRF5)
2017-04-07 13:59:09 +01:00
Andrzej Puzdrowski
69919a45e5
upgrade implementationof gap::connect in case of private address and whitelisting for SD API 3 and further
2017-04-07 13:59:02 +01:00
Andrzej Puzdrowski
3a969c6748
introduce API update to (v3.x.x and further)in BLE_GAP_EVT_CONNECTED service. whitelist and identiti list settings provider now takes into account scaner filter po0licy and advertise r filter policy
2017-04-07 13:58:56 +01:00
Andrzej Puzdrowski
8c4c1bd4d6
nrf5_SDK13 update copyright clause
2017-04-07 13:58:50 +01:00
Andrzej Puzdrowski
d6a7eeb94c
nRF5: whitelisting update fo SD API >-3.x.x
2017-04-07 13:58:44 +01:00
Andrzej Puzdrowski
1730def8b6
add mising fds configuration
2017-04-07 13:58:38 +01:00
Andrzej Puzdrowski
0e8a393d54
NRF5_SDK13: Make BLE sources compilable - this is not redy to use! - Remove ble_advertising.h/c - it was unused, redundant code - includes for SD header ble.h were changed to headers\ble.h in order to distingusch form feature-ble BLE.h - btle_init() introduced PM for disable <B>privacy</B> for API 3 and further. - temporary removed or mocked real implemantation of whitelist-ing support functionalities: btle_security.createWhitelistFromBondTable , gap::startAdvertising, gat::startRadioScan, gap::stopAdvertising Gap::generateStackWhitelist, Gap::getStackWhiteIdentityList-(mock) - Characteristic Descriptor Discoverer - aligned to the apply SD API - long uuid service's read spupport - add BLE features support to sdk configurations file - publicate sdk's id_manager.ah() function. - cutted out f. app_error_handler for mbed-os - removed PACKED definition form app_util_platform (redefined by mbed-os) - Gap::setAddress - allign to new SD API using peer manager - extend Gap::getPermittedTxPowerValues for nRF52840
2017-04-07 13:58:32 +01:00
Andrzej Puzdrowski
baaa6086e6
nrf52840: add workaround for RTC errata 20 include thered main stack for cmsis rtos
2017-04-07 13:58:25 +01:00
Andrzej Puzdrowski
9ff6e8120a
Enabled nRF52840_DK's compilation for IAR IDE: - corected scater & startup file for IAR EW - fix warnings caused by port_api.c, ble_radio_notification.c, nrf_drv_spi.c (for IAR it was error), serial_api.c
2017-04-07 13:58:12 +01:00
Andrzej Puzdrowski
b7dc228f5f
make nRF52840 target compilable for ARM compiler - enable fstorage in sdk config - remove files of modules: bootloader, DFU bootloader and UICR setings
2017-04-07 13:58:06 +01:00
Andrzej Puzdrowski
2b9de59387
to be commented
2017-04-07 13:57:59 +01:00
Andrzej Puzdrowski
4a38ec8b83
ported-fixed for nRF52840 port + serial + analog + pin description + gpio + cmsis vector opp + gcc startup/scater file
2017-04-07 13:57:53 +01:00
Andrzej Puzdrowski
b313873683
+ description of the NRF52840_DK target + mbed RTx setings for nRF52840
...
fix build of test for NRF52840
+ few sdk's missing filess
- few sdk's unvanted files
corect mbed HAL implementation to changes made in sdk v13
2017-04-07 13:57:47 +01:00
Andrzej Puzdrowski
5362dd46a1
fix: align nRF5 v13 sdk struct to origin
2017-04-07 13:57:41 +01:00
Andrzej Puzdrowski
2fd4b4b4a9
fix- sdk updste script bug causing losing of nested directory when coping file by forced directory.
2017-04-07 13:57:35 +01:00
Andrzej Puzdrowski
a43acb3d01
move s140 headers to headers directory add softdevices compiled inetl-hex files
2017-04-07 13:57:29 +01:00
Andrzej Puzdrowski
37a7fa566b
Update nRF5 SDK sources from version v11 to the version nRF5_SDK_13.0.0-1.alpha_055eef3 using .\targets\TARGET_NORDIC\TARGET_NRF5_SDK13\porting_tools\sdk_update.py and .\targets\TARGET_NORDIC\TARGET_NRF5_SDK13\porting_tools\replace_headers.py
...
files .\targets\TARGET_NORDIC\TARGET_NRF5_SDK13\TARGET_MCU_NRF52832\sdk\softdevice\s132\headers\nrf_ble*.h
renamed to .\targets\TARGET_NORDIC\TARGET_NRF5_SDK13\TARGET_MCU_NRF52832\sdk\softdevice\s132\headers\ble*.h
by hand.
2017-04-07 13:57:23 +01:00
Andrzej Puzdrowski
704122fcd2
merge nRF528xx sdk sources into one directory
2017-04-07 13:57:13 +01:00
Andrzej Puzdrowski
8e18e8dd3b
Initial commit of NRF52840 target as the copy of NRF52832 and NRF52_DK.
2017-04-07 13:57:06 +01:00
jeromecoutant
91a097bd4f
Correct ARDUINO pin
2017-04-07 13:56:58 +01:00
Steven Cooreman
691564aab3
Stop using device_has for non-mbed options
...
As asked by @0xc0170 in PR #3934 , we won't be using device_has for indicating RF/Crypto features any longer. RF config options moved to the SL_RAIL lib.json, crypto config options will come with mbedTLS integration.
2017-03-24 20:48:20 +00:00
Steven Cooreman
fe0700e31c
Pass Travis
...
Removing device_name for devices that haven't shown up in the Keil package manager yet to avoid Travis from tripping on our PR
2017-03-24 20:48:07 +00:00
Steven Cooreman
30333f4579
Bugfix for EFM32PG12 and EFR32MG12
...
* Off by one error in the linker scripts reserved one word too little for the vector table
* Re-apply uvisor changes to emlib. To allow uvisor to run, we should make accesses to the romtable through uvisor's secure read gateway
* Copypasta in target name (EFM32PG12, not EFR32PG12)
* Copypasta in the pin definitions (thanks @akselsm)
* Forgot to update PortName for extra ports on MG/PG12
2017-03-24 20:47:43 +00:00
Steven Cooreman
37d47a601c
Update clock calibration structs to match latest Gecko SDK
2017-03-24 20:47:28 +00:00
Steven Cooreman
654041345e
Add new target EFM32PG12
2017-03-24 20:47:18 +00:00
Steven Cooreman
00e1d939fa
Update to Gecko SDK 5.1.2
...
Update RAIL library to 1.5.1
2017-03-24 20:47:09 +00:00
Steven Cooreman
3e767b7474
Update to Gecko SDK 5.1.2
...
Updating CMSIS device headers
2017-03-24 20:47:01 +00:00
Steven Cooreman
c7b53019b6
Update to Gecko SDK 5.1.2
...
Updating emlib
2017-03-24 20:46:47 +00:00
Steven Cooreman
94e1ad50fa
First pass on TB Sense (and EFR32MG12) support
2017-03-24 20:46:35 +00:00
bcostm
414a0c1daa
NUCLEO_F302R8: Add missing PB_8/PB_9 CAN pins
2017-03-24 20:44:41 +00:00
Mohammad Azim Khan
48baf7c5c1
Heap size adjusted to work for both tls-client and mbed-client
...
Targets NUCLEO_F429ZI and UBLOX_EVK_ODIN_W2 have 192K RAM.
Heap size in PR #3871 was increased from 48K to 96K as tls-client
example failed with 48K heap. But this resulted in compilation failures
in mbed-client that requires 71K for global/static data.
Hence this PR reduces heap to 64K that minimum required by tls-client
to work. This also meets mbed-client data segment requirements.
2017-03-24 20:43:51 +00:00
ccli8
1317f516d0
Refine serial PDMA code
2017-03-24 20:42:58 +00:00
ccli8
da27610278
Refine SPI PDMA code
2017-03-24 20:42:45 +00:00