-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplatformio.ini
56 lines (51 loc) · 1.38 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
50
51
52
53
54
55
56
; 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
[common]
platform = espressif32
;platform = https://github.com/platformio/platform-espressif32.git#master
lib_deps =
SPI
Wire
FS
SPIFFS
;freertos
HTTPUpdate
arduino-libraries/NTPClient
;ArduinoJson
https://github.com/bblanchon/ArduinoJson.git#6.x
me-no-dev/AsyncTCP
;https://github.com/me-no-dev/AsyncTCP.git#idf-update
AsyncMqttClient-esphome
esphome/ESPAsyncWebServer-esphome
;ESP32 BLE Arduino ;-> In framework BLE
;BLE ;-> older
;U8g2 ; choose one gfx lib
;Adafruit GFX Library
;Adafruit SSD1306
;https://github.com/lexus2k/ssd1306.git
https://github.com/ThingPulse/esp8266-oled-ssd1306.git
[env:elehant]
platform = ${common.platform}
;board = ttgo-lora32-v1
board = esp32dev
;board = lolin32
framework = arduino
;board_build.flash_mode = qio
board_build.f_cpu = 160000000L
;board_build.f_cpu = 240000000L
board_build.partitions = min_spiffs.csv
build_flags = !./make_flags.py
;-DCORE_DEBUG_LEVEL=5
;-DCORE_DEBUG_LEVEL=4
;-DCORE_DEBUG_LEVEL=3
-DCORE_DEBUG_LEVEL=2
;-DCORE_DEBUG_LEVEL=1
lib_deps =
${common.lib_deps}