Skip to content

Commit

Permalink
make platformio.ini more efficient
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-8 committed Apr 4, 2024
1 parent 42380e8 commit 03173ed
Showing 1 changed file with 11 additions and 59 deletions.
70 changes: 11 additions & 59 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,78 +11,30 @@
[platformio]
src_dir = RCMv2

[env:RCMesp32dev]
framework = arduino
platform = espressif32@6.6.0
board = esp32dev
build_flags = -DCORE_DEBUG_LEVEL=0
monitor_speed = 115200
lib_deps =
joshua1024/JMotor@~0.22.3
joshua1024/ESP32_easy_wifi_data@^1.0.0

[env:RCMadafruit_qtpy_esp32s3_nopsram]
framework = arduino
platform = espressif32@6.6.0
board = adafruit_qtpy_esp32s3_nopsram
build_flags = -DCORE_DEBUG_LEVEL=0
monitor_speed = 115200
lib_deps =
[env]
lib_deps =
joshua1024/JMotor@~0.22.3
joshua1024/ESP32_easy_wifi_data@^1.0.0
fastled/FastLED@3.6.0

[env:RCMadafruit_qtpy_esp32s3_n4r2]
framework = arduino
platform = espressif32@6.6.0
board = adafruit_qtpy_esp32s3_n4r2
build_flags = -DCORE_DEBUG_LEVEL=0
https://github.com/micro-ROS/micro_ros_arduino#v2.0.7-iron
monitor_speed = 115200
lib_deps =
joshua1024/JMotor@~0.22.3
joshua1024/ESP32_easy_wifi_data@^1.0.0
fastled/FastLED@3.6.0
build_flags =
-L ./.pio/libdeps/$PIOENV/micro_ros_arduino/src/esp32/
-l microros
-DCORE_DEBUG_LEVEL=0

[env:ROSesp32dev]

[env:esp32dev]
framework = arduino
platform = espressif32@6.6.0
board = esp32dev
monitor_speed = 115200
build_flags =
-L ./.pio/libdeps/ROSesp32dev/micro_ros_arduino/src/esp32/
-l microros
-DCORE_DEBUG_LEVEL=0
-DRCM_ROS=1
lib_deps =
joshua1024/JMotor@~0.22.3
https://github.com/micro-ROS/micro_ros_arduino#v2.0.7-iron

[env:ROSadafruit_qtpy_esp32s3_nopsram]
[env:adafruit_qtpy_esp32s3_nopsram]
framework = arduino
platform = espressif32@6.6.0
board = adafruit_qtpy_esp32s3_nopsram
monitor_speed = 115200
build_flags =
-L ./.pio/libdeps/ROSadafruit_qtpy_esp32s3_nopsram/micro_ros_arduino/src/esp32/
-l microros
-DCORE_DEBUG_LEVEL=0
-DRCM_ROS=1
lib_deps =
joshua1024/JMotor@~0.22.3
fastled/FastLED@3.6.0
https://github.com/micro-ROS/micro_ros_arduino#v2.0.7-iron

[env:ROSadafruit_qtpy_esp32s3_n4r2]
[env:adafruit_qtpy_esp32s3_n4r2]
framework = arduino
platform = espressif32@6.6.0
board = adafruit_qtpy_esp32s3_n4r2
monitor_speed = 115200
build_flags =
-L ./.pio/libdeps/ROSadafruit_qtpy_esp32s3_n4r2/micro_ros_arduino/src/esp32/
-l microros
-DCORE_DEBUG_LEVEL=0
-DRCM_ROS=1
lib_deps =
joshua1024/JMotor@~0.22.3
fastled/FastLED@3.6.0
https://github.com/micro-ROS/micro_ros_arduino#v2.0.7-iron

0 comments on commit 03173ed

Please sign in to comment.