Add ld script for keymap section

This commit is contained in:
tmk 2013-09-03 23:53:19 +09:00
parent 60103a12b2
commit f7395268c0
3 changed files with 284 additions and 8 deletions

View file

@ -119,6 +119,10 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover
# keymap section
EXTRALDFLAGS = -Wl,-Tld_keymap_avr5.x
OPT_DEFS += -DKEYMAP_SECTION
# Search Path
VPATH += $(TARGET_DIR)
VPATH += $(TOP_DIR)
@ -128,4 +132,5 @@ include $(TOP_DIR)/common.mk
include $(TOP_DIR)/rules.mk
debug-on: EXTRAFLAGS += -DDEBUG
#debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
debug-on: all