Files
gaoguangpu/.pio/libdeps/esp32-s3-devkitc-1/Vector/examples/PlatformIO
2025-03-26 09:27:34 +08:00
..
2025-03-26 09:27:34 +08:00
2025-03-26 09:27:34 +08:00
2025-03-26 09:27:34 +08:00
2025-03-26 09:27:34 +08:00
2025-03-26 09:27:34 +08:00
2025-03-26 09:27:34 +08:00

PlatformIO example

This example can be built using PlatformIO, instead of the Arduino IDE.

Running the code

Platform: native

  • To run the code in src/ natively:

     pio run -e native && .pio/build/native/program
  • To run the code in test/ natively:

      pio test -e native

Platform: Arduino

Before doing any of this, edit platformio.ini for your board.

  • To run the code in src/ on a device and then monitor its output:

      pio run -e uno -t upload && pio device monitor
  • To run the tests on a device:

      pio test -e uno

All platforms at once

  • To run the tests natively on all platforms described in `platformio.ini`:

      pio test