Add custom pins_arduino.h variant with Launchpad X VID/PID
- variants/esp32s3/pins_arduino.h overrides USB_VID/USB_PID - Included via -I in build_flags before core variant - This should force USB descriptors at hardware level
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// pins_arduino.h for ESP32-S3 DevKitC-1 with Launchpad X USB VID/PID
|
||||
|
||||
#ifndef _VARIANT_ESP32S3_DEVKITC_1_
|
||||
#define _VARIANT_ESP32S3_DEVKITC_1_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// Override USB VID/PID to match Novation Launchpad X (0x1235/0x0103)
|
||||
// This must be before Arduino.h includes it
|
||||
#define USB_VID 0x1235
|
||||
#define USB_PID 0x0103
|
||||
#define USB_MANUFACTURER "Novation"
|
||||
#define USB_PRODUCT "Launchpad X"
|
||||
|
||||
#include "../../.pio/packages/framework-arduinoespressif32/variants/esp32s3_devkitc/pins_arduino.h"
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user