This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

softdevice - How to print UART message / what is SOFTDEVICE_PRESENT and where it is defined in Segger

Hello,

I am using nRF52840 DK board and nRF5SDK17.0.2.

I am trying to code to print data on UART so I have added below folder path into user include directories:

../../../config
../../../../../../components
../../../../../../components/boards
../../../../../../components/drivers_nrf/nrf_soc_nosd
../../../../../../components/libraries/atomic
../../../../../../components/libraries/balloc
../../../../../../components/libraries/bsp
../../../../../../components/libraries/delay
../../../../../../components/libraries/experimental_section_vars
../../../../../../components/libraries/fifo
../../../../../../components/libraries/log
../../../../../../components/libraries/log/src
../../../../../../components/libraries/memobj
../../../../../../components/libraries/ringbuf
../../../../../../components/libraries/strerror
../../../../../../components/libraries/uart
../../../../../../components/libraries/util
../../../../../../components/toolchain/cmsis/include
../../..
../../../../../../external/fprintf
../../../../../../integration/nrfx
../../../../../../integration/nrfx/legacy
../../../../../../modules/nrfx
../../../../../../modules/nrfx/drivers/include
../../../../../../modules/nrfx/hal
../../../../../../modules/nrfx/mdk
../config

uploaded sdk_config.h file for your reference.

Also, I have added the required file to the project but still, I am getting the error below.

Compiling 'nrf_log_frontend.c'

sdk_common.h

nrf_log_frontend.c

nrf_mbr.h: No such file or directory

What is SOFTDEVICE_PRESENT and where it is defined in SEGGER?

I am attaching my screenshot for your reference.

What I am doing wrong? Please help.

Please find the attached code file.

Thanks and regards,

Neeraj Dhekale

Parents Reply Children
Related