ESP32 SPI/ESP-NOW working; add watch scripts; sender colors RGB

This commit is contained in:
Pi User
2025-10-01 22:56:24 +13:00
parent 1844a2e4c5
commit f9188b694e
87 changed files with 15115 additions and 15204 deletions

View File

@@ -1 +1 @@
bfdf03904487258468f9d4f4e0446182 /home/pi/lighting-controller/esp32/build/spi_slave.bin
cb516dfdf9bb990670f3d92bb1eb2c4b /home/pi/lighting-controller/esp32/build/spi_slave.bin

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -603,6 +603,8 @@ _Python3_EXECUTABLE:INTERNAL=/home/pi/.espressif/python_env/idf6.0_py3.11_env/bi
//Python3 Properties
_Python3_INTERPRETER_PROPERTIES:INTERNAL=Python;3;11;2;32;;;/usr/lib/python3.11;/usr/lib/python3.11;/home/pi/.espressif/python_env/idf6.0_py3.11_env/lib/python3.11/site-packages;/home/pi/.espressif/python_env/idf6.0_py3.11_env/lib/python3.11/site-packages
_Python3_INTERPRETER_SIGNATURE:INTERNAL=76283cc47d75dcdcd7d8e9afe53722dc
//Interpreter reason failure
_Python3_Interpreter_REASON_FAILURE:INTERNAL=
//NumPy reason failure
_Python3_NumPy_REASON_FAILURE:INTERNAL=

View File

@@ -1 +1 @@
ref: refs/heads/dev
ref: refs/heads/pi

View File

@@ -1 +1 @@
ddbf4a00f40765f26afdd62aeb3dc97990884662
1844a2e4c5dfae4f41df488f87b82f83ed770a8b

View File

@@ -115,3 +115,45 @@
18040 18244 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
18 170 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
18 170 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
15 146 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
15 146 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 164 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 164 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 158 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 158 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 164 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 164 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 198 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 198 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 155 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 155 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 162 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 162 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
18 168 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
18 168 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 193 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 193 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 163 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 163 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
18 160 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
18 160 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 157 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 157 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 163 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 163 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 162 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 162 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
24 187 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
24 187 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 167 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 167 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 164 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 164 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 161 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 161 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 158 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
16 158 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 158 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
17 158 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0
18 166 0 CMakeFiles/bootloader_check_size 2123ff57443f11d0
18 166 0 /home/pi/lighting-controller/esp32/build/bootloader/CMakeFiles/bootloader_check_size 2123ff57443f11d0

File diff suppressed because one or more lines are too long

View File

@@ -36,7 +36,7 @@
},
{
"directory": "/home/pi/lighting-controller/esp32/build",
"command": "/home/pi/.espressif/tools/riscv32-esp-elf/esp-15.2.0_20250920/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\\\"v6.0-dev-2594-g25c40d4563\\\" -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=\\\"spi_slave\\\" -DPROJECT_VER=\\\"ddbf4a0\\\" -I/home/pi/lighting-controller/esp32/build/config -I/home/pi/esp/esp-idf/components/esp_app_format/include -I/home/pi/esp/esp-idf/components/esp_libc/platform_include -I/home/pi/esp/esp-idf/components/freertos/config/include -I/home/pi/esp/esp-idf/components/freertos/config/include/freertos -I/home/pi/esp/esp-idf/components/freertos/config/riscv/include -I/home/pi/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/pi/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/pi/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/pi/esp/esp-idf/components/freertos/esp_additions/include -I/home/pi/esp/esp-idf/components/esp_hw_support/include -I/home/pi/esp/esp-idf/components/esp_hw_support/include/soc -I/home/pi/esp/esp-idf/components/esp_hw_support/dma/include -I/home/pi/esp/esp-idf/components/esp_hw_support/ldo/include -I/home/pi/esp/esp-idf/components/esp_hw_support/debug_probe/include -I/home/pi/esp/esp-idf/components/esp_hw_support/etm/include -I/home/pi/esp/esp-idf/components/esp_hw_support/mspi_timing_tuning/include -I/home/pi/esp/esp-idf/components/esp_hw_support/mspi_timing_tuning/tuning_scheme_impl/include -I/home/pi/esp/esp-idf/components/esp_hw_support/power_supply/include -I/home/pi/esp/esp-idf/components/esp_hw_support/modem/include -I/home/pi/esp/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/pi/esp/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/pi/esp/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/pi/esp/esp-idf/components/heap/include -I/home/pi/esp/esp-idf/components/heap/tlsf -I/home/pi/esp/esp-idf/components/log/include -I/home/pi/esp/esp-idf/components/soc/include -I/home/pi/esp/esp-idf/components/soc/esp32c3 -I/home/pi/esp/esp-idf/components/soc/esp32c3/include -I/home/pi/esp/esp-idf/components/soc/esp32c3/register -I/home/pi/esp/esp-idf/components/hal/platform_port/include -I/home/pi/esp/esp-idf/components/hal/esp32c3/include -I/home/pi/esp/esp-idf/components/hal/include -I/home/pi/esp/esp-idf/components/esp_rom/include -I/home/pi/esp/esp-idf/components/esp_rom/esp32c3/include -I/home/pi/esp/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/pi/esp/esp-idf/components/esp_rom/esp32c3 -I/home/pi/esp/esp-idf/components/esp_common/include -I/home/pi/esp/esp-idf/components/esp_system/include -I/home/pi/esp/esp-idf/components/esp_system/port/soc -I/home/pi/esp/esp-idf/components/esp_system/port/include/riscv -I/home/pi/esp/esp-idf/components/esp_system/port/include/private -I/home/pi/esp/esp-idf/components/riscv/include -I/home/pi/esp/esp-idf/components/lwip/include -I/home/pi/esp/esp-idf/components/lwip/include/apps -I/home/pi/esp/esp-idf/components/lwip/include/apps/sntp -I/home/pi/esp/esp-idf/components/lwip/lwip/src/include -I/home/pi/esp/esp-idf/components/lwip/port/include -I/home/pi/esp/esp-idf/components/lwip/port/freertos/include -I/home/pi/esp/esp-idf/components/lwip/port/esp32xx/include -I/home/pi/esp/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/pi/esp/esp-idf/components/lwip/port/esp32xx/include/sys -march=rv32imc_zicsr_zifencei -mtune=esp-base -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/pi/lighting-controller/esp32=. -fmacro-prefix-map=/home/pi/esp/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu23 -Wno-old-style-declaration -fzero-init-padding-bits=all -fno-malloc-dce -o esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -c /home/pi/esp/esp-idf/components/esp_app_format/esp_app_desc.c",
"command": "/home/pi/.espressif/tools/riscv32-esp-elf/esp-15.2.0_20250920/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\\\"v6.0-dev-2594-g25c40d4563\\\" -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=\\\"spi_slave\\\" -DPROJECT_VER=\\\"1844a2e-dirty\\\" -I/home/pi/lighting-controller/esp32/build/config -I/home/pi/esp/esp-idf/components/esp_app_format/include -I/home/pi/esp/esp-idf/components/esp_libc/platform_include -I/home/pi/esp/esp-idf/components/freertos/config/include -I/home/pi/esp/esp-idf/components/freertos/config/include/freertos -I/home/pi/esp/esp-idf/components/freertos/config/riscv/include -I/home/pi/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/pi/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/pi/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/pi/esp/esp-idf/components/freertos/esp_additions/include -I/home/pi/esp/esp-idf/components/esp_hw_support/include -I/home/pi/esp/esp-idf/components/esp_hw_support/include/soc -I/home/pi/esp/esp-idf/components/esp_hw_support/dma/include -I/home/pi/esp/esp-idf/components/esp_hw_support/ldo/include -I/home/pi/esp/esp-idf/components/esp_hw_support/debug_probe/include -I/home/pi/esp/esp-idf/components/esp_hw_support/etm/include -I/home/pi/esp/esp-idf/components/esp_hw_support/mspi_timing_tuning/include -I/home/pi/esp/esp-idf/components/esp_hw_support/mspi_timing_tuning/tuning_scheme_impl/include -I/home/pi/esp/esp-idf/components/esp_hw_support/power_supply/include -I/home/pi/esp/esp-idf/components/esp_hw_support/modem/include -I/home/pi/esp/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/pi/esp/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/pi/esp/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/pi/esp/esp-idf/components/heap/include -I/home/pi/esp/esp-idf/components/heap/tlsf -I/home/pi/esp/esp-idf/components/log/include -I/home/pi/esp/esp-idf/components/soc/include -I/home/pi/esp/esp-idf/components/soc/esp32c3 -I/home/pi/esp/esp-idf/components/soc/esp32c3/include -I/home/pi/esp/esp-idf/components/soc/esp32c3/register -I/home/pi/esp/esp-idf/components/hal/platform_port/include -I/home/pi/esp/esp-idf/components/hal/esp32c3/include -I/home/pi/esp/esp-idf/components/hal/include -I/home/pi/esp/esp-idf/components/esp_rom/include -I/home/pi/esp/esp-idf/components/esp_rom/esp32c3/include -I/home/pi/esp/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/pi/esp/esp-idf/components/esp_rom/esp32c3 -I/home/pi/esp/esp-idf/components/esp_common/include -I/home/pi/esp/esp-idf/components/esp_system/include -I/home/pi/esp/esp-idf/components/esp_system/port/soc -I/home/pi/esp/esp-idf/components/esp_system/port/include/riscv -I/home/pi/esp/esp-idf/components/esp_system/port/include/private -I/home/pi/esp/esp-idf/components/riscv/include -I/home/pi/esp/esp-idf/components/lwip/include -I/home/pi/esp/esp-idf/components/lwip/include/apps -I/home/pi/esp/esp-idf/components/lwip/include/apps/sntp -I/home/pi/esp/esp-idf/components/lwip/lwip/src/include -I/home/pi/esp/esp-idf/components/lwip/port/include -I/home/pi/esp/esp-idf/components/lwip/port/freertos/include -I/home/pi/esp/esp-idf/components/lwip/port/esp32xx/include -I/home/pi/esp/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/pi/esp/esp-idf/components/lwip/port/esp32xx/include/sys -march=rv32imc_zicsr_zifencei -mtune=esp-base -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/pi/lighting-controller/esp32=. -fmacro-prefix-map=/home/pi/esp/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu23 -Wno-old-style-declaration -fzero-init-padding-bits=all -fno-malloc-dce -o esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -c /home/pi/esp/esp-idf/components/esp_app_format/esp_app_desc.c",
"file": "/home/pi/esp/esp-idf/components/esp_app_format/esp_app_desc.c"
},
{

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -0,0 +1,52 @@
Command: ninja all
Configuration Report
─────────────────────────────────
Parser Version: 1
Verbosity: default
Defaults policy: sdkconfig
Status: Finished successfully
─────────────────────────────────
CMake Warning at /home/pi/esp/esp-idf/tools/cmake/component_validation.cmake:106 (message):
Private include directory
'/home/pi/esp/esp-idf/components/wpa_supplicant/src' belongs to component
wpa_supplicant but is being used by component esp_wifi. It is recommended
to define the component dependency for esp_wifi on the component
wpa_supplicant, i.e. 'idf_component_register(... PRIV_REQUIRES
wpa_supplicant)' in the CMakeLists.txt of esp_wifi, and specify the
included directory as idf_component_register(... PRIV_INCLUDE_DIRS <dir
relative to component>) in the CMakeLists.txt of component wpa_supplicant.
Call Stack (most recent call first):
/home/pi/esp/esp-idf/tools/cmake/component_validation.cmake:130 (__component_validation_check_include_dirs)
/home/pi/esp/esp-idf/CMakeLists.txt:338 (__component_validation_run_checks)
CMake Warning at /home/pi/esp/esp-idf/tools/cmake/component_validation.cmake:106 (message):
Private include directory
'/home/pi/esp/esp-idf/components/wpa_supplicant/esp_supplicant/src' belongs
to component wpa_supplicant but is being used by component esp_wifi. It is
recommended to define the component dependency for esp_wifi on the
component wpa_supplicant, i.e. 'idf_component_register(... PRIV_REQUIRES
wpa_supplicant)' in the CMakeLists.txt of esp_wifi, and specify the
included directory as idf_component_register(... PRIV_INCLUDE_DIRS <dir
relative to component>) in the CMakeLists.txt of component wpa_supplicant.
Call Stack (most recent call first):
/home/pi/esp/esp-idf/tools/cmake/component_validation.cmake:130 (__component_validation_check_include_dirs)
/home/pi/esp/esp-idf/CMakeLists.txt:338 (__component_validation_run_checks)
CMake Warning at /home/pi/esp/esp-idf/tools/cmake/component_validation.cmake:106 (message):
Private include directory
'/home/pi/esp/esp-idf/components/esp_wifi/wifi_apps/roaming_app/include'
belongs to component esp_wifi but is being used by component
wpa_supplicant. It is recommended to define the component dependency for
wpa_supplicant on the component esp_wifi, i.e. 'idf_component_register(...
PRIV_REQUIRES esp_wifi)' in the CMakeLists.txt of wpa_supplicant, and
specify the included directory as idf_component_register(...
PRIV_INCLUDE_DIRS <dir relative to component>) in the CMakeLists.txt of
component esp_wifi.
Call Stack (most recent call first):
/home/pi/esp/esp-idf/tools/cmake/component_validation.cmake:130 (__component_validation_check_include_dirs)
/home/pi/esp/esp-idf/CMakeLists.txt:338 (__component_validation_run_checks)

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja all

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja all

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1,12 @@
Command: ninja flash
A fatal error occurred: Could not open /dev/ttyACM0, the port is busy or doesn't exist.
([Errno 11] Could not exclusively lock port /dev/ttyACM0: [Errno 11] Resource temporarily unavailable)
CMake Error at /home/pi/esp/esp-idf/components/esptool_py/run_serial_tool.cmake:67 (message):
/home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python;;/home/pi/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32c3
failed.

View File

@@ -0,0 +1 @@
Command: ninja all

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja all

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja all

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja all

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -124,4 +124,316 @@ ESP32-C3 Status Update #19 - Free heap: 218180 bytes, Uptime: 190212 ms
ESP32-C3 Status Update #20 - Free heap: 218180 bytes, Uptime: 200212 ms
I (206031) SPI_ESPNOW_BRIDGE: Received 24 bytes from SPI: {"d":{"t":"u"},"bar":{}}
I (206031) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"u"},"bar":{}}
I (206031) SPI_ES
I (206031) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #21 - Free heap: 218180 bytes, Uptime: 210212 ms
ESP32-C3 Status Update #22 - Free heap: 218180 bytes, Uptime: 220212 ms
I (221541) SPI_ESPNOW_BRIDGE: Received 24 bytes from SPI: {"d":{"t":"b"},"bar":{}}
I (221541) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b"},"bar":{}}
I (221541) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
I (224931) SPI_ESPNOW_BRIDGE: Received 24 bytes from SPI: {"d":{"t":"b"},"bar":{}}
I (224931) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b"},"bar":{}}
I (224931) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #23 - Free heap: 218180 bytes, Uptime: 230212 ms
ESP32-C3 Status Update #24 - Free heap: 218180 bytes, Uptime: 240212 ms
I (240631) SPI_ESPNOW_BRIDGE: Received 32 bytes from SPI: {"d":{"t":"b","br":10},"bar":{}}
I (240631) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b","br":10},"bar":{}}
I (240631) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #25 - Free heap: 218180 bytes, Uptime: 250212 ms
I (253011) SPI_ESPNOW_BRIDGE: Received 32 bytes from SPI: {"d":{"t":"b","br":10},"bar":{}}
I (253021) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b","br":10},"bar":{}}
I (253021) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
I (257191) SPI_ESPNOW_BRIDGE: Received 32 bytes from SPI: {"d":{"t":"b","br":10},"bar":{}}
I (257191) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b","br":10},"bar":{}}
I (257191) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #26 - Free heap: 218180 bytes, Uptime: 260212 ms
I (261661) SPI_ESPNOW_BRIDGE: Received 32 bytes from SPI: {"d":{"t":"b","br":10},"bar":{}}
I (261661) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b","br":10},"bar":{}}
I (261661) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
I (265091) SPI_ESPNOW_BRIDGE: Received 32 bytes from SPI: {"d":{"t":"b","br":10},"bar":{}}
I (265091) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b","br":10},"bar":{}}
I (265091) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
I (268181) SPI_ESPNOW_BRIDGE: Received 32 bytes from SPI: {"d":{"t":"b","br":10},"bar":{}}
I (268181) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b","br":10},"bar":{}}
I (268191) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #27 - Free heap: 218180 bytes, Uptime: 270212 ms
I (271331) SPI_ESPNOW_BRIDGE: Received 32 bytes from SPI: {"d":{"t":"b","br":10},"bar":{}}
I (271331) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"d":{"t":"b","br":10},"bar":{}}
I (271331) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #28 - Free heap: 218180 bytes, Uptime: 280212 ms
ESP32-C3 Status Update #29 - Free heap: 218180 bytes, Uptime: 290212 ms
ESP32-C3 Status Update #30 - Free heap: 218180 bytes, Uptime: 300212 ms
ESP32-C3 Status Update #31 - Free heap: 218180 bytes, Uptime: 310212 ms
ESP32-C3 Status Update #32 - Free heap: 218180 bytes, Uptime: 320212 ms
ESP32-C3 Status Update #33 - Free heap: 218180 bytes, Uptime: 330212 ms
ESP32-C3 Status Update #34 - Free heap: 218180 bytes, Uptime: 340212 ms
ESP32-C3 Status Update #35 - Free heap: 218180 bytes, Uptime: 350212 ms
ESP32-C3 Status Update #36 - Free heap: 218180 bytes, Uptime: 360212 ms
ESP32-C3 Status Update #37 - Free heap: 218180 bytes, Uptime: 370212 ms
ESP32-C3 Status Update #38 - Free heap: 218180 bytes, Uptime: 380212 ms
ESP32-C3 Status Update #39 - Free heap: 218180 bytes, Uptime: 390212 ms
ESP32-C3 Status Update #40 - Free heap: 218180 bytes, Uptime: 400212 ms
ESP32-C3 Status Update #41 - Free heap: 218180 bytes, Uptime: 410212 ms
ESP32-C3 Status Update #42 - Free heap: 218180 bytes, Uptime: 420212 ms
ESP32-C3 Status Update #43 - Free heap: 218180 bytes, Uptime: 430212 ms
ESP32-C3 Status Update #44 - Free heap: 218180 bytes, Uptime: 440212 ms
ESP32-C3 Status Update #45 - Free heap: 218180 bytes, Uptime: 450212 ms
ESP32-C3 Status Update #46 - Free heap: 218180 bytes, Uptime: 460212 ms
ESP32-C3 Status Update #47 - Free heap: 218180 bytes, Uptime: 470212 ms
ESP32-C3 Status Update #48 - Free heap: 218180 bytes, Uptime: 480212 ms
ESP32-C3 Status Update #49 - Free heap: 218180 bytes, Uptime: 490212 ms
ESP32-C3 Status Update #50 - Free heap: 218180 bytes, Uptime: 500212 ms
ESP32-C3 Status Update #51 - Free heap: 218180 bytes, Uptime: 510212 ms
ESP32-C3 Status Update #52 - Free heap: 218180 bytes, Uptime: 520212 ms
ESP32-C3 Status Update #53 - Free heap: 218180 bytes, Uptime: 530212 ms
ESP32-C3 Status Update #54 - Free heap: 218180 bytes, Uptime: 540212 ms
ESP32-C3 Status Update #55 - Free heap: 218180 bytes, Uptime: 550212 ms
ESP32-C3 Status Update #56 - Free heap: 218180 bytes, Uptime: 560212 ms
ESP32-C3 Status Update #57 - Free heap: 218180 bytes, Uptime: 570212 ms
ESP32-C3 Status Update #58 - Free heap: 218180 bytes, Uptime: 580212 ms
ESP32-C3 Status Update #59 - Free heap: 218180 bytes, Uptime: 590212 ms
ESP32-C3 Status Update #60 - Free heap: 218180 bytes, Uptime: 600212 ms
ESP32-C3 Status Update #61 - Free heap: 218180 bytes, Uptime: 610212 ms
ESP32-C3 Status Update #62 - Free heap: 218180 bytes, Uptime: 620212 ms
ESP32-C3 Status Update #63 - Free heap: 218180 bytes, Uptime: 630212 ms
ESP32-C3 Status Update #64 - Free heap: 218180 bytes, Uptime: 640212 ms
ESP32-C3 Status Update #65 - Free heap: 218180 bytes, Uptime: 650212 ms
ESP32-C3 Status Update #66 - Free heap: 218180 bytes, Uptime: 660212 ms
ESP32-C3 Status Update #67 - Free heap: 218180 bytes, Uptime: 670212 ms
ESP32-C3 Status Update #68 - Free heap: 218180 bytes, Uptime: 680212 ms
ESP32-C3 Status Update #69 - Free heap: 218180 bytes, Uptime: 690212 ms
ESP32-C3 Status Update #70 - Free heap: 218180 bytes, Uptime: 700212 ms
ESP32-C3 Status Update #71 - Free heap: 218180 bytes, Uptime: 710212 ms
ESP32-C3 Status Update #72 - Free heap: 218180 bytes, Uptime: 720212 ms
ESP32-C3 Status Update #73 - Free heap: 218180 bytes, Uptime: 730212 ms
ESP32-C3 Status Update #74 - Free heap: 218180 bytes, Uptime: 740212 ms
ESP32-C3 Status Update #75 - Free heap: 218180 bytes, Uptime: 750212 ms
ESP32-C3 Status Update #76 - Free heap: 218180 bytes, Uptime: 760212 ms
ESP32-C3 Status Update #77 - Free heap: 218180 bytes, Uptime: 770212 ms
ESP32-C3 Status Update #78 - Free heap: 218180 bytes, Uptime: 780212 ms
ESP32-C3 Status Update #79 - Free heap: 218180 bytes, Uptime: 790212 ms
ESP32-C3 Status Update #80 - Free heap: 218180 bytes, Uptime: 800212 ms
ESP32-C3 Status Update #81 - Free heap: 218180 bytes, Uptime: 810212 ms
ESP32-C3 Status Update #82 - Free heap: 218180 bytes, Uptime: 820212 ms
ESP32-C3 Status Update #83 - Free heap: 218180 bytes, Uptime: 830212 ms
ESP32-C3 Status Update #84 - Free heap: 218180 bytes, Uptime: 840212 ms
ESP32-C3 Status Update #85 - Free heap: 218180 bytes, Uptime: 850212 ms
ESP32-C3 Status Update #86 - Free heap: 218180 bytes, Uptime: 860212 ms
ESP32-C3 Status Update #87 - Free heap: 218180 bytes, Uptime: 870212 ms
ESP32-C3 Status Update #88 - Free heap: 218180 bytes, Uptime: 880212 ms
ESP32-C3 Status Update #89 - Free heap: 218180 bytes, Uptime: 890212 ms
ESP32-C3 Status Update #90 - Free heap: 218180 bytes, Uptime: 900212 ms
ESP32-C3 Status Update #91 - Free heap: 218180 bytes, Uptime: 910212 ms
ESP32-C3 Status Update #92 - Free heap: 218180 bytes, Uptime: 920212 ms
ESP32-C3 Status Update #93 - Free heap: 218180 bytes, Uptime: 930212 ms
ESP32-C3 Status Update #94 - Free heap: 218180 bytes, Uptime: 940212 ms
ESP32-C3 Status Update #95 - Free heap: 218180 bytes, Uptime: 950212 ms
ESP32-C3 Status Update #96 - Free heap: 218180 bytes, Uptime: 960212 ms
ESP32-C3 Status Update #97 - Free heap: 218180 bytes, Uptime: 970212 ms
ESP32-C3 Status Update #98 - Free heap: 218180 bytes, Uptime: 980212 ms
ESP32-C3 Status Update #99 - Free heap: 218180 bytes, Uptime: 990212 ms
ESP32-C3 Status Update #100 - Free heap: 218180 bytes, Uptime: 1000212 ms
ESP32-C3 Status Update #101 - Free heap: 218180 bytes, Uptime: 1010212 ms
ESP32-C3 Status Update #102 - Free heap: 218180 bytes, Uptime: 1020212 ms
ESP32-C3 Status Update #103 - Free heap: 218180 bytes, Uptime: 1030212 ms
ESP32-C3 Status Update #104 - Free heap: 218180 bytes, Uptime: 1040212 ms
ESP32-C3 Status Update #105 - Free heap: 218180 bytes, Uptime: 1050212 ms
ESP32-C3 Status Update #106 - Free heap: 218180 bytes, Uptime: 1060212 ms
ESP32-C3 Status Update #107 - Free heap: 218180 bytes, Uptime: 1070212 ms
ESP32-C3 Status Update #108 - Free heap: 218180 bytes, Uptime: 1080212 ms
ESP32-C3 Status Update #109 - Free heap: 218180 bytes, Uptime: 1090212 ms
ESP32-C3 Status Update #110 - Free heap: 218180 bytes, Uptime: 1100212 ms
ESP32-C3 Status Update #111 - Free heap: 218180 bytes, Uptime: 1110212 ms
ESP32-C3 Status Update #112 - Free heap: 218180 bytes, Uptime: 1120212 ms
ESP32-C3 Status Update #113 - Free heap: 218180 bytes, Uptime: 1130212 ms
ESP32-C3 Status Update #114 - Free heap: 218180 bytes, Uptime: 1140212 ms
ESP32-C3 Status Update #115 - Free heap: 218180 bytes, Uptime: 1150212 ms
ESP32-C3 Status Update #116 - Free heap: 218180 bytes, Uptime: 1160212 ms
ESP32-C3 Status Update #117 - Free heap: 218180 bytes, Uptime: 1170212 ms
ESP32-C3 Status Update #118 - Free heap: 218180 bytes, Uptime: 1180212 ms
ESP32-C3 Status Update #119 - Free heap: 218180 bytes, Uptime: 1190212 ms
ESP32-C3 Status Update #120 - Free heap: 218180 bytes, Uptime: 1200212 ms
ESP32-C3 Status Update #121 - Free heap: 218180 bytes, Uptime: 1210212 ms
ESP32-C3 Status Update #122 - Free heap: 218180 bytes, Uptime: 1220212 ms
ESP32-C3 Status Update #123 - Free heap: 218180 bytes, Uptime: 1230212 ms
ESP32-C3 Status Update #124 - Free heap: 218180 bytes, Uptime: 1240212 ms
ESP32-C3 Status Update #125 - Free heap: 218180 bytes, Uptime: 1250212 ms
ESP32-C3 Status Update #126 - Free heap: 218180 bytes, Uptime: 1260212 ms
ESP32-C3 Status Update #127 - Free heap: 218180 bytes, Uptime: 1270212 ms
ESP32-C3 Status Update #128 - Free heap: 218180 bytes, Uptime: 1280212 ms
ESP32-C3 Status Update #129 - Free heap: 218180 bytes, Uptime: 1290212 ms
ESP32-C3 Status Update #130 - Free heap: 218180 bytes, Uptime: 1300212 ms
ESP32-C3 Status Update #131 - Free heap: 218180 bytes, Uptime: 1310212 ms
ESP32-C3 Status Update #132 - Free heap: 218180 bytes, Uptime: 1320212 ms
ESP32-C3 Status Update #133 - Free heap: 218180 bytes, Uptime: 1330212 ms
ESP32-C3 Status Update #134 - Free heap: 218180 bytes, Uptime: 1340212 ms
ESP32-C3 Status Update #135 - Free heap: 218180 bytes, Uptime: 1350212 ms
ESP32-C3 Status Update #136 - Free heap: 218180 bytes, Uptime: 1360212 ms
ESP32-C3 Status Update #137 - Free heap: 218180 bytes, Uptime: 1370212 ms
ESP32-C3 Status Update #138 - Free heap: 218180 bytes, Uptime: 1380212 ms
ESP32-C3 Status Update #139 - Free heap: 218180 bytes, Uptime: 1390212 ms
ESP32-C3 Status Update #140 - Free heap: 218180 bytes, Uptime: 1400212 ms
ESP32-C3 Status Update #141 - Free heap: 218180 bytes, Uptime: 1410212 ms
ESP32-C3 Status Update #142 - Free heap: 218180 bytes, Uptime: 1420212 ms
ESP32-C3 Status Update #143 - Free heap: 218180 bytes, Uptime: 1430212 ms
ESP32-C3 Status Update #144 - Free heap: 218180 bytes, Uptime: 1440212 ms
ESP32-C3 Status Update #145 - Free heap: 218180 bytes, Uptime: 1450212 ms
ESP32-C3 Status Update #146 - Free heap: 218180 bytes, Uptime: 1460212 ms
ESP32-C3 Status Update #147 - Free heap: 218180 bytes, Uptime: 1470212 ms
ESP32-C3 Status Update #148 - Free heap: 218180 bytes, Uptime: 1480212 ms
ESP32-C3 Status Update #149 - Free heap: 218180 bytes, Uptime: 1490212 ms
ESP32-C3 Status Update #150 - Free heap: 218180 bytes, Uptime: 1500212 ms
ESP32-C3 Status Update #151 - Free heap: 218180 bytes, Uptime: 1510212 ms
ESP32-C3 Status Update #152 - Free heap: 218180 bytes, Uptime: 1520212 ms
ESP32-C3 Status Update #153 - Free heap: 218180 bytes, Uptime: 1530212 ms
ESP32-C3 Status Update #154 - Free heap: 218180 bytes, Uptime: 1540212 ms
ESP32-C3 Status Update #155 - Free heap: 218180 bytes, Uptime: 1550212 ms
ESP32-C3 Status Update #156 - Free heap: 218180 bytes, Uptime: 1560212 ms
ESP32-C3 Status Update #157 - Free heap: 218180 bytes, Uptime: 1570212 ms
ESP32-C3 Status Update #158 - Free heap: 218180 bytes, Uptime: 1580212 ms
ESP32-C3 Status Update #159 - Free heap: 218180 bytes, Uptime: 1590212 ms
ESP32-C3 Status Update #160 - Free heap: 218180 bytes, Uptime: 1600212 ms
ESP32-C3 Status Update #161 - Free heap: 218180 bytes, Uptime: 1610212 ms
ESP32-C3 Status Update #162 - Free heap: 218180 bytes, Uptime: 1620212 ms
ESP32-C3 Status Update #163 - Free heap: 218180 bytes, Uptime: 1630212 ms
ESP32-C3 Status Update #164 - Free heap: 218180 bytes, Uptime: 1640212 ms
ESP32-C3 Status Update #165 - Free heap: 218180 bytes, Uptime: 1650212 ms
ESP32-C3 Status Update #166 - Free heap: 218180 bytes, Uptime: 1660212 ms
ESP32-C3 Status Update #167 - Free heap: 218180 bytes, Uptime: 1670212 ms
ESP32-C3 Status Update #168 - Free heap: 218180 bytes, Uptime: 1680212 ms
ESP32-C3 Status Update #169 - Free heap: 218180 bytes, Uptime: 1690212 ms
ESP32-C3 Status Update #170 - Free heap: 218180 bytes, Uptime: 1700212 ms
ESP32-C3 Status Update #171 - Free heap: 218180 bytes, Uptime: 1710212 ms
ESP32-C3 Status Update #172 - Free heap: 218180 bytes, Uptime: 1720212 ms
ESP32-C3 Status Update #173 - Free heap: 218180 bytes, Uptime: 1730212 ms
ESP32-C3 Status Update #174 - Free heap: 218180 bytes, Uptime: 1740212 ms
ESP32-C3 Status Update #175 - Free heap: 218180 bytes, Uptime: 1750212 ms
ESP32-C3 Status Update #176 - Free heap: 218180 bytes, Uptime: 1760212 ms
ESP32-C3 Status Update #177 - Free heap: 218180 bytes, Uptime: 1770212 ms
ESP32-C3 Status Update #178 - Free heap: 218180 bytes, Uptime: 1780212 ms
ESP32-C3 Status Update #179 - Free heap: 218180 bytes, Uptime: 1790212 ms
ESP32-C3 Status Update #180 - Free heap: 218180 bytes, Uptime: 1800212 ms
ESP32-C3 Status Update #181 - Free heap: 218180 bytes, Uptime: 1810212 ms
ESP32-C3 Status Update #182 - Free heap: 218180 bytes, Uptime: 1820212 ms
ESP32-C3 Status Update #183 - Free heap: 218180 bytes, Uptime: 1830212 ms
E-C3 Status Update #184 - Free heap: 218180 bytes, Uptime: 1840212 ms
ES32-C3 Status Update #185 - Free heap: 218180 bytes, Uptime: 1850212 ms
ESP32-C3 Status Update #186 - Free heap: 218180 bytes, Uptime: 1860212 ms
ESP32-C3 Status Update #187 - Free heap: 218180 bytes, Uptime: 1870212 ms
ESP32-C3 Status Update #188 - Free heap: 218180 bytes, Uptime: 1880212 ms
ESP32-C3 Status Update #189 - Free heap: 218180 bytes, Uptime: 1890212 ms
ESP32-C3 Status Update #190 - Free heap: 218180 bytes, Uptime: 1900212 ms
I (1902211) SPI_ESPNOW_BRIDGE: Received 28 bytes from SPI: {"settings":{},"save":false}
I (1902221) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{},"save":false}
I (1902221) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #191 - Free heap: 218180 bytes, Uptime: 1910212 ms
I (1916231) SPI_ESPNOW_BRIDGE: Received 43 bytes from SPI: {"settings":{"pattern":"off"},"save":false}
I (1916231) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{"pattern":"off"},"save":false}
I (1916231) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #192 - Free heap: 218180 bytes, Uptime: 1920212 ms
I (1922091) SPI_ESPNOW_BRIDGE: Received 42 bytes from SPI: {"settings":{"pattern":"on"},"save":false}
I (1922091) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{"pattern":"on"},"save":false}
I (1922091) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
I (1928411) SPI_ESPNOW_BRIDGE: Received 42 bytes from SPI: {"settings":{"pattern":"on"},"save":false}
I (1928411) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{"pattern":"on"},"save":false}
I (1928421) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #193 - Free heap: 218180 bytes, Uptime: 1930212 ms
ESP32-C3 Status Update #194 - Free heap: 218180 bytes, Uptime: 1940212 ms
I (1947851) SPI_ESPNOW_BRIDGE: Received 43 bytes from SPI: {"settings":{"pattern":"off"},"save":false}
I (1947851) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{"pattern":"off"},"save":false}
I (1947851) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #195 - Free heap: 218180 bytes, Uptime: 1950212 ms
I (1952051) SPI_ESPNOW_BRIDGE: Received 42 bytes from SPI: {"settings":{"pattern":"on"},"save":false}
I (1952051) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{"pattern":"on"},"save":false}
I (1952051) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #196 - Free heap: 218180 bytes, Uptime: 1960212 ms
I (1962831) SPI_ESPNOW_BRIDGE: Received 28 bytes from SPI: {"settings":{},"save":false}
I (1962831) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{},"save":false}
I (1962831) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #197 - Free heap: 218180 bytes, Uptime: 1970212 ms
ESP32-C3 Status Update #198 - Free heap: 218180 bytes, Uptime: 1980212 ms
ESP32-C3 Status Update #199 - Free heap: 218180 bytes, Uptime: 1990212 ms
ESP32-C3 Status Update #200 - Free heap: 218180 bytes, Uptime: 2000212 ms
ESP32-C3 Status Update #201 - Free heap: 218180 bytes, Uptime: 2010212 ms
ESP32-C3 Status Update #202 - Free heap: 218180 bytes, Uptime: 2020212 ms
ESP32-C3 Status Update #203 - Free heap: 218180 bytes, Uptime: 2030212 ms
ESP32-C3 Status Update #204 - Free heap: 218180 bytes, Uptime: 2040212 ms
ESP32-C3 Status Update #205 - Free heap: 218180 bytes, Uptime: 2050212 ms
ESP32-C3 Status Update #206 - Free heap: 218180 bytes, Uptime: 2060212 ms
ESP32-C3 Status Update #207 - Free heap: 218180 bytes, Uptime: 2070212 ms
ESP32-C3 Status Update #208 - Free heap: 218180 bytes, Uptime: 2080212 ms
ESP32-C3 Status Update #209 - Free heap: 218180 bytes, Uptime: 2090212 ms
ESP32-C3 Status Update #210 - Free heap: 218180 bytes, Uptime: 2100212 ms
ESP32-C3 Status Update #211 - Free heap: 218180 bytes, Uptime: 2110212 ms
ESP32-C3 Status Update #212 - Free heap: 218180 bytes, Uptime: 2120212 ms
ESP32-C3 Status Update #213 - Free heap: 218180 bytes, Uptime: 2130212 ms
ESP32-C3 Status Update #214 - Free heap: 218180 bytes, Uptime: 2140212 ms
ESP32-C3 Status Update #215 - Free heap: 218180 bytes, Uptime: 2150212 ms
ESP32-C3 Status Update #216 - Free heap: 218180 bytes, Uptime: 2160212 ms
ESP32-C3 Status Update #217 - Free heap: 218180 bytes, Uptime: 2170212 ms
ESP32-C3 Status Update #218 - Free heap: 218180 bytes, Uptime: 2180212 ms
ESP32-C3 Status Update #219 - Free heap: 218180 bytes, Uptime: 2190212 ms
ESP32-C3 Status Update #220 - Free heap: 218180 bytes, Uptime: 2200212 ms
ESP32-C3 Status Update #221 - Free heap: 218180 bytes, Uptime: 2210212 ms
ESP32-C3 Status Update #222 - Free heap: 218180 bytes, Uptime: 2220212 ms
ESP32-C3 Status Update #223 - Free heap: 218180 bytes, Uptime: 2230212 ms
ESP32-C3 Status Update #224 - Free heap: 218180 bytes, Uptime: 2240212 ms
ESP32-C3 Status Update #225 - Free heap: 218180 bytes, Uptime: 2250212 ms
ESP32-C3 Status Update #226 - Free heap: 218180 bytes, Uptime: 2260212 ms
I (2269621) SPI_ESPNOW_BRIDGE: Received 63 bytes from SPI: {"settings":{"pattern":"on","colors":["#ff0000"]},"save":false}
I (2269621) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{"pattern":"on","colors":["#ff0000"]},"save":false}
I (2269621) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #227 - Free heap: 218180 bytes, Uptime: 2270212 ms
ESP32-C3 Status Update #228 - Free heap: 218180 bytes, Uptime: 2280212 ms
ESP32-C3 Status Update #229 - Free heap: 218180 bytes, Uptime: 2290212 ms
ESP32-C3 Status Update #230 - Free heap: 218180 bytes, Uptime: 2300212 ms
ESP32-C3 Status Update #231 - Free heap: 218180 bytes, Uptime: 2310212 ms
ESP32-C3 Status Update #232 - Free heap: 218180 bytes, Uptime: 2320212 ms
ESP32-C3 Status Update #233 - Free heap: 218180 bytes, Uptime: 2330212 ms
ESP32-C3 Status Update #234 - Free heap: 218180 bytes, Uptime: 2340212 ms
ESP32-C3 Status Update #235 - Free heap: 218180 bytes, Uptime: 2350212 ms
ESP32-C3 Status Update #236 - Free heap: 218180 bytes, Uptime: 2360212 ms
ESP32-C3 Status Update #237 - Free heap: 218180 bytes, Uptime: 2370212 ms
ESP32-C3 Status Update #238 - Free heap: 218180 bytes, Uptime: 2380212 ms
ESP32-C3 Status Update #239 - Free heap: 218180 bytes, Uptime: 2390212 ms
ESP32-C3 Status Update #240 - Free heap: 218180 bytes, Uptime: 2400212 ms
ESP32-C3 Status Update #241 - Free heap: 218180 bytes, Uptime: 2410212 ms
ESP32-C3 Status Update #242 - Free heap: 218180 bytes, Uptime: 2420212 ms
ESP32-C3 Status Update #243 - Free heap: 218180 bytes, Uptime: 2430212 ms
ESP32-C3 Status Update #244 - Free heap: 218180 bytes, Uptime: 2440212 ms
ESP32-C3 Status Update #245 - Free heap: 218180 bytes, Uptime: 2450212 ms
ESP32-C3 Status Update #246 - Free heap: 218180 bytes, Uptime: 2460212 ms
ESP32-C3 Status Update #247 - Free heap: 218180 bytes, Uptime: 2470212 ms
ESP32-C3 Status Update #248 - Free heap: 218180 bytes, Uptime: 2480212 ms
ESP32-C3 Status Update #249 - Free heap: 218180 bytes, Uptime: 2490212 ms
ESP32-C3 Status Update #250 - Free heap: 218180 bytes, Uptime: 2500212 ms
ESP32-C3 Status Update #251 - Free heap: 218180 bytes, Uptime: 2510212 ms
ESP32-C3 Status Update #252 - Free heap: 218180 bytes, Uptime: 2520212 ms
ESP32-C3 Status Update #253 - Free heap: 218180 bytes, Uptime: 2530212 ms
ESP32-C3 Status Update #254 - Free heap: 218180 bytes, Uptime: 2540212 ms
ESP32-C3 Status Update #255 - Free heap: 218180 bytes, Uptime: 2550212 ms
ESP32-C3 Status Update #256 - Free heap: 218180 bytes, Uptime: 2560212 ms
I (2561741) SPI_ESPNOW_BRIDGE: Received 63 bytes from SPI: {"settings":{"pattern":"on","colors":["#ff0000"]},"save":false}
I (2561741) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{"pattern":"on","colors":["#ff0000"]},"save":false}
I (2561751) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #257 - Free heap: 218180 bytes, Uptime: 2570212 ms
ESP32-C3 Status Update #258 - Free heap: 218180 bytes, Uptime: 2580212 ms
ESP32-C3 Status Update #259 - Free heap: 218180 bytes, Uptime: 2590212 ms
ESP32-C3 Status Update #260 - Free heap: 218180 bytes, Uptime: 2600212 ms
ESP32-C3 Status Update #261 - Free heap: 218180 bytes, Uptime: 2610212 ms
I (2617701) SPI_ESPNOW_BRIDGE: Received 63 bytes from SPI: {"settings":{"pattern":"on","colors":["#ff0000"]},"save":false}
I (2617701) SPI_ESPNOW_BRIDGE: Sent JSON message to broadcast: {"settings":{"pattern":"on","colors":["#ff0000"]},"save":false}
I (2617711) SPI_ESPNOW_BRIDGE: ESP-NOW send status: SUCCESS
ESP32-C3 Status Update #262 - Free heap: 218180 bytes, Uptime: 2620212 ms
ESP32-C3 Status Update #263 - Free heap: 218180 bytes, Uptime: 2630212 ms
ESP32-C3 Status Update #264 - Free heap: 218180 bytes, Uptime: 2640212 ms
ESP32-C3 Status Update #265 - Free heap: 218180 bytes, Uptime: 2650212 ms
ESP32-C3 Status Update #266 - Free heap: 218180 bytes, Uptime: 2660212 ms
ESP32-C3 Status Update #267 - Free heap: 218180 bytes, Uptime: 2670212 ms
ESP32-C3 Status Update #268 - Free heap: 218180 bytes, Uptime: 2680212 ms
ESP32-C3 Status Update #269 - Free heap: 218180 bytes, Uptime: 2690212 ms
ESP32-C3 Status Update #270 - Free heap: 218180 bytes, Uptime: 2700212 ms
ESP32-C3 Status Update #271 - Free heap: 218180 bytes, Uptime: 2710212 ms
ESP32-C3 Status Update #272 - Free heap: 218180 bytes, Uptime: 2720212 ms
ESP32-C3 Status Update #273 - Free heap: 218180 bytes, Uptime: 2730212 ms
ESP32-C3 Status Update #274 - Free heap: 218180 bytes, Uptime: 2740212 ms
ESP32-C3 Status Update #275 - F

View File

@@ -0,0 +1,57 @@
Command: ninja all
[0/1] Re-running CMake...
-- Minimal build - OFF
-- Building ESP-IDF components for target esp32c3
-- ESP-TEE is currently supported only on the esp32c6;esp32h2;esp32c5 SoCs
-- Project sdkconfig file /home/pi/lighting-controller/esp32/sdkconfig
-- Adding linker script /home/pi/esp/esp-idf/components/riscv/ld/rom.api.ld
-- App "spi_slave" version: 1844a2e-dirty
-- USING O3
-- Adding linker script /home/pi/esp/esp-idf/components/esp_system/ld/esp32c3/memory.ld.in
-- -> Preprocessing .in script: /home/pi/esp/esp-idf/components/esp_system/ld/esp32c3/memory.ld.in
-- Adding linker script /home/pi/esp/esp-idf/components/esp_system/ld/esp32c3/sections.ld.in
-- -> Preprocessing .in script: /home/pi/esp/esp-idf/components/esp_system/ld/esp32c3/sections.ld.in
-- -> Applying ldgen processing: /home/pi/lighting-controller/esp32/build/esp-idf/esp_system/ld/sections.ld.in
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.api.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.bt_funcs.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.libgcc.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.version.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ble_master.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ble_50.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ble_smp.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ble_dtm.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ble_test.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ble_scan.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.eco3.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.eco3_bt_funcs.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.libc.ld
-- Adding linker script /home/pi/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib.ld
-- Adding linker script /home/pi/esp/esp-idf/components/soc/esp32c3/ld/esp32c3.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_blockdev esp_bootloader_format esp_coex esp_common esp_driver_ana_cmpr esp_driver_bitscrambler esp_driver_cam esp_driver_dac esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_i2s esp_driver_i3c esp_driver_isp esp_driver_jpeg esp_driver_ledc esp_driver_mcpwm esp_driver_parlio esp_driver_pcnt esp_driver_ppa esp_driver_rmt esp_driver_sd_intf esp_driver_sdio esp_driver_sdm esp_driver_sdmmc esp_driver_sdspi esp_driver_spi esp_driver_touch_sens esp_driver_tsens esp_driver_twai esp_driver_uart esp_driver_usb_serial_jtag esp_eth esp_event esp_gdbstub esp_hal_i2c esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_libc esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_security esp_system esp_timer esp_usb_cdc_rom_console esp_vfs_console esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt nvs_flash nvs_sec_provider openthread partition_table protobuf-c protocomm pthread riscv rt sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant
-- Component paths: /home/pi/esp/esp-idf/components/app_trace /home/pi/esp/esp-idf/components/app_update /home/pi/esp/esp-idf/components/bootloader /home/pi/esp/esp-idf/components/bootloader_support /home/pi/esp/esp-idf/components/bt /home/pi/esp/esp-idf/components/cmock /home/pi/esp/esp-idf/components/console /home/pi/esp/esp-idf/components/cxx /home/pi/esp/esp-idf/components/driver /home/pi/esp/esp-idf/components/efuse /home/pi/esp/esp-idf/components/esp-tls /home/pi/esp/esp-idf/components/esp_adc /home/pi/esp/esp-idf/components/esp_app_format /home/pi/esp/esp-idf/components/esp_blockdev /home/pi/esp/esp-idf/components/esp_bootloader_format /home/pi/esp/esp-idf/components/esp_coex /home/pi/esp/esp-idf/components/esp_common /home/pi/esp/esp-idf/components/esp_driver_ana_cmpr /home/pi/esp/esp-idf/components/esp_driver_bitscrambler /home/pi/esp/esp-idf/components/esp_driver_cam /home/pi/esp/esp-idf/components/esp_driver_dac /home/pi/esp/esp-idf/components/esp_driver_gpio /home/pi/esp/esp-idf/components/esp_driver_gptimer /home/pi/esp/esp-idf/components/esp_driver_i2c /home/pi/esp/esp-idf/components/esp_driver_i2s /home/pi/esp/esp-idf/components/esp_driver_i3c /home/pi/esp/esp-idf/components/esp_driver_isp /home/pi/esp/esp-idf/components/esp_driver_jpeg /home/pi/esp/esp-idf/components/esp_driver_ledc /home/pi/esp/esp-idf/components/esp_driver_mcpwm /home/pi/esp/esp-idf/components/esp_driver_parlio /home/pi/esp/esp-idf/components/esp_driver_pcnt /home/pi/esp/esp-idf/components/esp_driver_ppa /home/pi/esp/esp-idf/components/esp_driver_rmt /home/pi/esp/esp-idf/components/esp_driver_sd_intf /home/pi/esp/esp-idf/components/esp_driver_sdio /home/pi/esp/esp-idf/components/esp_driver_sdm /home/pi/esp/esp-idf/components/esp_driver_sdmmc /home/pi/esp/esp-idf/components/esp_driver_sdspi /home/pi/esp/esp-idf/components/esp_driver_spi /home/pi/esp/esp-idf/components/esp_driver_touch_sens /home/pi/esp/esp-idf/components/esp_driver_tsens /home/pi/esp/esp-idf/components/esp_driver_twai /home/pi/esp/esp-idf/components/esp_driver_uart /home/pi/esp/esp-idf/components/esp_driver_usb_serial_jtag /home/pi/esp/esp-idf/components/esp_eth /home/pi/esp/esp-idf/components/esp_event /home/pi/esp/esp-idf/components/esp_gdbstub /home/pi/esp/esp-idf/components/esp_hal_i2c /home/pi/esp/esp-idf/components/esp_hid /home/pi/esp/esp-idf/components/esp_http_client /home/pi/esp/esp-idf/components/esp_http_server /home/pi/esp/esp-idf/components/esp_https_ota /home/pi/esp/esp-idf/components/esp_https_server /home/pi/esp/esp-idf/components/esp_hw_support /home/pi/esp/esp-idf/components/esp_lcd /home/pi/esp/esp-idf/components/esp_libc /home/pi/esp/esp-idf/components/esp_local_ctrl /home/pi/esp/esp-idf/components/esp_mm /home/pi/esp/esp-idf/components/esp_netif /home/pi/esp/esp-idf/components/esp_netif_stack /home/pi/esp/esp-idf/components/esp_partition /home/pi/esp/esp-idf/components/esp_phy /home/pi/esp/esp-idf/components/esp_pm /home/pi/esp/esp-idf/components/esp_psram /home/pi/esp/esp-idf/components/esp_ringbuf /home/pi/esp/esp-idf/components/esp_rom /home/pi/esp/esp-idf/components/esp_security /home/pi/esp/esp-idf/components/esp_system /home/pi/esp/esp-idf/components/esp_timer /home/pi/esp/esp-idf/components/esp_usb_cdc_rom_console /home/pi/esp/esp-idf/components/esp_vfs_console /home/pi/esp/esp-idf/components/esp_wifi /home/pi/esp/esp-idf/components/espcoredump /home/pi/esp/esp-idf/components/esptool_py /home/pi/esp/esp-idf/components/fatfs /home/pi/esp/esp-idf/components/freertos /home/pi/esp/esp-idf/components/hal /home/pi/esp/esp-idf/components/heap /home/pi/esp/esp-idf/components/http_parser /home/pi/esp/esp-idf/components/idf_test /home/pi/esp/esp-idf/components/ieee802154 /home/pi/esp/esp-idf/components/json /home/pi/esp/esp-idf/components/log /home/pi/esp/esp-idf/components/lwip /home/pi/lighting-controller/esp32/main /home/pi/esp/esp-idf/components/mbedtls /home/pi/esp/esp-idf/components/mqtt /home/pi/esp/esp-idf/components/nvs_flash /home/pi/esp/esp-idf/components/nvs_sec_provider /home/pi/esp/esp-idf/components/openthread /home/pi/esp/esp-idf/components/partition_table /home/pi/esp/esp-idf/components/protobuf-c /home/pi/esp/esp-idf/components/protocomm /home/pi/esp/esp-idf/components/pthread /home/pi/esp/esp-idf/components/riscv /home/pi/esp/esp-idf/components/rt /home/pi/esp/esp-idf/components/sdmmc /home/pi/esp/esp-idf/components/soc /home/pi/esp/esp-idf/components/spi_flash /home/pi/esp/esp-idf/components/spiffs /home/pi/esp/esp-idf/components/tcp_transport /home/pi/esp/esp-idf/components/ulp /home/pi/esp/esp-idf/components/unity /home/pi/esp/esp-idf/components/usb /home/pi/esp/esp-idf/components/vfs /home/pi/esp/esp-idf/components/wear_levelling /home/pi/esp/esp-idf/components/wifi_provisioning /home/pi/esp/esp-idf/components/wpa_supplicant
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/lighting-controller/esp32/build
[1/11] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[2/11] No install step for 'bootloader'
[3/11] Completed 'bootloader'
[4/11] Building C object esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj
[5/11] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
[6/11] Linking C static library esp-idf/esp_app_format/libesp_app_format.a
[7/11] Linking C static library esp-idf/main/libmain.a
[8/11] Generating esp-idf/esp_system/ld/sections.ld
[9/11] Linking CXX executable spi_slave.elf
[10/11] Generating binary image from built executable
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
esptool v5.1.0
Creating ESP32C3 image...
Merged 1 ELF section.
Successfully created ESP32C3 image.
Generated /home/pi/lighting-controller/esp32/build/spi_slave.bin
[11/11] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd530 bytes. Smallest app partition is 0x100000 bytes. 0x42ad0 bytes (26%) free.

View File

@@ -0,0 +1,51 @@
Command: ninja flash
[1/5] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd530 bytes. Smallest app partition is 0x100000 bytes. 0x42ad0 bytes (26%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting....
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (440.7 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (528.5 kbit/s).
Hash of data verified.
Compressed 775472 bytes to 451793...

View File

@@ -0,0 +1,51 @@
Command: ninja flash
[1/5] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd530 bytes. Smallest app partition is 0x100000 bytes. 0x42ad0 bytes (26%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting...
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (440.8 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (534.5 kbit/s).
Hash of data verified.
Compressed 775472 bytes to 451793...

View File

@@ -0,0 +1,8 @@
Command: ninja all
[1/4] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd530 bytes. Smallest app partition is 0x100000 bytes. 0x42ad0 bytes (26%) free.
[2/4] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/4] No install step for 'bootloader'
[4/4] Completed 'bootloader'

View File

@@ -0,0 +1,51 @@
Command: ninja flash
[1/5] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd530 bytes. Smallest app partition is 0x100000 bytes. 0x42ad0 bytes (26%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting...
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (422.9 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (538.0 kbit/s).
Hash of data verified.
Compressed 775472 bytes to 451793...

View File

@@ -0,0 +1,21 @@
Command: ninja all
[1/9] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[2/9] No install step for 'bootloader'
[3/9] Completed 'bootloader'
[4/9] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
[5/9] Linking C static library esp-idf/main/libmain.a
[6/9] Generating esp-idf/esp_system/ld/sections.ld
[7/9] Linking CXX executable spi_slave.elf
[8/9] Generating binary image from built executable
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
esptool v5.1.0
Creating ESP32C3 image...
Merged 1 ELF section.
Successfully created ESP32C3 image.
Generated /home/pi/lighting-controller/esp32/build/spi_slave.bin
[9/9] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd380 bytes. Smallest app partition is 0x100000 bytes. 0x42c80 bytes (26%) free.

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1 @@
Command: ninja flash

View File

@@ -0,0 +1,51 @@
Command: ninja flash
[1/5] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd380 bytes. Smallest app partition is 0x100000 bytes. 0x42c80 bytes (26%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting...
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (428.0 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (506.7 kbit/s).
Hash of data verified.
Compressed 775040 bytes to 451575...

View File

@@ -0,0 +1,34 @@
Command: ninja flash
[1/10] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[2/10] No install step for 'bootloader'
[3/10] Completed 'bootloader'
[4/10] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
[5/10] Linking C static library esp-idf/main/libmain.a
[6/10] Generating esp-idf/esp_system/ld/sections.ld
[7/10] Linking CXX executable spi_slave.elf
[8/10] Generating binary image from built executable
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
esptool v5.1.0
Creating ESP32C3 image...
Merged 1 ELF section.
Successfully created ESP32C3 image.
Generated /home/pi/lighting-controller/esp32/build/spi_slave.bin
[9/10] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd440 bytes. Smallest app partition is 0x100000 bytes. 0x42bc0 bytes (26%) free.
[9/10] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
FAILED: CMakeFiles/flash.util
cd /home/pi/lighting-controller/esp32 && /usr/bin/cmake -D IDF_PATH=/home/pi/esp/esp-idf -D "SERIAL_TOOL=/home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python;;/home/pi/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32c3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/home/pi/lighting-controller/esp32/build -P /home/pi/esp/esp-idf/components/esptool_py/run_serial_tool.cmake
ninja: build stopped: subcommand failed.

View File

@@ -0,0 +1,8 @@
Command: ninja all
[1/4] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd440 bytes. Smallest app partition is 0x100000 bytes. 0x42bc0 bytes (26%) free.
[2/4] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/4] No install step for 'bootloader'
[4/4] Completed 'bootloader'

View File

@@ -0,0 +1,51 @@
Command: ninja flash
[1/5] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd440 bytes. Smallest app partition is 0x100000 bytes. 0x42bc0 bytes (26%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting....
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (425.2 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (538.4 kbit/s).
Hash of data verified.
Compressed 775232 bytes to 451736...

View File

@@ -0,0 +1,21 @@
Command: ninja all
[1/9] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[2/9] No install step for 'bootloader'
[3/9] Completed 'bootloader'
[4/9] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
[5/9] Linking C static library esp-idf/main/libmain.a
[6/9] Generating esp-idf/esp_system/ld/sections.ld
[7/9] Linking CXX executable spi_slave.elf
[8/9] Generating binary image from built executable
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
esptool v5.1.0
Creating ESP32C3 image...
Merged 1 ELF section.
Successfully created ESP32C3 image.
Generated /home/pi/lighting-controller/esp32/build/spi_slave.bin
[9/9] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd440 bytes. Smallest app partition is 0x100000 bytes. 0x42bc0 bytes (26%) free.

View File

@@ -0,0 +1,51 @@
Command: ninja flash
[1/5] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd440 bytes. Smallest app partition is 0x100000 bytes. 0x42bc0 bytes (26%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting...
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (433.2 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (457.8 kbit/s).
Hash of data verified.
Compressed 775232 bytes to 451736...

View File

@@ -0,0 +1,64 @@
Command: ninja flash
[1/10] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[2/10] No install step for 'bootloader'
[3/10] Completed 'bootloader'
[4/10] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
[5/10] Linking C static library esp-idf/main/libmain.a
[6/10] Generating esp-idf/esp_system/ld/sections.ld
[7/10] Linking CXX executable spi_slave.elf
[8/10] Generating binary image from built executable
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
esptool v5.1.0
Creating ESP32C3 image...
Merged 1 ELF section.
Successfully created ESP32C3 image.
Generated /home/pi/lighting-controller/esp32/build/spi_slave.bin
[9/10] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd910 bytes. Smallest app partition is 0x100000 bytes. 0x426f0 bytes (26%) free.
[9/10] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting...
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (424.9 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (516.1 kbit/s).
Hash of data verified.
Compressed 776464 bytes to 452473...

View File

@@ -0,0 +1,127 @@
Command: /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyACM0 -b 460800 --toolchain-prefix riscv32-esp-elf- --target esp32c3 --revision 3 --decode-panic backtrace /home/pi/lighting-controller/esp32/build/spi_slave.elf /home/pi/lighting-controller/esp32/build/bootloader/bootloader.elf -m '/home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python' '/home/pi/esp/esp-idf/tools/idf.py' '-p' '/dev/ttyACM0' '-b' '460800'
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40383f16
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5830,len:0x15c4
load:0x403cbf10,len:0xc6c
load:0x403ce710,len:0x2fc4
entry 0x403cbf1a
I (24) boot: ESP-IDF v6.0-dev-2594-g25c40d4563 2nd stage bootloader
I (24) boot: compile time Oct 1 2025 19:47:28
I (25) boot: chip revision: v0.4
I (26) boot: efuse block revision: v1.3
I (30) boot.esp32c3: SPI Speed : 80MHz
I (34) boot.esp32c3: SPI Mode : DIO
I (37) boot.esp32c3: SPI Flash Size : 2MB
I (41) boot: Enabling RNG early entropy source...
I (45) boot: Partition Table:
I (48) boot: ## Label Usage Type ST Offset Length
I (54) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (61) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (67) boot: 2 factory factory app 00 00 00010000 00100000
I (74) boot: End of partition table
I (77) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=18d14h (101652) map
I (101) esp_image: segment 1: paddr=00028d3c vaddr=3fc92200 size=0303ch ( 12348) load
I (103) esp_image: segment 2: paddr=0002bd80 vaddr=40380000 size=04298h ( 17048) load
I (108) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=8fa70h (588400) map
I (204) esp_image: segment 4: paddr=000bfa98 vaddr=40384298 size=0de2ch ( 56876) load
I (215) esp_image: segment 5: paddr=000cd8cc vaddr=50000000 size=00020h ( 32) load
I (220) boot: Loaded app from partition at offset 0x10000
I (220) boot: Disabling RNG early entropy source...
I (232) cpu_start: Unicore app
I (240) cpu_start: GPIO 20 and 21 are used as console UART I/O pins
I (241) cpu_start: Pro cpu start user code
I (241) cpu_start: cpu freq: 160000000 Hz
I (243) app_init: Application information:
I (246) app_init: Project name: spi_slave
I (250) app_init: App version: 1844a2e-dirty
I (255) app_init: Compile time: Oct 1 2025 22:00:17
I (260) app_init: ELF file SHA256: 823bc384e...
I (264) app_init: ESP-IDF: v6.0-dev-2594-g25c40d4563
I (270) efuse_init: Min chip rev: v0.3
I (274) efuse_init: Max chip rev: v1.99 
I (277) efuse_init: Chip rev: v0.4
I (281) heap_init: Initializing. RAM available for dynamic allocation:
I (288) heap_init: At 3FC99790 len 00026870 (154 KiB): RAM
I (293) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM
I (299) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM
I (305) heap_init: At 50000020 len 00001FC8 (7 KiB): RTCRAM
I (311) spi_flash: detected chip: generic
I (314) spi_flash: flash io: dio
W (317) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (330) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (335) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (342) main_task: Started on CPU0
I (342) main_task: Calling app_main()
I (342) SPI_SLAVE: Starting SPI Slave with ESP-NOW example
I (352) pp: pp rom version: 9387209
I (352) net80211: net80211 rom version: 9387209
I (362) wifi:wifi driver task: 3fca1dec, prio:23, stack:6656, core=0
I (362) wifi:wifi firmware version: bfadac0
I (362) wifi:wifi certification version: v7.0
I (372) wifi:config NVS flash: enabled
I (372) wifi:config nano formatting: disabled
I (382) wifi:Init data frame dynamic rx buffer num: 32
I (382) wifi:Init static rx mgmt buffer num: 5
I (382) wifi:Init management short buffer num: 32
I (392) wifi:Init dynamic tx buffer num: 32
I (392) wifi:Init static tx FG buffer num: 2
I (402) wifi:Init static rx buffer size: 1600
I (402) wifi:Init static rx buffer num: 10
I (402) wifi:Init dynamic rx buffer num: 32
I (412) wifi_init: rx ba win: 6
I (412) wifi_init: accept mbox: 6
I (412) wifi_init: tcpip mbox: 32
I (422) wifi_init: udp mbox: 6
I (422) wifi_init: tcp mbox: 6
I (422) wifi_init: tcp tx win: 5760
I (432) wifi_init: tcp rx win: 5760
I (432) wifi_init: tcp mss: 1440
I (432) wifi_init: WiFi IRAM OP enabled
I (442) wifi_init: WiFi RX IRAM OP enabled
I (442) phy_init: phy_version 1201,bae5dd99,Mar 3 2025,15:36:21
I (482) wifi:mode : sta (58:8c:81:a1:6d:20)
I (482) wifi:enable tsf
I (492) wifi:Set ps type: 0, coexist: 0
I (492) ESPNOW: espnow [version: 2.0] init
I (492) SPI_SLAVE: ESP-NOW initialized successfully
I (492) SPI_SLAVE: SPI Slave initialized successfully
I (502) SPI_SLAVE: MOSI: GPIO10, MISO: GPIO9, SCLK: GPIO8, CS: GPIO7
I (14512) SPI_SLAVE: Received 62 bytes:
0x7b 0x22 0x64 0x22 0x3a 0x7b 0x22 0x74 0x22 0x3a 0x22 0x62 0x22 0x2c 0x22 0x70
0x74 0x22 0x3a 0x22 0x6f 0x6e 0x22 0x2c 0x22 0x63 0x6c 0x22 0x3a 0x5b 0x22 0x23
I (14522) SPI_SLAVE: SPI RX (len=62): {"d":{"t":"b","pt":"on","cl":["#ff0000","#00ff00","#0000ff"]}}
I (14532) SPI_SLAVE: Broadcasting 62 bytes via ESP-NOW
I (14532) SPI_SLAVE: ESP-NOW send status: SUCCESS
I (35422) SPI_SLAVE: Received 62 bytes:
0x7b 0x22 0x64 0x22 0x3a 0x7b 0x22 0x74 0x22 0x3a 0x22 0x62 0x22 0x2c 0x22 0x70
0x74 0x22 0x3a 0x22 0x6f 0x6e 0x22 0x2c 0x22 0x63 0x6c 0x22 0x3a 0x5b 0x22 0x23
I (35432) SPI_SLAVE: SPI RX (len=62): {"d":{"t":"b","pt":"on","cl":["#ff0000","#00ff00","#0000ff"]}}
I (35442) SPI_SLAVE: Broadcasting 62 bytes via ESP-NOW
I (35442) SPI_SLAVE: ESP-NOW send status: SUCCESS
I (71542) SPI_SLAVE: Received 62 bytes:
0x7b 0x22 0x64 0x22 0x3a 0x7b 0x22 0x74 0x22 0x3a 0x22 0x62 0x22 0x2c 0x22 0x70
0x74 0x22 0x3a 0x22 0x6f 0x6e 0x22 0x2c 0x22 0x63 0x6c 0x22 0x3a 0x5b 0x22 0x23
I (71552) SPI_SLAVE: SPI RX (len=62): {"d":{"t":"b","pt":"on","cl":["#ff0000","#00ff00","#0000ff"]}}
I (71562) SPI_SLAVE: Broadcasting 62 bytes via ESP-NOW
I (71562) SPI_SLAVE: ESP-NOW send status: SUCCESS
I (158342) SPI_SLAVE: Received 62 bytes:
0x7b 0x22 0x64 0x22 0x3a 0x7b 0x22 0x74 0x22 0x3a 0x22 0x62 0x22 0x2c 0x22 0x70
0x74 0x22 0x3a 0x22 0x6f 0x6e 0x22 0x2c 0x22 0x63 0x6c 0x22 0x3a 0x5b 0x5b 0x32
I (158352) SPI_SLAVE: SPI RX (len=62): {"d":{"t":"b","pt":"on","cl":[[255,0,0],[0,255,0],[0,0,255]]}}
I (158362) SPI_SLAVE: Broadcasting 62 bytes via ESP-NOW
I (158362) SPI_SLAVE: ESP-NOW send status: SUCCESS
I (167062) SPI_SLAVE: Received 62 bytes:
0x7b 0x22 0x64 0x22 0x3a 0x7b 0x22 0x74 0x22 0x3a 0x22 0x62 0x22 0x2c 0x22 0x70
0x74 0x22 0x3a 0x22 0x6f 0x6e 0x22 0x2c 0x22 0x63 0x6c 0x22 0x3a 0x5b 0x5b 0x32
I (167072) SPI_SLAVE: SPI RX (len=62): {"d":{"t":"b","pt":"on","cl":[[255,0,0],[0,255,0],[0,0,255]]}}
I (167082) SPI_SLAVE: Broadcasting 62 bytes via

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,21 @@
Command: ninja all
[1/9] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[2/9] No install step for 'bootloader'
[3/9] Completed 'bootloader'
[4/9] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
[5/9] Linking C static library esp-idf/main/libmain.a
[6/9] Generating esp-idf/esp_system/ld/sections.ld
[7/9] Linking CXX executable spi_slave.elf
[8/9] Generating binary image from built executable
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
esptool v5.1.0
Creating ESP32C3 image...
Merged 1 ELF section.
Successfully created ESP32C3 image.
Generated /home/pi/lighting-controller/esp32/build/spi_slave.bin
[9/9] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd440 bytes. Smallest app partition is 0x100000 bytes. 0x42bc0 bytes (26%) free.

View File

@@ -0,0 +1,51 @@
Command: ninja flash
[1/5] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd440 bytes. Smallest app partition is 0x100000 bytes. 0x42bc0 bytes (26%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting....
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (417.7 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (522.9 kbit/s).
Hash of data verified.
Compressed 775232 bytes to 451735...

View File

@@ -0,0 +1,120 @@
Command: /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyACM0 -b 115200 --toolchain-prefix riscv32-esp-elf- --target esp32c3 --revision 3 --decode-panic backtrace /home/pi/lighting-controller/esp32/build/spi_slave.elf /home/pi/lighting-controller/esp32/build/bootloader/bootloader.elf -m '/home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python' '/home/pi/esp/esp-idf/tools/idf.py' '-p' '/dev/ttyACM0'
I (108) esp_image: segment 3: paddr=00030020 vaddr=42000020 sizeESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40383f16
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5830,len:0x15c4
load:0x403cbf10,len:0xc6c
load:0x403ce710,len:0x2fc4
entry 0x403cbf1a
I (24) boot: ESP-IDF v6.0-dev-2594-g25c40d4563 2nd stage bootloader
I (24) boot: compile time Oct 1 2025 19:47:28
I (25) boot: chip revision: v0.4
I (26) boot: efuse block revision: v1.3
I (30) boot.esp32c3: SPI Speed : 80MHz
I (34) boot.esp32c3: SPI Mode : DIO
I (37) boot.esp32c3: SPI Flash Size : 2MB
I (41) boot: Enabling RNG early entropy source...
I (45) boot: Partition Table:
I (48) boot: ## Label Usage Type ST Offset Length
I (54) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (61) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (67) boot: 2 factory factory app 00 00 00010000 00100000
I (74) boot: End of partition table
I (77) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=18bf8h (101368) map
I (101) esp_image: segment 1: paddr=00028c20 vaddr=3fc92200 size=0303ch ( 12348) load
I (103) esp_image: segment 2: paddr=0002bc64 vaddr=40380000 size=043b4h ( 17332) load
I (108) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=8f6b4h (587444) map
I (204) esp_image: segment 4: paddr=000bf6dc vaddr=403843b4 size=0dd10h ( 56592) load
I (214) esp_image: segment 5: paddr=000cd3f4 vaddr=50000000 size=00020h ( 32) load
I (220) boot: Loaded app from partition at offset 0x10000
I (220) boot: Disabling RNG early entropy source...
I (232) cpu_start: Unicore app
I (240) cpu_start: GPIO 20 and 21 are used as console UART I/O pins
I (240) cpu_start: Pro cpu start user code
I (240) cpu_start: cpu freq: 160000000 Hz
I (242) app_init: Application information:
I (246) app_init: Project name: spi_slave
I (250) app_init: App version: 1844a2e-dirty
I (255) app_init: Compile time: Oct 1 2025 22:00:17
I (260) app_init: ELF file SHA256: bc5ed9962...
I (264) app_init: ESP-IDF: v6.0-dev-2594-g25c40d4563
I (269) efuse_init: Min chip rev: v0.3
I (273) efuse_init: Max chip rev: v1.99 
I (277) efuse_init: Chip rev: v0.4
I (281) heap_init: Initializing. RAM available for dynamic allocation:
I (287) heap_init: At 3FC99790 len 00026870 (154 KiB): RAM
I (293) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM
I (299) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM
I (305) heap_init: At 50000020 len 00001FC8 (7 KiB): RTCRAM
I (311) spi_flash: detected chip: generic
I (314) spi_flash: flash io: dio
W (317) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (329) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (335) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (342) main_task: Started on CPU0
I (342) main_task: Calling app_main()
I (342) SPI_SLAVE: Starting SPI Slave with ESP-NOW example
I (352) pp: pp rom version: 9387209
I (352) net80211: net80211 rom version: 9387209
I (362) wifi:wifi driver task: 3fca1dec, prio:23, stack:6656, core=0
I (362) wifi:wifi firmware version: bfadac0
I (362) wifi:wifi certification version: v7.0
I (372) wifi:config NVS flash: enabled
I (372) wifi:config nano formatting: disabled
I (382) wifi:Init data frame dynamic rx buffer num: 32
I (382) wifi:Init static rx mgmt buffer num: 5
I (382) wifi:Init management short buffer num: 32
I (392) wifi:Init dynamic tx buffer num: 32
I (392) wifi:Init static tx FG buffer num: 2
I (402) wifi:Init static rx buffer size: 1600
I (402) wifi:Init static rx buffer num: 10
I (402) wifi:Init dynamic rx buffer num: 32
I (412) wifi_init: rx ba win: 6
I (412) wifi_init: accept mbox: 6
I (412) wifi_init: tcpip mbox: 32
I (422) wifi_init: udp mbox: 6
I (422) wifi_init: tcp mbox: 6
I (422) wifi_init: tcp tx win: 5760
I (432) wifi_init: tcp rx win: 5760
I (432) wifi_init: tcp mss: 1440
I (432) wifi_init: WiFi IRAM OP enabled
I (442) wifi_init: WiFi RX IRAM OP enabled
I (442) phy_init: phy_version 1201,bae5dd99,Mar 3 2025,15:36:21
I (482) wifi:mode : sta (58:8c:81:a1:6d:20)
I (482) wifi:enable tsf
I (482) ESPNOW: espnow [version: 2.0] init
I (482) SPI_SLAVE: ESP-NOW initialized successfully
I (492) SPI_SLAVE: SPI Slave initialized successfully
I (492) SPI_SLAVE: MOSI: GPIO10, MISO: GPIO9, SCLK: GPIO8, CS: GPIO7
I (5702) SPI_SLAVE: Received 25 bytes:
0x7b 0x22 0x64 0x22 0x3a 0x7b 0x22 0x74 0x22 0x3a 0x22 0x62 0x22 0x2c 0x22 0x70
0x74 0x22 0x3a 0x22 0x6f 0x6e 0x22 0x7d 0x7d
I (5702) SPI_SLAVE: SPI RX (len=25): {"d":{"t":"b","pt":"on"}}
I (5712) SPI_SLAVE: Broadcasting 25 bytes via ESP-NOW
I (5712) SPI_SLAVE: ESP-NOW send status: SUCCESS
I (265682) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (268802) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (269892) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (270502) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (271122) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (271752) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (272362) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (274992) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (275542) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (275902) SPI_SLAVE: ESP-NOW received 134 bytes from 58:8c:81:a0:d6:c4
I (277372) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277482) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277492) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277592) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277602) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277702) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277712) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277802) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277822) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277922) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277932) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
I (277942) SPI_SLAVE: ESP-NOW received 64 bytes from 58:8c:81:a0:d6:c4
[0;32

View File

@@ -1,7 +1,7 @@
{
"version": "1.2",
"project_name": "spi_slave",
"project_version": "ddbf4a0",
"project_version": "1844a2e-dirty",
"project_path": "/home/pi/lighting-controller/esp32",
"idf_path": "/home/pi/esp/esp-idf",
"build_dir": "/home/pi/lighting-controller/esp32/build",

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -17,7 +17,7 @@ static const char *TAG = "SPI_SLAVE";
#define SPI_SLAVE_HOST SPI2_HOST
#define SPI_SLAVE_MOSI 10
#define SPI_SLAVE_MISO 9
#define SPI_SLAVE_SCLK 20
#define SPI_SLAVE_SCLK 8
#define SPI_SLAVE_CS 7
#define SPI_SLAVE_DMA_CHAN SPI_DMA_CH_AUTO
@@ -75,6 +75,7 @@ static esp_err_t espnow_init(void)
ESP_ERROR_CHECK(esp_wifi_set_storage(WIFI_STORAGE_RAM));
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA));
ESP_ERROR_CHECK(esp_wifi_start());
// Keep defaults (no explicit channel pinning) and no power-save changes
// Initialize ESP-NOW
ESP_ERROR_CHECK(esp_now_init());
@@ -85,6 +86,7 @@ static esp_err_t espnow_init(void)
esp_now_peer_info_t peer;
memset(&peer, 0, sizeof(esp_now_peer_info_t));
memcpy(peer.peer_addr, broadcast_mac, ESP_NOW_ETH_ALEN);
// Use 0 so ESP-NOW uses the current primary channel (default behavior)
peer.channel = 0;
peer.ifidx = WIFI_IF_STA;
peer.encrypt = false;
@@ -180,8 +182,15 @@ void app_main(void)
}
if (received_bytes % 16 != 0) printf("\n");
// Broadcast received data via ESP-NOW
// Log received payload as UTF-8 string (for JSON visibility), then broadcast as-is
if (received_bytes > 0) {
{
uint8_t to_copy = received_bytes > ESPNOW_MAX_PAYLOAD ? ESPNOW_MAX_PAYLOAD : received_bytes;
char json_buf[ESPNOW_MAX_PAYLOAD + 1];
memcpy(json_buf, recvbuf, to_copy);
json_buf[to_copy] = '\0';
ESP_LOGI(TAG, "SPI RX (len=%d): %s", received_bytes, json_buf);
}
broadcast_spi_data(recvbuf, received_bytes);
}