aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src/Platform.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-01-10 15:31:56 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2012-01-10 15:31:56 -0500
commit648dd85e945a7e0a2db284987377a97936ee77e4 (patch)
treec29170421d6ff84020d679accbdad86ece4eaa89 /bootloaders/diskloader/src/Platform.h
parent59ef51d752db28757184565c452640d323440480 (diff)
added conditional compilation for HID, removed conditional compilation for CDC (is always used). disabled HID by default. also always enumerates as composite now.
the bootloader must always have a CDC interface. HID is optional and not even complete to reduce size.
Diffstat (limited to 'bootloaders/diskloader/src/Platform.h')
-rw-r--r--bootloaders/diskloader/src/Platform.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootloaders/diskloader/src/Platform.h b/bootloaders/diskloader/src/Platform.h
index 04c5b79..fcce0a1 100644
--- a/bootloaders/diskloader/src/Platform.h
+++ b/bootloaders/diskloader/src/Platform.h
@@ -43,7 +43,10 @@ void Transfer(u8 ep, const u8* data, int len);
void Recv(u8 ep, u8* dst, u8 len);
void Program(u8 ep, u16 page, u8 count);
-#define CDC_ENABLED
+/* HID is not fully-supported in the bootloader - can be enabled
+ for testing, but note the descriptor report and other parts are
+ not complete */
+//#define HID_ENABLED
#include "USBCore.h"
#include "USBDesc.h"