|
8 | 8 | ; Please visit documentation for the other options and examples
|
9 | 9 | ; http://docs.platformio.org/page/projectconf.html
|
10 | 10 |
|
11 |
| -[env:d1_mini] |
| 11 | + |
| 12 | +; ********************************************************************************************************************* |
| 13 | +; 2021-06-13 |
| 14 | +; |
| 15 | +; It is a pity PlatformIO does not support building such Arduino libraries locally out of the box. The current solution |
| 16 | +; evolved out of a discussion at https://community.platformio.org/t/build-an-arduino-library-for-esp8266-locally/10656 |
| 17 | +; Occasionally the build fails because PIO somehow gets the dependency tree completely wrong. Running the build again |
| 18 | +; usually fixes it. |
| 19 | +; |
| 20 | +; The default configuration will build *all* examples but you can easily uncomment the envs you do not need if you are |
| 21 | +; working on just a single example. |
| 22 | +; ********************************************************************************************************************* |
| 23 | + |
| 24 | +[platformio] |
| 25 | +lib_dir = $PROJECT_DIR |
| 26 | + |
| 27 | +[env] |
| 28 | +extra_scripts = pre:adjust_src_dir.py |
12 | 29 | platform = espressif8266
|
13 | 30 | board = d1_mini
|
14 | 31 | framework = arduino
|
15 | 32 | upload_speed = 921600
|
16 |
| -board_f_cpu = 160000000L |
17 |
| -lib_deps = JsonStreamingParser, |
18 |
| - ESP8266_SSD1306 |
19 |
| - simpleDSTadjust |
20 |
| - DHT sensor library |
21 |
| - Adafruit Unified Sensor |
22 |
| - WifiManager@>=0.15.0-beta |
| 33 | +board_build.f_cpu = 160000000L |
| 34 | +lib_deps = JsonStreamingParser |
| 35 | + thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.2.0 |
| 36 | + |
| 37 | +; comment the ones you do not need |
| 38 | +[env:AerisForecastsDemo] |
| 39 | +[env:AerisObservationDemo] |
| 40 | +[env:AerisSunMoonDemo] |
| 41 | +[env:AstronomyDemo] |
| 42 | +[env:OpenWeatherMapCurrentDemo] |
| 43 | +[env:OpenWeatherMapForecastDemo] |
| 44 | +[env:OpenWeatherMapOneCallDemo] |
| 45 | +[env:PlaneSpotterDemo] |
| 46 | +[env:SunMoonCalcDemo] |
| 47 | +[env:WeatherStationDemo] |
| 48 | +[env:WorldClockDemo] |
0 commit comments