Skip to content

Commit

Permalink
Add support for custom defines
Browse files Browse the repository at this point in the history
  • Loading branch information
qistoph committed Jul 18, 2018
1 parent b2d1ff2 commit 62f6918
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Arduino.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,10 @@ ifneq ($(CATERINA),)
CPPFLAGS += -DUSB_VID=$(USB_VID) -DUSB_PID=$(USB_PID)
endif

ifdef CUSTOM_DEFINES
CPPFLAGS += $(CUSTOM_DEFINES)
endif

# avr-gcc version that we can do maths on
CC_VERNUM = $(shell $(CC) -dumpversion | sed 's/\.//g')

Expand Down

0 comments on commit 62f6918

Please sign in to comment.