fix path stuff and kconfig references
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@ -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
|
||||||
|
@ -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
|
||||||
```
|
```
|
||||||
|
17
firmware/zephyr/module.yml
Normal file
17
firmware/zephyr/module.yml
Normal 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: .
|
Reference in New Issue
Block a user