Thanks @tomorrow56. Splits platformio.ini into shared [env] + c3 and esp32dev targets and adds README_JP.md. Maintainer changes on merge: default_envs stays c3 so `pio run -t upload` keeps building for the C3 as the README says; the BOOT-button pin is now GPIO9 on the C3 and GPIO0 elsewhere (GPIO9 is wired to SPI flash on classic ESP32). README links the JP version and notes ESP32 support; JP README notes the English one is authoritative for newer features. Both envs build clean (c3 92.1%, esp32dev 89.4% flash). C3 image unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hc862kZw1rjutovbSxxFaY
19 lines
319 B
INI
19 lines
319 B
INI
[platformio]
|
|
default_envs = c3
|
|
|
|
[env]
|
|
platform = espressif32
|
|
framework = arduino
|
|
board_build.filesystem = littlefs
|
|
board_build.partitions = partitions.csv
|
|
monitor_speed = 115200
|
|
|
|
[env:esp32dev]
|
|
board = esp32dev
|
|
|
|
[env:c3]
|
|
board = esp32-c3-devkitm-1
|
|
build_flags =
|
|
-DARDUINO_USB_MODE=1
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|