Add compatibility for non-pico boards.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
cff3f8f677
commit
1a1d03ab2f
1 changed files with 4 additions and 0 deletions
|
|
@ -34,7 +34,11 @@
|
|||
#define USB_PID 0xFCFD
|
||||
#endif
|
||||
|
||||
#if defined(PICO_PLATFORM) || defined(ESP_PLATFORM)
|
||||
#define USB_BCD 0x0200
|
||||
#else
|
||||
#define USB_BCD 0x0110
|
||||
#endif
|
||||
|
||||
#define USB_CONFIG_ATT_ONE TU_BIT(7)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue