mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
270136e84a
fix cortex m33 for nrf5340 dk
15 lines
421 B
Makefile
15 lines
421 B
Makefile
CPU_CORE = cortex-m33
|
|
MCU_VARIANT = nrf5340_application
|
|
CFLAGS += -DNRF5340_XXAA -DNRF5340_XXAA_APPLICATION
|
|
|
|
LD_FILE = hw/mcu/nordic/nrfx/mdk/nrf5340_xxaa_application.ld
|
|
|
|
SRC_C += hw/mcu/nordic/nrfx/drivers/src/nrfx_usbreg.c
|
|
|
|
# caused by void SystemStoreFICRNS() (without void) in system_nrf5340_application.c
|
|
CFLAGS += -Wno-error=strict-prototypes
|
|
|
|
# flash using jlink
|
|
JLINK_DEVICE = nrf5340_xxaa_app
|
|
flash: flash-jlink
|