- Use esp32-s3-devkitc1-n16r8 board (16MB flash, 8MB PSRAM OPI) instead of generic esp32-s3-devkitc-1 (8MB, no PSRAM) - Remove setScanResponse() — NimBLE 2.x dropped this method - Board definition handles PSRAM build flags automatically Verified: clean boot, no PSRAM errors, BLE advertising as Travler-G2.
20 lines
505 B
INI
20 lines
505 B
INI
; ESP32-S3 BLE-to-RS422 Bridge for Winegard Carryout G2
|
|
; Transparent NUS (Nordic UART Service) serial bridge
|
|
|
|
[env:esp32s3]
|
|
platform = espressif32
|
|
board = esp32-s3-devkitc1-n16r8
|
|
framework = arduino
|
|
|
|
; NimBLE for BLE (lighter than BlueDroid), NeoPixel for status LED
|
|
lib_deps =
|
|
h2zero/NimBLE-Arduino@^2.1
|
|
adafruit/Adafruit NeoPixel@^1.12
|
|
|
|
build_flags =
|
|
; Serial via CH343 UART port, not USB-CDC
|
|
-DARDUINO_USB_CDC_ON_BOOT=0
|
|
|
|
monitor_speed = 115200
|
|
upload_speed = 921600
|