enable USBMC for uno r4, add board_init_after_tusb() API

add BOARD_UPPERCASE for board detection
This commit is contained in:
hathach
2023-07-31 19:09:40 +07:00
parent cb47231518
commit 3f788a4e5a
32 changed files with 123 additions and 3 deletions

View File

@@ -116,6 +116,8 @@ INC += \
$(TOP)/$(FAMILY_PATH) \
$(TOP)/src \
BOARD_UPPER = $(shell echo $(BOARD) | tr a-z A-Z)
CFLAGS += -DBOARD_$(BOARD_UPPER)
# Log level is mapped to TUSB DEBUG option
ifneq ($(LOG),)