Skip to content

Commit

Permalink
Simplify pio file
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Jan 22, 2025
1 parent a31973f commit 8183c6d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ src_dir = examples/SimpleServer

[env]
framework = arduino
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
board = esp32dev
build_flags =
-Og
-Wall -Wextra
Expand All @@ -32,32 +34,27 @@ lib_deps =
; bblanchon/ArduinoJson @ 6.21.5
bblanchon/ArduinoJson @ 7.3.0
ESP32Async/AsyncTCP @ 3.3.2
board = esp32dev
board_build.partitions = partitions-4MB.csv
board_build.filesystem = littlefs

[env:arduino-2]
platform = [email protected]

[env:arduino-3]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
; board = esp32-s3-devkitc-1
; board = esp32-c6-devkitc-1

[env:arduino-3-no-json]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
; board = esp32-s3-devkitc-1
; board = esp32-c6-devkitc-1
lib_deps =
ESP32Async/AsyncTCP @ 3.3.2
; board = esp32-s3-devkitc-1
; board = esp32-c6-devkitc-1

[env:perf-test-AsyncTCP]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
build_flags = ${env.build_flags}
-D PERF_TEST=1

[env:perf-test-AsyncTCPSock]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
lib_deps =
https://github.com/ESP32Async/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip
build_flags = ${env.build_flags}
Expand Down Expand Up @@ -90,11 +87,9 @@ platform = [email protected]
board = ${sysenv.PIO_BOARD}

[env:ci-arduino-3]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
board = ${sysenv.PIO_BOARD}

[env:ci-arduino-3-no-json]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
board = ${sysenv.PIO_BOARD}
lib_deps =
ESP32Async/AsyncTCP @ 3.3.2
Expand Down

0 comments on commit 8183c6d

Please sign in to comment.