Skip to content

Commit 62f6918

Browse files
committed
Add support for custom defines
1 parent b2d1ff2 commit 62f6918

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Arduino.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,10 @@ ifneq ($(CATERINA),)
10831083
CPPFLAGS += -DUSB_VID=$(USB_VID) -DUSB_PID=$(USB_PID)
10841084
endif
10851085

1086+
ifdef CUSTOM_DEFINES
1087+
CPPFLAGS += $(CUSTOM_DEFINES)
1088+
endif
1089+
10861090
# avr-gcc version that we can do maths on
10871091
CC_VERNUM = $(shell $(CC) -dumpversion | sed 's/\.//g')
10881092

0 commit comments

Comments
 (0)