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

Migrating to SDK15, crashing at advertising_init()

I'm trying to migrate from SDK12 to SDK15, but my code always crashes at advertising_init() and goes to NRF_BREAKPOINT_COND. Even when I directly use the example from the service tutorial https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial. I'm wondering what's the issue in this case?

Also how do I define DEBUG here? I added CFLAGS += DDEBUG in makefile, but it didn't trigger the switch error ID part in app_error_default_handler function in app_error_weak.c.

I'm using Eclipse with both DK52 and DK52840. Any help is appreciated. Thanks.

Parents Reply Children
No Data
Related