This commit is contained in:
2025-01-05 20:57:34 -05:00
parent faca69a70a
commit 6e1c096ce6
10 changed files with 904 additions and 2651 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
82a6a044ff5a6c766c9e60ba65321d46fc1286b0
faca69a70ab88dad9fbadf687ff945f8803f5b06

View File

@@ -101,3 +101,5 @@
3445 3596 1736128454193936073 /home/alex/github/ESP-Nodes/ESP-IDF_Robot_RC/build/bootloader/.bin_timestamp 8ce6fe788a44ea4c
3596 3648 1736128454194936080 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 1a91bfe0127b9606
3596 3648 1736128454194936080 /home/alex/github/ESP-Nodes/ESP-IDF_Robot_RC/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 1a91bfe0127b9606
8 60 1736128650523229103 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 1a91bfe0127b9606
8 60 1736128650523229103 /home/alex/github/ESP-Nodes/ESP-IDF_Robot_RC/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 1a91bfe0127b9606

File diff suppressed because one or more lines are too long

View File

@@ -907,7 +907,7 @@
},
{
"directory": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot_RC/build",
"command": "/home/alex/.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=\\\"ESP-IDF_Robot_RC\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-3109-g82\\\" -I/home/alex/github/ESP-Nodes/ESP-IDF_Robot_RC/build/config -I/home/alex/esp/v5.3.2/esp-idf/components/esp_app_format/include -I/home/alex/esp/v5.3.2/esp-idf/components/newlib/platform_include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/config/include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/config/include/freertos -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/config/riscv/include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/esp_additions/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/include/soc -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/dma/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/ldo/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/alex/esp/v5.3.2/esp-idf/components/heap/include -I/home/alex/esp/v5.3.2/esp-idf/components/log/include -I/home/alex/esp/v5.3.2/esp-idf/components/soc/include -I/home/alex/esp/v5.3.2/esp-idf/components/soc/esp32c3 -I/home/alex/esp/v5.3.2/esp-idf/components/soc/esp32c3/include -I/home/alex/esp/v5.3.2/esp-idf/components/hal/platform_port/include -I/home/alex/esp/v5.3.2/esp-idf/components/hal/esp32c3/include -I/home/alex/esp/v5.3.2/esp-idf/components/hal/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_rom/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_rom/include/esp32c3 -I/home/alex/esp/v5.3.2/esp-idf/components/esp_rom/esp32c3 -I/home/alex/esp/v5.3.2/esp-idf/components/esp_common/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_system/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_system/port/soc -I/home/alex/esp/v5.3.2/esp-idf/components/esp_system/port/include/riscv -I/home/alex/esp/v5.3.2/esp-idf/components/esp_system/port/include/private -I/home/alex/esp/v5.3.2/esp-idf/components/riscv/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/include/apps -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/include/apps/sntp -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/lwip/src/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/port/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/port/freertos/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/port/esp32xx/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/alex/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/alex/github/ESP-Nodes/ESP-IDF_Robot_RC=. -fmacro-prefix-map=/home/alex/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/alex/esp/v5.3.2/esp-idf/components/esp_app_format/esp_app_desc.c",
"command": "/home/alex/.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=\\\"ESP-IDF_Robot_RC\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-3115-gfa\\\" -I/home/alex/github/ESP-Nodes/ESP-IDF_Robot_RC/build/config -I/home/alex/esp/v5.3.2/esp-idf/components/esp_app_format/include -I/home/alex/esp/v5.3.2/esp-idf/components/newlib/platform_include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/config/include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/config/include/freertos -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/config/riscv/include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/alex/esp/v5.3.2/esp-idf/components/freertos/esp_additions/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/include/soc -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/dma/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/ldo/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/alex/esp/v5.3.2/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/alex/esp/v5.3.2/esp-idf/components/heap/include -I/home/alex/esp/v5.3.2/esp-idf/components/log/include -I/home/alex/esp/v5.3.2/esp-idf/components/soc/include -I/home/alex/esp/v5.3.2/esp-idf/components/soc/esp32c3 -I/home/alex/esp/v5.3.2/esp-idf/components/soc/esp32c3/include -I/home/alex/esp/v5.3.2/esp-idf/components/hal/platform_port/include -I/home/alex/esp/v5.3.2/esp-idf/components/hal/esp32c3/include -I/home/alex/esp/v5.3.2/esp-idf/components/hal/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_rom/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_rom/include/esp32c3 -I/home/alex/esp/v5.3.2/esp-idf/components/esp_rom/esp32c3 -I/home/alex/esp/v5.3.2/esp-idf/components/esp_common/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_system/include -I/home/alex/esp/v5.3.2/esp-idf/components/esp_system/port/soc -I/home/alex/esp/v5.3.2/esp-idf/components/esp_system/port/include/riscv -I/home/alex/esp/v5.3.2/esp-idf/components/esp_system/port/include/private -I/home/alex/esp/v5.3.2/esp-idf/components/riscv/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/include/apps -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/include/apps/sntp -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/lwip/src/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/port/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/port/freertos/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/port/esp32xx/include -I/home/alex/esp/v5.3.2/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/alex/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/alex/github/ESP-Nodes/ESP-IDF_Robot_RC=. -fmacro-prefix-map=/home/alex/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/alex/esp/v5.3.2/esp-idf/components/esp_app_format/esp_app_desc.c",
"file": "/home/alex/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": "ESP-IDF_Robot_RC",
"project_version": "ESP32-Node_Switch-v2.7-3109-g82a6a044f",
"project_version": "ESP32-Node_Switch-v2.7-3115-gfaca69a70-dirty",
"project_path": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot_RC",
"idf_path": "/home/alex/esp/v5.3.2/esp-idf",
"build_dir": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot_RC/build",

View File

@@ -1,10 +1,10 @@
#ifndef JOYSTICK_H
#define JOYSTICK_H
#include "driver/adc.h"
#include "esp_adc_cal.h"
#include "esp_adc/adc_cali.h"
#include "esp_adc/adc_cali_scheme.h"
//#include "driver/adc.h"
//#include "esp_adc_cal.h"
//#include "esp_adc/adc_cali.h"
//#include "esp_adc/adc_cali_scheme.h"
#include "esp_adc/adc_oneshot.h"
static int x, y;