I am using nrf sdk with version 17.1 and using an nrf52dk
I am unsure what exactly could be the problem. I believe my sdk_config is setup correctly with
- NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver
- NRFX_TWI_ENABLED - nrfx_twi - TWI peripheral driver
- TWI_ENABLED - nrf_drv_twi - TWI/TWIM peripheral driver - legacy layer
all enabled with both
- TWI0_USE_EASY_DMA - Use EasyDMA (if present)
- TWI1_USE_EASY_DMA - Use EasyDMA (if present)
enabled.
I found this post post for reference and guidance.
Error
Building ‘ble_app_uart_c_pca10040_s132’ from solution ‘ble_app_uart_c_pca10040_s132’ in configuration ‘Debug’
Linking ble_app_uart_c_pca10040_s132.elf
Output/Debug/Obj/ble_app_uart_c_pca10040_s132/mpu6050.o: in function `nrf_drv_twi_enable':
undefined reference to `nrfx_twim_enable'
Output/Debug/Obj/ble_app_uart_c_pca10040_s132/mpu6050.o: in function `nrf_drv_twi_tx':
undefined reference to `nrfx_twim_tx'
Output/Debug/Obj/ble_app_uart_c_pca10040_s132/mpu6050.o: in function `nrf_drv_twi_rx':
undefined reference to `nrfx_twim_rx'
Output/Debug/Obj/ble_app_uart_c_pca10040_s132/mpu6050.o: in function `twi_master_init':
undefined reference to `nrf_drv_twi_init'
Build failed
Any help would be greatly appreciated. Happy holidays.