mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 11:48:48 +00:00
Compare commits
28 Commits
70f9e0052c
...
425f727b03
Author | SHA1 | Date | |
---|---|---|---|
425f727b03 | |||
2a871c550a | |||
b85601a7c1 | |||
d6d9a74c3d | |||
d98e7fe5e8 | |||
0fcd6c14b0 | |||
8f09145b3f | |||
7fc93ab65c | |||
6ebe14e2df | |||
dba16565e2 | |||
d783e7cc3c | |||
63007f3198 | |||
7a6b1a61ab | |||
a3f22fb510 | |||
8c5dd4e937 | |||
47d0d316a5 | |||
3ef0ab19a2 | |||
54d6ab5235 | |||
277b5e73bd | |||
92bdf067d0 | |||
b149704b79 | |||
2c648ab693 | |||
6eb8df005c | |||
728115670d | |||
75308642f7 | |||
53eb13d85a | |||
b58705c5c5 | |||
c57538eb84 |
@@ -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
|
||||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
113b1d7c52d55b7aae16a6eb7dd672523c2e91d3
|
d98e7fe5e84695aaa185036807883b152fb0607d
|
||||||
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -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
|
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 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 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
|
||||||
|
@@ -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 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
|
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
|
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
|
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
|
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
|
||||||
|
@@ -907,7 +907,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build",
|
"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",
|
"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"
|
"output": "esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj"
|
||||||
},
|
},
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "1.2",
|
"version": "1.2",
|
||||||
"project_name": "I2C_MultiDevice",
|
"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",
|
"project_path": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice",
|
||||||
"idf_path": "/home/abobkov/esp/v5.4.1/esp-idf",
|
"idf_path": "/home/abobkov/esp/v5.4.1/esp-idf",
|
||||||
"build_dir": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build",
|
"build_dir": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build",
|
||||||
|
@@ -14,17 +14,23 @@
|
|||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
#include "freertos/task.h"
|
#include "freertos/task.h"
|
||||||
#include "freertos/semphr.h"
|
#include "freertos/semphr.h"
|
||||||
|
#include "freertos/queue.h"
|
||||||
#include "esp_chip_info.h"
|
#include "esp_chip_info.h"
|
||||||
#include "esp_flash.h"
|
#include "esp_flash.h"
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
|
|
||||||
SemaphoreHandle_t xMutex;
|
SemaphoreHandle_t xMutex;
|
||||||
|
QueueHandle_t xQueue1;
|
||||||
|
QueueHandle_t xQueue2;
|
||||||
|
static int cntdn;
|
||||||
|
|
||||||
void task1(void *pvParameters);
|
void task1(void *pvParameters);
|
||||||
void task2(void *pvParameters);
|
void task2(void *pvParameters);
|
||||||
|
void task_restart(void *pvParameters);
|
||||||
|
|
||||||
void app_main(void)
|
void app_main(void)
|
||||||
{
|
{
|
||||||
|
cntdn = 10;
|
||||||
printf("Hello world!\n");
|
printf("Hello world!\n");
|
||||||
|
|
||||||
/* Print chip information */
|
/* 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());
|
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(task1, "Task1", 2048, NULL, 5, NULL);
|
||||||
xTaskCreate(task2, "Task2", 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);
|
printf("Restarting in %d seconds...\n", i);
|
||||||
vTaskDelay(1000);
|
vTaskDelay(1000);
|
||||||
}
|
}
|
||||||
printf("Restarting now.\n");
|
printf("Restarting now.\n");
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
esp_restart();
|
esp_restart();*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void task1(void *pvParameters) {
|
void task1(void *pvParameters) {
|
||||||
while (1) {
|
while (1) {
|
||||||
printf("Task 1 is running\n");
|
if (xSemaphoreTake(xMutex, 1500)) {
|
||||||
printf("This is Task #1\n\n");
|
printf("Task 1 is running\n");
|
||||||
vTaskDelay((1000)); // Delay for 1 second
|
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) {
|
void task2(void *pvParameters) {
|
||||||
while (1) {
|
while (1) {
|
||||||
printf("Task 2 is running\n");
|
if (xSemaphoreTake(xMutex, 1500)) {
|
||||||
printf("This is Task #2\n\n");
|
printf("Task 2 is running\n");
|
||||||
vTaskDelay((2000)); // Delay for 2 seconds
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user