From e426463355b8516a442c01e0e6b4a574c39fc0f4 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 28 Jul 2009 13:12:14 +0000 Subject: Better solution - change compile time token names to DEVICE_STATE_AS_GPIOR and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use. --- Bootloaders/CDC/makefile | 2 +- Bootloaders/DFU/makefile | 2 +- Bootloaders/TeensyHID/makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Bootloaders') diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index 8830f3ed6..21524086c 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -117,7 +117,7 @@ LUFA_PATH = ../.. # LUFA library compile-time options LUFA_OPTS = -D USB_DEVICE_ONLY LUFA_OPTS += -D USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR0 +LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0 LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 LUFA_OPTS += -D TOTAL_NUM_CONFIGURATIONS=1 LUFA_OPTS += -D USE_RAM_DESCRIPTORS diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index 333eb11c2..0964f0331 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -117,7 +117,7 @@ LUFA_PATH = ../.. # LUFA library compile-time options LUFA_OPTS = -D USB_DEVICE_ONLY LUFA_OPTS += -D USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR0 +LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0 LUFA_OPTS += -D CONTROL_ONLY_DEVICE LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=32 LUFA_OPTS += -D TOTAL_NUM_CONFIGURATIONS=1 diff --git a/Bootloaders/TeensyHID/makefile b/Bootloaders/TeensyHID/makefile index e02e6cec7..0751024c3 100644 --- a/Bootloaders/TeensyHID/makefile +++ b/Bootloaders/TeensyHID/makefile @@ -118,7 +118,7 @@ LUFA_PATH = ../.. LUFA_OPTS = -D USB_DEVICE_ONLY LUFA_OPTS += -D USE_NONSTANDARD_DESCRIPTOR_NAMES LUFA_OPTS += -D CONTROL_ONLY_DEVICE -LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR0 +LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0 LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 LUFA_OPTS += -D TOTAL_NUM_CONFIGURATIONS=1 LUFA_OPTS += -D USE_RAM_DESCRIPTORS -- cgit v1.2.3