Add custom board definition with Launchpad X VID/PID (0x1235/0x0103)
- boards/launchpad_x_variant.json defines custom board - platformio.ini uses custom board - Board sets VID/PID at hardware level
This commit is contained in:
+9
-10
@@ -3,8 +3,15 @@
|
||||
|
||||
[env:esp32s3]
|
||||
platform = espressif32
|
||||
board = esp32-s3-devkitc-1
|
||||
framework = arduino
|
||||
board = launchpad_x_variant
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
board_build.partitions = default_8MB.csv
|
||||
board_build.arduino.vid = 0x1235
|
||||
board_build.arduino.pid = 0x0103
|
||||
board_build.arduino.usb_mode = 0
|
||||
board_build.arduino.usb_cdc_on_boot = 1
|
||||
board_build.arduino.use_tinyusb = 1
|
||||
|
||||
lib_deps =
|
||||
adafruit/Adafruit TinyUSB Library@3.1.0
|
||||
fastled/FastLED@^3.9.0
|
||||
@@ -12,12 +19,4 @@ lib_deps =
|
||||
build_unflags =
|
||||
-DARDUINO_USB_MODE=1
|
||||
|
||||
build_flags =
|
||||
-DARDUINO_USB_MODE=0
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DUSE_TINYUSB=1
|
||||
|
||||
monitor_speed = 115200
|
||||
|
||||
board_build.partitions = default_8MB.csv
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
|
||||
Reference in New Issue
Block a user