Browse Source

[Keyboard] Added workaround for serial.c/LTO issue for helix/rev2 and helix/pico. (#7558)

pull/7577/head
Takeshi ISHII 4 years ago
committed by Drashna Jaelre
parent
commit
722c196b08
2 changed files with 10 additions and 0 deletions
  1. +5
    -0
      keyboards/helix/pico/rules.mk
  2. +5
    -0
      keyboards/helix/rev2/rules.mk

+ 5
- 0
keyboards/helix/pico/rules.mk View File

@ -5,6 +5,11 @@ SRC += local_drivers/serial.c
SRC += local_drivers/ssd1306.c
KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers
# A workaround until #7089 is merged.
# serial.c must not be compiled with the -lto option.
# The current LIB_SRC has a side effect with the -fno-lto option, so use it.
LIB_SRC += local_drivers/serial.c
CUSTOM_MATRIX = yes
SRC += pico/matrix.c


+ 5
- 0
keyboards/helix/rev2/rules.mk View File

@ -5,6 +5,11 @@ SRC += local_drivers/serial.c
SRC += local_drivers/ssd1306.c
KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers
# A workaround until #7089 is merged.
# serial.c must not be compiled with the -lto option.
# The current LIB_SRC has a side effect with the -fno-lto option, so use it.
LIB_SRC += local_drivers/serial.c
CUSTOM_MATRIX = yes
SRC += rev2/matrix.c


Loading…
Cancel
Save