mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
18 lines
397 B
Makefile
18 lines
397 B
Makefile
|
CFLAGS += \
|
||
|
-mcpu=cortex-m4 \
|
||
|
-mfloat-abi=hard \
|
||
|
-mfpu=fpv4-sp-d16 \
|
||
|
-DCFG_TUSB_MCU=OPT_MCU_RAXXX
|
||
|
|
||
|
FSP_MCU_DIR = hw/mcu/renesas/fsp/ra/fsp/src/bsp/mcu/ra4m1
|
||
|
FSP_BOARD_DIR = hw/mcu/renesas/fsp/ra/board/ra4m1_ek
|
||
|
|
||
|
# All source paths should be relative to the top level.
|
||
|
LD_FILE = $(BOARD_PATH)/ra4m1_ek.ld
|
||
|
|
||
|
# For flash-jlink target
|
||
|
JLINK_DEVICE = R7FA4M1AB
|
||
|
JLINK_IF = SWD
|
||
|
|
||
|
flash: flash-jlink
|