br101 / zephyr-dw3000-examples

DW3000 Examples
19 stars 10 forks source link

building error with nRF Connect 2.2.0-rc1 #3

Open bkx1125 opened 1 year ago

bkx1125 commented 1 year ago

Hi b101,

I cannot build this repo. I received the attached error.

I think this is due to missing DW3000 symbols. For example: C:/ncs/v2.2.0-rc1/zephyr/include/zephyr/devicetree.h:326:40: error: 'DT_N_INST_0_decawave_dw3000_BUS_P_cs_gpios_IDX_DT_N_INST_0_decawave_dw3000_REG_IDX_0_VAL_ADDRESS_VAL_pin' undeclared here (not in a function)

I've looked at "devicetree" and "generated devicetree" header files but could not find the DW3000 module. I downloaded DW3000-driver from your other repo. I followed your instructions in the ReadMe files. Apparently, CMakeList includes the DW3000 module by default in your CMakeLists.txt, and dw3000 node is in minew_ms151f7.dts list(APPEND ZEPHYR_EXTRA_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/dw3000-decadriver/)

Could you please have a look at the attached file?

Thx in advance,

building error with nRF Connect 2.2.0-rc1.txt