소스 검색

Add build option KEYMAP_SECTION for keymap editor

led_matrix
tmk 10 년 전
부모
커밋
259c4a040a
3개의 변경된 파일11개의 추가작업 그리고 10개의 파일을 삭제
  1. 4
    0
      common.mk
  2. 7
    10
      keyboard/hhkb/Makefile
  3. 0
    0
      ldscript_keymap_avr5.x

+ 4
- 0
common.mk 파일 보기

OPT_DEFS += -DBACKLIGHT_ENABLE OPT_DEFS += -DBACKLIGHT_ENABLE
endif endif


ifdef KEYMAP_SECTION_ENABLE
OPT_DEFS += -DKEYMAP_SECTION
EXTRALDFLAGS = -Wl,-L$(TOP_DIR),-Tldscript_keymap_avr5.x
endif


# Version string # Version string
OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null) OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null)

+ 7
- 10
keyboard/hhkb/Makefile 파일 보기

# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover
KEYMAP_SECTION_ENABLE = yes # fixed address keymap for keymap editor




# keymap section
EXTRALDFLAGS = -Wl,-Tld_keymap_avr5.x
OPT_DEFS += -DKEYMAP_SECTION

# Search Path # Search Path
VPATH += $(TARGET_DIR) VPATH += $(TARGET_DIR)
VPATH += $(TOP_DIR) VPATH += $(TOP_DIR)

keyboard/hhkb/ld_keymap_avr5.x → ldscript_keymap_avr5.x 파일 보기