enable USBMC for uno r4, add board_init_after_tusb() API
add BOARD_UPPERCASE for board detection
This commit is contained in:
@@ -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),)
|
||||
|
||||
Reference in New Issue
Block a user