diff options
| author | hathach <[email protected]> | 2023-08-01 15:33:15 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-01 15:44:54 +0700 |
| commit | 40833b585b2c4ea38dec034c18aacff35c6bcea6 (patch) | |
| tree | ceb0c641491cdde5dca742d50cd0aba1df5264fb /hw | |
| parent | 789e478d4d47cca9bd1cf7983a49c13476c54b78 (diff) | |
enable flto for ra makefile
- remove ra from ci make build since it is already in cmake ci
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/ra/family.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/bsp/ra/family.mk b/hw/bsp/ra/family.mk index cf8e5d9e9..901808958 100644 --- a/hw/bsp/ra/family.mk +++ b/hw/bsp/ra/family.mk @@ -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 \ |
