diff options
| author | hathach <[email protected]> | 2023-08-04 00:31:12 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-04 00:31:12 +0700 |
| commit | ef5bd9ee6cc2506745c0c5d602d4c540da681b69 (patch) | |
| tree | cf25b4da1827914720fed5b3abb78029da280e7c /examples/make.mk | |
| parent | 9360a3bd5197792584ede8a33c50a4d3054d84e6 (diff) | |
| parent | 6d03bb9ffc4c80a0c2663f0b791856af89e20adc (diff) | |
Merge branch 'master' into enhance-bsp
Diffstat (limited to 'examples/make.mk')
| -rw-r--r-- | examples/make.mk | 2 |
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),) |
