Add ld script for keymap section
This commit is contained in:
parent
60103a12b2
commit
f7395268c0
3 changed files with 284 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue