This commit is contained in:
2025-07-31 01:19:09 -04:00
parent 87a9c368dc
commit 46935660a0
17 changed files with 7182 additions and 8906 deletions

View File

@@ -1 +1 @@
2ed357b0b6fceef23b4f238be2712d41 C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/espnow_transmitter.bin
187442703f933b656a79553291fcf059 C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/espnow_transmitter.bin

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
9d47b6953d50b7e6916bf89c7fb3d1e17c64f67d
87a9c368dc55acc265d83ffa89ff551233be665c

View File

@@ -103,3 +103,9 @@
15415 16086 7756399542786688 C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/bootloader/.bin_timestamp 448cc3d351efb4ad
16087 16333 7756399542933259 esp-idf/esptool_py/CMakeFiles/bootloader_check_size e2b83983896ccca6
16087 16333 7756399542933259 C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size e2b83983896ccca6
46 270 7756416046104519 esp-idf/esptool_py/CMakeFiles/bootloader_check_size e2b83983896ccca6
46 270 7756416046104519 C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size e2b83983896ccca6
60 271 7756422300398318 esp-idf/esptool_py/CMakeFiles/bootloader_check_size e2b83983896ccca6
60 271 7756422300398318 C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size e2b83983896ccca6
51 340 7756423355753593 esp-idf/esptool_py/CMakeFiles/bootloader_check_size e2b83983896ccca6
51 340 7756423355753593 C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size e2b83983896ccca6

File diff suppressed because one or more lines are too long

View File

@@ -907,7 +907,7 @@
},
{
"directory": "C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build",
"command": "C:\\Users\\alex\\esp\\tools\\riscv32-esp-elf\\esp-14.2.0_20241119\\riscv32-esp-elf\\bin\\riscv32-esp-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\\\"v5.4\\\" -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=\\\"espnow_transmitter\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-8906-g9d\\\" -IC:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/config -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_app_format/include -IC:/Users/alex/esp/v5.4/esp-idf/components/newlib/platform_include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/config/include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/config/include/freertos -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/config/riscv/include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/esp_additions/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/include/soc -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/include/soc/esp32c3 -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/dma/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/ldo/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/debug_probe/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/port/esp32c3/. -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/port/esp32c3/include -IC:/Users/alex/esp/v5.4/esp-idf/components/heap/include -IC:/Users/alex/esp/v5.4/esp-idf/components/heap/tlsf -IC:/Users/alex/esp/v5.4/esp-idf/components/log/include -IC:/Users/alex/esp/v5.4/esp-idf/components/soc/include -IC:/Users/alex/esp/v5.4/esp-idf/components/soc/esp32c3 -IC:/Users/alex/esp/v5.4/esp-idf/components/soc/esp32c3/include -IC:/Users/alex/esp/v5.4/esp-idf/components/soc/esp32c3/register -IC:/Users/alex/esp/v5.4/esp-idf/components/hal/platform_port/include -IC:/Users/alex/esp/v5.4/esp-idf/components/hal/esp32c3/include -IC:/Users/alex/esp/v5.4/esp-idf/components/hal/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_rom/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_rom/esp32c3/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_rom/esp32c3 -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_common/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_system/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_system/port/soc -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_system/port/include/riscv -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_system/port/include/private -IC:/Users/alex/esp/v5.4/esp-idf/components/riscv/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/include/apps -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/include/apps/sntp -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/lwip/src/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/freertos/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include/arch -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include/sys -march=rv32imc_zicsr_zifencei -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter=. -fmacro-prefix-map=C:/Users/alex/esp/v5.4/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -o esp-idf\\esp_app_format\\CMakeFiles\\__idf_esp_app_format.dir\\esp_app_desc.c.obj -c C:\\Users\\alex\\esp\\v5.4\\esp-idf\\components\\esp_app_format\\esp_app_desc.c",
"command": "C:\\Users\\alex\\esp\\tools\\riscv32-esp-elf\\esp-14.2.0_20241119\\riscv32-esp-elf\\bin\\riscv32-esp-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\\\"v5.4\\\" -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=\\\"espnow_transmitter\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-8907-g87\\\" -IC:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/config -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_app_format/include -IC:/Users/alex/esp/v5.4/esp-idf/components/newlib/platform_include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/config/include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/config/include/freertos -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/config/riscv/include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -IC:/Users/alex/esp/v5.4/esp-idf/components/freertos/esp_additions/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/include/soc -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/include/soc/esp32c3 -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/dma/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/ldo/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/debug_probe/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/port/esp32c3/. -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_hw_support/port/esp32c3/include -IC:/Users/alex/esp/v5.4/esp-idf/components/heap/include -IC:/Users/alex/esp/v5.4/esp-idf/components/heap/tlsf -IC:/Users/alex/esp/v5.4/esp-idf/components/log/include -IC:/Users/alex/esp/v5.4/esp-idf/components/soc/include -IC:/Users/alex/esp/v5.4/esp-idf/components/soc/esp32c3 -IC:/Users/alex/esp/v5.4/esp-idf/components/soc/esp32c3/include -IC:/Users/alex/esp/v5.4/esp-idf/components/soc/esp32c3/register -IC:/Users/alex/esp/v5.4/esp-idf/components/hal/platform_port/include -IC:/Users/alex/esp/v5.4/esp-idf/components/hal/esp32c3/include -IC:/Users/alex/esp/v5.4/esp-idf/components/hal/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_rom/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_rom/esp32c3/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_rom/esp32c3 -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_common/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_system/include -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_system/port/soc -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_system/port/include/riscv -IC:/Users/alex/esp/v5.4/esp-idf/components/esp_system/port/include/private -IC:/Users/alex/esp/v5.4/esp-idf/components/riscv/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/include/apps -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/include/apps/sntp -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/lwip/src/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/freertos/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include/arch -IC:/Users/alex/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include/sys -march=rv32imc_zicsr_zifencei -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter=. -fmacro-prefix-map=C:/Users/alex/esp/v5.4/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -o esp-idf\\esp_app_format\\CMakeFiles\\__idf_esp_app_format.dir\\esp_app_desc.c.obj -c C:\\Users\\alex\\esp\\v5.4\\esp-idf\\components\\esp_app_format\\esp_app_desc.c",
"file": "C:\\Users\\alex\\esp\\v5.4\\esp-idf\\components\\esp_app_format\\esp_app_desc.c",
"output": "esp-idf\\esp_app_format\\CMakeFiles\\__idf_esp_app_format.dir\\esp_app_desc.c.obj"
},

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"version": "1.1",
"project_name": "espnow_transmitter",
"project_version": "ESP32-Node_Switch-v2.7-8906-g9d47b6953-dirty",
"project_version": "ESP32-Node_Switch-v2.7-8907-g87a9c368d-dirty",
"project_path": "C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter",
"idf_path": "C:/Users/alex/esp/v5.4/esp-idf",
"build_dir": "C:/Users/alex/github/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build",

View File

@@ -112,14 +112,16 @@ static void sendData (void)
receiver_mac[3], receiver_mac[4], receiver_mac[5]);
deletePeer();
vTaskDelay(pdMS_TO_TICKS(5000));
//vTaskDelay(pdMS_TO_TICKS(5000));
/*if (espnow_channel < 11) {
espnow_channel++;
} else {
espnow_channel = 1;
}*/
ESP_LOGI(TAG, "Channel is set at %d", espnow_channel);
transmission_init();
//ESP_LOGI(TAG, "Channel is set at %d", espnow_channel);
//transmission_init();
}
}
@@ -215,7 +217,16 @@ static void rc_send_data_task()
if (esp_now_is_peer_exist((uint8_t*)receiver_mac)) {
sendData();
}
vTaskDelay (100 / portTICK_PERIOD_MS);
vTaskDelay (1000 / portTICK_PERIOD_MS);
}
}
static void rc_display_data_task()
{
while (true) {
joystick_show_raw_xy();
ESP_LOGI(TAG, "Channel is set at %d", espnow_channel);
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}
@@ -240,4 +251,6 @@ void transmission_init()
// Defince a task for periodically sending ESPNOW remote control data
xTaskCreate(rc_send_data_task, "RC", 2048, NULL, 4, NULL);
xTaskCreate(rc_display_data_task, "RC Display", 2048, NULL, 5, NULL);
}