-
Notifications
You must be signed in to change notification settings - Fork 363
/
platformio.ini
49 lines (44 loc) · 1.82 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
; 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
; http://docs.platformio.org/page/projectconf.html
; *********************************************************************************************************************
; 2021-06-13
;
; It is a pity PlatformIO does not support building such Arduino libraries locally out of the box. The current solution
; evolved out of a discussion at https://community.platformio.org/t/build-an-arduino-library-for-esp8266-locally/10656
; Occasionally the build fails because PIO somehow gets the dependency tree completely wrong. Running the build again
; usually fixes it.
;
; The default configuration will build *all* examples but you can easily uncomment the envs you do not need if you are
; working on just a single example.
; *********************************************************************************************************************
[platformio]
lib_dir = $PROJECT_DIR
[env]
extra_scripts = pre:adjust_src_dir.py
; https://github.com/platformio/platform-espressif8266/releases/tag/v3.2.0
platform = [email protected]
board = d1_mini
framework = arduino
upload_speed = 921600
board_build.f_cpu = 160000000L
lib_deps = JsonStreamingParser
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.2.0
; comment the ones you do not need
[env:AerisForecastsDemo]
[env:AerisObservationDemo]
[env:AerisSunMoonDemo]
[env:AstronomyDemo]
[env:OpenWeatherMapCurrentDemo]
[env:OpenWeatherMapForecastDemo]
[env:OpenWeatherMapOneCallDemo]
[env:PlaneSpotterDemo]
[env:SunMoonCalcDemo]
[env:WeatherStationDemo]
[env:WorldClockDemo]