explicit path to custom board
This commit is contained in:
@ -43,6 +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/app -- -DBOARD_ROOT=$(pwd)/firmware
|
||||||
|
|
||||||
west flash
|
west flash
|
||||||
```
|
```
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include <zephyr/drivers/gpio.h>
|
#include <zephyr/drivers/gpio.h>
|
||||||
|
|
||||||
/* 1000 msec = 1 sec */
|
/* 1000 msec = 1 sec */
|
||||||
#define SLEEP_TIME_MS 100
|
#define SLEEP_TIME_MS 1000
|
||||||
|
|
||||||
/* The devicetree node identifier for the "led0" alias. */
|
/* The devicetree node identifier for the "led0" alias. */
|
||||||
#define LED0_NODE DT_ALIAS(led0)
|
#define LED0_NODE DT_ALIAS(led0)
|
||||||
|
Reference in New Issue
Block a user