enable flto for ra makefile
- remove ra from ci make build since it is already in cmake ci
This commit is contained in:
@@ -3,12 +3,14 @@ DEPS_SUBMODULES += hw/mcu/renesas/fsp lib/CMSIS_5
|
||||
FSP_RA = hw/mcu/renesas/fsp/ra/fsp
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
# Don't include options setting in .bin file since it create unnecessary large file due to padding
|
||||
OBJCOPY_BIN_OPTION = --only-section .text --only-section .data --only-section .rodata --only-section .bss
|
||||
|
||||
# Default to port 0 fullspeed, board with port 1 highspeed should override this in board.mk
|
||||
PORT ?= 0
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_RAXXX \
|
||||
-DBOARD_TUD_RHPORT=$(PORT) \
|
||||
-Wno-error=undef \
|
||||
|
Reference in New Issue
Block a user