Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
2025-07-29 04:55:40 -04:00
17 changed files with 16562 additions and 17443 deletions

View File

@@ -1 +1 @@
933759e767bce44f3539d9629178bb57 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/ESP-IDF_Robot.bin
32365b8811d0c149153fcd99dc97f167 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/ESP-IDF_Robot.bin

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
48b16684dd4fe5cf34c55e1672ffb35c9a132223
7ebcc0d2219a3568ac80b899979f73d8772c1d5a

File diff suppressed because one or more lines are too long

View File

@@ -106,3 +106,25 @@
7 6542 1753773031146182313 build.ninja 6ae726b6b2c6ea9f
28 283 1753773031246202609 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
28 283 1753773031246202609 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
11 71 1753774084465348928 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
11 71 1753774084465348928 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
15 138 1753774249306382817 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
15 138 1753774249306382817 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
7 71 1753774460467716939 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
7 71 1753774460467716939 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
9 98 1753774615858703646 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
9 98 1753774615858703646 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
6 65 1753774781943761511 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
6 65 1753774781943761511 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
9 61 1753775091157118583 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
9 61 1753775091157118583 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
12 94 1753775283360611524 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
12 94 1753775283360611524 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
7 82 1753775427436748106 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
7 82 1753775427436748106 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
6 111 1753775528138517414 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
6 111 1753775528138517414 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
8 68 1753776562848842059 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
8 68 1753776562848842059 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
10 71 1753778846754592639 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
10 71 1753778846754592639 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5

View File

@@ -3165,7 +3165,7 @@ build esp-idf/partition_table/CMakeFiles/partition_table-flash | ${cmake_ninja_w
build cmake_object_order_depends_target___idf_esp_app_format: phony || cmake_object_order_depends_target___idf_esp_bootloader_format
build esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj: C_COMPILER____idf_esp_app_format_unscanned_ /home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c || cmake_object_order_depends_target___idf_esp_app_format
DEFINES = -DESP_PLATFORM -DIDF_VER=\"v5.4.1\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -D PROJECT_NAME=\"ESP-IDF_Robot\" -DPROJECT_VER=\"ESP32-Node_Switch-v2.7-8659-g48\"
DEFINES = -DESP_PLATFORM -DIDF_VER=\"v5.4.1\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -D PROJECT_NAME=\"ESP-IDF_Robot\" -DPROJECT_VER=\"ESP32-Node_Switch-v2.7-8879-g7e\"
DEP_FILE = esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj.d
FLAGS = -march=rv32imc_zicsr_zifencei -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/alex/github/ESP-Nodes/ESP-IDF_Robot=. -fmacro-prefix-map=/home/alex/esp/v5.4.1/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration
INCLUDES = -I/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/config -I/home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/include -I/home/alex/esp/v5.4.1/esp-idf/components/newlib/platform_include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/esp_additions/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/dma/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/ldo/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/debug_probe/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/tlsf -I/home/alex/esp/v5.4.1/esp-idf/components/log/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/register -I/home/alex/esp/v5.4.1/esp-idf/components/hal/platform_port/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_common/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/riscv -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/private -I/home/alex/esp/v5.4.1/esp-idf/components/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps/sntp -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/lwip/src/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/freertos/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/sys

View File

@@ -907,7 +907,7 @@
},
{
"directory": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build",
"command": "/home/alex/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\\\"v5.4.1\\\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -D PROJECT_NAME=\\\"ESP-IDF_Robot\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-8659-g48\\\" -I/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/config -I/home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/include -I/home/alex/esp/v5.4.1/esp-idf/components/newlib/platform_include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/esp_additions/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/dma/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/ldo/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/debug_probe/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/tlsf -I/home/alex/esp/v5.4.1/esp-idf/components/log/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/register -I/home/alex/esp/v5.4.1/esp-idf/components/hal/platform_port/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_common/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/riscv -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/private -I/home/alex/esp/v5.4.1/esp-idf/components/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps/sntp -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/lwip/src/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/freertos/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/sys -march=rv32imc_zicsr_zifencei -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/alex/github/ESP-Nodes/ESP-IDF_Robot=. -fmacro-prefix-map=/home/alex/esp/v5.4.1/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -o esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -c /home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c",
"command": "/home/alex/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\\\"v5.4.1\\\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -D PROJECT_NAME=\\\"ESP-IDF_Robot\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-8879-g7e\\\" -I/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/config -I/home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/include -I/home/alex/esp/v5.4.1/esp-idf/components/newlib/platform_include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/esp_additions/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/dma/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/ldo/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/debug_probe/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/tlsf -I/home/alex/esp/v5.4.1/esp-idf/components/log/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/register -I/home/alex/esp/v5.4.1/esp-idf/components/hal/platform_port/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_common/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/riscv -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/private -I/home/alex/esp/v5.4.1/esp-idf/components/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps/sntp -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/lwip/src/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/freertos/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/sys -march=rv32imc_zicsr_zifencei -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/alex/github/ESP-Nodes/ESP-IDF_Robot=. -fmacro-prefix-map=/home/alex/esp/v5.4.1/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -o esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -c /home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c",
"file": "/home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c",
"output": "esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj"
},

View File

@@ -1,7 +1,7 @@
{
"version": "1.2",
"project_name": "ESP-IDF_Robot",
"project_version": "ESP32-Node_Switch-v2.7-8659-g48b16684d-dirty",
"project_version": "ESP32-Node_Switch-v2.7-8879-g7ebcc0d22-dirty",
"project_path": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot",
"idf_path": "/home/alex/esp/v5.4.1/esp-idf",
"build_dir": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build",

View File

@@ -302,8 +302,8 @@ static void wifi_init()
ESP_ERROR_CHECK( esp_wifi_set_mode(WIFI_MODE_STA));//ESPNOW_WIFI_MODE));
wifi_config_t wifi_config = {
.sta = {
.ssid = "IoT_bots2",
.password = "208208208",
.ssid = WIFI_SSID,//"IoT_bots2",
.password = WIFI_PASSWORD,// "208208208",
},
};
ESP_ERROR_CHECK (esp_wifi_set_config(WIFI_IF_STA, &wifi_config));
@@ -379,6 +379,8 @@ void onDataReceived (const uint8_t *mac_addr, const uint8_t *data, uint8_t data_
rc_x = buf.x_axis; // Save joystic x-axis value
rc_y = buf.y_axis; // Save joystic y-axis value
update_pwm(rc_x, rc_y);
mqtt_update_pwm_1(rc_x);
mqtt_update_pwm_2(rc_y);
}
void ultrasonic_task (void *arg) {
@@ -438,7 +440,7 @@ void task(void *pvParameters)
//ESP_LOGE(TAG, "Wi-Fi Channel: %d, Band: %d", channel, band);
mqtt_update_battery_voltage(bus_voltage);
mqtt_update_sys_current(1000.00*current);
mqtt_update_sys_power(1000.00*power);
mqtt_update_sys_power(power);
vTaskDelay(pdMS_TO_TICKS(2500));
}

View File

@@ -15,6 +15,7 @@ static float temp_value = 0.0f;
static float battery_voltage = 0.0f;
static float sys_current = 0.0f;
static float sys_power = 0.0f;
static int pwm_1 = 0, pwm_2 = 0, pwm_3 = 0, pwm_4 = 0;
static void mqtt_publish_task(void *arg) {
esp_mqtt_client_handle_t client = (esp_mqtt_client_handle_t)arg;
@@ -24,16 +25,25 @@ static void mqtt_publish_task(void *arg) {
//temperature_sensor_get_celsius(temp_sensor, &tsens_value);
ESP_LOGW("ESP32-C3", "Temperature value %.02f ℃", temp_value);
char temp_str[6], battery_voltage_str[8], sys_current_str[8], sys_power_str[8];
char pwm_1_str[5], pwm_2_str[5], pwm_3_str[5], pwm_4_str[5];
snprintf(temp_str, sizeof(temp_str), "%.02f", temp_value);
snprintf(battery_voltage_str, sizeof(battery_voltage_str), "%.02f", battery_voltage);
snprintf(sys_current_str, sizeof(sys_current_str), "%.02f", sys_current);
snprintf(sys_power_str, sizeof(sys_power_str), "%.02f", sys_power);
snprintf(pwm_1_str, sizeof(pwm_1_str), "%d", pwm_1);
snprintf(pwm_2_str, sizeof(pwm_2_str), "%d", pwm_2);
snprintf(pwm_3_str, sizeof(pwm_3_str), "%d", pwm_3);
snprintf(pwm_4_str, sizeof(pwm_4_str), "%d", pwm_4);
// Publish a message every 5 seconds
esp_mqtt_client_publish(mqtt_client, "/bitrider/temp", temp_str, 0, 1, 0);
esp_mqtt_client_publish(mqtt_client, "/bitrider/battery_voltage", battery_voltage_str, 0, 1, 0);
esp_mqtt_client_publish(mqtt_client, "/bitrider/sys_current", sys_current_str, 0, 1, 0);
esp_mqtt_client_publish(mqtt_client, "/bitrider/sys_power", sys_power_str, 0, 1, 0);
esp_mqtt_client_publish(mqtt_client, "/bitrider/pwm-1", pwm_1_str, 0, 1, 0);
esp_mqtt_client_publish(mqtt_client, "/bitrider/pwm-2", pwm_2_str, 0, 1, 0);
/*esp_mqtt_client_publish(mqtt_client, "/bitrider/pwm-3", pwm_3_str, 0, 1, 0);
esp_mqtt_client_publish(mqtt_client, "/bitrider/pwm-4", pwm_4_str, 0, 1, 0);*/
vTaskDelay(pdMS_TO_TICKS(1000));
ESP_LOGI(MQTT_TAG, "Called task to publish topic /bitrider/temp");
}
@@ -43,6 +53,10 @@ void mqtt_update_temp (float temp) { temp_value = temp; }
void mqtt_update_battery_voltage (float voltage) { battery_voltage = voltage; }
void mqtt_update_sys_current (float current) { sys_current = current; }
void mqtt_update_sys_power (float power) { sys_power = power; }
void mqtt_update_pwm_1 (int pwm) { pwm_1 = pwm; }
void mqtt_update_pwm_2 (int pwm) { pwm_2 = pwm; }
void mqtt_update_pwm_3 (int pwm) { pwm_3 = pwm; }
void mqtt_update_pwm_4 (int pwm) { pwm_4 = pwm; }
static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) {
@@ -54,7 +68,7 @@ static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_
ESP_LOGI(MQTT_TAG, "MQTT_EVENT_CONNECTED");
esp_mqtt_client_publish(client, "/esp/test", "Hello from Alex!", 0, 1, 0);
mqtt_client = client;
xTaskCreate(mqtt_publish_task, "mqtt_publish_task", 2048, NULL, 5, NULL);
xTaskCreate(mqtt_publish_task, "mqtt_publish_task", 8192, NULL, 5, NULL);
break;
case MQTT_EVENT_DISCONNECTED:
ESP_LOGI(MQTT_TAG, "MQTT_EVENT_DISCONNECTED");

View File

@@ -21,6 +21,10 @@ void mqtt_update_temp (float temp);
void mqtt_update_battery_voltage (float voltage);
void mqtt_update_sys_current (float current);
void mqtt_update_sys_power (float power);
void mqtt_update_pwm_1 (int pwm);
void mqtt_update_pwm_2 (int pwm);
void mqtt_update_pwm_3 (int pwm);
void mqtt_update_pwm_4 (int pwm);
void sta_wifi_init(void);
#endif