Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

undefined reference to `nrfx_twi_tx'

Hello,

I have a twi module developped using sdk v13. I want to upgrade it to the sdk 15 to integrate it to a mesh project.

I changed all nrf_drv functions to nrfx same with structures.

I enabled TWI in sdk_config.h

i added the following path to my project:

$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/softdevice/s132/headers/
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/softdevice/s132/headers/nrf52/
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/modules/nrfx
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/modules/nrfx/mdk
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/modules/nrfx/hal
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/modules/nrfx/drivers
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/modules/nrfx/drivers/includes
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/modules/nrfx/templates/nRF52832
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/toolchain/cmsis/include
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/toolchain/gcc
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/toolchain/cmsis/dsp/GCC
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/boards
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/integration/nrfx
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/log
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/util
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/delay
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/integration/nrfx/legacy
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/modules/nrfx/drivers/include
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/external/custom_mesh_utilities
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/experimental_log
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/experimental_log/src
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/experimental_section_vars
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/experimental_memobj
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/balloc
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/bsp
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/button
$(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/config/nrf52832/config

I still get the error undefined reference to `nrfx_twi_tx'

Any idea of what I am doing wrong?

I am using SES.

Thank you for helping.

Regards,

Mickael

Related