This commit is contained in:
2025-10-10 00:19:07 -04:00
parent e233b7881e
commit 048766c7ab
11 changed files with 119 additions and 0 deletions

View File

@@ -501,3 +501,67 @@ 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_Temperture-Node-v2/build/CMakeFiles/CMakeScratch/TryCompile-kKTizZ"
binary: "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/CMakeScratch/TryCompile-kKTizZ"
cmakeVariables:
CMAKE_C_FLAGS: "-mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy"
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
CMAKE_MODULE_PATH: "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities;/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_Temperture-Node-v2/build/CMakeFiles/CMakeScratch/TryCompile-kKTizZ'
Run Build Command(s): /usr/bin/ninja -v cmTC_4395d
[1/2] /home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc -DCMAKE_HAVE_LIBC_PTHREAD -mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -o CMakeFiles/cmTC_4395d.dir/src.c.obj -c /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/CMakeScratch/TryCompile-kKTizZ/src.c
[2/2] : && /home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc -mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy CMakeFiles/cmTC_4395d.dir/src.c.obj -o cmTC_4395d && :
/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: CMakeFiles/cmTC_4395d.dir/src.c.obj:(.literal+0x14): warning: pthread_atfork is not implemented and will always fail
/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: CMakeFiles/cmTC_4395d.dir/src.c.obj:(.literal+0xc): warning: pthread_cancel is not implemented and will always fail
/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: CMakeFiles/cmTC_4395d.dir/src.c.obj:(.literal+0x4): warning: pthread_create is not implemented and will always fail
/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: CMakeFiles/cmTC_4395d.dir/src.c.obj:(.literal+0x8): warning: pthread_detach is not implemented and will always fail
/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: CMakeFiles/cmTC_4395d.dir/src.c.obj:(.literal+0x18): warning: pthread_exit is not implemented and will always fail
/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: CMakeFiles/cmTC_4395d.dir/src.c.obj:(.literal+0x10): warning: pthread_join is not implemented and will always fail
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_Temperture-Node-v2/build/CMakeFiles/CMakeScratch/TryCompile-ja59TZ"
binary: "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/CMakeScratch/TryCompile-ja59TZ"
cmakeVariables:
CMAKE_C_FLAGS: "-mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -Wall -Wextra -Wwrite-strings -Wmissing-prototypes -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow"
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
CMAKE_MODULE_PATH: "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities;/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_Temperture-Node-v2/build/CMakeFiles/CMakeScratch/TryCompile-ja59TZ'
Run Build Command(s): /usr/bin/ninja -v cmTC_aa4bd
[1/2] /home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc -DC_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS -mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -Wall -Wextra -Wwrite-strings -Wmissing-prototypes -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -o CMakeFiles/cmTC_aa4bd.dir/src.c.obj -c /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/CMakeScratch/TryCompile-ja59TZ/src.c
[2/2] : && /home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc -mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -Wall -Wextra -Wwrite-strings -Wmissing-prototypes -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow CMakeFiles/cmTC_aa4bd.dir/src.c.obj -o cmTC_aa4bd && :
exitCode: 0
...

View File

@@ -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}")

View File

@@ -0,0 +1 @@
/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/error.c

View File

@@ -0,0 +1 @@
/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/psa_crypto_driver_wrappers_no_static.c

View File

@@ -0,0 +1 @@
/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/ssl_debug_helpers_generated.c

View File

@@ -0,0 +1 @@
/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/version_features.c

View 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

View File

@@ -0,0 +1,2 @@
source /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/gdbinit/symbols
source /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/gdbinit/connect

View File

@@ -0,0 +1 @@
# There is no prefix map defined for the project.

View 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

View File

@@ -0,0 +1,25 @@
# Load esp32 ROM ELF symbols
define target hookpost-remote
set confirm off
# if $_streq((char *) 0x3ff9ea80, "Jun 8 2016")
if (*(int*) 0x3ff9ea80) == 0x206e754a && (*(int*) 0x3ff9ea84) == 0x32203820 && (*(int*) 0x3ff9ea88) == 0x363130
add-symbol-file /home/abobkov/.espressif/tools/esp-rom-elfs/20230320/esp32_rev0_rom.elf
else
# if $_streq((char *) 0x3ff9e986, "Jul 29 2019")
if (*(int*) 0x3ff9e986) == 0x206c754a && (*(int*) 0x3ff9e98a) == 0x32203932 && (*(int*) 0x3ff9e98e) == 0x393130
add-symbol-file /home/abobkov/.espressif/tools/esp-rom-elfs/20230320/esp32_rev300_rom.elf
else
echo Warning: Unknown esp32 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_Temperture-Node-v2/build/bootloader/bootloader.elf
set confirm on
# Load application symbols
file /home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/ESP32-IDF_Temperture-Node-v2.elf