projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d860e9e
)
Applied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all Device...
author
Dean Camera
<dean@fourwalledcubicle.com>
Wed, 22 Apr 2009 13:30:03 +0000
(13:30 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Wed, 22 Apr 2009 13:30:03 +0000
(13:30 +0000)
29 files changed:
Bootloaders/TeensyHID/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/AudioInput/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/AudioInput/makefile
patch
|
blob
|
blame
|
history
Demos/Device/AudioOutput/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/AudioOutput/makefile
patch
|
blob
|
blame
|
history
Demos/Device/CDC/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/CDC/makefile
patch
|
blob
|
blame
|
history
Demos/Device/DualCDC/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/DualCDC/makefile
patch
|
blob
|
blame
|
history
Demos/Device/GenericHID/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/GenericHID/makefile
patch
|
blob
|
blame
|
history
Demos/Device/Joystick/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/Joystick/makefile
patch
|
blob
|
blame
|
history
Demos/Device/Keyboard/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/Keyboard/makefile
patch
|
blob
|
blame
|
history
Demos/Device/KeyboardMouse/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/KeyboardMouse/makefile
patch
|
blob
|
blame
|
history
Demos/Device/MIDI/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/MIDI/makefile
patch
|
blob
|
blame
|
history
Demos/Device/MassStorage/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/MassStorage/makefile
patch
|
blob
|
blame
|
history
Demos/Device/Mouse/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/Mouse/makefile
patch
|
blob
|
blame
|
history
Demos/Device/RNDISEthernet/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/RNDISEthernet/makefile
patch
|
blob
|
blame
|
history
Demos/Device/USBtoSerial/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/USBtoSerial/makefile
patch
|
blob
|
blame
|
history
Projects/Magstripe/Descriptors.c
patch
|
blob
|
blame
|
history
Projects/Magstripe/makefile
patch
|
blob
|
blame
|
history
diff --git
a/Bootloaders/TeensyHID/Descriptors.c
b/Bootloaders/TeensyHID/Descriptors.c
index
68b9c43
..
508dfb7
100644
(file)
--- a/
Bootloaders/TeensyHID/Descriptors.c
+++ b/
Bootloaders/TeensyHID/Descriptors.c
@@
-71,7
+71,7
@@
USB_Descriptor_Device_t DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x16C0,
\r
.ProductID = 0x0478,
\r
\r
.VendorID = 0x16C0,
\r
.ProductID = 0x0478,
\r
diff --git
a/Demos/Device/AudioInput/Descriptors.c
b/Demos/Device/AudioInput/Descriptors.c
index
eb9b32a
..
0a0ef02
100644
(file)
--- a/
Demos/Device/AudioInput/Descriptors.c
+++ b/
Demos/Device/AudioInput/Descriptors.c
@@
-51,7
+51,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2047,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2047,
\r
diff --git
a/Demos/Device/AudioInput/makefile
b/Demos/Device/AudioInput/makefile
index
31e609d
..
19dc5e2
100644
(file)
--- a/
Demos/Device/AudioInput/makefile
+++ b/
Demos/Device/AudioInput/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
diff --git
a/Demos/Device/AudioOutput/Descriptors.c
b/Demos/Device/AudioOutput/Descriptors.c
index
99b6802
..
9da69f1
100644
(file)
--- a/
Demos/Device/AudioOutput/Descriptors.c
+++ b/
Demos/Device/AudioOutput/Descriptors.c
@@
-51,7
+51,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2046,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2046,
\r
diff --git
a/Demos/Device/AudioOutput/makefile
b/Demos/Device/AudioOutput/makefile
index
997abe6
..
b1a0511
100644
(file)
--- a/
Demos/Device/AudioOutput/makefile
+++ b/
Demos/Device/AudioOutput/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
CDEFS += -DAUDIO_OUT_STEREO
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
CDEFS += -DAUDIO_OUT_STEREO
\r
\r
diff --git
a/Demos/Device/CDC/Descriptors.c
b/Demos/Device/CDC/Descriptors.c
index
41b6e4d
..
6b65a76
100644
(file)
--- a/
Demos/Device/CDC/Descriptors.c
+++ b/
Demos/Device/CDC/Descriptors.c
@@
-51,7
+51,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2044,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2044,
\r
diff --git
a/Demos/Device/CDC/makefile
b/Demos/Device/CDC/makefile
index
d9df583
..
fe839d6
100644
(file)
--- a/
Demos/Device/CDC/makefile
+++ b/
Demos/Device/CDC/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
diff --git
a/Demos/Device/DualCDC/Descriptors.c
b/Demos/Device/DualCDC/Descriptors.c
index
e5d7ee2
..
d88fe98
100644
(file)
--- a/
Demos/Device/DualCDC/Descriptors.c
+++ b/
Demos/Device/DualCDC/Descriptors.c
@@
-51,7
+51,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x02,
\r
.Protocol = 0x01,
\r
\r
.SubClass = 0x02,
\r
.Protocol = 0x01,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x204E,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x204E,
\r
diff --git
a/Demos/Device/DualCDC/makefile
b/Demos/Device/DualCDC/makefile
index
c456012
..
9134f23
100644
(file)
--- a/
Demos/Device/DualCDC/makefile
+++ b/
Demos/Device/DualCDC/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
diff --git
a/Demos/Device/GenericHID/Descriptors.c
b/Demos/Device/GenericHID/Descriptors.c
index
9b87a04
..
30b0c53
100644
(file)
--- a/
Demos/Device/GenericHID/Descriptors.c
+++ b/
Demos/Device/GenericHID/Descriptors.c
@@
-77,7
+77,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x204F,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x204F,
\r
diff --git
a/Demos/Device/GenericHID/makefile
b/Demos/Device/GenericHID/makefile
index
4972121
..
3cf8070
100644
(file)
--- a/
Demos/Device/GenericHID/makefile
+++ b/
Demos/Device/GenericHID/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
# Place -D or -U options here for ASM sources
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
# Place -D or -U options here for ASM sources
\r
diff --git
a/Demos/Device/Joystick/Descriptors.c
b/Demos/Device/Joystick/Descriptors.c
index
81071a6
..
8567aed
100644
(file)
--- a/
Demos/Device/Joystick/Descriptors.c
+++ b/
Demos/Device/Joystick/Descriptors.c
@@
-87,7
+87,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2043,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2043,
\r
diff --git
a/Demos/Device/Joystick/makefile
b/Demos/Device/Joystick/makefile
index
dd44954
..
5230af2
100644
(file)
--- a/
Demos/Device/Joystick/makefile
+++ b/
Demos/Device/Joystick/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
diff --git
a/Demos/Device/Keyboard/Descriptors.c
b/Demos/Device/Keyboard/Descriptors.c
index
1c99813
..
8d60bd8
100644
(file)
--- a/
Demos/Device/Keyboard/Descriptors.c
+++ b/
Demos/Device/Keyboard/Descriptors.c
@@
-94,7
+94,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2042,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2042,
\r
diff --git
a/Demos/Device/Keyboard/makefile
b/Demos/Device/Keyboard/makefile
index
945a6f8
..
68271f7
100644
(file)
--- a/
Demos/Device/Keyboard/makefile
+++ b/
Demos/Device/Keyboard/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
# Place -D or -U options here for ASM sources
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
# Place -D or -U options here for ASM sources
\r
diff --git
a/Demos/Device/KeyboardMouse/Descriptors.c
b/Demos/Device/KeyboardMouse/Descriptors.c
index
b5bc15a
..
0b13ac4
100644
(file)
--- a/
Demos/Device/KeyboardMouse/Descriptors.c
+++ b/
Demos/Device/KeyboardMouse/Descriptors.c
@@
-127,7
+127,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x204D,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x204D,
\r
diff --git
a/Demos/Device/KeyboardMouse/makefile
b/Demos/Device/KeyboardMouse/makefile
index
e11238c
..
000dba2
100644
(file)
--- a/
Demos/Device/KeyboardMouse/makefile
+++ b/
Demos/Device/KeyboardMouse/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
diff --git
a/Demos/Device/MIDI/Descriptors.c
b/Demos/Device/MIDI/Descriptors.c
index
4150223
..
7b819cb
100644
(file)
--- a/
Demos/Device/MIDI/Descriptors.c
+++ b/
Demos/Device/MIDI/Descriptors.c
@@
-51,7
+51,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2048,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2048,
\r
diff --git
a/Demos/Device/MIDI/makefile
b/Demos/Device/MIDI/makefile
index
08c303e
..
d7d28e8
100644
(file)
--- a/
Demos/Device/MIDI/makefile
+++ b/
Demos/Device/MIDI/makefile
@@
-185,6
+185,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
diff --git
a/Demos/Device/MassStorage/Descriptors.c
b/Demos/Device/MassStorage/Descriptors.c
index
3592e9d
..
b4297eb
100644
(file)
--- a/
Demos/Device/MassStorage/Descriptors.c
+++ b/
Demos/Device/MassStorage/Descriptors.c
@@
-51,7
+51,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2045,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2045,
\r
diff --git
a/Demos/Device/MassStorage/makefile
b/Demos/Device/MassStorage/makefile
index
f263c5a
..
9ef390d
100644
(file)
--- a/
Demos/Device/MassStorage/makefile
+++ b/
Demos/Device/MassStorage/makefile
@@
-187,6
+187,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
diff --git
a/Demos/Device/Mouse/Descriptors.c
b/Demos/Device/Mouse/Descriptors.c
index
858a562
..
40ad01c
100644
(file)
--- a/
Demos/Device/Mouse/Descriptors.c
+++ b/
Demos/Device/Mouse/Descriptors.c
@@
-87,7
+87,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2041,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2041,
\r
diff --git
a/Demos/Device/Mouse/makefile
b/Demos/Device/Mouse/makefile
index
b788b5a
..
79e16e3
100644
(file)
--- a/
Demos/Device/Mouse/makefile
+++ b/
Demos/Device/Mouse/makefile
@@
-184,6
+184,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
# Place -D or -U options here for ASM sources
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
# Place -D or -U options here for ASM sources
\r
diff --git
a/Demos/Device/RNDISEthernet/Descriptors.c
b/Demos/Device/RNDISEthernet/Descriptors.c
index
46c3be1
..
1e084be
100644
(file)
--- a/
Demos/Device/RNDISEthernet/Descriptors.c
+++ b/
Demos/Device/RNDISEthernet/Descriptors.c
@@
-51,7
+51,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x204C,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x204C,
\r
diff --git
a/Demos/Device/RNDISEthernet/makefile
b/Demos/Device/RNDISEthernet/makefile
index
845c208
..
33b37cf
100644
(file)
--- a/
Demos/Device/RNDISEthernet/makefile
+++ b/
Demos/Device/RNDISEthernet/makefile
@@
-197,6
+197,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
CDEFS += -DNO_DECODE_ETHERNET -DNO_DECODE_ARP -DNO_DECODE_ICMP -DNO_DECODE_IP -DNO_DECODE_TCP -DNO_DECODE_UDP -DNO_DECODE_DHCP
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
CDEFS += -DNO_DECODE_ETHERNET -DNO_DECODE_ARP -DNO_DECODE_ICMP -DNO_DECODE_IP -DNO_DECODE_TCP -DNO_DECODE_UDP -DNO_DECODE_DHCP
\r
diff --git
a/Demos/Device/USBtoSerial/Descriptors.c
b/Demos/Device/USBtoSerial/Descriptors.c
index
1619f9d
..
3e2f379
100644
(file)
--- a/
Demos/Device/USBtoSerial/Descriptors.c
+++ b/
Demos/Device/USBtoSerial/Descriptors.c
@@
-51,7
+51,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2044,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2044,
\r
diff --git
a/Demos/Device/USBtoSerial/makefile
b/Demos/Device/USBtoSerial/makefile
index
8b7e701
..
94f2314
100644
(file)
--- a/
Demos/Device/USBtoSerial/makefile
+++ b/
Demos/Device/USBtoSerial/makefile
@@
-186,6
+186,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
\r
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
\r
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
\r
\r
\r
diff --git
a/Projects/Magstripe/Descriptors.c
b/Projects/Magstripe/Descriptors.c
index
819b488
..
785f849
100644
(file)
--- a/
Projects/Magstripe/Descriptors.c
+++ b/
Projects/Magstripe/Descriptors.c
@@
-85,7
+85,7
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
\r
- .Endpoint0Size =
8
,
\r
+ .Endpoint0Size =
FIXED_CONTROL_ENDPOINT_SIZE
,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2042,
\r
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2042,
\r
diff --git
a/Projects/Magstripe/makefile
b/Projects/Magstripe/makefile
index
979952d
..
8006b0c
100644
(file)
--- a/
Projects/Magstripe/makefile
+++ b/
Projects/Magstripe/makefile
@@
-186,6
+186,7
@@
CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
CDEFS += -DMAG_T1_CLOCK="(1 << 0)"
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
CDEFS += -DMAG_T1_CLOCK="(1 << 0)"