- add proper build_type flag for debug and release
- added default value for MDNS name
This commit is contained in:
ZanzyTHEbar 2022-08-15 06:30:53 +01:00
parent e90e94d5a5
commit 162c511a1f
2 changed files with 13 additions and 1 deletions

View File

@ -14,9 +14,15 @@ void ProjectConfig::initConfig()
{
begin();
this->config.device = {
"EyeTrackVR",
"",
3232,
false,
false,
false,
"",
"",
0,
""
};
this->config.camera = {

View File

@ -122,6 +122,8 @@ lib_deps =
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/me-no-dev/AsyncTCP.git
build_type = debug
[env:esp32Cam]
platform = ${common.platform}
board = esp32cam
@ -174,6 +176,7 @@ board_build.partitions = ${common.board_build.partitions}
lib_ldf_mode = ${common.lib_ldf_mode}
upload_speed = ${common.upload_speed}
lib_deps = ${common.lib_deps}
build_type = release
; Experimental OTA Environment - do not select unless you know what you are doing
[env:esp32Cam_OTA]
@ -199,6 +202,7 @@ upload_protocol = espota
upload_flags =
--port=3232
--auth=12345678
build_type = release
[env:wrover]
platform = ${common.platform}
@ -255,6 +259,7 @@ lib_ldf_mode = ${common.lib_ldf_mode}
upload_speed = ${common.upload_speed}
lib_deps = ${common.lib_deps}
upload_port = COM6
build_type = release
; Experimental OTA Environment - do not select unless you know what you are doing
[env:wrover_OTA]
@ -280,3 +285,4 @@ upload_protocol = espota
upload_flags =
--port=3232
--auth=12345678
build_type = release