mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
583 lines
17 KiB
INI
583 lines
17 KiB
INI
; 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]
|
|
default_envs = esp32AITinker
|
|
|
|
[wifi]
|
|
ssid = ""
|
|
password = ""
|
|
mdnsname = "openiristracker"
|
|
channel = 1
|
|
ap_ssid = "EyeTrackVR"
|
|
ap_password = "test"
|
|
otapassword = "12345678"
|
|
otaserverport = 3232
|
|
enableadhoc = 0
|
|
adhocchannel = 1
|
|
enableota = 1
|
|
|
|
[ESP_GITHUB_OTA]
|
|
maxfilenamelen = 64
|
|
maxurllen = 128
|
|
githubhostname = "api.github.com"
|
|
githubowner = "lorow"
|
|
githubrepo = "OpenIris"
|
|
build_flags =
|
|
-DCONFIG_MAX_FILENAME_LEN=${ESP_GITHUB_OTA.maxFilenameLen}
|
|
-DCONFIG_MAX_URL_LEN=${ESP_GITHUB_OTA.maxURLLen}
|
|
'-DCONFIG_GITHUB_HOSTNAME=${ESP_GITHUB_OTA.githubHostname}'
|
|
'-DCONFIG_GITHUB_OWNER=${ESP_GITHUB_OTA.githubOwner}'
|
|
'-DCONFIG_GITHUB_REPO=${ESP_GITHUB_OTA.githubRepo}'
|
|
|
|
[pinoutsESPCAM_M5STACK]
|
|
pwdn_gpio_num = -1
|
|
reset_gpio_num = 15
|
|
xclk_gpio_num = 27
|
|
siod_gpio_num = 25
|
|
sioc_gpio_num = 23
|
|
y9_gpio_num = 19
|
|
y8_gpio_num = 36
|
|
y7_gpio_num = 18
|
|
y6_gpio_num = 39
|
|
y5_gpio_num = 5
|
|
y4_gpio_num = 34
|
|
y3_gpio_num = 35
|
|
y2_gpio_num = 17
|
|
vsync_gpio_num = 22
|
|
href_gpio_num = 26
|
|
pclk_gpio_num = 21
|
|
build_flags =
|
|
'-DCAMERA_MODULE_NAME="ESP32_CAM_M5STACK"'
|
|
-DPWDN_GPIO_NUM=${pinoutsESPCAM_M5STACK.PWDN_GPIO_NUM}
|
|
-DRESET_GPIO_NUM=${pinoutsESPCAM_M5STACK.RESET_GPIO_NUM}
|
|
-DXCLK_GPIO_NUM=${pinoutsESPCAM_M5STACK.XCLK_GPIO_NUM}
|
|
-DSIOD_GPIO_NUM=${pinoutsESPCAM_M5STACK.SIOD_GPIO_NUM}
|
|
-DSIOC_GPIO_NUM=${pinoutsESPCAM_M5STACK.SIOC_GPIO_NUM}
|
|
-DY9_GPIO_NUM=${pinoutsESPCAM_M5STACK.Y9_GPIO_NUM}
|
|
-DY8_GPIO_NUM=${pinoutsESPCAM_M5STACK.Y8_GPIO_NUM}
|
|
-DY7_GPIO_NUM=${pinoutsESPCAM_M5STACK.Y7_GPIO_NUM}
|
|
-DY6_GPIO_NUM=${pinoutsESPCAM_M5STACK.Y6_GPIO_NUM}
|
|
-DY5_GPIO_NUM=${pinoutsESPCAM_M5STACK.Y5_GPIO_NUM}
|
|
-DY4_GPIO_NUM=${pinoutsESPCAM_M5STACK.Y4_GPIO_NUM}
|
|
-DY3_GPIO_NUM=${pinoutsESPCAM_M5STACK.Y3_GPIO_NUM}
|
|
-DY2_GPIO_NUM=${pinoutsESPCAM_M5STACK.Y2_GPIO_NUM}
|
|
-DVSYNC_GPIO_NUM=${pinoutsESPCAM_M5STACK.VSYNC_GPIO_NUM}
|
|
-DHREF_GPIO_NUM=${pinoutsESPCAM_M5STACK.HREF_GPIO_NUM}
|
|
-DPCLK_GPIO_NUM=${pinoutsESPCAM_M5STACK.PCLK_GPIO_NUM}
|
|
|
|
[pinoutsESPCam]
|
|
pwdn_gpio_num = 32
|
|
reset_gpio_num = 33
|
|
xclk_gpio_num = 4
|
|
siod_gpio_num = 18
|
|
sioc_gpio_num = 23
|
|
y9_gpio_num = 36
|
|
y8_gpio_num = 19
|
|
y7_gpio_num = 21
|
|
y6_gpio_num = 39
|
|
y5_gpio_num = 35
|
|
y4_gpio_num = 14
|
|
y3_gpio_num = 13
|
|
y2_gpio_num = 34
|
|
vsync_gpio_num = 5
|
|
href_gpio_num = 27
|
|
pclk_gpio_num = 25
|
|
build_flags =
|
|
'-DCAMERA_MODULE_NAME="ESP32_CAM"'
|
|
-DCONFIG_CAMERA_MODULE_CAM_BOARD=1
|
|
-DPWDN_GPIO_NUM=${pinoutsESPCam.PWDN_GPIO_NUM}
|
|
-DRESET_GPIO_NUM=${pinoutsESPCam.RESET_GPIO_NUM}
|
|
-DXCLK_GPIO_NUM=${pinoutsESPCam.XCLK_GPIO_NUM}
|
|
-DSIOD_GPIO_NUM=${pinoutsESPCam.SIOD_GPIO_NUM}
|
|
-DSIOC_GPIO_NUM=${pinoutsESPCam.SIOC_GPIO_NUM}
|
|
-DY9_GPIO_NUM=${pinoutsESPCam.Y9_GPIO_NUM}
|
|
-DY8_GPIO_NUM=${pinoutsESPCam.Y8_GPIO_NUM}
|
|
-DY7_GPIO_NUM=${pinoutsESPCam.Y7_GPIO_NUM}
|
|
-DY6_GPIO_NUM=${pinoutsESPCam.Y6_GPIO_NUM}
|
|
-DY5_GPIO_NUM=${pinoutsESPCam.Y5_GPIO_NUM}
|
|
-DY4_GPIO_NUM=${pinoutsESPCam.Y4_GPIO_NUM}
|
|
-DY3_GPIO_NUM=${pinoutsESPCam.Y3_GPIO_NUM}
|
|
-DY2_GPIO_NUM=${pinoutsESPCam.Y2_GPIO_NUM}
|
|
-DVSYNC_GPIO_NUM=${pinoutsESPCam.VSYNC_GPIO_NUM}
|
|
-DHREF_GPIO_NUM=${pinoutsESPCam.HREF_GPIO_NUM}
|
|
-DPCLK_GPIO_NUM=${pinoutsESPCam.PCLK_GPIO_NUM}
|
|
|
|
[pinoutsAITinker]
|
|
pwdn_gpio_num = 32
|
|
reset_gpio_num = -1
|
|
xclk_gpio_num = 0
|
|
siod_gpio_num = 26
|
|
sioc_gpio_num = 27
|
|
y9_gpio_num = 35
|
|
y8_gpio_num = 34
|
|
y7_gpio_num = 39
|
|
y6_gpio_num = 36
|
|
y5_gpio_num = 21
|
|
y4_gpio_num = 19
|
|
y3_gpio_num = 18
|
|
y2_gpio_num = 5
|
|
vsync_gpio_num = 25
|
|
href_gpio_num = 23
|
|
pclk_gpio_num = 22
|
|
build_flags =
|
|
'-DCAMERA_MODULE_NAME="ESP32_CAM_AI_THINKER"'
|
|
-DCONFIG_CAMERA_MODULE_AITINKER_BOARD=1
|
|
-DPWDN_GPIO_NUM=${pinoutsAITinker.PWDN_GPIO_NUM}
|
|
-DRESET_GPIO_NUM=${pinoutsAITinker.RESET_GPIO_NUM}
|
|
-DXCLK_GPIO_NUM=${pinoutsAITinker.XCLK_GPIO_NUM}
|
|
-DSIOD_GPIO_NUM=${pinoutsAITinker.SIOD_GPIO_NUM}
|
|
-DSIOC_GPIO_NUM=${pinoutsAITinker.SIOC_GPIO_NUM}
|
|
-DY9_GPIO_NUM=${pinoutsAITinker.Y9_GPIO_NUM}
|
|
-DY8_GPIO_NUM=${pinoutsAITinker.Y8_GPIO_NUM}
|
|
-DY7_GPIO_NUM=${pinoutsAITinker.Y7_GPIO_NUM}
|
|
-DY6_GPIO_NUM=${pinoutsAITinker.Y6_GPIO_NUM}
|
|
-DY5_GPIO_NUM=${pinoutsAITinker.Y5_GPIO_NUM}
|
|
-DY4_GPIO_NUM=${pinoutsAITinker.Y4_GPIO_NUM}
|
|
-DY3_GPIO_NUM=${pinoutsAITinker.Y3_GPIO_NUM}
|
|
-DY2_GPIO_NUM=${pinoutsAITinker.Y2_GPIO_NUM}
|
|
-DVSYNC_GPIO_NUM=${pinoutsAITinker.VSYNC_GPIO_NUM}
|
|
-DHREF_GPIO_NUM=${pinoutsAITinker.HREF_GPIO_NUM}
|
|
-DPCLK_GPIO_NUM=${pinoutsAITinker.PCLK_GPIO_NUM}
|
|
|
|
[pinoutsESP-EYE]
|
|
pwdn_gpio_num = -1
|
|
reset_gpio_num = -1
|
|
xclk_gpio_num = 4
|
|
siod_gpio_num = 18
|
|
sioc_gpio_num = 23
|
|
y9_gpio_num = 36
|
|
y8_gpio_num = 37
|
|
y7_gpio_num = 38
|
|
y6_gpio_num = 39
|
|
y5_gpio_num = 14
|
|
y4_gpio_num = 19
|
|
y3_gpio_num = 13
|
|
y2_gpio_num = 34
|
|
vsync_gpio_num = 5
|
|
href_gpio_num = 27
|
|
pclk_gpio_num = 25
|
|
build_flags =
|
|
'-DCAMERA_MODULE_NAME="ESP32_CAM_ESP_EYE"'
|
|
-DCONFIG_CAMERA_MODULE_ESP_EYE=1
|
|
-DPWDN_GPIO_NUM=${pinoutsESP-EYE.PWDN_GPIO_NUM}
|
|
-DRESET_GPIO_NUM=${pinoutsESP-EYE.RESET_GPIO_NUM}
|
|
-DXCLK_GPIO_NUM=${pinoutsESP-EYE.XCLK_GPIO_NUM}
|
|
-DSIOD_GPIO_NUM=${pinoutsESP-EYE.SIOD_GPIO_NUM}
|
|
-DSIOC_GPIO_NUM=${pinoutsESP-EYE.SIOC_GPIO_NUM}
|
|
-DY9_GPIO_NUM=${pinoutsESP-EYE.Y9_GPIO_NUM}
|
|
-DY8_GPIO_NUM=${pinoutsESP-EYE.Y8_GPIO_NUM}
|
|
-DY7_GPIO_NUM=${pinoutsESP-EYE.Y7_GPIO_NUM}
|
|
-DY6_GPIO_NUM=${pinoutsESP-EYE.Y6_GPIO_NUM}
|
|
-DY5_GPIO_NUM=${pinoutsESP-EYE.Y5_GPIO_NUM}
|
|
-DY4_GPIO_NUM=${pinoutsESP-EYE.Y4_GPIO_NUM}
|
|
-DY3_GPIO_NUM=${pinoutsESP-EYE.Y3_GPIO_NUM}
|
|
-DY2_GPIO_NUM=${pinoutsESP-EYE.Y2_GPIO_NUM}
|
|
-DVSYNC_GPIO_NUM=${pinoutsESP-EYE.VSYNC_GPIO_NUM}
|
|
-DHREF_GPIO_NUM=${pinoutsESP-EYE.HREF_GPIO_NUM}
|
|
-DPCLK_GPIO_NUM=${pinoutsESP-EYE.PCLK_GPIO_NUM}
|
|
|
|
[pinoutsESPWROVER]
|
|
pwdn_gpio_num = -1
|
|
reset_gpio_num = -1
|
|
xclk_gpio_num = 21
|
|
siod_gpio_num = 26
|
|
sioc_gpio_num = 27
|
|
y9_gpio_num = 35
|
|
y8_gpio_num = 34
|
|
y7_gpio_num = 39
|
|
y6_gpio_num = 36
|
|
y5_gpio_num = 19
|
|
y4_gpio_num = 18
|
|
y3_gpio_num = 5
|
|
y2_gpio_num = 4
|
|
vsync_gpio_num = 25
|
|
href_gpio_num = 23
|
|
pclk_gpio_num = 22
|
|
build_flags =
|
|
'-DCAMERA_MODULE_NAME="ESP32_CAM_WROVER_KIT"'
|
|
-DCONFIG_CAMERA_MODULE_WROVER_KIT=1
|
|
-DPWDN_GPIO_NUM=${pinoutsESPWROVER.PWDN_GPIO_NUM}
|
|
-DRESET_GPIO_NUM=${pinoutsESPWROVER.RESET_GPIO_NUM}
|
|
-DXCLK_GPIO_NUM=${pinoutsESPWROVER.XCLK_GPIO_NUM}
|
|
-DSIOD_GPIO_NUM=${pinoutsESPWROVER.SIOD_GPIO_NUM}
|
|
-DSIOC_GPIO_NUM=${pinoutsESPWROVER.SIOC_GPIO_NUM}
|
|
-DY9_GPIO_NUM=${pinoutsESPWROVER.Y9_GPIO_NUM}
|
|
-DY8_GPIO_NUM=${pinoutsESPWROVER.Y8_GPIO_NUM}
|
|
-DY7_GPIO_NUM=${pinoutsESPWROVER.Y7_GPIO_NUM}
|
|
-DY6_GPIO_NUM=${pinoutsESPWROVER.Y6_GPIO_NUM}
|
|
-DY5_GPIO_NUM=${pinoutsESPWROVER.Y5_GPIO_NUM}
|
|
-DY4_GPIO_NUM=${pinoutsESPWROVER.Y4_GPIO_NUM}
|
|
-DY3_GPIO_NUM=${pinoutsESPWROVER.Y3_GPIO_NUM}
|
|
-DY2_GPIO_NUM=${pinoutsESPWROVER.Y2_GPIO_NUM}
|
|
-DVSYNC_GPIO_NUM=${pinoutsESPWROVER.VSYNC_GPIO_NUM}
|
|
-DHREF_GPIO_NUM=${pinoutsESPWROVER.HREF_GPIO_NUM}
|
|
-DPCLK_GPIO_NUM=${pinoutsESPWROVER.PCLK_GPIO_NUM}
|
|
|
|
[common]
|
|
platform = espressif32
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_rts = 0
|
|
monitor_dtr = 0
|
|
monitor_filters =
|
|
log2file
|
|
time
|
|
default
|
|
esp32_exception_decoder
|
|
board_build.partitions = min_spiffs.csv
|
|
build_flags =
|
|
${ESP_GITHUB_OTA.build_flags}
|
|
!python tools/autoversioning.py
|
|
!python tools/git_rev.py
|
|
-DOTA_SERVER_PORT=${wifi.OTAServerPort}
|
|
-DENABLE_ADHOC=${wifi.enableADHOC}
|
|
-DADHOC_CHANNEL=${wifi.adhocChannel}
|
|
-DWIFI_CHANNEL=${wifi.channel}
|
|
-DENABLE_OTA=${wifi.enableOTA}
|
|
-DDEBUG_ESP_PORT=Serial
|
|
'-DMDNS_HOSTNAME=${wifi.mDNSName}'
|
|
'-DOTA_PASSWORD=${wifi.OTAPassword}'
|
|
'-DWIFI_SSID=${wifi.ssid}'
|
|
'-DWIFI_PASSWORD=${wifi.password}'
|
|
'-DWIFI_AP_SSID=${wifi.ap_ssid}'
|
|
'-DWIFI_AP_PASSWORD=${wifi.ap_password}'
|
|
-O2
|
|
-DASYNCWEBSERVER_REGEX
|
|
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
lib_ldf_mode = deep+
|
|
upload_speed = 115200
|
|
lib_deps =
|
|
leftcoast/LC_baseTools@^1.5
|
|
bblanchon/ArduinoJson@^6.19.4
|
|
https://github.com/me-no-dev/ESPAsyncWebServer.git
|
|
https://github.com/me-no-dev/AsyncTCP.git
|
|
|
|
build_type = debug
|
|
extra_scripts = pre:tools/customname.py
|
|
|
|
[env:esp32AITinker]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
monitor_filters = ${common.monitor_filters}
|
|
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 = ${common.build_type}
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=1
|
|
-DCORE_DEBUG_LEVEL=4
|
|
${pinoutsAITinker.build_flags}
|
|
|
|
[env:esp32AITinker_release]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
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
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
${pinoutsAITinker.build_flags}
|
|
|
|
[env:esp32AITinker_OTA]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
-DDEBUG_ESP_OTA
|
|
${pinoutsAITinker.build_flags}
|
|
lib_deps =
|
|
${common.lib_deps}
|
|
upload_speed = ${common.upload_speed}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
board_build.partitions = ${common.board_build.partitions}
|
|
lib_ldf_mode = ${common.lib_ldf_mode}
|
|
upload_port = 192.168.1.38
|
|
upload_protocol = espota
|
|
upload_flags =
|
|
--port=3232
|
|
--auth=12345678
|
|
build_type = release
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
[env:esp32Cam]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
monitor_filters = ${common.monitor_filters}
|
|
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 = ${common.build_type}
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=1
|
|
-DCORE_DEBUG_LEVEL=4
|
|
${pinoutsESPCam.build_flags}
|
|
|
|
[env:esp32Cam_release]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
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
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
${pinoutsESPCam.build_flags}
|
|
|
|
[env:esp32Cam_OTA]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
-DDEBUG_ESP_OTA
|
|
${pinoutsESPCam.build_flags}
|
|
lib_deps =
|
|
${common.lib_deps}
|
|
upload_speed = ${common.upload_speed}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
board_build.partitions = ${common.board_build.partitions}
|
|
lib_ldf_mode = ${common.lib_ldf_mode}
|
|
upload_port = 192.168.1.38
|
|
upload_protocol = espota
|
|
upload_flags =
|
|
--port=3232
|
|
--auth=12345678
|
|
build_type = release
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
[env:esp_eye]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_filters = ${common.monitor_filters}
|
|
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 = ${common.build_type}
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=1
|
|
-DCORE_DEBUG_LEVEL=4
|
|
${pinoutsESP-EYE.build_flags}
|
|
|
|
[env:esp_eye_release]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
monitor_speed = ${common.monitor_speed}
|
|
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
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
${pinoutsESP-EYE.build_flags}
|
|
|
|
[env:esp_eye_OTA]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
-DDEBUG_ESP_OTA
|
|
${pinoutsESP-EYE.build_flags}
|
|
lib_deps =
|
|
${common.lib_deps}
|
|
upload_speed = ${common.upload_speed}
|
|
monitor_speed = ${common.monitor_speed}
|
|
board_build.partitions = ${common.board_build.partitions}
|
|
lib_ldf_mode = ${common.lib_ldf_mode}
|
|
upload_port = 192.168.1.38
|
|
upload_protocol = espota
|
|
upload_flags =
|
|
--port=3232
|
|
--auth=12345678
|
|
build_type = release
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
[env:esp32M5Stack]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
monitor_filters = ${common.monitor_filters}
|
|
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 = ${common.build_type}
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=1
|
|
-DCORE_DEBUG_LEVEL=4
|
|
${pinoutsESPCAM_M5STACK.build_flags}
|
|
|
|
[env:esp32M5Stack_release]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
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
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
${pinoutsESPCAM_M5STACK.build_flags}
|
|
|
|
[env:esp32M5Stack_OTA]
|
|
platform = ${common.platform}
|
|
board = esp32cam
|
|
framework = ${common.framework}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
-DDEBUG_ESP_OTA
|
|
${pinoutsESPCAM_M5STACK.build_flags}
|
|
lib_deps =
|
|
${common.lib_deps}
|
|
upload_speed = ${common.upload_speed}
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_rts = ${common.monitor_rts}
|
|
monitor_dtr = ${common.monitor_dtr}
|
|
board_build.partitions = ${common.board_build.partitions}
|
|
lib_ldf_mode = ${common.lib_ldf_mode}
|
|
upload_port = 192.168.1.38
|
|
upload_protocol = espota
|
|
upload_flags =
|
|
--port=3232
|
|
--auth=12345678
|
|
build_type = release
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
[env:wrover]
|
|
platform = ${common.platform}
|
|
board = esp-wrover-kit
|
|
framework = ${common.framework}
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_filters = ${common.monitor_filters}
|
|
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 = ${common.build_type}
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=1
|
|
-DCORE_DEBUG_LEVEL=4
|
|
${pinoutsESPWROVER.build_flags}
|
|
|
|
[env:wrover_release]
|
|
platform = ${common.platform}
|
|
board = esp-wrover-kit
|
|
framework = ${common.framework}
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_filters = ${common.monitor_filters}
|
|
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 = ${common.build_type}
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
${pinoutsESPWROVER.build_flags}
|
|
|
|
[env:wrover_OTA]
|
|
platform = ${common.platform}
|
|
board = esp-wrover-kit
|
|
framework = ${common.framework}
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
monitor_speed = ${common.monitor_speed}
|
|
monitor_filters = ${common.monitor_filters}
|
|
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
|
|
extra_scripts = ${common.extra_scripts}
|
|
build_flags = ${common.build_flags}
|
|
-DDEBUG_MODE=0
|
|
-DCORE_DEBUG_LEVEL=1
|
|
-DDEBUG_ESP_OTA
|
|
${pinoutsESPWROVER.build_flags}
|
|
upload_port = 192.168.1.38
|
|
upload_protocol = espota
|
|
upload_flags =
|
|
--port=3232
|
|
--auth=12345678
|