circuitpython/ports/nrf/boards/pca10059/modules/boardmodules.mk
Glenn Ruben Bakke 01a3110e36 nrf/boards: Add support for pca10059.
Add support for pca10059 with REPL over tinyusb USB CDC.

The board also includes a board specific module that will
recover UICR->REGOUT0 in case this has been erased.

This initial support does not preserve any existing bootloader
on the pca10090 in case this was present, and expects to use all
available flash on the device.
2019-10-10 20:21:07 +02:00

12 lines
303 B
Makefile

BOARD_PCA10059_DIR = boards/pca10059/modules
INC += -I./$(BOARD_PCA10059_DIR)
CFLAGS += -DBOARD_SPECIFIC_MODULES
SRC_BOARD_MODULES = $(addprefix $(BOARD_PCA10059_DIR)/,\
recover_uicr_regout0.c \
)
OBJ += $(addprefix $(BUILD)/, $(SRC_BOARD_MODULES:.c=.o))