28 Commits

Author SHA1 Message Date
425f727b03 FreeRTOS 2025-08-05 02:04:28 -04:00
2a871c550a FreeRTOS 2025-08-05 02:04:22 -04:00
b85601a7c1 FreeRTOS 2025-08-05 02:04:15 -04:00
d6d9a74c3d FreeRTOS 2025-08-05 02:04:08 -04:00
d98e7fe5e8 FreeRTOS 2025-08-05 02:04:01 -04:00
0fcd6c14b0 FreeRTOS 2025-08-05 02:03:55 -04:00
8f09145b3f FreeRTOS 2025-08-05 02:03:17 -04:00
7fc93ab65c FreeRTOS 2025-08-05 02:02:40 -04:00
6ebe14e2df FreeRTOS 2025-08-05 02:00:59 -04:00
dba16565e2 FreeRTOS 2025-08-05 02:00:35 -04:00
d783e7cc3c FreeRTOS 2025-08-05 02:00:03 -04:00
63007f3198 FreeRTOS 2025-08-05 01:58:49 -04:00
7a6b1a61ab FreeRTOS 2025-08-05 01:54:47 -04:00
a3f22fb510 FreeRTOS 2025-08-05 01:54:41 -04:00
8c5dd4e937 FreeRTOS 2025-08-05 01:54:34 -04:00
47d0d316a5 FreeRTOS 2025-08-05 01:54:27 -04:00
3ef0ab19a2 FreeRTOS 2025-08-05 01:54:21 -04:00
54d6ab5235 FreeRTOS 2025-08-05 01:54:15 -04:00
277b5e73bd FreeRTOS 2025-08-05 01:53:12 -04:00
92bdf067d0 FreeRTOS 2025-08-05 01:45:14 -04:00
b149704b79 FreeRTOS 2025-08-05 01:45:02 -04:00
2c648ab693 FreeRTOS 2025-08-05 01:44:55 -04:00
6eb8df005c FreeRTOS 2025-08-05 01:44:48 -04:00
728115670d FreeRTOS 2025-08-05 01:44:42 -04:00
75308642f7 FreeRTOS 2025-08-05 01:44:04 -04:00
53eb13d85a FreeRTOS 2025-08-05 01:43:20 -04:00
b58705c5c5 FreeRTOS 2025-08-05 01:42:48 -04:00
c57538eb84 FreeRTOS 2025-08-05 01:42:10 -04:00
16 changed files with 2749 additions and 2682 deletions

View File

@@ -1 +1 @@
8d60c2d021c61d019313d05697841118 /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/I2C_MultiDevice.bin
34c545141dc1644ddea6940b8ffa93c8 /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/I2C_MultiDevice.bin

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
113b1d7c52d55b7aae16a6eb7dd672523c2e91d3
d98e7fe5e84695aaa185036807883b152fb0607d

File diff suppressed because one or more lines are too long

View File

@@ -125,3 +125,9 @@
20 187 1754372094963759270 /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b
18 153 1754372136736593443 esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b
18 153 1754372136736593443 /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b
18 247 1754372694258934505 esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b
18 247 1754372694258934505 /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b
20 154 1754373272719900682 esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b
20 154 1754373272719900682 /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b
61 235 1754373853498546381 esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b
61 235 1754373853498546381 /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size ff60af2bda86720b

View File

@@ -3149,7 +3149,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/abobkov/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-dirty\" -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=\"I2C_MultiDevice\" -DPROJECT_VER=\"ESP32-Node_Switch-v2.7-8992-g11\"
DEFINES = -DESP_PLATFORM -DIDF_VER=\"v5.4.1-dirty\" -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=\"I2C_MultiDevice\" -DPROJECT_VER=\"ESP32-Node_Switch-v2.7-9021-gd9\"
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/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice=. -fmacro-prefix-map=/home/abobkov/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/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/config -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_app_format/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/newlib/platform_include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/include/freertos -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/esp_additions/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/dma/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/ldo/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/debug_probe/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/heap/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/heap/tlsf -I/home/abobkov/esp/v5.4.1/esp-idf/components/log/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3/register -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/platform_port/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_common/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/soc -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/include/riscv -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/include/private -I/home/abobkov/esp/v5.4.1/esp-idf/components/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include/apps -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include/apps/sntp -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/lwip/src/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/freertos/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/sys

View File

@@ -907,7 +907,7 @@
},
{
"directory": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build",
"command": "/home/abobkov/.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-dirty\\\" -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=\\\"I2C_MultiDevice\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-8992-g11\\\" -I/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/config -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_app_format/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/newlib/platform_include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/include/freertos -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/esp_additions/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/dma/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/ldo/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/debug_probe/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/heap/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/heap/tlsf -I/home/abobkov/esp/v5.4.1/esp-idf/components/log/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3/register -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/platform_port/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_common/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/soc -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/include/riscv -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/include/private -I/home/abobkov/esp/v5.4.1/esp-idf/components/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include/apps -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include/apps/sntp -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/lwip/src/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/freertos/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/abobkov/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/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice=. -fmacro-prefix-map=/home/abobkov/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/abobkov/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c",
"command": "/home/abobkov/.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-dirty\\\" -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=\\\"I2C_MultiDevice\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-9021-gd9\\\" -I/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/config -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_app_format/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/newlib/platform_include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/include/freertos -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/config/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/abobkov/esp/v5.4.1/esp-idf/components/freertos/esp_additions/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/dma/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/ldo/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/debug_probe/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/heap/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/heap/tlsf -I/home/abobkov/esp/v5.4.1/esp-idf/components/log/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/soc/esp32c3/register -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/platform_port/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/hal/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3 -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_common/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/soc -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/include/riscv -I/home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/include/private -I/home/abobkov/esp/v5.4.1/esp-idf/components/riscv/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include/apps -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/include/apps/sntp -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/lwip/src/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/freertos/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include -I/home/abobkov/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/abobkov/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/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice=. -fmacro-prefix-map=/home/abobkov/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/abobkov/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c",
"file": "/home/abobkov/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": "I2C_MultiDevice",
"project_version": "ESP32-Node_Switch-v2.7-8992-g113b1d7c5-dirty",
"project_version": "ESP32-Node_Switch-v2.7-9021-gd98e7fe5e-dirty",
"project_path": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice",
"idf_path": "/home/abobkov/esp/v5.4.1/esp-idf",
"build_dir": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build",

View File

@@ -14,17 +14,23 @@
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "freertos/queue.h"
#include "esp_chip_info.h"
#include "esp_flash.h"
#include "esp_system.h"
SemaphoreHandle_t xMutex;
QueueHandle_t xQueue1;
QueueHandle_t xQueue2;
static int cntdn;
void task1(void *pvParameters);
void task2(void *pvParameters);
void task_restart(void *pvParameters);
void app_main(void)
{
cntdn = 10;
printf("Hello world!\n");
/* Print chip information */
@@ -53,33 +59,70 @@ void app_main(void)
printf("Minimum free heap size: %" PRIu32 " bytes\n", esp_get_minimum_free_heap_size());
xMutex = xSemaphoreCreateMutex();
if (xMutex == NULL) {
printf("Failed to create mutex\n");
return;
}
xQueue1 = xQueueCreate(10, sizeof(int));
xQueue2 = xQueueCreate(10, sizeof(int));
if (xQueue1 == NULL || xQueue2 == NULL) {
printf("Failed to create queues\n");
return;
}
xTaskCreate(task1, "Task1", 2048, NULL, 5, NULL);
xTaskCreate(task2, "Task2", 2048, NULL, 5, NULL);
xTaskCreate(task_restart, "TaskRestart", 2048, NULL, 2, NULL);
for (int i = 10; i >= 0; i--) {
/*for (int i = 10; i >= 0; i--) {
printf("Restarting in %d seconds...\n", i);
vTaskDelay(1000);
}
printf("Restarting now.\n");
fflush(stdout);
esp_restart();
esp_restart();*/
}
void task1(void *pvParameters) {
while (1) {
printf("Task 1 is running\n");
printf("This is Task #1\n\n");
vTaskDelay((1000)); // Delay for 1 second
if (xSemaphoreTake(xMutex, 1500)) {
printf("Task 1 is running\n");
printf("This is Task #1\n\n");
vTaskDelay((500)); // Delay for 1 second
xSemaphoreGive(xMutex);
}
else {
printf("Task 1 timed out waiting for mutex\n");
}
vTaskDelay((100));
}
}
void task2(void *pvParameters) {
while (1) {
printf("Task 2 is running\n");
printf("This is Task #2\n\n");
vTaskDelay((2000)); // Delay for 2 seconds
if (xSemaphoreTake(xMutex, 1500)) {
printf("Task 2 is running\n");
printf("This is Task #2\n\n");
vTaskDelay((2000)); // Delay for 2 seconds
xSemaphoreGive(xMutex);
}
else {
printf("Task 2 timed out waiting for mutex\n");
}
vTaskDelay((100));
}
}
void task_restart(void *pvParameters) {
while (1) {
vTaskDelay(cntdn * 1000); // Delay for 10 seconds
printf("Restarting system in %d seconds...\n", cntdn);
esp_restart();
}
}