commit | 405b56a7faa0d5265df7b4d943753d1034cf1137 | [log] [tgz] |
---|---|---|
author | Martin Turon <mturon@nestlabs.com> | Thu Jan 11 18:05:15 2018 -0800 |
committer | Martin Turon <mturon@nestlabs.com> | Thu Jan 11 18:05:34 2018 -0800 |
tree | 857933380bcd5afa25dda21d95dce9dda6ae5c01 | |
parent | c37b551debf2b7c3258e29f593b84a67a92e0143 [diff] |
[osal] Minor fixes to the os abstraction porting layer. - Support pointer alignment on 64-bit architectures. - C++ extern "C" typo.
See (https://mynewt.apache.org/network/ble/ble_intro/).
NimBLE is usually built as a part of Apache Mynewt OS, but ports for other RTOS-es are also available.
(tbd)
You will need to download nRF5 SDK from Nordic Semiconductor website: (https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF5-SDK).
Sample application expects nRF5 SDK to be available at location specified by NRF5_SDK_ROOT
variable. By default it points to ./nrf5_sdk
directory (i.e. subdirectory of porting/freertos_nrf5_sdk
directory) so the easiest way is to either copy nRF5 SDK to that location or make a symbolic link:
$ ln -s <x>/nRF5_SDK_12.3.0_d7731ad porting/freertos_nrf5_sdk/nrf5_sdk
Alternatively, you may want to overwrite default value of NRF5_SDK_ROOT
to point to proper location:
$ export NRF5_SDK_ROOT=<x>/nRF5_SDK_12.3.0_d7731ad
Provided Makefile is compatible with nRF5 SDK build system so sample application is built and flashed as other examples in nRF5 SDK:
$ make -C porting/freertos_nrf5_sdk $ make -C porting/freertos_nrf5_sdk flash