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
8898650c66
Removed nRF52840 from memory constrained device list.
2017-04-07 13:59:40 +01:00
Andrzej Puzdrowski
febf63b728
fix bugs: - 128 bits service's UUID discovered by a GATT client was shifted. - not possible to connect while being scanning. - not possible to scanning while being connected. for sd >= 3 whitelisting is now setups into setWhitelist method - Gap::setAddress could failed - Gap::getWhitelist wron implemenation
2017-04-07 13:59:34 +01:00
Andrzej Puzdrowski
c4e6c0e938
fix: - whitelistin setup modifies identitiy flag and omits address' type.
2017-04-07 13:59:28 +01:00
Andrzej Puzdrowski
b5d9db7b44
fix: Gap::setAddress implementation Gap::getPermittedTxPowerValues implemnetation
2017-04-07 13:59:21 +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
60d90ac939
initial creation of nRF52840 BLE target implementation "NRF5_SDK13" as a copy of "NRF5"
2017-04-07 13:58:19 +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
Martin Kojtal
50b3418e45
Merge pull request #4025 from ARMmbed/release-candidate
...
Release candidate for mbed-os-5.4.2
2017-03-29 10:58:25 +01:00
Seppo Takalo
0edca5ad20
Update mbed-trace
...
* commit 'c8a16cc274fbbb074909690a78a9d2aaf5411d5a':
Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from 31e338c23..af5f59cd2
2017-03-28 09:28:14 +01:00
Anna Bridge
378c10b6ff
Update MBED_LIBRARY_VERSION to v139
2017-03-24 20:48:22 +00: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
62093af9de
EFR32 radio driver small fixes
...
* Reduce verbosity of EFR32 radio driver when debug tracing is on.
* Correctly pass pending bit of received ACK to the stack.
2017-03-24 20:47:55 +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
Anna Bridge
f413884e5e
Add an ignore list so that sets of test, target can be excluded from the compilation set.
2017-03-24 20:46:22 +00:00
Anna Bridge
3ef17da544
Added running total for target being compiled.
2017-03-24 20:46:09 +00:00
Anna Bridge
2f80fda4f3
Review comments: Add a child logger, close json file after reading, minor formatting updates.
2017-03-24 20:45:57 +00:00
Anna Bridge
9c043f0fd6
Fixed/improved error parsing from API messages. Fixed results output summary. General tidy up of long lines. Added a new field to json file, target_list, to allow the user to override the set of targets used for the compilation.
2017-03-24 20:45:45 +00:00
Andres AG
5673f4d8a1
Fix C declaration of dir functions and types
...
This patch fixes the declaration of the DIR type and related functions
so that they can be called from C code. This is necessary when enabling
functionality that uses the filesystem in mbed TLS.
2017-03-24 20:45:32 +00:00