forked from luc-github/ESP3D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
155 lines (146 loc) · 4.15 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
; 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
[platformio]
boards_dir = boards
src_dir = esp3d
data_dir = esp3d/data
default_envs = esp8266_mod
[common]
lib_deps =
links2004/[email protected]
me-no-dev/[email protected]
DHT sensor library for ESPx=https://github.com/beegee-tokyo/DHTesp/archive/refs/tags/1.0.6.zip
me-no-dev/[email protected]
me-no-dev/ESP Async [email protected]
ESP8266 and ESP32 OLED driver for SSD1306 displays=https://github.com/ThingPulse/esp8266-oled-ssd1306/archive/refs/tags/3.2.7.zip
ESP32SSPD=https://github.com/luc-github/ESP32SSDP/archive/refs/tags/1.1.0.zip
[env:esp32dev]
platform = [email protected]
;theboard
board = esp32dev
framework = arduino
monitor_speed = 115200
monitor_echo = yes
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
; set frequency to 240MHz
board_build.f_cpu = 240000000L
; set frequency to 80MHz
board_build.f_flash = 80000000L
board_build.flash_mode = qio
; None
build_flags = -DCORE_DEBUG_LEVEL=0
board_build.partitions = default.csv
upload_speed = 921600
lib_ignore =
ESPAsyncTCP
[env:esp8266]
;esp8266 core 2.5.2
platform = [email protected]
platform_packages = [email protected]
board = esp12e
framework = arduino
monitor_speed = 115200
monitor_echo = yes
monitor_filters = send_on_enter, colorize, esp8266_exception_decoder
; set frequency to 160MHz
board_build.f_cpu = 160000000L
; set frequency to 40MHz
board_build.f_flash = 40000000L
board_build.flash_mode = dout
upload_resetmethod = nodemcu
build_flags =
-Wl,-Teagle.flash.4m2m.ld
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DNONOSDK221=1
-DNDEBUG
-DVTABLES_IN_FLASH
upload_speed = 115200
lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSDP
[env:esp8266_mod]
; ESP-01 unit with MOD: Flash W25Q64 (8M)
platform = platformio/[email protected]
;platform_packages =
; platformio/[email protected]
; platformio/[email protected]
board = sl1esp8266_w25q64
framework = arduino
monitor_speed = 115200
monitor_echo = yes
monitor_filters = send_on_enter, colorize, esp8266_exception_decoder
; set frequency to 160MHz
board_build.f_cpu = 160000000L
board_build.f_flash = 40000000L
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.8m6m.ld
board_upload.maximum_size = 8388608
upload_resetmethod = ck
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DNONOSDK221=1
-DNDEBUG
-DVTABLES_IN_FLASH
upload_speed = 115200
lib_deps = ${common.lib_deps}
lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSPD
ESP8266 and ESP32 OLED driver for SSD1306 displays
;https://github.com/platformio/platform-espressif8266/releases
[env:esp01s_160mhz_2_7_4]
platform = [email protected]
board = esp01_1m
framework = arduino
monitor_speed = 115200
monitor_echo = yes
monitor_filters = send_on_enter, colorize, esp8266_exception_decoder
board_build.f_cpu = 160000000L
board_build.f_flash = 40000000L
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.1m256.ld
upload_resetmethod = nodemcu
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DNONOSDK221=1
-DNDEBUG
-DVTABLES_IN_FLASH
upload_speed = 115200
lib_deps = ${common.lib_deps}
lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSDP
[env:esp01s_160mhz_2_5_2]
platform = [email protected]
platform_packages = [email protected]
board = esp01_1m
framework = arduino
monitor_speed = 115200
monitor_echo = yes
monitor_filters = send_on_enter, colorize, esp8266_exception_decoder
board_build.f_cpu = 160000000L
board_build.f_flash = 40000000L
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.1m256.ld
upload_resetmethod = nodemcu
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DNONOSDK221=1
-DNDEBUG
-DVTABLES_IN_FLASH
upload_speed = 115200
lib_deps = ${common.lib_deps}
lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSDP