diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-20 17:18:58 -0400 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-20 17:21:47 -0400 |
commit | b0bdf35d8f6340be04aebe7fbd368418d8c15043 (patch) | |
tree | abf080fb2529452db286673fee1c4772a3006048 /make.mk | |
parent | 263e7c6543ab580bed0567b018d1f198f918a64b (diff) | |
download | Sensor-Watch-b0bdf35d8f6340be04aebe7fbd368418d8c15043.tar.gz Sensor-Watch-b0bdf35d8f6340be04aebe7fbd368418d8c15043.tar.bz2 Sensor-Watch-b0bdf35d8f6340be04aebe7fbd368418d8c15043.zip |
add mechanism for building alternate firmware images
Diffstat (limited to 'make.mk')
-rw-r--r-- | make.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -172,6 +172,11 @@ ifeq ($(LED), BLUE) CFLAGS += -DWATCH_SWAP_LED_PINS endif +ifdef FIRMWARE +CFLAGS += -DMOVEMENT_FIRMWARE_$(FIRMWARE)=1 +CFLAGS += -DMOVEMENT_FIRMWARE=MOVEMENT_FIRMWARE_$(FIRMWARE) +endif + ifeq ($(BOARD), OSO-FEAL-A1-00) CFLAGS += -DCRYSTALLESS endif |