-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
18 lines (13 loc) · 602 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: build
build:
echo "--------------- Build the firmware ------------------"
west build --build-dir build . --pristine always --board nrf52840dk_nrf52840 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DDTC_OVERLAY_FILE:STRING="nrf52840dk_nrf52840.overlay" -DSHIELD:STRING="ssd1306_128x64" -DCONF_FILE:STRING="prj.conf"
tests:
echo "--------------- Build the testes --------------------"
west build --pristine always --board nrf52840dk_nrf52840 tests/
flash:
echo "--------------- Flashing the firmware ---------------"
west flash --softreset
clean:
rm -rf build
.PHONY: build tests flash clean