From 7e41b5a97e23f61492be06dc8b6401c12479abdd Mon Sep 17 00:00:00 2001 From: Thijs Raymakers Date: Wed, 19 Jun 2024 21:13:58 +0200 Subject: [PATCH] Add ESP8266 settings to PIO and add default Arduino main --- platformio.ini | 8 ++++++++ src/main.c | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 src/main.c diff --git a/platformio.ini b/platformio.ini index ebc510b..98b4e01 100644 --- a/platformio.ini +++ b/platformio.ini @@ -7,3 +7,11 @@ ; ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html + +[env] +platform = espressif8266 +board = esp8285 +framework = arduino + +[env:release] +build_flags = -D RELEASE diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..cb61667 --- /dev/null +++ b/src/main.c @@ -0,0 +1,3 @@ +void setup() {} + +void loop() {}