mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 12:30:52 +00:00
RC
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
|||||||
2f6c1974653e50d4ab8092d53e48a9cceb3ed947
|
19f0545aaa88883d95c8bec7cf0cadfa93e9859e
|
||||||
|
175
ESP-IDF_Robot/build/CMakeFiles/rules.ninja.tmp49515
Normal file
175
ESP-IDF_Robot/build/CMakeFiles/rules.ninja.tmp49515
Normal file
@@ -0,0 +1,175 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Ninja" Generator, CMake Version 3.30
|
||||||
|
|
||||||
|
# This file contains all the rules used to get the outputs files
|
||||||
|
# built from the input files.
|
||||||
|
# It is included in the main 'build.ninja'.
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Project: ESP-IDF_Robot
|
||||||
|
# Configurations:
|
||||||
|
# =============================================================================
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER__ESP-IDF_Robot.2eelf_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking CXX executable.
|
||||||
|
|
||||||
|
rule CXX_EXECUTABLE_LINKER__ESP-IDF_Robot.2eelf_
|
||||||
|
command = $PRE_LINK && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-g++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||||
|
description = Linking CXX executable $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for running custom commands.
|
||||||
|
|
||||||
|
rule CUSTOM_COMMAND
|
||||||
|
command = $COMMAND
|
||||||
|
description = $DESC
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling ASM files.
|
||||||
|
|
||||||
|
rule ASM_COMPILER____idf_riscv_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building ASM object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER____idf_riscv_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking C static library.
|
||||||
|
|
||||||
|
rule C_STATIC_LIBRARY_LINKER____idf_riscv_
|
||||||
|
command = $PRE_LINK && /home/alex/.espressif/tools/cmake/3.30.2/bin/cmake -E rm -f $TARGET_FILE && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ar qc $TARGET_FILE $LINK_FLAGS $in && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ranlib $TARGET_FILE && $POST_BUILD
|
||||||
|
description = Linking C static library $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER____idf_esp_driver_gpio_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking C static library.
|
||||||
|
|
||||||
|
rule C_STATIC_LIBRARY_LINKER____idf_esp_driver_gpio_
|
||||||
|
command = $PRE_LINK && /home/alex/.espressif/tools/cmake/3.30.2/bin/cmake -E rm -f $TARGET_FILE && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ar qc $TARGET_FILE $LINK_FLAGS $in && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ranlib $TARGET_FILE && $POST_BUILD
|
||||||
|
description = Linking C static library $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER____idf_esp_pm_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking C static library.
|
||||||
|
|
||||||
|
rule C_STATIC_LIBRARY_LINKER____idf_esp_pm_
|
||||||
|
command = $PRE_LINK && /home/alex/.espressif/tools/cmake/3.30.2/bin/cmake -E rm -f $TARGET_FILE && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ar qc $TARGET_FILE $LINK_FLAGS $in && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ranlib $TARGET_FILE && $POST_BUILD
|
||||||
|
description = Linking C static library $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling ASM files.
|
||||||
|
|
||||||
|
rule ASM_COMPILER____idf_mbedtls_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building ASM object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER____idf_mbedtls_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking C static library.
|
||||||
|
|
||||||
|
rule C_STATIC_LIBRARY_LINKER____idf_mbedtls_
|
||||||
|
command = $PRE_LINK && /home/alex/.espressif/tools/cmake/3.30.2/bin/cmake -E rm -f $TARGET_FILE && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ar qc $TARGET_FILE $LINK_FLAGS $in && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ranlib $TARGET_FILE && $POST_BUILD
|
||||||
|
description = Linking C static library $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER__everest_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking CXX static library.
|
||||||
|
|
||||||
|
rule CXX_STATIC_LIBRARY_LINKER__everest_
|
||||||
|
command = $PRE_LINK && /home/alex/.espressif/tools/cmake/3.30.2/bin/cmake -E rm -f $TARGET_FILE && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ar qc $TARGET_FILE $LINK_FLAGS $in && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ranlib $TARGET_FILE && $POST_BUILD
|
||||||
|
description = Linking CXX static library $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER__p256m_unscanned_
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = ${LAUNCHER}${CODE_CHECK}/home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking CXX static library.
|
||||||
|
|
||||||
|
rule CXX_STATIC_LIBRARY_LINKER__p256m_
|
||||||
|
command = $PRE_LINK && /home/alex/.espressif/tools/cmake/3.30.2/bin/cmake -E rm -f $TARGET_FILE && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ar qc $TARGET_FILE $LINK_FLAGS $in && /home/alex/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-ranlib $TARGET_FILE && $POST_BUILD
|
||||||
|
description = Linking CXX static library $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
3669
ESP-IDF_Robot/build/build.ninja.tmpaea25
Normal file
3669
ESP-IDF_Robot/build/build.ninja.tmpaea25
Normal file
File diff suppressed because one or more lines are too long
1120
ESP-IDF_Robot/build/compile_commands.json.tmp39240
Normal file
1120
ESP-IDF_Robot/build/compile_commands.json.tmp39240
Normal file
File diff suppressed because one or more lines are too long
@@ -77,7 +77,7 @@ typedef struct {
|
|||||||
uint8_t dest_mac[ESP_NOW_ETH_ALEN]; //MAC address of destination device.
|
uint8_t dest_mac[ESP_NOW_ETH_ALEN]; //MAC address of destination device.
|
||||||
} espnow_send_param_t;
|
} espnow_send_param_t;
|
||||||
|
|
||||||
typedef struct {
|
/*typedef struct {
|
||||||
uint8_t type; // Broadcast or unicast ESPNOW data.s
|
uint8_t type; // Broadcast or unicast ESPNOW data.s
|
||||||
uint16_t seq_num; // Sequence number of ESPNOW data.
|
uint16_t seq_num; // Sequence number of ESPNOW data.
|
||||||
uint16_t crc; // CRC16 value of ESPNOW data.
|
uint16_t crc; // CRC16 value of ESPNOW data.
|
||||||
@@ -88,6 +88,18 @@ typedef struct {
|
|||||||
uint8_t motor2_rpm_pcm;
|
uint8_t motor2_rpm_pcm;
|
||||||
uint8_t motor3_rpm_pcm;
|
uint8_t motor3_rpm_pcm;
|
||||||
uint8_t motor4_rpm_pcm;
|
uint8_t motor4_rpm_pcm;
|
||||||
|
} __attribute__((packed)) sensors_data_t;*/
|
||||||
|
|
||||||
|
// Struct holding sensors values
|
||||||
|
typedef struct {
|
||||||
|
uint16_t crc; // CRC16 value of ESPNOW data
|
||||||
|
uint8_t x_axis; // Joystick x-position
|
||||||
|
uint8_t y_axis; // Joystick y-position
|
||||||
|
bool nav_bttn; // Joystick push button
|
||||||
|
uint8_t motor1_rpm_pcm; // PCMs for 4 motors
|
||||||
|
uint8_t motor2_rpm_pcm;
|
||||||
|
uint8_t motor3_rpm_pcm;
|
||||||
|
uint8_t motor4_rpm_pcm;
|
||||||
} __attribute__((packed)) sensors_data_t;
|
} __attribute__((packed)) sensors_data_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Reference in New Issue
Block a user