File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,13 @@ if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
259259 target_compile_definitions (bootloader PUBLIC DFU_APP_DATA_RESERVED=${DFU_APP_DATA_RESERVED} )
260260endif ()
261261
262+ #----------------------------------
263+ # ANT_LICENSE_KEY handling
264+ #----------------------------------
265+ if (DEFINED ANT_LICENSE_KEY)
266+ target_compile_definitions (bootloader PUBLIC ANT_LICENSE_KEY=${ANT_LICENSE_KEY} )
267+ endif
268+
262269#----------------------------------
263270# Get UF2 version from git
264271#----------------------------------
Original file line number Diff line number Diff line change @@ -130,6 +130,13 @@ endif
130130SD_NAME_UPPER = $(subst s,S,${SD_NAME})
131131CFLAGS += -D$(SD_NAME_UPPER )
132132
133+ # ----------------------------------
134+ # ANT_LICENSE_KEY handling
135+ # ----------------------------------
136+ ifdef ANT_LICENSE_KEY
137+ CFLAGS += -DANT_LICENSE_KEY=\"$(ANT_LICENSE_KEY ) \"
138+ endif
139+
133140# ------------------------------------------------------------------------------
134141# SOURCE FILES
135142# ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments