forked from Jason2866/ESP8266MinimalHTTPUpdater
-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
38 lines (32 loc) · 1.41 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
[platformio]
src_dir = updater
build_dir = .pioenvs
build_cache_dir = .cache
core_dir = .platformio
[common]
framework = arduino
[scripts_defaults]
extra_scripts = pio-tools/strip-floats.py
pio-tools/name-firmware.py
pio-tools/gzip-firmware.py
[env:updater]
; Arduino Core 2.3.0 has the smallest flash size usage
platform = espressif8266 @ 1.5.0 ; core 2.3.0 -> PIO 1.5.0
platform_packages = platformio/framework-arduinoespressif8266 @ ~1.20300.1
platformio/toolchain-xtensa @ ~2.40802.200502 ; use newer toolchain (smaller code)
platformio/tool-esptool @ ~1.413.0
framework = arduino
board = esp01_1m
board_build.flash_mode = dout
board_build.f_cpu = 80000000L
board_build.f_flash = 40000000L
monitor_speed = 115200
upload_speed = 115200
board_build.ldscript = eagle.flash.1m.ld ; for core 2.3.0 1M No SPIFFS
build_flags = -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
-DVTABLES_IN_FLASH
-Wl,-Map,firmware.map
-w
-mno-target-align
build_unflags = -mtarget-align
extra_scripts = ${scripts_defaults.extra_scripts}