summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-08-01 11:18:00 +0700
committerhathach <[email protected]>2023-08-01 11:18:00 +0700
commit1cccbaf7ec12ecf296644e9b51603261a0d586ac (patch)
treeb9798d797da3655be94b61570df3b884ab2e780d /examples/make.mk
parent3f788a4e5a7758ce51cbcadef4ac21e427cc3c56 (diff)
fix board name with dash
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 4001a5359..4773189df 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -116,7 +116,7 @@ INC += \
$(TOP)/$(FAMILY_PATH) \
$(TOP)/src \
-BOARD_UPPER = $(shell echo $(BOARD) | tr a-z A-Z)
+BOARD_UPPER = $(shell echo $(subst -,_,$(BOARD)) | tr a-z A-Z)
CFLAGS += -DBOARD_$(BOARD_UPPER)
# Log level is mapped to TUSB DEBUG option