Add compatibility for non-pico boards.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2025-09-24 01:11:19 +02:00
parent cff3f8f677
commit 1a1d03ab2f
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -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)