This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Porting / Running Serialization Application on STM32

Hello,

I have been working on porting the BLE UART PHY Serialization to the STM32L476 (with a Nordic NRF52832 Dev Board and STM32L476 Nucleo-64).  I have read the porting documentation provided in the Nordic SDK here: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_sdk%2Fstruct%2Fsdk_nrf5_latest.html&cp=5_0

I have made some progress following the provided documentation. However, it seems that provided documentation is incomplete as I have found some additional files that appear to require modification / porting, including:

nrf_sdh_ble.c

nrf_sdh.c

ser_app_power_system_off.c

Should these files require poritng? Is there any updated documentation for porting these files? 

The documentation also mentions porting app_mailbox.c.  It appears this file is no longer part of the SDK.

Also, can you please provide the compiler defines that I should be using to properly compile the serialization layer.  Currently I am using the following:

-DBLE_STACK_SUPPORT_REQD
-DNRF_SD_BLE_API_VERSION=6
-DBOARD_CUSTOM
-DNRF52
-DNRF52832_XXAA
-DNRF_CRYPTO_MAX_INSTANCE_COUNT=1
-DNRF_SD_BLE_API_VERSION=6
-DS132
-DSVCALL_AS_NORMAL_FUNCTION
-DSWI_DISABLE0
-DSVCALL_AS_NORMAL_FUNCTION

Please advise.

Thank you,

Jeff

Related