diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-28 13:12:14 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-28 13:12:14 +0000 |
commit | e426463355b8516a442c01e0e6b4a574c39fc0f4 (patch) | |
tree | 5c6c01c7ab24a423e956154bb8bba7db268c8b5b /Bootloaders | |
parent | c1be3073939c71d17c92fcbce4e1690d0a1443f0 (diff) | |
download | lufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.tar.gz lufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.tar.bz2 lufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.zip |
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.
Diffstat (limited to 'Bootloaders')
-rw-r--r-- | Bootloaders/CDC/makefile | 2 | ||||
-rw-r--r-- | Bootloaders/DFU/makefile | 2 | ||||
-rw-r--r-- | Bootloaders/TeensyHID/makefile | 2 |
3 files changed, 3 insertions, 3 deletions
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
|