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

nrf52832 serialization -- unable to port some nordic specific library

I am trying to connect nrf52832 ble module to esp32/esp8266 application mcu connected with SPI interface.

I use ble_central/ble_app_hrs_c application, but found that the main.c and related functions calls so many nrf specific or compiler specific things. for example: the SVCALL macro definition in nrf_svc.h,  the macros defined in nrf_section.h

#elif defined(__GNUC__)
#define NRF_SECTION_ITEM_REGISTER(section_name, section_var) \
    section_var __attribute__ ((section("." STRINGIFY(section_name)))) __attribute__((used))

How can I implement such macros and routines to my platform?

Thanks!

Related