summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-08-03 20:41:13 +0700
committerGitHub <[email protected]>2023-08-03 20:41:13 +0700
commit6d03bb9ffc4c80a0c2663f0b791856af89e20adc (patch)
tree63d5df546016ff54baeddb7aca24acc165872abe /examples/make.mk
parentd91869a1fab0ebc7695eb981ae91ec8a35b2511f (diff)
parentedee46e7941f56f5024bf60d56921cfe10d1f7a5 (diff)
Merge pull request #2052 from arduino/renesas_ra_hs_rebased
Renesas_RA: add support for board with HS USB port
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 3c3a920cc..4773189df 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -116,6 +116,8 @@ INC += \
$(TOP)/$(FAMILY_PATH) \
$(TOP)/src \
+BOARD_UPPER = $(shell echo $(subst -,_,$(BOARD)) | tr a-z A-Z)
+CFLAGS += -DBOARD_$(BOARD_UPPER)
# Log level is mapped to TUSB DEBUG option
ifneq ($(LOG),)