NRF52805 ADC BLE APP UART

Hello, I'm working currently on an nrf52805 module and I'm creating a board with it, for now, I managed to do the ble app uart for this module and improve to code a little bit.

My goal, for now, is to create an ADC measurement of voltage, and I'm struggling with this. If someone could help me with this that would be great to give a code that would be good with it or an idea (i'm kinda new with BLE)

So I tried to use the example:    github.com/.../ble_app_uart__saadc_timer_driven__scan_mode

I'm trying to readapt the example to my board and thanks to the datasheet i saw that The nRF52805 only has 10 PPI channels (0-9) and The nRF52805 also only has 3 timers (TIMER0-TIMER2) but when I'm trying to taking off this in the code i get this error after : 

Thank you to everybody for their help. 

Parents
  • Thank you for providing the file.

    Please change to using the nrfx_timer driver directly.
    You will only need to replace the function calls with the same ones in the nrfx driver - if you look at the definitions of the legacy nrf_drv_timer_* calls you will see that they are macro forwarded to the nrfx implementation behind the scenes anyways. You should therefore use these calls directly instead.
    Then, when you are using the nrfx_timer driver you should remove the following legacy definitions entirely from your sdk_config.h file:

    // <e> TIMER_ENABLED - nrf_drv_timer - TIMER periperal driver - legacy layer
    //==========================================================
    #ifndef TIMER_ENABLED
    #define TIMER_ENABLED 1
    #endif
    // <o> TIMER_DEFAULT_CONFIG_FREQUENCY  - Timer frequency if in Timer mode
     
    // <0=> 16 MHz 
    // <1=> 8 MHz 
    // <2=> 4 MHz 
    // <3=> 2 MHz 
    // <4=> 1 MHz 
    // <5=> 500 kHz 
    // <6=> 250 kHz 
    // <7=> 125 kHz 
    // <8=> 62.5 kHz 
    // <9=> 31.25 kHz 
    
    #ifndef TIMER_DEFAULT_CONFIG_FREQUENCY
    #define TIMER_DEFAULT_CONFIG_FREQUENCY 0
    #endif
    
    // <o> TIMER_DEFAULT_CONFIG_MODE  - Timer mode or operation
     
    // <0=> Timer 
    // <1=> Counter 
    
    #ifndef TIMER_DEFAULT_CONFIG_MODE
    #define TIMER_DEFAULT_CONFIG_MODE 0
    #endif
    
    // <o> TIMER_DEFAULT_CONFIG_BIT_WIDTH  - Timer counter bit width
     
    // <0=> 16 bit 
    // <1=> 8 bit 
    // <2=> 24 bit 
    // <3=> 32 bit 
    
    #ifndef TIMER_DEFAULT_CONFIG_BIT_WIDTH
    #define TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
    #endif
    
    // <o> TIMER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
     
    
    // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
    // <0=> 0 (highest) 
    // <1=> 1 
    // <2=> 2 
    // <3=> 3 
    // <4=> 4 
    // <5=> 5 
    // <6=> 6 
    // <7=> 7 
    
    #ifndef TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
    #define TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6
    #endif
    
    // <q> TIMER0_ENABLED  - Enable TIMER0 instance
     
    
    #ifndef TIMER0_ENABLED
    #define TIMER0_ENABLED 0
    #endif
    
    // <q> TIMER1_ENABLED  - Enable TIMER1 instance
     
    
    #ifndef TIMER1_ENABLED
    #define TIMER1_ENABLED 0
    #endif
    
    // <q> TIMER2_ENABLED  - Enable TIMER2 instance
     
    
    #ifndef TIMER2_ENABLED
    #define TIMER2_ENABLED 0
    #endif
    
    // <q> TIMER3_ENABLED  - Enable TIMER3 instance
     
    
    #ifndef TIMER3_ENABLED
    #define TIMER3_ENABLED 1
    #endif
    
    // <q> TIMER4_ENABLED  - Enable TIMER4 instance
     
    
    #ifndef TIMER4_ENABLED
    #define TIMER4_ENABLED 0
    #endif
    
    // </e>


    Instead, you should now use the NRFX_TIMER_* defines to configure your nrfx_timer driver.
    Please make sure to define the NRFX_TIMER_ENABLED to 1, along with the *_ENABLE for the timer instance you will be using.

    Let me know if this resolves your issue! :) 
    Best regards,
    Karl

  • I'm sorry it is hard to understand i'm french... Could you do the work for me? or explain to me easily? thank you so much

  • No, you shared the entire SDK, not the project folder.
    It is cumbersome and unnecessary to send an entire SDK, when you could instead just send the relevant project, like I mentioned in my previous comment.
    Please keep this in mind for future reference.

    As far as I can see in the included examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/main.c file you are still trying to use the TIMER3 instance:

    static const nrf_drv_timer_t   m_timer = NRF_DRV_TIMER_INSTANCE(3);


    You will need to change this as there exist no TIMER3 instance on the nRF52805.

    Your sdk_config.h file looks correct.

    Best regards,
    Karl

  • Hello, thanks for your answers, I have changed those things as you told me with the NRF_DRV_TIMER_INSTANCE now I have the last error that I don't understand  Could you help me fix this?

    thank you so much

    Building ‘ble_app_uart_pca10040_s132’ from solution ‘ble_app_uart_pca10040_s132’ in configuration ‘Release’
    2> Checking ‘thumb_crt0.s’
    2> 'Output/Release/Obj/ble_app_uart_pca10040_s132/thumb_crt0.o' is up to date
    3> Checking ‘nrf_log_backend_rtt.c’
    3> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_log_backend_rtt.o (26.04.2022 08:45:10).
    3> Compiling ‘nrf_log_backend_rtt.c’
    4> Checking ‘nrf_log_backend_serial.c’
    4> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_log_backend_serial.o (26.04.2022 08:45:10).
    4> Compiling ‘nrf_log_backend_serial.c’
    5> Checking ‘nrf_log_default_backends.c’
    5> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_log_default_backends.o (26.04.2022 08:45:10).
    5> Compiling ‘nrf_log_default_backends.c’
    6> Checking ‘nrf_log_frontend.c’
    6> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_log_frontend.o (26.04.2022 08:45:11).
    6> Compiling ‘nrf_log_frontend.c’
    7> Checking ‘nrf_log_str_formatter.c’
    7> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_log_str_formatter.o (26.04.2022 08:45:11).
    7> Compiling ‘nrf_log_str_formatter.c’
    8> Checking ‘app_button.c’
    8> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/app_button.o (26.04.2022 08:45:11).
    8> Compiling ‘app_button.c’
    1> Checking ‘app_error.c’
    1> 'Output/Release/Obj/ble_app_uart_pca10040_s132/app_error.o' is up to date
    2> Checking ‘app_error_handler_gcc.c’
    2> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/app_error_handler_gcc.o (26.04.2022 08:45:11).
    2> Compiling ‘app_error_handler_gcc.c’
    1> Checking ‘app_error_weak.c’
    1> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/app_error_weak.o (26.04.2022 08:45:12).
    1> Compiling ‘app_error_weak.c’
    2> Checking ‘app_fifo.c’
    2> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/app_fifo.o (26.04.2022 08:45:12).
    2> Compiling ‘app_fifo.c’
    3> Checking ‘app_scheduler.c’
    3> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/app_scheduler.o (26.04.2022 08:45:12).
    3> Compiling ‘app_scheduler.c’
    4> Checking ‘app_timer.c’
    4> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/app_timer.o (26.04.2022 08:45:12).
    4> Compiling ‘app_timer.c’
    5> Checking ‘app_uart_fifo.c’
    5> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/app_uart_fifo.o (26.04.2022 08:45:12).
    5> Compiling ‘app_uart_fifo.c’
    6> Checking ‘app_util_platform.c’
    6> 'Output/Release/Obj/ble_app_uart_pca10040_s132/app_util_platform.o' is up to date
    7> Checking ‘hardfault_implementation.c’
    7> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/hardfault_implementation.o (26.04.2022 08:45:13).
    7> Compiling ‘hardfault_implementation.c’
    6> Checking ‘nrf_assert.c’
    6> 'Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_assert.o' is up to date
    1> Checking ‘nrf_atfifo.c’
    1> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_atfifo.o (26.04.2022 08:45:13).
    1> Compiling ‘nrf_atfifo.c’
    6> Checking ‘nrf_atflags.c’
    6> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_atflags.o (26.04.2022 08:45:13).
    6> Compiling ‘nrf_atflags.c’
    8> Checking ‘nrf_atomic.c’
    8> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_atomic.o (26.04.2022 08:45:14).
    8> Compiling ‘nrf_atomic.c’
    2> Checking ‘nrf_balloc.c’
    2> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_balloc.o (26.04.2022 08:45:14).
    2> Compiling ‘nrf_balloc.c’
    3> Checking ‘nrf_fprintf.c’
    3> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_fprintf.o (26.04.2022 08:45:14).
    3> Compiling ‘nrf_fprintf.c’
    4> Checking ‘nrf_fprintf_format.c’
    4> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_fprintf_format.o (26.04.2022 08:45:14).
    4> Compiling ‘nrf_fprintf_format.c’
    5> Checking ‘nrf_memobj.c’
    5> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_memobj.o (26.04.2022 08:45:14).
    5> Compiling ‘nrf_memobj.c’
    7> Checking ‘nrf_pwr_mgmt.c’
    7> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_pwr_mgmt.o (26.04.2022 08:45:15).
    7> Compiling ‘nrf_pwr_mgmt.c’
    6> Checking ‘nrf_ringbuf.c’
    6> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_ringbuf.o (26.04.2022 08:45:15).
    6> Compiling ‘nrf_ringbuf.c’
    8> Checking ‘nrf_section_iter.c’
    8> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_section_iter.o (26.04.2022 08:45:15).
    8> Compiling ‘nrf_section_iter.c’
    1> Checking ‘nrf_strerror.c’
    1> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_strerror.o (26.04.2022 08:45:15).
    1> Compiling ‘nrf_strerror.c’
    2> Checking ‘retarget.c’
    2> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/retarget.o (26.04.2022 08:45:15).
    2> Compiling ‘retarget.c’
    3> Checking ‘ses_startup_nrf52.s’
    3> 'Output/Release/Obj/ble_app_uart_pca10040_s132/ses_startup_nrf52.o' is up to date
    3> Checking ‘ses_startup_nrf_common.s’
    3> 'Output/Release/Obj/ble_app_uart_pca10040_s132/ses_startup_nrf_common.o' is up to date
    4> Checking ‘system_nrf52.c’
    4> 'Output/Release/Obj/ble_app_uart_pca10040_s132/system_nrf52.o' is up to date
    5> Checking ‘boards.c’
    5> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/boards.o (26.04.2022 08:45:16).
    5> Compiling ‘boards.c’
    3> Checking ‘nrf_drv_clock.c’
    3> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_drv_clock.o (26.04.2022 08:45:16).
    3> Compiling ‘nrf_drv_clock.c’
    4> Checking ‘nrf_drv_uart.c’
    4> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_drv_uart.o (26.04.2022 08:45:16).
    4> Compiling ‘nrf_drv_uart.c’
    7> Checking ‘nrfx_clock.c’
    7> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_clock.o (26.04.2022 08:45:16).
    7> Compiling ‘nrfx_clock.c’
    6> Checking ‘nrfx_gpiote.c’
    6> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_gpiote.o (26.04.2022 08:45:17).
    6> Compiling ‘nrfx_gpiote.c’
    8> Checking ‘nrfx_prs.c’
    8> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_prs.o (26.04.2022 08:45:17).
    8> Compiling ‘nrfx_prs.c’
    1> Checking ‘nrfx_uart.c’
    1> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_uart.o (26.04.2022 08:45:17).
    1> Compiling ‘nrfx_uart.c’
    2> Checking ‘nrfx_uarte.c’
    2> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_uarte.o (26.04.2022 08:45:17).
    2> Compiling ‘nrfx_uarte.c’
    5> Checking ‘nrfx_saadc.c’
    5> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_saadc.o (26.04.2022 08:45:18).
    5> Compiling ‘nrfx_saadc.c’
    3> Checking ‘nrfx_ppi.c’
    3> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_ppi.o (26.04.2022 08:45:18).
    3> Compiling ‘nrfx_ppi.c’
    4> Checking ‘nrfx_timer.c’
    4> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_timer.o (26.04.2022 08:45:18).
    4> Compiling ‘nrfx_timer.c’
    7> Checking ‘nrf_drv_ppi.c’
    7> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_drv_ppi.o (26.04.2022 08:45:18).
    7> Compiling ‘nrf_drv_ppi.c’
    6> Checking ‘nrfx_power.c’
    6> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrfx_power.o (26.04.2022 08:45:18).
    6> Compiling ‘nrfx_power.c’
    8> Checking ‘bsp.c’
    8> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/bsp.o (26.04.2022 08:45:19).
    8> Compiling ‘bsp.c’
    1> Checking ‘bsp_btn_ble.c’
    1> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/bsp_btn_ble.o (26.04.2022 08:45:19).
    1> Compiling ‘bsp_btn_ble.c’
    5> Checking ‘main.c’
    5> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/main.o (26.04.2022 08:45:20).
    5> Compiling ‘main.c’
    3> Checking ‘SEGGER_RTT.c’
    3> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/SEGGER_RTT.o (26.04.2022 08:45:20).
    3> Compiling ‘SEGGER_RTT.c’
    2> Checking ‘SEGGER_RTT_Syscalls_SES.c’
    2> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/SEGGER_RTT_Syscalls_SES.o (26.04.2022 08:45:20).
    2> Compiling ‘SEGGER_RTT_Syscalls_SES.c’
    4> Checking ‘SEGGER_RTT_printf.c’
    4> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/SEGGER_RTT_printf.o (26.04.2022 08:45:20).
    4> Compiling ‘SEGGER_RTT_printf.c’
    6> Checking ‘ble_advdata.c’
    6> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/ble_advdata.o (26.04.2022 08:45:20).
    6> Compiling ‘ble_advdata.c’
    7> Checking ‘ble_advertising.c’
    7> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/ble_advertising.o (26.04.2022 08:45:20).
    7> Compiling ‘ble_advertising.c’
    8> Checking ‘ble_conn_params.c’
    8> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/ble_conn_params.o (26.04.2022 08:45:21).
    8> Compiling ‘ble_conn_params.c’
    1> Checking ‘ble_conn_state.c’
    1> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/ble_conn_state.o (26.04.2022 08:45:21).
    1> Compiling ‘ble_conn_state.c’
    2> Checking ‘ble_link_ctx_manager.c’
    2> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/ble_link_ctx_manager.o (26.04.2022 08:45:21).
    2> Compiling ‘ble_link_ctx_manager.c’
    3> Checking ‘ble_srv_common.c’
    3> 'Output/Release/Obj/ble_app_uart_pca10040_s132/ble_srv_common.o' is up to date
    4> Checking ‘nrf_ble_gatt.c’
    4> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_ble_gatt.o (26.04.2022 08:45:21).
    4> Compiling ‘nrf_ble_gatt.c’
    5> Checking ‘nrf_ble_qwr.c’
    5> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_ble_qwr.o (26.04.2022 08:45:22).
    5> Compiling ‘nrf_ble_qwr.c’
    3> Checking ‘utf.c’
    3> 'Output/Release/Obj/ble_app_uart_pca10040_s132/utf.o' is up to date
    3> Checking ‘ble_nus.c’
    3> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/ble_nus.o (26.04.2022 08:45:22).
    3> Compiling ‘ble_nus.c’
    6> Checking ‘nrf_sdh.c’
    6> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_sdh.o (26.04.2022 08:45:22).
    6> Compiling ‘nrf_sdh.c’
    7> Checking ‘nrf_sdh_ble.c’
    7> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_sdh_ble.o (26.04.2022 08:45:22).
    7> Compiling ‘nrf_sdh_ble.c’
    8> Checking ‘nrf_sdh_soc.c’
    8> C:/Users/l.marcos/Desktop/nRF5_SDK_17.1.0_ddde560 URGENCE/examples/ble_peripheral/ble_app_uart__saadc_timer_driven__scan_mode/pca10040/s132/config/sdk_config.h (26.04.2022 13:53:46) is later than Output/Release/Obj/ble_app_uart_pca10040_s132/nrf_sdh_soc.o (26.04.2022 08:45:22).
    8> Compiling ‘nrf_sdh_soc.c’
    1> Checking ‘ble_app_uart_pca10040_s132’
    1> Output/Release/Exe/ble_app_uart_pca10040_s132.elf does not exist.
    1> Linking ble_app_uart_pca10040_s132.elf
    Build complete

  • Which error? Please be as specific as possible.
    Briefly looking through the log it seems that your build completed.

    Best regards,
    Karl

  •  i can't see the app on the nrf connect app and I would to understant why and this is what i hvae when i'm debugging whenerver i'm clicnking the play button it stayed at the play and i put the photo :) thank you

  • Hello again,

    Thank you for your patience with this.

    Is this still an issue that you require technical support with?

    lm said:
    i can't see the app on the nrf connect app and I would to understant why and this is what i hvae when i'm debugging whenerver i'm clicnking the play button it stayed at the play

    It is hard for me to say anything from the attached screenshot alone.
    Are you saying that the debugging session immediately stops when you try to resume it?
    If you do not enter into the debugging session, does the application behave as you would expect?
    If not, please elaborate and be as specific as possible on what behavior you are seeing, and how it is different from what you would have expected.

    Best regards,
    Karl

Reply
  • Hello again,

    Thank you for your patience with this.

    Is this still an issue that you require technical support with?

    lm said:
    i can't see the app on the nrf connect app and I would to understant why and this is what i hvae when i'm debugging whenerver i'm clicnking the play button it stayed at the play

    It is hard for me to say anything from the attached screenshot alone.
    Are you saying that the debugging session immediately stops when you try to resume it?
    If you do not enter into the debugging session, does the application behave as you would expect?
    If not, please elaborate and be as specific as possible on what behavior you are seeing, and how it is different from what you would have expected.

    Best regards,
    Karl

Children
No Data
Related