diff options
| author | hathach <[email protected]> | 2023-08-04 12:07:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-04 12:07:39 +0700 |
| commit | 81aca17d6e9a17d5f37e7ff04988257a0be4ec3e (patch) | |
| tree | 22cac9af80dae48e558490cb068132d1c7a679f0 /examples/make.mk | |
| parent | cfc146e18fe2aa0df4d77d435d4a4b7053361cd7 (diff) | |
| parent | 61f00c0c4dab0469c2e8ebad8eda1a26ae742e46 (diff) | |
Merge branch 'master' into blackf407VE
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),) |
