|
| 1 | + |
| 2 | +; PlatformIO Project Configuration File |
| 3 | +; Please visit documentation to check options and examples |
| 4 | +; https://docs.platformio.org/page/projectconf.html |
| 5 | + |
| 6 | +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 7 | + |
| 8 | +; Select here wich default environment build (comment and uncomment the line that is needed) |
| 9 | + |
| 10 | +[platformio] |
| 11 | +default_envs = arduino_esp32 ; Build ESP32 with Arduino Framework |
| 12 | +;default_envs = arduino_esp8266 ; Build ESP8266 with Arduino Framework |
| 13 | +;default_envs = arduino_uno_atmega328 ; Build Arduino Uno with Arduino Framework |
| 14 | +;default_envs = arduino_mega_atmega2560 ; Build Arduino Mega with Arduino Framework |
| 15 | +;default_envs = arduino_nano_atmega168 ; Build Arduino Nano (atmega168) with Arduino Framework |
| 16 | +;default_envs = arduino_nano_atmega328 ; Build Arduino Nano (atmega328) with Arduino Framework |
| 17 | +;default_envs = arduino_micro_atmega32u4 ; Build Arduino Micro (atmega32u4) with Arduino Framework |
| 18 | + |
| 19 | +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 20 | + |
| 21 | +[env] |
| 22 | + |
| 23 | + |
| 24 | +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 25 | + |
| 26 | +; Arduino Build Configs |
| 27 | + |
| 28 | +; ESP32 Arduino |
| 29 | +[env:arduino_esp32] |
| 30 | + |
| 31 | +board = esp32dev |
| 32 | +framework = arduino |
| 33 | + |
| 34 | +; ESP8266 Arduino |
| 35 | +[env:arduino_esp8266] |
| 36 | + |
| 37 | +board = esp12e |
| 38 | +framework = arduino |
| 39 | + |
| 40 | +; Arduino Uno (atmega328) |
| 41 | +[env:arduino_uno_atmega328] |
| 42 | + |
| 43 | +board = uno |
| 44 | +framework = arduino |
| 45 | + |
| 46 | +; Arduino Mega (atmega2560) |
| 47 | +[env:arduino_mega_atmega2560] |
| 48 | + |
| 49 | +board = megaatmega2560 |
| 50 | +framework = arduino |
| 51 | + |
| 52 | +; Arduino Nano (atmega168) |
| 53 | +[env:arduino_nano_atmega168] |
| 54 | + |
| 55 | +board = nanoatmega168 |
| 56 | +framework = arduino |
| 57 | + |
| 58 | +; Arduino Nano (atmega328) |
| 59 | +[env:arduino_nano_atmega328] |
| 60 | + |
| 61 | +board = nanoatmega328 |
| 62 | +framework = arduino |
| 63 | + |
| 64 | +; Arduino Pro Micro (atmega32u4) |
| 65 | +[env:arduino_micro_atmega32u4] |
| 66 | + |
| 67 | +board = micro |
| 68 | +framework = arduino |
| 69 | +;build_flags = -DUSBCON=1 |
0 commit comments