Skip to content

Commit

Permalink
change: Add #ifndef for USB_VID and USB_PID for esp32s3 board variant
Browse files Browse the repository at this point in the history
This adds #ifndef for USB_VID and USB_PID for esp32s3 board variant,
allowing the end user to customize these values and therefore how the
device shows up when connected to USB.
  • Loading branch information
pzich committed Jan 6, 2025
1 parent 9eb7dc6 commit 07009ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions variants/esp32s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
#include <stdint.h>
#include "soc/soc_caps.h"

#ifndef USB_VID
#define USB_VID 0x303a
#endif
#ifndef USB_PID
#define USB_PID 0x1001
#endif

// Some boards have too low voltage on this pin (board design bug)
// Use different pin with 3V and connect with 48
Expand Down

0 comments on commit 07009ed

Please sign in to comment.