Add NO_INTERNAL_SERIAL compile time option to bootloaders to prevent them from having unneccesary size increases from unused code.

pull/1469/head
Dean Camera 16 years ago
parent 730624f745
commit 7d391eb04c

@ -117,6 +117,7 @@ LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8
LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
LUFA_OPTS += -D USE_RAM_DESCRIPTORS LUFA_OPTS += -D USE_RAM_DESCRIPTORS
LUFA_OPTS += -D NO_INTERNAL_SERIAL
# List C source files here. (C dependencies are automatically generated.) # List C source files here. (C dependencies are automatically generated.)

@ -118,6 +118,7 @@ LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=32
LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
LUFA_OPTS += -D USE_RAM_DESCRIPTORS LUFA_OPTS += -D USE_RAM_DESCRIPTORS
LUFA_OPTS += -D NO_INTERNAL_SERIAL
# List C source files here. (C dependencies are automatically generated.) # List C source files here. (C dependencies are automatically generated.)

@ -118,6 +118,7 @@ LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8
LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
LUFA_OPTS += -D USE_RAM_DESCRIPTORS LUFA_OPTS += -D USE_RAM_DESCRIPTORS
LUFA_OPTS += -D NO_INTERNAL_SERIAL
# List C source files here. (C dependencies are automatically generated.) # List C source files here. (C dependencies are automatically generated.)

Loading…
Cancel
Save