ESP32-Console

This commit is contained in:
2025-01-15 21:18:42 -05:00
parent bd1a98b530
commit 916cc11f8b
16 changed files with 1934 additions and 2044 deletions

View File

@@ -1 +1 @@
ad6fe99488fd9a6999e11cb50f0b6f10 /home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build/ESP32-Console.bin
15079ddbf82e6bcabd3e2e5c430de318 /home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build/ESP32-Console.bin

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
8069229819161223e0e553a85659ef275538bc48
bd1a98b5300a706339029d37daf4d4cff884c904

File diff suppressed because it is too large Load Diff

View File

@@ -151,3 +151,5 @@
14 145 1736978674983587196 /home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 236dc827463ebff0
16 224 1736978764938584446 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 236dc827463ebff0
16 224 1736978764938584446 /home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 236dc827463ebff0
22 142 1736993805177234228 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 236dc827463ebff0
22 142 1736993805177234228 /home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 236dc827463ebff0

View File

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

View File

@@ -907,7 +907,7 @@
},
{
"directory": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build",
"command": "/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\\\"v5.3.2-dirty\\\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -D PROJECT_NAME=\\\"ESP32-Console\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-3894-g80\\\" -I/home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build/config -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_app_format/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/newlib/platform_include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/config/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/config/include/freertos -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/config/riscv/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/esp_additions/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/include/soc -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/dma/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/ldo/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/heap/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/log/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/soc/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/soc/esp32c3 -I/home/abobkov/esp/v5.3.2/esp-idf/components/soc/esp32c3/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/hal/platform_port/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/hal/esp32c3/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/hal/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_rom/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_rom/include/esp32c3 -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_rom/esp32c3 -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_common/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_system/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_system/port/soc -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_system/port/include/riscv -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_system/port/include/private -I/home/abobkov/esp/v5.3.2/esp-idf/components/riscv/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/include/apps -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/include/apps/sntp -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/lwip/src/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/port/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/port/freertos/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/port/esp32xx/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/abobkov/esp/v5.3.2/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-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/abobkov/MyProjects/ESP-Nodes/ESP32-Console=. -fmacro-prefix-map=/home/abobkov/esp/v5.3.2/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -o esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -c /home/abobkov/esp/v5.3.2/esp-idf/components/esp_app_format/esp_app_desc.c",
"command": "/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\\\"v5.3.2-dirty\\\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -D PROJECT_NAME=\\\"ESP32-Console\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-3895-gbd\\\" -I/home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build/config -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_app_format/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/newlib/platform_include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/config/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/config/include/freertos -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/config/riscv/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/abobkov/esp/v5.3.2/esp-idf/components/freertos/esp_additions/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/include/soc -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/dma/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/ldo/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/heap/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/log/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/soc/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/soc/esp32c3 -I/home/abobkov/esp/v5.3.2/esp-idf/components/soc/esp32c3/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/hal/platform_port/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/hal/esp32c3/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/hal/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_rom/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_rom/include/esp32c3 -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_rom/esp32c3 -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_common/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_system/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_system/port/soc -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_system/port/include/riscv -I/home/abobkov/esp/v5.3.2/esp-idf/components/esp_system/port/include/private -I/home/abobkov/esp/v5.3.2/esp-idf/components/riscv/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/include/apps -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/include/apps/sntp -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/lwip/src/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/port/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/port/freertos/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/port/esp32xx/include -I/home/abobkov/esp/v5.3.2/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/abobkov/esp/v5.3.2/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-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/abobkov/MyProjects/ESP-Nodes/ESP32-Console=. -fmacro-prefix-map=/home/abobkov/esp/v5.3.2/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -o esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -c /home/abobkov/esp/v5.3.2/esp-idf/components/esp_app_format/esp_app_desc.c",
"file": "/home/abobkov/esp/v5.3.2/esp-idf/components/esp_app_format/esp_app_desc.c",
"output": "esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj"
},

View File

@@ -1,7 +1,7 @@
{
"version": "1.1",
"project_name": "ESP32-Console",
"project_version": "ESP32-Node_Switch-v2.7-3894-g806922981-dirty",
"project_version": "ESP32-Node_Switch-v2.7-3895-gbd1a98b53-dirty",
"project_path": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-Console",
"idf_path": "/home/abobkov/esp/v5.3.2/esp-idf",
"build_dir": "/home/abobkov/MyProjects/ESP-Nodes/ESP32-Console/build",

View File

@@ -34,6 +34,7 @@ static int exec_gpio_get_cmd(int argc, char **argv) {
int pin = gpio_get_args.gpio->ival;
printf("GPIO: %d \n", pin);
ESP_LOGI("gpio-get", "GPIO # %i", gpio_get_args.gpio->ival[0]);
ESP_LOGI("gpio-get", "GPIO # %i", gpio_get_args.gpio->ival[1]);
gpio_dump_io_configuration(stdout, 1ULL << 4);//gpio_get_args.gpio->ival[0]);
s = 0;
}
@@ -43,7 +44,7 @@ static int exec_gpio_get_cmd(int argc, char **argv) {
static void register_gpio_get_cmd (void) {
gpio_get_args.gpio = arg_int0("p", "pin", "<pin>", "Specifies GPIO to be used.");
gpio_get_args.gpio = arg_int1("p", "pin", "<pin>", "Specifies GPIO to be used.");
gpio_get_args.end = arg_end(2);
const esp_console_cmd_t gpio_get_cmd = {
.command = "gpio-get",