Updating AVR abstraction to be compatible with ARM, nearly ready for ARM files
- Very small updates to files, mostly modifying to remove name duplications
This commit is contained in:
parent
a31f0e064a
commit
6da1558b78
29 changed files with 64 additions and 36 deletions
|
@ -29,6 +29,7 @@ elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
|
|||
arm/usb_dev.c
|
||||
arm/usb_keyboard.c
|
||||
arm/usb_mem.c
|
||||
arm/usb_serial.c
|
||||
)
|
||||
|
||||
endif ( ${COMPILER_FAMILY} MATCHES "avr" )
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include "avr/usb_keyboard_debug.h"
|
||||
#elif defined(_mk20dx128_)
|
||||
#include "arm/usb_keyboard.h"
|
||||
#include "arm/usb_dev.h"
|
||||
#endif
|
||||
|
||||
// Local Includes
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
|
||||
// You can change these to give your code its own name.
|
||||
// TODO Add to Teensy 3
|
||||
#define STR_MANUFACTURER L"MfgName"
|
||||
#define STR_PRODUCT L"Keyboard"
|
||||
|
||||
|
@ -47,7 +48,8 @@
|
|||
// INF file is needed to load the driver. These numbers need to
|
||||
// match the INF file.
|
||||
#define VENDOR_ID 0x16C0
|
||||
#define PRODUCT_ID 0x047D
|
||||
#define PRODUCT_ID 0x0487 // New ID for Teensy 3
|
||||
//#define PRODUCT_ID 0x047D // Old ID for Teensy 2
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue