minor-update
This commit is contained in:
@@ -84,9 +84,7 @@ function(add_board_target BOARD_TARGET)
|
||||
# linker file
|
||||
"LINKER:--script=${LD_FILE_GNU}"
|
||||
-L${NRFX_DIR}/mdk
|
||||
# nanolib
|
||||
--specs=nosys.specs
|
||||
--specs=nano.specs
|
||||
--specs=nosys.specs --specs=nano.specs
|
||||
)
|
||||
elseif (CMAKE_C_COMPILER_ID STREQUAL "IAR")
|
||||
target_link_options(${BOARD_TARGET} PUBLIC
|
||||
|
@@ -12,6 +12,9 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_NRF5X \
|
||||
-DCONFIG_GPIO_AS_PINRESET
|
||||
|
||||
#CFLAGS += -nostdlib
|
||||
#CFLAGS += -D__START=main
|
||||
|
||||
# suppress warning caused by vendor mcu driver
|
||||
CFLAGS += \
|
||||
-Wno-error=undef \
|
||||
|
Reference in New Issue
Block a user