mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-01 19:20:40 +08:00
first try for platformIO for ESP32
ESP8266 not yet done
This commit is contained in:
parent
7aab073d55
commit
e270fc0c8b
6
.gitignore
vendored
6
.gitignore
vendored
@ -3,3 +3,9 @@ Thumbs.db
|
|||||||
*.orig
|
*.orig
|
||||||
embedded/node_modules
|
embedded/node_modules
|
||||||
embedded/dist
|
embedded/dist
|
||||||
|
.pio
|
||||||
|
.pioenvs
|
||||||
|
.piolibdeps
|
||||||
|
.vscode/.browse.c_cpp.db*
|
||||||
|
.vscode/c_cpp_properties.json
|
||||||
|
.vscode/launch.json
|
||||||
|
7
.vscode/extensions.json
vendored
Normal file
7
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
||||||
|
// for the documentation about the extensions.json format
|
||||||
|
"recommendations": [
|
||||||
|
"platformio.platformio-ide"
|
||||||
|
]
|
||||||
|
}
|
35
platformio.ini
Normal file
35
platformio.ini
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
; 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]
|
||||||
|
src_dir = esp3d
|
||||||
|
build_dir = .pioenvs
|
||||||
|
lib_dir = libraries
|
||||||
|
libdeps_dir = .piolibdeps
|
||||||
|
env_default = esp32dev
|
||||||
|
|
||||||
|
|
||||||
|
[env:esp32dev]
|
||||||
|
platform = espressif32
|
||||||
|
;theboard
|
||||||
|
board = esp32dev
|
||||||
|
framework = arduino
|
||||||
|
monitor_speed = 115200
|
||||||
|
; 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 = min_spiffs.csv
|
||||||
|
upload_speed = 115200
|
||||||
|
lib_ignore =
|
||||||
|
ESPAsyncTCP
|
Loading…
x
Reference in New Issue
Block a user