Skip to content

Commit 40833b5

Browse files
committed
enable flto for ra makefile
- remove ra from ci make build since it is already in cmake ci
1 parent 789e478 commit 40833b5

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

.github/workflows/build_arm.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
- 'lpc51 lpc54'
4040
- 'mm32 msp432e4'
4141
- 'nrf'
42-
- 'ra'
4342
- 'samd11 samd21'
4443
- 'samd51 same5x'
4544
- 'saml2x'

.idea/cmake.xml

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/uno_r4.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hw/bsp/ra/family.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ DEPS_SUBMODULES += hw/mcu/renesas/fsp lib/CMSIS_5
33
FSP_RA = hw/mcu/renesas/fsp/ra/fsp
44
include $(TOP)/$(BOARD_PATH)/board.mk
55

6+
# Don't include options setting in .bin file since it create unnecessary large file due to padding
67
OBJCOPY_BIN_OPTION = --only-section .text --only-section .data --only-section .rodata --only-section .bss
78

89
# Default to port 0 fullspeed, board with port 1 highspeed should override this in board.mk
910
PORT ?= 0
1011

1112
CFLAGS += \
13+
-flto \
1214
-DCFG_TUSB_MCU=OPT_MCU_RAXXX \
1315
-DBOARD_TUD_RHPORT=$(PORT) \
1416
-Wno-error=undef \

0 commit comments

Comments
 (0)