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

SDK13 can not find sdk_config.h

Hi,

I am trying to add saadc sample code to ble_blinky sample code. But I faced a problem. It seems that the sdk_config.h file is not recognized by the sample code. and I got this errors:

"TIMER_DEFAULT_CONFIG_FREQUENCY" is undefined "TIMER_DEFAULT_CONFIG_MODE" is undefined "TIMER_DEFAULT_CONFIG_BIT_WIDTH" is undefined "TIMER_DEFAULT_CONFIG_IRQ_PRIORITY" is undefined

I am using SDK13 sample codes, on nRF52840-PDK.

Could you please let me know about possible ways to solve the problem?

Thank you, Leila

Parents
  • I found some more description on nrf)pwr_mgmt_init(): Depending on configuration, this function sets SEVONPEND in System Control Block (SCB). This operation is unsafe with the SoftDevice from interrupt priority higher than SVC. AND #define POWER_CONFIG_IRQ_PRIORITY 7 at sdk_config.h file.

    Does it cause the error? How can I find where and which line the error happened?

    Thank you.

Reply
  • I found some more description on nrf)pwr_mgmt_init(): Depending on configuration, this function sets SEVONPEND in System Control Block (SCB). This operation is unsafe with the SoftDevice from interrupt priority higher than SVC. AND #define POWER_CONFIG_IRQ_PRIORITY 7 at sdk_config.h file.

    Does it cause the error? How can I find where and which line the error happened?

    Thank you.

Children
No Data
Related