Files
portal/Makefile
Jimmy 5094c7bcee Add portal web simulator, SPI bridges, and Pico firmware updates.
Bring the five-panel hex portal online with a browser 3D/schematic preview, Pi SPI backends, and renamed multi-panel Pico UDP firmware.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 14:54:51 +12:00

27 lines
638 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 reset 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 WS2812_PIN
_PANEL_MAKE_FLAGS += WS2812_PIN=$(WS2812_PIN)
endif
ifdef WS2812_PIN1
_PANEL_MAKE_FLAGS += WS2812_PIN1=$(WS2812_PIN1)
endif
help:
@$(MAKE) -C firmware/pico help
build deploy flash upload reset monitor clean:
@$(MAKE) -C firmware/pico $(MAKECMDGOALS) $(_PANEL_MAKE_FLAGS)