mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 05:07:07 +00:00
ESP-NOW Transmitter
This commit is contained in:
@@ -537,3 +537,69 @@ events:
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
-
|
||||
kind: "try_compile-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.31/Modules/Internal/CheckSourceCompiles.cmake:108 (try_compile)"
|
||||
- "/usr/share/cmake-3.31/Modules/CheckCSourceCompiles.cmake:58 (cmake_check_source_compiles)"
|
||||
- "/usr/share/cmake-3.31/Modules/FindThreads.cmake:97 (CHECK_C_SOURCE_COMPILES)"
|
||||
- "/usr/share/cmake-3.31/Modules/FindThreads.cmake:163 (_threads_check_libc)"
|
||||
- "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/CMakeLists.txt:136 (find_package)"
|
||||
checks:
|
||||
- "Performing Test CMAKE_HAVE_LIBC_PTHREAD"
|
||||
directories:
|
||||
source: "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-YK23FO"
|
||||
binary: "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-YK23FO"
|
||||
cmakeVariables:
|
||||
CMAKE_C_FLAGS: "-march=rv32imc_zicsr_zifencei "
|
||||
CMAKE_C_FLAGS_DEBUG: "-g"
|
||||
CMAKE_EXE_LINKER_FLAGS: "-nostartfiles -march=rv32imc_zicsr_zifencei --specs=nosys.specs "
|
||||
CMAKE_MODULE_PATH: "/home/abobkov/esp/v5.4.1/esp-idf/tools/cmake;/home/abobkov/esp/v5.4.1/esp-idf/tools/cmake/third_party"
|
||||
buildResult:
|
||||
variable: "CMAKE_HAVE_LIBC_PTHREAD"
|
||||
cached: true
|
||||
stdout: |
|
||||
Change Dir: '/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-YK23FO'
|
||||
|
||||
Run Build Command(s): /usr/bin/ninja -v cmTC_b8c7d
|
||||
[1/2] /home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DCMAKE_HAVE_LIBC_PTHREAD -march=rv32imc_zicsr_zifencei -o CMakeFiles/cmTC_b8c7d.dir/src.c.obj -c /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-YK23FO/src.c
|
||||
[2/2] : && /home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -march=rv32imc_zicsr_zifencei -nostartfiles -march=rv32imc_zicsr_zifencei --specs=nosys.specs CMakeFiles/cmTC_b8c7d.dir/src.c.obj -o cmTC_b8c7d && :
|
||||
/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld: CMakeFiles/cmTC_b8c7d.dir/src.c.obj: in function `main':
|
||||
src.c:(.text+0x6e): warning: pthread_atfork is not implemented and will always fail
|
||||
/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld: src.c:(.text+0x50): warning: pthread_cancel is not implemented and will always fail
|
||||
/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld: src.c:(.text+0x34): warning: pthread_create is not implemented and will always fail
|
||||
/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld: src.c:(.text+0x42): warning: pthread_detach is not implemented and will always fail
|
||||
/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld: src.c:(.text+0x78): warning: pthread_exit is not implemented and will always fail
|
||||
/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld: src.c:(.text+0x60): warning: pthread_join is not implemented and will always fail
|
||||
/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 00010094
|
||||
|
||||
exitCode: 0
|
||||
-
|
||||
kind: "try_compile-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.31/Modules/Internal/CheckSourceCompiles.cmake:108 (try_compile)"
|
||||
- "/usr/share/cmake-3.31/Modules/Internal/CheckCompilerFlag.cmake:18 (cmake_check_source_compiles)"
|
||||
- "/usr/share/cmake-3.31/Modules/CheckCCompilerFlag.cmake:56 (cmake_check_compiler_flag)"
|
||||
- "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/CMakeLists.txt:219 (CHECK_C_COMPILER_FLAG)"
|
||||
checks:
|
||||
- "Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS"
|
||||
directories:
|
||||
source: "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-Q7mtTH"
|
||||
binary: "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-Q7mtTH"
|
||||
cmakeVariables:
|
||||
CMAKE_C_FLAGS: "-march=rv32imc_zicsr_zifencei -Wall -Wextra -Wwrite-strings -Wmissing-prototypes -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow"
|
||||
CMAKE_C_FLAGS_DEBUG: "-g"
|
||||
CMAKE_EXE_LINKER_FLAGS: "-nostartfiles -march=rv32imc_zicsr_zifencei --specs=nosys.specs "
|
||||
CMAKE_MODULE_PATH: "/home/abobkov/esp/v5.4.1/esp-idf/tools/cmake;/home/abobkov/esp/v5.4.1/esp-idf/tools/cmake/third_party"
|
||||
buildResult:
|
||||
variable: "C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS"
|
||||
cached: true
|
||||
stdout: |
|
||||
Change Dir: '/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-Q7mtTH'
|
||||
|
||||
Run Build Command(s): /usr/bin/ninja -v cmTC_3bdaa
|
||||
[1/2] /home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DC_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS -march=rv32imc_zicsr_zifencei -Wall -Wextra -Wwrite-strings -Wmissing-prototypes -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -o CMakeFiles/cmTC_3bdaa.dir/src.c.obj -c /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-Q7mtTH/src.c
|
||||
[2/2] : && /home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -march=rv32imc_zicsr_zifencei -Wall -Wextra -Wwrite-strings -Wmissing-prototypes -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -nostartfiles -march=rv32imc_zicsr_zifencei --specs=nosys.specs CMakeFiles/cmTC_3bdaa.dir/src.c.obj -o cmTC_3bdaa && :
|
||||
/home/abobkov/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 00010094
|
||||
|
||||
exitCode: 0
|
||||
|
@@ -0,0 +1,9 @@
|
||||
execute_process(COMMAND "${CC}" "-C" "-P" "-x" "c" "-E" "-I" "${CONFIG_DIR}" "-I" "${LD_DIR}" "${SOURCE}"
|
||||
RESULT_VARIABLE RET_CODE
|
||||
OUTPUT_VARIABLE PREPROCESSED_LINKER_SCRIPT
|
||||
ERROR_VARIABLE ERROR_VAR)
|
||||
if(RET_CODE AND NOT RET_CODE EQUAL 0)
|
||||
message(FATAL_ERROR "Can't generate ${TARGET}\nRET_CODE: ${RET_CODE}\nERROR_MESSAGE: ${ERROR_VAR}")
|
||||
endif()
|
||||
string(REPLACE "\\n" "\n" TEXT "${PREPROCESSED_LINKER_SCRIPT}")
|
||||
file(WRITE "${TARGET}" "${TEXT}")
|
@@ -0,0 +1 @@
|
||||
/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/error.c
|
@@ -0,0 +1 @@
|
||||
/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/psa_crypto_driver_wrappers_no_static.c
|
@@ -0,0 +1 @@
|
||||
/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/ssl_debug_helpers_generated.c
|
@@ -0,0 +1 @@
|
||||
/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/version_features.c
|
7
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/connect
Normal file
7
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/connect
Normal file
@@ -0,0 +1,7 @@
|
||||
# Connect to the default openocd-esp port and stop on app_main()
|
||||
set remotetimeout 10
|
||||
target remote :3333
|
||||
monitor reset halt
|
||||
maintenance flush register-cache
|
||||
thbreak app_main
|
||||
continue
|
2
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/gdbinit
Normal file
2
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/gdbinit
Normal file
@@ -0,0 +1,2 @@
|
||||
source /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/symbols
|
||||
source /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/connect
|
1
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/prefix_map
Normal file
1
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/prefix_map
Normal file
@@ -0,0 +1 @@
|
||||
# There is no prefix map defined for the project.
|
7
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/py_extensions
Normal file
7
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/py_extensions
Normal file
@@ -0,0 +1,7 @@
|
||||
# Add Python GDB extensions
|
||||
python
|
||||
try:
|
||||
import freertos_gdb
|
||||
except ModuleNotFoundError:
|
||||
print('warning: python extension "freertos_gdb" not found.')
|
||||
end
|
25
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/symbols
Normal file
25
ESP32-IDF_ESPNOW-Transmitter/build/gdbinit/symbols
Normal file
@@ -0,0 +1,25 @@
|
||||
# Load esp32c3 ROM ELF symbols
|
||||
define target hookpost-remote
|
||||
set confirm off
|
||||
# if $_streq((char *) 0x3ff1b878, "Sep 18 2020")
|
||||
if (*(int*) 0x3ff1b878) == 0x20706553 && (*(int*) 0x3ff1b87c) == 0x32203831 && (*(int*) 0x3ff1b880) == 0x303230
|
||||
add-symbol-file /home/abobkov/.espressif/tools/esp-rom-elfs/20230320/esp32c3_rev0_rom.elf
|
||||
else
|
||||
# if $_streq((char *) 0x3ff1a374, "Feb 7 2021")
|
||||
if (*(int*) 0x3ff1a374) == 0x20626546 && (*(int*) 0x3ff1a378) == 0x32203720 && (*(int*) 0x3ff1a37c) == 0x313230
|
||||
add-symbol-file /home/abobkov/.espressif/tools/esp-rom-elfs/20230320/esp32c3_rev3_rom.elf
|
||||
else
|
||||
echo Warning: Unknown esp32c3 ROM revision.\n
|
||||
end
|
||||
end
|
||||
set confirm on
|
||||
end
|
||||
|
||||
|
||||
# Load bootloader symbols
|
||||
set confirm off
|
||||
add-symbol-file /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/bootloader/bootloader.elf
|
||||
set confirm on
|
||||
|
||||
# Load application symbols
|
||||
file /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/espnow_transmitter.elf
|
Reference in New Issue
Block a user