I have a custom board based on nRF5340 with nRF7002 WiFi (duplicated from nrf7002dk board definition). The board
builds successfully with west build, but Twister cannot find it.
Setup:
- Custom board location: boards/roomz/RoomzDisplay/
- Board identifier: RoomzDisplay/nrf5340/cpuapp
- zephyr/module.yml contains: board_root: .
- Application location: projects/app/
board.yml
board:
name: RoomzDisplay
vendor: ROOMZ
socs:
- name: nrf5340
variants:
- name: ns
cpucluster: cpuapp
- name: nrf7001
cpucluster: cpuapp
variants:
- name: ns
This builds ok:
west build -b RoomzDisplay/nrf5340/cpuapp -s projects/app
But this fails
west twister -T tests/ -p RoomzDisplay/nrf5340/cpuapp
# ERROR: unrecognized platform - RoomzDisplay/nrf5340/cpuapp
I tried various things:
1. west twister --board-root .
2. BOARD_ROOT=/path/to/project west twister
3. Created tests/twister.yaml with board-root: ..
Twister works fine with Nordic's in-tree board:
west twister -T tests/ -p nrf7002dk/nrf5340/cpuapp
Question: How do I make Twister recognize my out-of-tree board?
Environment: nRF Connect SDK v3.1.1, Windows 10