SoftDevice: s140_nrf52_7.2.0_softdevice
SDK: nRF5_SDK_17.0.2_d674dde
Problem:
We trying to use the Secure DFU buttonless feature on our custom board. Our custom board has a buzzer and led attached to GPIOs P0.06 and P0.15 respectively. Both are Active high. The buzzer starts buzzing continuously and the led starts blinking if we update the program. The issue is solved if we comment the log_init() function. log_init() function is already provided in SDK. A snippet of log_init() function is given below:
If we comment log_init() function the buzzer and led issue is resolved but we are unable to perform buttonless DFU on the custom Board. If we uncomment the log_init() function then the buzzer starts buzzing continuously and led blinks but we are able to perform buttonless DFU on a custom board. A snippet of main function is given below:
The log_init() function further calls other functions and there are many layers of abstraction can you tell me what is in log_init() function that is causing buzzer and led behaviour
Regards,
Moghees Bin Zahid