diff options
| author | Wesley Aptekar-Cassels <me@wesleyac.com> | 2023-11-19 00:56:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-19 00:56:33 -0500 |
| commit | 6cc2b23723b0b2edfa14ba5ca0d4bc4b360a96f7 (patch) | |
| tree | dfc8a4b6b6439bca3f7fb91e94ad0a54eeb282a4 /make.mk | |
| parent | 9c895817a07cfaae6e1d27fe8e84fd4a1926e960 (diff) | |
| parent | 76b580a5be70df3e06dadb42fe328d66e1f83d31 (diff) | |
| download | Sensor-Watch-6cc2b23723b0b2edfa14ba5ca0d4bc4b360a96f7.tar.gz Sensor-Watch-6cc2b23723b0b2edfa14ba5ca0d4bc4b360a96f7.tar.bz2 Sensor-Watch-6cc2b23723b0b2edfa14ba5ca0d4bc4b360a96f7.zip | |
Merge branch 'main' into feat/minute-repeater-decimal-face
Diffstat (limited to 'make.mk')
| -rw-r--r-- | make.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -62,6 +62,7 @@ CFLAGS += -MD -MP -MT $(BUILD)/$(*F).o -MF $(BUILD)/$(@F).d LDFLAGS += -mcpu=cortex-m0plus -mthumb LDFLAGS += -Wl,--gc-sections LDFLAGS += -Wl,--script=$(TOP)/watch-library/hardware/linker/saml22j18.ld +LDFLAGS += -Wl,--print-memory-usage LIBS += -lm @@ -207,6 +208,10 @@ ifeq ($(LED), BLUE) CFLAGS += -DWATCH_IS_BLUE_BOARD endif +ifndef COLOR +$(error Set the COLOR variable to RED, BLUE, or GREEN depending on what board you have.) +endif + ifeq ($(COLOR), BLUE) CFLAGS += -DWATCH_IS_BLUE_BOARD endif |
