mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 22:00:36 +08:00
Add esp32 wifi only env to use big FS
Add new error code for FW update Update package.json versions
This commit is contained in:
parent
3a7ccdb167
commit
058236150d
2020
embedded/package-lock.json
generated
2020
embedded/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -15,29 +15,29 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.13",
|
||||
"@babel/preset-env": "^7.12.13",
|
||||
"@babel/core": "^7.15.5",
|
||||
"@babel/preset-env": "^7.15.6",
|
||||
"babel-loader": "^8.2.2",
|
||||
"chalk": "^4.1.0",
|
||||
"chalk": "^4.1.2",
|
||||
"clean-webpack-plugin": "^3.0.0",
|
||||
"compression-webpack-plugin": "^7.1.2",
|
||||
"concurrently": "^5.3.0",
|
||||
"core-js": "^3.8.3",
|
||||
"css-loader": "^5.0.2",
|
||||
"core-js": "^3.17.3",
|
||||
"css-loader": "^5.2.7",
|
||||
"espress": "0.0.0",
|
||||
"express": "^4.17.1",
|
||||
"express-fileupload": "^1.2.1",
|
||||
"express-ws": "^4.0.0",
|
||||
"html-inline-css-webpack-plugin": "^1.10.1",
|
||||
"html-inline-script-webpack-plugin": "^1.0.1",
|
||||
"html-inline-css-webpack-plugin": "^1.11.1",
|
||||
"html-inline-script-webpack-plugin": "^1.1.4",
|
||||
"html-minimizer-webpack-plugin": "^2.1.0",
|
||||
"html-webpack-plugin": "^5.0.0",
|
||||
"mini-css-extract-plugin": "^1.3.6",
|
||||
"nodemon": "^2.0.7",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"html-webpack-plugin": "^5.3.2",
|
||||
"mini-css-extract-plugin": "^1.6.2",
|
||||
"nodemon": "^2.0.12",
|
||||
"regenerator-runtime": "^0.13.9",
|
||||
"style-loader": "^2.0.0",
|
||||
"webpack": "^5.21.2",
|
||||
"webpack-cli": "^4.5.0",
|
||||
"webpack": "^5.52.1",
|
||||
"webpack-cli": "^4.8.0",
|
||||
"webpack-dev-server": "^3.11.2"
|
||||
}
|
||||
}
|
||||
|
@ -146,6 +146,7 @@
|
||||
#define ESP_ERROR_BUFFER_OVERFLOW 11
|
||||
#define ESP_ERROR_START_UPLOAD 12
|
||||
#define ESP_ERROR_SIZE 13
|
||||
#define ESP_ERROR_UPDATE 14
|
||||
|
||||
//File system
|
||||
#define ESP_FILE_READ 0
|
||||
|
@ -112,12 +112,12 @@ void HTTP_Server::WebUpdateUpload ()
|
||||
} else {
|
||||
output.printERROR("Update failed!",500);
|
||||
_upload_status=UPLOAD_STATUS_FAILED;
|
||||
pushError(ESP_ERROR_FILE_CLOSE, "File close failed");
|
||||
pushError(ESP_ERROR_UPDATE, "Update FW failed");
|
||||
}
|
||||
} else {
|
||||
_upload_status=UPLOAD_STATUS_FAILED;
|
||||
output.printERROR("Update failed!", 500);
|
||||
pushError(ESP_ERROR_FILE_CLOSE, "File close failed");
|
||||
pushError(ESP_ERROR_UPDATE, "Update FW failed");
|
||||
}
|
||||
} else {
|
||||
output.printERROR("Update failed!",500);
|
||||
|
@ -38,6 +38,26 @@ extra_scripts = pre:platformIO/extra_script.py
|
||||
lib_ignore =
|
||||
ESPAsyncTCP
|
||||
|
||||
[env:esp32devWiFiOnly]
|
||||
platform = https://github.com/platformio/platform-espressif32.git
|
||||
;theboard
|
||||
board = esp32dev
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
monitor_flags = --echo
|
||||
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
|
||||
upload_speed = 921600
|
||||
extra_scripts = pre:platformIO/extra_script.py
|
||||
lib_ignore =
|
||||
ESPAsyncTCP
|
||||
|
||||
[env:esp32cam]
|
||||
platform = https://github.com/platformio/platform-espressif32.git
|
||||
;theboard
|
||||
|
Loading…
x
Reference in New Issue
Block a user