fix path stuff and kconfig references

This commit is contained in:
2025-05-31 01:35:23 -06:00
parent 6cd0752294
commit 631bfe2a26
5 changed files with 23 additions and 6 deletions

8
.gitignore vendored
View File

@ -16,7 +16,7 @@ __pycache__/
/doc/_build* /doc/_build*
# stuff managed by west # stuff managed by west
bootloader ./bootloader
modules ./modules
tools ./tools
zephyr ./zephyr

View File

@ -43,8 +43,8 @@ nrfutil install device
```bash ```bash
west build -p auto -b nrf52dk/nrf52832 firmware/blinky west build -p auto -b nrf52dk/nrf52832 firmware/blinky
west build -p auto -b nrf52dk/nrf52832 firmware/app west build -p auto -b nrf52dk/nrf52832 firmware/app
west build -p auto -b mellifera_rev1 firmware/blinky -- -DBOARD_ROOT=$(pwd)/firmware west build -p auto -b mellifera_rev1 firmware/blinky
west build -p auto -b mellifera_rev1 firmware/app -- -DBOARD_ROOT=$(pwd)/firmware west build -p auto -b mellifera_rev1 firmware/app
west flash west flash
``` ```

View File

@ -0,0 +1,17 @@
build:
# Path to the Kconfig file that will be sourced into Zephyr Kconfig tree under
# Zephyr > Modules > example-application. Path is relative from root of this
# repository.
kconfig: Kconfig
# Path to the folder that contains the CMakeLists.txt file to be included by
# Zephyr build system. The `.` is the root of this repository.
cmake: .
settings:
# Additional roots for boards and DTS files. Zephyr will use the
# `<board_root>/boards` for additional boards. The `.` is the root of this
# repository.
board_root: .
# Zephyr will use the `<dts_root>/dts` for additional dts files and
# `<dts_root>/dts/bindings` for additional dts binding files. The `.` is
# the root of this repository.
dts_root: .