; 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:esp32doit-devkit-v1] platform = espressif32 board = esp32doit-devkit-v1 framework = arduino monitor_speed = 115200 upload_port = /dev/cu.SLAB_USBtoUART debug_tool = esp-prog debug_init_break = tbreak setup ; I am using src_filter as a cheap way to have multiple main files in one project. ; To use it all you have to do is add the target main file like here we add main3.cpp as out build target: ; src_filter =+<*> - + src_filter =+<*> - + lib_deps = # The exact version sandeepmistry/CAN @ 0.3.1