add more boards. Closes #8
This commit is contained in:
+28
-14
@@ -1,28 +1,42 @@
|
||||
; PlatformIO Project Configuration
|
||||
; Board: Tenstar Robot ESP32-C3 Super Mini (or compatible ESP32-C3)
|
||||
; Project: WijiBoard – BLE SCARA Stepper Controller
|
||||
|
||||
[env:esp32-c3-devkitm-1]
|
||||
[env]
|
||||
platform = espressif32
|
||||
board = esp32-c3-devkitm-1
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
upload_protocol = esptool
|
||||
lib_deps =
|
||||
; AccelStepper for smooth, non-blocking stepper control
|
||||
waspinator/AccelStepper @ ^1.64
|
||||
|
||||
; USB CDC on boot – Serial Monitor works over native USB
|
||||
; ---------------------------------------------------------
|
||||
; Board 1: ESP32-C3 Super Mini (Original)
|
||||
; ---------------------------------------------------------
|
||||
[env:esp32-c3-devkitm-1]
|
||||
board = esp32-c3-devkitm-1
|
||||
build_flags =
|
||||
-D BOARD_ESP32_C3
|
||||
-D ARDUINO_USB_MODE=1
|
||||
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||
-D STATUS_LED_PIN=8
|
||||
-D STATUS_LED_ON=LOW
|
||||
-D STATUS_LED_OFF=HIGH
|
||||
|
||||
board_upload.flash_size = 4MB
|
||||
board_build.flash_mode = dio
|
||||
board_build.partitions = default.csv
|
||||
|
||||
; Adjust to your COM port
|
||||
monitor_speed = 115200
|
||||
upload_protocol = esptool
|
||||
; ---------------------------------------------------------
|
||||
; Board 2: ESP32-S3 (e.g. DevKitC)
|
||||
; ---------------------------------------------------------
|
||||
[env:esp32s3]
|
||||
board = esp32-s3-devkitc-1
|
||||
build_flags =
|
||||
-D BOARD_ESP32_S3
|
||||
-D ARDUINO_USB_MODE=1
|
||||
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||
|
||||
lib_deps =
|
||||
; AccelStepper for smooth, non-blocking stepper control
|
||||
waspinator/AccelStepper @ ^1.64
|
||||
; ---------------------------------------------------------
|
||||
; Board 3: ESP32 WROOM (e.g. NodeMCU / DevKit V1)
|
||||
; ---------------------------------------------------------
|
||||
[env:esp32dev]
|
||||
board = esp32dev
|
||||
build_flags =
|
||||
-D BOARD_ESP32_WROOM
|
||||
|
||||
Reference in New Issue
Block a user