mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-05 14:20:41 +08:00
Add esp8266 in vscode/platformio
This commit is contained in:
parent
e270fc0c8b
commit
15c9fd7ed1
14
.vscode/tasks.json
vendored
Normal file
14
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "PlatformIO",
|
||||
"task": "Build (esp8266)",
|
||||
"problemMatcher": [
|
||||
"$platformio"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -33,3 +33,26 @@ board_build.partitions = min_spiffs.csv
|
||||
upload_speed = 115200
|
||||
lib_ignore =
|
||||
ESPAsyncTCP
|
||||
|
||||
[env:esp8266]
|
||||
platform = espressif8266
|
||||
board = esp12e
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
; set frequency to 160MHz
|
||||
board_build.f_cpu = 160000000L
|
||||
; set frequency to 40MHz
|
||||
board_build.f_flash = 40000000L
|
||||
board_build.flash_mode = dio
|
||||
upload_resetmethod = ck
|
||||
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
|
||||
ESP32SSPD
|
||||
|
Loading…
x
Reference in New Issue
Block a user