Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Porting serialized app to STM32L4

Hi,

I would like to run application on STM32L4 and use nRF52832 as connectivity chip.

I run some serialized example on another nRF eval board, tried own trivial app on that board (successfully) and next step is to port my app to STM32 chip.

I have ported app_timer2, ser_phy_hci_slip, ser_app_hal, fstorage (for fds). But I am unable to compile nrf_sdh.c, because there are too many HW dependences to nRF chip and without it will not link. I dug into code in the serialized app running on eval board and found that the function called here (nrf_sdh_enable_request ) call serialized function, so it appears it is necessary to enable the SD.

I feel I have wrong setup, but can't find how to get rid of the nRF dependences in serialized app. What am I doing wrong?

Using  SES, nRF5 SDK 16.0.0.