RT-LOC / zephyr-dwm1001

Open source DWM1001 + Zephyr example implementations
https://rtloc.com
GNU General Public License v3.0
44 stars 26 forks source link

CMake Error #7

Open lokeycookie opened 2 months ago

lokeycookie commented 2 months ago

Hi there,

I was trying out this command cmake -GNinja -DBOARD=nrf52_dwm1001 ..

And i got this error: Loading Zephyr default modules (Zephyr base (cached)). -- Application: /home/evas/Documents/GitHub (copy)/FireBeacon/zephyr-dwm1001/examples/ex_01a_simple_tx -- CMake version: 3.29.6 -- Cache files will be written to: /home/evas/.cache/zephyr -- Zephyr version: 3.5.99 (/home/evas/Documents/GitHub (copy)/FireBeacon/zephyr) -- Board: nrf52_dwm1001 No board named 'nrf52_dwm1001' found.

CMake Error at /home/evas/Documents/GitHub (copy)/FireBeacon/zephyr/cmake/modules/boards.cmake:167 (message): Invalid BOARD; see above. Call Stack (most recent call first): /home/evas/Documents/GitHub (copy)/FireBeacon/zephyr/cmake/modules/zephyr_default.cmake:129 (include) /home/evas/Documents/GitHub (copy)/FireBeacon/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) /home/evas/Documents/GitHub (copy)/FireBeacon/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate) /home/evas/Documents/GitHub (copy)/FireBeacon/zephyr/cmake/app/boilerplate.cmake:25 (find_package) CMakeLists.txt:2 (include)

-- Configuring incomplete, errors occurred!

I have connected my dwm1001-dev board to my laptop which is running ubuntu 20.04 OS.

How do i solve this issue?

ChocoWafel commented 1 month ago

Hi, maybe try to set the board as 'decawave_dwm1001_dev'.