Move utilities.h to src/netdeck and remove duplication from examples/NetDeck
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
; NetDeck — Breach & Board firmware (Milestone 1 hardware sandbox)
|
||||
;
|
||||
; The root platformio.ini's src_dir is global, so this sketch ships its own
|
||||
; project config: build with pio run -d examples/NetDeck
|
||||
; Board + shared library discovery point back at the repo root.
|
||||
; The sketch source itself lives in src/netdeck/ next to nd_layout.h;
|
||||
; utilities.h (T-Deck pin map) is found via the -I project-root flag below.
|
||||
|
||||
[platformio]
|
||||
default_envs = T-Deck
|
||||
boards_dir = ../../boards
|
||||
; sketch + its headers live in ../../src/netdeck
|
||||
src_dir = ../../src/netdeck
|
||||
|
||||
[env:T-Deck]
|
||||
platform = espressif32@6.3.0
|
||||
board = T-Deck
|
||||
framework = arduino
|
||||
lib_extra_dirs = ../../lib
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
build_flags =
|
||||
-DBOARD_HAS_PSRAM=1
|
||||
; utilities.h (T-Deck pin map) still lives in this project dir
|
||||
-I .
|
||||
-DCORE_DEBUG_LEVEL=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DDISABLE_ALL_LIBRARY_WARNINGS
|
||||
; Full-frame push needs headroom: 80 MHz halves the frame transfer vs the
|
||||
; stock 40 MHz (same setting as the other full-frame sketches). If the
|
||||
; panel shows artifacts, drop to 40000000.
|
||||
-DSPI_FREQUENCY=80000000
|
||||
+2
-1
@@ -36,7 +36,8 @@ default_envs = T-Deck
|
||||
;src_dir = examples/NoiseSensor
|
||||
; src_dir = examples/MissileCommand
|
||||
; src_dir = examples/NetDeck
|
||||
src_dir = examples/MiataDrive
|
||||
;src_dir = examples/MiataDrive
|
||||
src_dir = src/netdeck
|
||||
|
||||
|
||||
;! Don't make changes
|
||||
|
||||
Reference in New Issue
Block a user