Skip to content

Instantly share code, notes, and snippets.

@Ar-Ray-code
Last active April 7, 2022 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ar-Ray-code/cbe5df75891070893a9c39f78280afcd to your computer and use it in GitHub Desktop.
Save Ar-Ray-code/cbe5df75891070893a9c39f78280afcd to your computer and use it in GitHub Desktop.
microros-esp32-platformio.ini
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
; [env:m5stack-core2]
[env:m5stick-c]
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
; board = m5stack-core2
board = m5stick-c
framework = arduino
lib_deps =
; m5stack/M5Core2@^0.1.0
; m5stack/M5StickCPlus@^0.0.5
m5stack/M5Atom@^0.0.9
fastled/FastLED@^3.5.0
https://github.com/micro-ROS/micro_ros_arduino.git
build_flags =
-L ./.pio/libdeps/esp32dev/micro_ros_arduino/src/esp32/
-l microros
-D ESP32
platform_packages =
toolchain-xtensa32 @ ~2.80400.0
framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment