Pico panels get static IPs on 10.1.1.10–14 with per-panel LED counts, Makefile deploy targets, and Python examples for animations, sync tests, and direct Pi SPI control. Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
619 B
Makefile
27 lines
619 B
Makefile
# Portal — convenience targets for panel firmware
|
|
#
|
|
# make deploy Build and flash panel firmware over USB
|
|
# make build Build only
|
|
|
|
.PHONY: build deploy flash upload monitor clean help
|
|
|
|
_PANEL_MAKE_FLAGS :=
|
|
ifdef PANEL_ID
|
|
_PANEL_MAKE_FLAGS += PANEL_ID=$(PANEL_ID)
|
|
endif
|
|
ifdef NO_DHCP
|
|
_PANEL_MAKE_FLAGS += NO_DHCP=$(NO_DHCP)
|
|
endif
|
|
ifdef NUM_LEDS
|
|
_PANEL_MAKE_FLAGS += NUM_LEDS=$(NUM_LEDS)
|
|
endif
|
|
ifdef WS2812_PIN
|
|
_PANEL_MAKE_FLAGS += WS2812_PIN=$(WS2812_PIN)
|
|
endif
|
|
|
|
help:
|
|
@$(MAKE) -C firmware/panel help
|
|
|
|
build deploy flash upload monitor clean:
|
|
@$(MAKE) -C firmware/panel $(MAKECMDGOALS) $(_PANEL_MAKE_FLAGS)
|