-
Notifications
You must be signed in to change notification settings - Fork 5
/
platformio.ini
49 lines (44 loc) · 1.62 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
# Flash layout 4m2m
# sketch @0x40200000 (~1019KB) (1044464B) */
# empty @0x402FEFF0 (~1028KB) (1052688B) */
# spiffs @0x40400000 (~2024KB) (2072576B) */
# eeprom @0x405FB000 (4KB) */
# rfcal @0x405FC000 (4KB) */
# wifi @0x405FD000 (12KB) */
# das esptool addressiert den Sketch mit 0, das spiffs mit 0x200000 etc.
#platform = ${common.arduino_core_2_6_3}
[env:esp12e]
lib_deps =
ESPAsyncTCP
#ESP Async [email protected]
ESP Async WebServer
AsyncMqttClient
# die Versionen sind die aktuellsten @ 4.3.2023- 3.11.2023 Ausnahme ArduinoJson
extra_scripts =
pre:pio-scripts/compiled_date_time.py
pre:pio-scripts/patch_apply.py
custom_patches = esp12e
#platform = [email protected]
platform = espressif8266
##platform = [email protected]
#platform = [email protected]
board = esp12e
framework = arduino
#build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH, -Wl,-Map,output.map
#build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH, -v, -O2
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH, -O2
# default is Os
#build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
#board_build.f_cpu = 160000000L
# default: 1M Spiffs c:\Users\gpran\.platformio\packages\framework-arduinoespressif8266\tools\sdk\ld\eagle.flash.4m1m.ld
#board_build.ldscript = eagle.flash.4m1m.ld
#board_build.ldscript = eagle.flash.4m3m.ld
board_build.ldscript = eagle.flash.4m2m.ld # Flash 4MB
#board_build.ldscript = eagle.flash.2m256.ld # Flash 2MB
board_build.filesystem = littlefs
#upload_protocol = espota
#upload_port = 192.168.2.20
upload_speed = 921600