NetDeck: move sketch to src/netdeck/ next to nd_layout.h
- src/netdeck/NetDeck.ino (git mv); the ../../src/netdeck include became a plain "nd_layout.h" - examples/NetDeck/platformio.ini: src_dir = ../../src/netdeck, -I . for utilities.h (pio build green: RAM 8.6%, Flash 5.6%) - emulator Makefile: NetDeck APP_DIR -> ../src/netdeck, extra -I for utilities.h; make APP=NetDeck + smoke verified green - STATUS.md: notes the new source layout
This commit is contained in:
+5
-1
@@ -22,6 +22,10 @@ APP_TITLE := CRT Terminal
|
||||
endif
|
||||
ifeq ($(APP),NetDeck)
|
||||
APP_TITLE := NetDeck // Breach & Board
|
||||
# the sketch moved to src/netdeck (next to nd_layout.h); its hardware
|
||||
# shim header utilities.h stays with the pio project in examples/NetDeck
|
||||
APP_DIR := ../src/netdeck
|
||||
APP_EXTRA_INC := ../examples/NetDeck
|
||||
endif
|
||||
ifeq ($(APP),Lotus3)
|
||||
APP_TITLE := Lotus 3
|
||||
@@ -35,7 +39,7 @@ APP_TITLE ?= $(APP)
|
||||
CXX ?= g++
|
||||
CXXFLAGS ?= -std=gnu++17 -O2 -Wall -Wextra
|
||||
SDLFLAGS := -I/usr/include/SDL2
|
||||
INC := -Isrc/shim -I$(APP_DIR)
|
||||
INC := -Isrc/shim -I$(APP_DIR) $(if $(APP_EXTRA_INC),-I$(APP_EXTRA_INC))
|
||||
LIBS := -lSDL2 -lSDL2_ttf
|
||||
|
||||
DEFS += -DAPP_INO='"$(APP).ino"' -DAPP_NAME='"$(APP_TITLE)"'
|
||||
|
||||
Reference in New Issue
Block a user