added metro nrf52840 revA

clean up makefile
This commit is contained in:
hathach
2019-01-31 18:01:41 +07:00
parent 2f1eec7118
commit 7279bd9b32
6 changed files with 101 additions and 36 deletions

View File

@ -265,6 +265,7 @@ CFLAGS += -DDFU_APP_DATA_RESERVED=7*4096
CFLAGS += -DUF2_VERSION='"$(GIT_VERSION) $(GIT_SUBMODULE_VERSIONS) $(SD_NAME) $(SD_VERSION)"'
CFLAGS += -DBOARD_$(shell echo $(BOARD) | tr '[:lower:]' '[:upper:]')
CFLAGS += -DBOARD_HEADER_FILE='"boards/$(BOARD).h"'
ifneq ($(IS_52832),)
CFLAGS += -DNRF52