mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
AppConfigHeaders: Update several user projects to use configuration header files, rather than makefile defines.
This commit is contained in:
@@ -120,22 +120,7 @@ LUFA_PATH = ../..
|
||||
|
||||
|
||||
# LUFA library compile-time options and predefined tokens
|
||||
LUFA_OPTS = -D USB_DEVICE_ONLY
|
||||
LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0
|
||||
LUFA_OPTS += -D ORDERED_EP_CONFIG
|
||||
LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8
|
||||
LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1
|
||||
LUFA_OPTS += -D USE_FLASH_DESCRIPTORS
|
||||
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
|
||||
LUFA_OPTS += -D INTERRUPT_CONTROL_ENDPOINT
|
||||
|
||||
LUFA_OPTS += -D AVR_RESET_LINE_PORT="PORTD"
|
||||
LUFA_OPTS += -D AVR_RESET_LINE_DDR="DDRD"
|
||||
LUFA_OPTS += -D AVR_RESET_LINE_MASK="(1 << 4)"
|
||||
LUFA_OPTS += -D AVR_RESET_PULSE_MS=10
|
||||
LUFA_OPTS += -D TX_RX_LED_PULSE_MS=30
|
||||
LUFA_OPTS += -D PING_PONG_LED_PULSE_MS=100
|
||||
LUFA_OPTS += -D RECEIVE_BUFFER_FLUSH_MS=10
|
||||
LUFA_OPTS = -D USE_LUFA_CONFIG_HEADER
|
||||
|
||||
|
||||
# Create the LUFA source path variables by including the LUFA root makefile
|
||||
@@ -180,7 +165,7 @@ DEBUG = dwarf-2
|
||||
# Each directory must be seperated by a space.
|
||||
# Use forward slashes for directory separators.
|
||||
# For a directory that has spaces, enclose it in quotes.
|
||||
EXTRAINCDIRS = $(LUFA_PATH)/
|
||||
EXTRAINCDIRS = $(LUFA_PATH)/ Config/
|
||||
|
||||
|
||||
# Compiler flag to set the C Standard level.
|
||||
|
||||
Reference in New Issue
Block a user