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
  • Thank again. faced the next "fatal error". this is the infinitive loop:`for (;;) {

        ///---------SAADC----------
      //*
        if(m_saadc_calibrate == true)
        {
            NRF_LOG_INFO("SAADC calibration starting...  \r\n");    //Print on UART
            while(nrf_drv_saadc_calibrate_offset() != NRF_SUCCESS); //Trigger calibration task
            m_saadc_calibrate = false;
        }
        //*/
        nrf_pwr_mgmt_run();
        NRF_LOG_FLUSH();
      
        ////---------SAADC----------
          //Leila, commented if cluase, 170626
    

    // if (NRF_LOG_PROCESS() == false) // { // power_manage(); // } }` It seems at the end power_manage() and nrf_pwr_mgmt_run() do the same. So I commented power_manage(). but still face fatal error which I can not understand where and why.

    Could you please help?

Reply
  • Thank again. faced the next "fatal error". this is the infinitive loop:`for (;;) {

        ///---------SAADC----------
      //*
        if(m_saadc_calibrate == true)
        {
            NRF_LOG_INFO("SAADC calibration starting...  \r\n");    //Print on UART
            while(nrf_drv_saadc_calibrate_offset() != NRF_SUCCESS); //Trigger calibration task
            m_saadc_calibrate = false;
        }
        //*/
        nrf_pwr_mgmt_run();
        NRF_LOG_FLUSH();
      
        ////---------SAADC----------
          //Leila, commented if cluase, 170626
    

    // if (NRF_LOG_PROCESS() == false) // { // power_manage(); // } }` It seems at the end power_manage() and nrf_pwr_mgmt_run() do the same. So I commented power_manage(). but still face fatal error which I can not understand where and why.

    Could you please help?

Children
No Data
Related