diff --git a/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdC/CMakeCCompilerId.c b/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index 50d95e5ba..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,904 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(__clang__) && defined(__cray__) -# define COMPILER_ID "CrayClang" -# define COMPILER_VERSION_MAJOR DEC(__cray_major__) -# define COMPILER_VERSION_MINOR DEC(__cray_minor__) -# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__ORANGEC__) -# define COMPILER_ID "OrangeC" -# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__) - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) && defined(__ti__) -# define COMPILER_ID "TIClang" - # define COMPILER_VERSION_MAJOR DEC(__ti_major__) - # define COMPILER_VERSION_MINOR DEC(__ti_minor__) - # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__) -# define COMPILER_VERSION_INTERNAL DEC(__ti_version__) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__clang__) && defined(__ti__) -# if defined(__ARM_ARCH) -# define ARCHITECTURE_ID "ARM" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#define C_STD_99 199901L -#define C_STD_11 201112L -#define C_STD_17 201710L -#define C_STD_23 202311L - -#ifdef __STDC_VERSION__ -# define C_STD __STDC_VERSION__ -#endif - -#if !defined(__STDC__) && !defined(__clang__) -# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) -# define C_VERSION "90" -# else -# define C_VERSION -# endif -#elif C_STD > C_STD_17 -# define C_VERSION "23" -#elif C_STD > C_STD_11 -# define C_VERSION "17" -#elif C_STD > C_STD_99 -# define C_VERSION "11" -#elif C_STD >= C_STD_99 -# define C_VERSION "99" -#else -# define C_VERSION "90" -#endif -const char* info_language_standard_default = - "INFO" ":" "standard_default[" C_VERSION "]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdC/a.out b/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdC/a.out deleted file mode 100755 index 2288b808b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdC/a.out and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdCXX/CMakeCXXCompilerId.cpp b/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 3b6e114ca..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,919 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(__clang__) && defined(__cray__) -# define COMPILER_ID "CrayClang" -# define COMPILER_VERSION_MAJOR DEC(__cray_major__) -# define COMPILER_VERSION_MINOR DEC(__cray_minor__) -# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__ORANGEC__) -# define COMPILER_ID "OrangeC" -# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__) - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) && defined(__ti__) -# define COMPILER_ID "TIClang" - # define COMPILER_VERSION_MAJOR DEC(__ti_major__) - # define COMPILER_VERSION_MINOR DEC(__ti_minor__) - # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__) -# define COMPILER_VERSION_INTERNAL DEC(__ti_version__) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__clang__) && defined(__ti__) -# if defined(__ARM_ARCH) -# define ARCHITECTURE_ID "ARM" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#define CXX_STD_98 199711L -#define CXX_STD_11 201103L -#define CXX_STD_14 201402L -#define CXX_STD_17 201703L -#define CXX_STD_20 202002L -#define CXX_STD_23 202302L - -#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) -# if _MSVC_LANG > CXX_STD_17 -# define CXX_STD _MSVC_LANG -# elif _MSVC_LANG == CXX_STD_17 && defined(__cpp_aggregate_paren_init) -# define CXX_STD CXX_STD_20 -# elif _MSVC_LANG > CXX_STD_14 && __cplusplus > CXX_STD_17 -# define CXX_STD CXX_STD_20 -# elif _MSVC_LANG > CXX_STD_14 -# define CXX_STD CXX_STD_17 -# elif defined(__INTEL_CXX11_MODE__) && defined(__cpp_aggregate_nsdmi) -# define CXX_STD CXX_STD_14 -# elif defined(__INTEL_CXX11_MODE__) -# define CXX_STD CXX_STD_11 -# else -# define CXX_STD CXX_STD_98 -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# if _MSVC_LANG > __cplusplus -# define CXX_STD _MSVC_LANG -# else -# define CXX_STD __cplusplus -# endif -#elif defined(__NVCOMPILER) -# if __cplusplus == CXX_STD_17 && defined(__cpp_aggregate_paren_init) -# define CXX_STD CXX_STD_20 -# else -# define CXX_STD __cplusplus -# endif -#elif defined(__INTEL_COMPILER) || defined(__PGI) -# if __cplusplus == CXX_STD_11 && defined(__cpp_namespace_attributes) -# define CXX_STD CXX_STD_17 -# elif __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi) -# define CXX_STD CXX_STD_14 -# else -# define CXX_STD __cplusplus -# endif -#elif (defined(__IBMCPP__) || defined(__ibmxl__)) && defined(__linux__) -# if __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi) -# define CXX_STD CXX_STD_14 -# else -# define CXX_STD __cplusplus -# endif -#elif __cplusplus == 1 && defined(__GXX_EXPERIMENTAL_CXX0X__) -# define CXX_STD CXX_STD_11 -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_standard_default = "INFO" ":" "standard_default[" -#if CXX_STD > CXX_STD_23 - "26" -#elif CXX_STD > CXX_STD_20 - "23" -#elif CXX_STD > CXX_STD_17 - "20" -#elif CXX_STD > CXX_STD_14 - "17" -#elif CXX_STD > CXX_STD_11 - "14" -#elif CXX_STD >= CXX_STD_11 - "11" -#else - "98" -#endif -"]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} diff --git a/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdCXX/a.out b/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdCXX/a.out deleted file mode 100755 index 74e440008..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/3.31.6/CompilerIdCXX/a.out and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-configure b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-configure deleted file mode 100644 index e69de29bb..000000000 diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-done b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-done deleted file mode 100644 index e69de29bb..000000000 diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-download b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-download deleted file mode 100644 index e69de29bb..000000000 diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-mkdir b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-mkdir deleted file mode 100644 index e69de29bb..000000000 diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch deleted file mode 100644 index e69de29bb..000000000 diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch-info.txt b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch-info.txt deleted file mode 100644 index 53e1e1e68..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch-info.txt +++ /dev/null @@ -1,6 +0,0 @@ -# This is a generated file and its contents are an internal implementation detail. -# The update step will be re-executed if anything in this file changes. -# No other meaning or use of this file is supported. - -command= -work_dir= diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-source_dirinfo.txt b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-source_dirinfo.txt deleted file mode 100644 index 5d3d1389d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-source_dirinfo.txt +++ /dev/null @@ -1,9 +0,0 @@ -# This is a generated file and its contents are an internal implementation detail. -# The download step will be re-executed if anything in this file changes. -# No other meaning or use of this file is supported. - -method=source_dir -command= -source_dir=/home/abobkov/esp/v5.4.1/esp-idf/components/bootloader/subproject -work_dir= - diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-update b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-update deleted file mode 100644 index e69de29bb..000000000 diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-update-info.txt b/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-update-info.txt deleted file mode 100644 index 31617d15d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader-prefix/src/bootloader-stamp/bootloader-update-info.txt +++ /dev/null @@ -1,7 +0,0 @@ -# This is a generated file and its contents are an internal implementation detail. -# The patch step will be re-executed if anything in this file changes. -# No other meaning or use of this file is supported. - -command (connected)= -command (disconnected)= -work_dir= diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeASMCompiler.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeASMCompiler.cmake deleted file mode 100644 index d32fbd02a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeASMCompiler.cmake +++ /dev/null @@ -1,29 +0,0 @@ -set(CMAKE_ASM_COMPILER "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc") -set(CMAKE_ASM_COMPILER_ARG1 "") -set(CMAKE_AR "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ar") -set(CMAKE_ASM_COMPILER_AR "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc-ar") -set(CMAKE_RANLIB "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ranlib") -set(CMAKE_ASM_COMPILER_RANLIB "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc-ranlib") -set(CMAKE_LINKER "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ld") -set(CMAKE_LINKER_LINK "") -set(CMAKE_LINKER_LLD "") -set(CMAKE_ASM_COMPILER_LINKER "") -set(CMAKE_ASM_COMPILER_LINKER_ID "") -set(CMAKE_ASM_COMPILER_LINKER_VERSION ) -set(CMAKE_ASM_COMPILER_LINKER_FRONTEND_VARIANT ) -set(CMAKE_MT "") -set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND") -set(CMAKE_ASM_COMPILER_LOADED 1) -set(CMAKE_ASM_COMPILER_ID "GNU") -set(CMAKE_ASM_COMPILER_VERSION "") -set(CMAKE_ASM_COMPILER_ENV_VAR "ASM") - - -set(CMAKE_ASM_COMPILER_SYSROOT "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../xtensa-esp-elf/usr") -set(CMAKE_COMPILER_SYSROOT "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../xtensa-esp-elf/usr") - -set(CMAKE_ASM_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_ASM_LINKER_PREFERENCE 0) -set(CMAKE_ASM_LINKER_DEPFILE_SUPPORTED ) - - diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeCCompiler.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeCCompiler.cmake deleted file mode 100644 index e42e5e875..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeCCompiler.cmake +++ /dev/null @@ -1,82 +0,0 @@ -set(CMAKE_C_COMPILER "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "GNU") -set(CMAKE_C_COMPILER_VERSION "14.2.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON") -set(CMAKE_C_STANDARD_LATEST "23") -set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23") -set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") -set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") -set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") -set(CMAKE_C17_COMPILE_FEATURES "c_std_17") -set(CMAKE_C23_COMPILE_FEATURES "c_std_23") - -set(CMAKE_C_PLATFORM_ID "") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU") -set(CMAKE_C_SIMULATE_VERSION "") - -set(CMAKE_C_COMPILER_SYSROOT "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../xtensa-esp-elf/usr") -set(CMAKE_COMPILER_SYSROOT "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../xtensa-esp-elf/usr") - - -set(CMAKE_AR "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ar") -set(CMAKE_C_COMPILER_AR "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc-ar") -set(CMAKE_RANLIB "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ranlib") -set(CMAKE_C_COMPILER_RANLIB "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc-ranlib") -set(CMAKE_LINKER "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ld") -set(CMAKE_LINKER_LINK "") -set(CMAKE_LINKER_LLD "") -set(CMAKE_C_COMPILER_LINKER "NOTFOUND") -set(CMAKE_C_COMPILER_LINKER_ID "") -set(CMAKE_C_COMPILER_LINKER_VERSION ) -set(CMAKE_C_COMPILER_LINKER_FRONTEND_VARIANT ) -set(CMAKE_MT "") -set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND") -set(CMAKE_COMPILER_IS_GNUCC 1) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS TRUE) -set(CMAKE_C_ABI_COMPILED TRUE) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "4") -set(CMAKE_C_COMPILER_ABI "ELF") -set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc/xtensa-esp-elf/14.2.0/include;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc/xtensa-esp-elf/14.2.0/include-fixed;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;c;nosys;c;gcc") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc/xtensa-esp-elf/14.2.0/esp32;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/lib/esp32;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc/xtensa-esp-elf/14.2.0;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/lib;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/usr/lib") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeCXXCompiler.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeCXXCompiler.cmake deleted file mode 100644 index 60e46c90f..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,106 +0,0 @@ -set(CMAKE_CXX_COMPILER "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-g++") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "GNU") -set(CMAKE_CXX_COMPILER_VERSION "14.2.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON") -set(CMAKE_CXX_STANDARD_LATEST "26") -set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23;cxx_std_26") -set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") -set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") -set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") -set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") -set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") -set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23") -set(CMAKE_CXX26_COMPILE_FEATURES "cxx_std_26") - -set(CMAKE_CXX_PLATFORM_ID "") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU") -set(CMAKE_CXX_SIMULATE_VERSION "") - -set(CMAKE_CXX_COMPILER_SYSROOT "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../xtensa-esp-elf/usr") -set(CMAKE_COMPILER_SYSROOT "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../xtensa-esp-elf/usr") - - -set(CMAKE_AR "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ar") -set(CMAKE_CXX_COMPILER_AR "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc-ar") -set(CMAKE_RANLIB "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ranlib") -set(CMAKE_CXX_COMPILER_RANLIB "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc-ranlib") -set(CMAKE_LINKER "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-ld") -set(CMAKE_LINKER_LINK "") -set(CMAKE_LINKER_LLD "") -set(CMAKE_CXX_COMPILER_LINKER "NOTFOUND") -set(CMAKE_CXX_COMPILER_LINKER_ID "") -set(CMAKE_CXX_COMPILER_LINKER_VERSION ) -set(CMAKE_CXX_COMPILER_LINKER_FRONTEND_VARIANT ) -set(CMAKE_MT "") -set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND") -set(CMAKE_COMPILER_IS_GNUCXX 1) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS TRUE) -set(CMAKE_CXX_ABI_COMPILED TRUE) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang IN ITEMS C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "4") -set(CMAKE_CXX_COMPILER_ABI "ELF") -set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/xtensa-esp-elf/esp32;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/backward;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc/xtensa-esp-elf/14.2.0/include;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc/xtensa-esp-elf/14.2.0/include-fixed;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc;c;nosys;c;gcc") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc/xtensa-esp-elf/14.2.0/esp32;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/lib/esp32;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc/xtensa-esp-elf/14.2.0;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/lib/gcc;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/lib;/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/usr/lib") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") -set(CMAKE_CXX_COMPILER_CLANG_RESOURCE_DIR "") - -set(CMAKE_CXX_COMPILER_IMPORT_STD "") -### Imported target for C++23 standard library -set(CMAKE_CXX23_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE "Toolchain does not support discovering `import std` support") - - -### Imported target for C++26 standard library -set(CMAKE_CXX26_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE "Toolchain does not support discovering `import std` support") - - - diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeDetermineCompilerABI_C.bin b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeDetermineCompilerABI_C.bin deleted file mode 100755 index e28dd48cc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeDetermineCompilerABI_C.bin and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeDetermineCompilerABI_CXX.bin b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeDetermineCompilerABI_CXX.bin deleted file mode 100755 index fa9f7bb27..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeDetermineCompilerABI_CXX.bin and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeSystem.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeSystem.cmake deleted file mode 100644 index c1f9831ce..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Linux-6.14.0-33-generic") -set(CMAKE_HOST_SYSTEM_NAME "Linux") -set(CMAKE_HOST_SYSTEM_VERSION "6.14.0-33-generic") -set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") - -include("/home/abobkov/esp/v5.4.1/esp-idf/tools/cmake/toolchain-esp32.cmake") - -set(CMAKE_SYSTEM "Generic") -set(CMAKE_SYSTEM_NAME "Generic") -set(CMAKE_SYSTEM_VERSION "") -set(CMAKE_SYSTEM_PROCESSOR "") - -set(CMAKE_CROSSCOMPILING "TRUE") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdC/CMakeCCompilerId.c b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index 50d95e5ba..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,904 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(__clang__) && defined(__cray__) -# define COMPILER_ID "CrayClang" -# define COMPILER_VERSION_MAJOR DEC(__cray_major__) -# define COMPILER_VERSION_MINOR DEC(__cray_minor__) -# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__ORANGEC__) -# define COMPILER_ID "OrangeC" -# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__) - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) && defined(__ti__) -# define COMPILER_ID "TIClang" - # define COMPILER_VERSION_MAJOR DEC(__ti_major__) - # define COMPILER_VERSION_MINOR DEC(__ti_minor__) - # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__) -# define COMPILER_VERSION_INTERNAL DEC(__ti_version__) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__clang__) && defined(__ti__) -# if defined(__ARM_ARCH) -# define ARCHITECTURE_ID "ARM" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#define C_STD_99 199901L -#define C_STD_11 201112L -#define C_STD_17 201710L -#define C_STD_23 202311L - -#ifdef __STDC_VERSION__ -# define C_STD __STDC_VERSION__ -#endif - -#if !defined(__STDC__) && !defined(__clang__) -# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) -# define C_VERSION "90" -# else -# define C_VERSION -# endif -#elif C_STD > C_STD_17 -# define C_VERSION "23" -#elif C_STD > C_STD_11 -# define C_VERSION "17" -#elif C_STD > C_STD_99 -# define C_VERSION "11" -#elif C_STD >= C_STD_99 -# define C_VERSION "99" -#else -# define C_VERSION "90" -#endif -const char* info_language_standard_default = - "INFO" ":" "standard_default[" C_VERSION "]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdC/a.out b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdC/a.out deleted file mode 100755 index 2288b808b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdC/a.out and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdCXX/CMakeCXXCompilerId.cpp b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 3b6e114ca..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,919 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(__clang__) && defined(__cray__) -# define COMPILER_ID "CrayClang" -# define COMPILER_VERSION_MAJOR DEC(__cray_major__) -# define COMPILER_VERSION_MINOR DEC(__cray_minor__) -# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__ORANGEC__) -# define COMPILER_ID "OrangeC" -# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__) - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) && defined(__ti__) -# define COMPILER_ID "TIClang" - # define COMPILER_VERSION_MAJOR DEC(__ti_major__) - # define COMPILER_VERSION_MINOR DEC(__ti_minor__) - # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__) -# define COMPILER_VERSION_INTERNAL DEC(__ti_version__) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__clang__) && defined(__ti__) -# if defined(__ARM_ARCH) -# define ARCHITECTURE_ID "ARM" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#define CXX_STD_98 199711L -#define CXX_STD_11 201103L -#define CXX_STD_14 201402L -#define CXX_STD_17 201703L -#define CXX_STD_20 202002L -#define CXX_STD_23 202302L - -#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) -# if _MSVC_LANG > CXX_STD_17 -# define CXX_STD _MSVC_LANG -# elif _MSVC_LANG == CXX_STD_17 && defined(__cpp_aggregate_paren_init) -# define CXX_STD CXX_STD_20 -# elif _MSVC_LANG > CXX_STD_14 && __cplusplus > CXX_STD_17 -# define CXX_STD CXX_STD_20 -# elif _MSVC_LANG > CXX_STD_14 -# define CXX_STD CXX_STD_17 -# elif defined(__INTEL_CXX11_MODE__) && defined(__cpp_aggregate_nsdmi) -# define CXX_STD CXX_STD_14 -# elif defined(__INTEL_CXX11_MODE__) -# define CXX_STD CXX_STD_11 -# else -# define CXX_STD CXX_STD_98 -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# if _MSVC_LANG > __cplusplus -# define CXX_STD _MSVC_LANG -# else -# define CXX_STD __cplusplus -# endif -#elif defined(__NVCOMPILER) -# if __cplusplus == CXX_STD_17 && defined(__cpp_aggregate_paren_init) -# define CXX_STD CXX_STD_20 -# else -# define CXX_STD __cplusplus -# endif -#elif defined(__INTEL_COMPILER) || defined(__PGI) -# if __cplusplus == CXX_STD_11 && defined(__cpp_namespace_attributes) -# define CXX_STD CXX_STD_17 -# elif __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi) -# define CXX_STD CXX_STD_14 -# else -# define CXX_STD __cplusplus -# endif -#elif (defined(__IBMCPP__) || defined(__ibmxl__)) && defined(__linux__) -# if __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi) -# define CXX_STD CXX_STD_14 -# else -# define CXX_STD __cplusplus -# endif -#elif __cplusplus == 1 && defined(__GXX_EXPERIMENTAL_CXX0X__) -# define CXX_STD CXX_STD_11 -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_standard_default = "INFO" ":" "standard_default[" -#if CXX_STD > CXX_STD_23 - "26" -#elif CXX_STD > CXX_STD_20 - "23" -#elif CXX_STD > CXX_STD_17 - "20" -#elif CXX_STD > CXX_STD_14 - "17" -#elif CXX_STD > CXX_STD_11 - "14" -#elif CXX_STD >= CXX_STD_11 - "11" -#else - "98" -#endif -"]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdCXX/a.out b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdCXX/a.out deleted file mode 100755 index 74e440008..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/3.31.6/CompilerIdCXX/a.out and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj deleted file mode 100644 index 41865be30..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/HEAD b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/HEAD deleted file mode 100644 index b3440b61b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/HEAD +++ /dev/null @@ -1 +0,0 @@ -4c2820d377d1375e787bcef612f0c32c1427d183 diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/grabRef.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/grabRef.cmake deleted file mode 100644 index 1d9d09c28..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/grabRef.cmake +++ /dev/null @@ -1,50 +0,0 @@ -# -# Internal file for GetGitRevisionDescription.cmake -# -# Requires CMake 2.6 or newer (uses the 'function' command) -# -# Original Author: -# 2009-2010 Ryan Pavlik -# http://academic.cleardefinition.com -# Iowa State University HCI Graduate Program/VRAC -# -# Copyright Iowa State University 2009-2010. -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -set(HEAD_HASH) - -file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024) - -string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS) -set(GIT_DIR "/home/abobkov/esp/v5.4.1/esp-idf/.git") -# handle git-worktree -if(EXISTS "${GIT_DIR}/commondir") - file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024) - string(STRIP "${GIT_DIR_NEW}" GIT_DIR_NEW) - if(NOT IS_ABSOLUTE "${GIT_DIR_NEW}") - get_filename_component(GIT_DIR_NEW ${GIT_DIR}/${GIT_DIR_NEW} ABSOLUTE) - endif() - if(EXISTS "${GIT_DIR_NEW}") - set(GIT_DIR "${GIT_DIR_NEW}") - endif() -endif() -if(HEAD_CONTENTS MATCHES "ref") - # named branch - string(REPLACE "ref: " "" HEAD_REF "${HEAD_CONTENTS}") - if(EXISTS "${GIT_DIR}/${HEAD_REF}") - configure_file("${GIT_DIR}/${HEAD_REF}" "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/head-ref" COPYONLY) - elseif(EXISTS "${GIT_DIR}/logs/${HEAD_REF}") - configure_file("${GIT_DIR}/logs/${HEAD_REF}" "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/head-ref" COPYONLY) - set(HEAD_HASH "${HEAD_REF}") - endif() -else() - # detached HEAD - configure_file("${GIT_DIR}/HEAD" "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/head-ref" COPYONLY) -endif() - -if(NOT HEAD_HASH) - file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/head-ref" HEAD_HASH LIMIT 1024) - string(STRIP "${HEAD_HASH}" HEAD_HASH) -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/head-ref b/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/head-ref deleted file mode 100644 index b3440b61b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/CMakeFiles/git-data/head-ref +++ /dev/null @@ -1 +0,0 @@ -4c2820d377d1375e787bcef612f0c32c1427d183 diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader/cmake_install.cmake deleted file mode 100644 index fdfa73049..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/bootloader - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj deleted file mode 100644 index e6f4a21dc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32.c.obj deleted file mode 100644 index 8da95d7f5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj deleted file mode 100644 index fe72ed511..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj deleted file mode 100644 index 55eb749b8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj deleted file mode 100644 index 123a480a8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj deleted file mode 100644 index 7475794bb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj deleted file mode 100644 index dcdcf0114..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj deleted file mode 100644 index 510498092..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj deleted file mode 100644 index 49a86e7bf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj deleted file mode 100644 index c5d2a3a74..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj deleted file mode 100644 index 8ee960bbd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj deleted file mode 100644 index 7938088d2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj deleted file mode 100644 index ff5808df7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj deleted file mode 100644 index 7cf7ae71b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj deleted file mode 100644 index fcac58206..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj deleted file mode 100644 index 22ca12ad3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj deleted file mode 100644 index f262d9e24..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj deleted file mode 100644 index 51f54d6ba..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj deleted file mode 100644 index d86493979..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj deleted file mode 100644 index 065c0a954..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj deleted file mode 100644 index b20308366..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj deleted file mode 100644 index 48625808c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj deleted file mode 100644 index a9f9a779b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/cmake_install.cmake deleted file mode 100644 index cb6bdba52..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/bootloader_support - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/libbootloader_support.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/libbootloader_support.a deleted file mode 100644 index f76df0c69..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/bootloader_support/libbootloader_support.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj deleted file mode 100644 index 89b913c6a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj deleted file mode 100644 index 6b78ea333..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj deleted file mode 100644 index e4245da2f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/without_key_purposes/three_key_blocks/esp_efuse_api_key.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/without_key_purposes/three_key_blocks/esp_efuse_api_key.c.obj deleted file mode 100644 index 206c25f99..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/without_key_purposes/three_key_blocks/esp_efuse_api_key.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj deleted file mode 100644 index 776486fbe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj deleted file mode 100644 index 27ea04bca..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj deleted file mode 100644 index 55792c5f0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/cmake_install.cmake deleted file mode 100644 index 0f74f72a5..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/efuse - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/libefuse.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/libefuse.a deleted file mode 100644 index 3ea3af31d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/efuse/libefuse.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_app_format/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_app_format/cmake_install.cmake deleted file mode 100644 index 8dd9d3f0a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_app_format/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_app_format - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_app_format/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/CMakeFiles/__idf_esp_bootloader_format.dir/esp_bootloader_desc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/CMakeFiles/__idf_esp_bootloader_format.dir/esp_bootloader_desc.c.obj deleted file mode 100644 index b646033e1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/CMakeFiles/__idf_esp_bootloader_format.dir/esp_bootloader_desc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/cmake_install.cmake deleted file mode 100644 index e2cee0988..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_bootloader_format - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/libesp_bootloader_format.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/libesp_bootloader_format.a deleted file mode 100644 index 52d15b6a6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_bootloader_format/libesp_bootloader_format.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj deleted file mode 100644 index a8087da66..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/cmake_install.cmake deleted file mode 100644 index cf3f09f49..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_common - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/libesp_common.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/libesp_common.a deleted file mode 100644 index c1856e07b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_common/libesp_common.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj deleted file mode 100644 index 75062e53b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj deleted file mode 100644 index b54882161..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj deleted file mode 100644 index d072d493d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cpu_region_protect.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cpu_region_protect.c.obj deleted file mode 100644 index e0ee9b987..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cpu_region_protect.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_cpu_intr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_cpu_intr.c.obj deleted file mode 100644 index 52303006d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_cpu_intr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj deleted file mode 100644 index 3abaab4aa..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj deleted file mode 100644 index 56e125de3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj deleted file mode 100644 index df9076407..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj deleted file mode 100644 index 0bf693f3c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj deleted file mode 100644 index 825cacb89..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/cmake_install.cmake deleted file mode 100644 index c678227d5..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/cmake_install.cmake +++ /dev/null @@ -1,55 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(NOT CMAKE_INSTALL_LOCAL_ONLY) - # Include the install script for the subdirectory. - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/port/esp32/cmake_install.cmake") -endif() - -if(NOT CMAKE_INSTALL_LOCAL_ONLY) - # Include the install script for the subdirectory. - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/lowpower/cmake_install.cmake") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/libesp_hw_support.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/libesp_hw_support.a deleted file mode 100644 index b04e9d8c0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/libesp_hw_support.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/lowpower/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/lowpower/cmake_install.cmake deleted file mode 100644 index 5cc42f0fc..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/lowpower/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/lowpower - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/lowpower/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/port/esp32/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/port/esp32/cmake_install.cmake deleted file mode 100644 index 7b21bfa1a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/port/esp32/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32 - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_hw_support/port/esp32/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj deleted file mode 100644 index ee4767246..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj deleted file mode 100644 index d1aaecfdd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_gpio.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_gpio.c.obj deleted file mode 100644 index 768877cca..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_gpio.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj deleted file mode 100644 index 09195dad8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_print.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_print.c.obj deleted file mode 100644 index 9dce61348..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_print.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_spiflash.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_spiflash.c.obj deleted file mode 100644 index ecde41487..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_spiflash.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj deleted file mode 100644 index 2f67a23b6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj deleted file mode 100644 index 3d0d57422..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/cmake_install.cmake deleted file mode 100644 index f89a42444..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_rom - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/libesp_rom.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/libesp_rom.a deleted file mode 100644 index 65200e484..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_rom/libesp_rom.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_security/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_security/cmake_install.cmake deleted file mode 100644 index b9e5102eb..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_security/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_security - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_security/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj deleted file mode 100644 index 7d4e115ee..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/cmake_install.cmake deleted file mode 100644 index a07b15dc0..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_system - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/libesp_system.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/libesp_system.a deleted file mode 100644 index 04e051403..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esp_system/libesp_system.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esptool_py/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esptool_py/cmake_install.cmake deleted file mode 100644 index 53eca1a49..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esptool_py/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esptool_py - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/esptool_py/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/freertos/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/freertos/cmake_install.cmake deleted file mode 100644 index 674c2cd4e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/freertos/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/freertos - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/freertos/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj deleted file mode 100644 index 2fc422265..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/cache_hal_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/cache_hal_esp32.c.obj deleted file mode 100644 index 69aa56990..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/cache_hal_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/efuse_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/efuse_hal.c.obj deleted file mode 100644 index 28ba3597b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/efuse_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/hal_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/hal_utils.c.obj deleted file mode 100644 index 7bc0622e9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/hal_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj deleted file mode 100644 index 6dd365a8d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj deleted file mode 100644 index c82c5a38a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj deleted file mode 100644 index c4c15acf5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/cmake_install.cmake deleted file mode 100644 index 9ade1039c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/hal - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/libhal.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/libhal.a deleted file mode 100644 index 2d0d9c233..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/hal/libhal.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_timestamp_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_timestamp_common.c.obj deleted file mode 100644 index b05842528..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_timestamp_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/noos/log_lock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/noos/log_lock.c.obj deleted file mode 100644 index fd580736a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/noos/log_lock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/noos/log_timestamp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/noos/log_timestamp.c.obj deleted file mode 100644 index 7c9dab44d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/CMakeFiles/__idf_log.dir/src/noos/log_timestamp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/cmake_install.cmake deleted file mode 100644 index 638328f07..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/log - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/liblog.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/liblog.a deleted file mode 100644 index 8c04f095d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/log/liblog.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj deleted file mode 100644 index f49b762eb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/cmake_install.cmake deleted file mode 100644 index 548f7d94d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/bootloader/subproject/main - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/libmain.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/libmain.a deleted file mode 100644 index 29efed691..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/main/libmain.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj deleted file mode 100644 index 6e70ea009..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/cmake_install.cmake deleted file mode 100644 index ea3f8bab6..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/bootloader/subproject/components/micro-ecc - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/libmicro-ecc.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/libmicro-ecc.a deleted file mode 100644 index 090a78ebc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/micro-ecc/libmicro-ecc.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/newlib/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/newlib/cmake_install.cmake deleted file mode 100644 index a94aa3242..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/newlib/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/newlib - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/newlib/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/partition_table/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/partition_table/cmake_install.cmake deleted file mode 100644 index 7e35f053f..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/partition_table/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/partition_table - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/partition_table/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj deleted file mode 100644 index 038acc999..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj deleted file mode 100644 index 3a094e559..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj deleted file mode 100644 index 564536864..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dport_access.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dport_access.c.obj deleted file mode 100644 index 255af8ea2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dport_access.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/emac_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/emac_periph.c.obj deleted file mode 100644 index 15073444d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/emac_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj deleted file mode 100644 index 001334116..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj deleted file mode 100644 index cb6dea870..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj deleted file mode 100644 index af05014f4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj deleted file mode 100644 index 8dd6c7ceb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj deleted file mode 100644 index cee13a33a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj deleted file mode 100644 index bbeab1f0b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj deleted file mode 100644 index 037534ce3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mpi_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mpi_periph.c.obj deleted file mode 100644 index 945d2702b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mpi_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj deleted file mode 100644 index a90e01539..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj deleted file mode 100644 index b7d92e2ab..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj deleted file mode 100644 index 34a1e3d31..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj deleted file mode 100644 index 04fc8dfd0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdm_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdm_periph.c.obj deleted file mode 100644 index f3d2336dd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdm_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj deleted file mode 100644 index a4b4dfcca..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj deleted file mode 100644 index dc962fa8c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj deleted file mode 100644 index d4b460917..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj deleted file mode 100644 index eef648ca7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/twai_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/twai_periph.c.obj deleted file mode 100644 index e935daadc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/twai_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj deleted file mode 100644 index d9b890d9f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/wdt_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/wdt_periph.c.obj deleted file mode 100644 index 6de122cd9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/wdt_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj deleted file mode 100644 index bdd463e73..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/cmake_install.cmake deleted file mode 100644 index 72db35c90..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/soc - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/libsoc.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/libsoc.a deleted file mode 100644 index 2bf0b0641..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/soc/libsoc.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj deleted file mode 100644 index 9896aaa64..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/cmake_install.cmake deleted file mode 100644 index 7fc7058cc..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/spi_flash - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/libspi_flash.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/libspi_flash.a deleted file mode 100644 index 9fd89ba3f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/spi_flash/libspi_flash.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj deleted file mode 100644 index c29abf27c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj deleted file mode 100644 index dd6b2b64e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/cmake_install.cmake deleted file mode 100644 index e4eef8555..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/xtensa - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/libxtensa.a b/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/libxtensa.a deleted file mode 100644 index 977934a27..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/bootloader/esp-idf/xtensa/libxtensa.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/app_trace.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/app_trace.c.obj deleted file mode 100644 index f03b3b72a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/app_trace.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/app_trace_util.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/app_trace_util.c.obj deleted file mode 100644 index a0aeadcb7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/app_trace_util.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/host_file_io.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/host_file_io.c.obj deleted file mode 100644 index 3602e05da..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/host_file_io.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/port/port_uart.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/port/port_uart.c.obj deleted file mode 100644 index 1040abce7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_trace/CMakeFiles/__idf_app_trace.dir/port/port_uart.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_update/CMakeFiles/__idf_app_update.dir/esp_ota_app_desc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_update/CMakeFiles/__idf_app_update.dir/esp_ota_app_desc.c.obj deleted file mode 100644 index 67c5a598d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_update/CMakeFiles/__idf_app_update.dir/esp_ota_app_desc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_update/CMakeFiles/__idf_app_update.dir/esp_ota_ops.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_update/CMakeFiles/__idf_app_update.dir/esp_ota_ops.c.obj deleted file mode 100644 index 26325d3bf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/app_update/CMakeFiles/__idf_app_update.dir/esp_ota_ops.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj deleted file mode 100644 index 36b07149c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32.c.obj deleted file mode 100644 index bc46f1300..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj deleted file mode 100644 index 33a4b177a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj deleted file mode 100644 index 99f88ec82..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj deleted file mode 100644 index d5321a055..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj deleted file mode 100644 index 4540baa16..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj deleted file mode 100644 index 581d95fc5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj deleted file mode 100644 index 9bfa8469a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj deleted file mode 100644 index 9353d61da..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj deleted file mode 100644 index 99591f28f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj deleted file mode 100644 index 3cd077c1e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/secure_boot_secure_features.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/secure_boot_secure_features.c.obj deleted file mode 100644 index 5a0dcd545..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/secure_boot_secure_features.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj deleted file mode 100644 index e58f32c80..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj deleted file mode 100644 index c9b1bc93d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj deleted file mode 100644 index 748243eee..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/idf/bootloader_sha.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/idf/bootloader_sha.c.obj deleted file mode 100644 index 74e9de787..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/idf/bootloader_sha.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj deleted file mode 100644 index c918e9803..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cmock/CMakeFiles/__idf_cmock.dir/CMock/src/cmock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cmock/CMakeFiles/__idf_cmock.dir/CMock/src/cmock.c.obj deleted file mode 100644 index f752cc3ee..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cmock/CMakeFiles/__idf_cmock.dir/CMock/src/cmock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_cmd.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_cmd.c.obj deleted file mode 100644 index 6392fff64..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_cmd.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_date.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_date.c.obj deleted file mode 100644 index 7c0b60bd3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_date.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_dbl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_dbl.c.obj deleted file mode 100644 index 49eecc628..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_dbl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_dstr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_dstr.c.obj deleted file mode 100644 index 449f39dd9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_dstr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_end.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_end.c.obj deleted file mode 100644 index 71a05fab2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_end.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_file.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_file.c.obj deleted file mode 100644 index fdd7cbc70..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_file.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_hashtable.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_hashtable.c.obj deleted file mode 100644 index 14d99110c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_hashtable.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_int.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_int.c.obj deleted file mode 100644 index 8367506c4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_int.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_lit.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_lit.c.obj deleted file mode 100644 index d224f33cd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_lit.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_rem.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_rem.c.obj deleted file mode 100644 index c65984698..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_rem.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_rex.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_rex.c.obj deleted file mode 100644 index 456cb8093..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_rex.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_str.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_str.c.obj deleted file mode 100644 index 761511f23..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_str.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_utils.c.obj deleted file mode 100644 index 8b02667d3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/arg_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/argtable3.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/argtable3.c.obj deleted file mode 100644 index b77efbdb1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/argtable3/argtable3.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/commands.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/commands.c.obj deleted file mode 100644 index 924db6b7e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/commands.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/esp_console_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/esp_console_common.c.obj deleted file mode 100644 index 946f81822..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/esp_console_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/esp_console_repl_chip.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/esp_console_repl_chip.c.obj deleted file mode 100644 index 8a171e1f9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/esp_console_repl_chip.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/linenoise/linenoise.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/linenoise/linenoise.c.obj deleted file mode 100644 index f9728cee1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/linenoise/linenoise.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/split_argv.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/split_argv.c.obj deleted file mode 100644 index 1fb7ee817..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/console/CMakeFiles/__idf_console.dir/split_argv.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_exception_stubs.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_exception_stubs.cpp.obj deleted file mode 100644 index af340290e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_exception_stubs.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_guards.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_guards.cpp.obj deleted file mode 100644 index df6c82559..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_guards.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_init.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_init.cpp.obj deleted file mode 100644 index 56d9445c6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/cxx/CMakeFiles/__idf_cxx.dir/cxx_init.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_dma_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_dma_legacy.c.obj deleted file mode 100644 index f575f1945..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_dma_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_i2s_deprecated.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_i2s_deprecated.c.obj deleted file mode 100644 index e3a423223..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_i2s_deprecated.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_legacy.c.obj deleted file mode 100644 index 5e5cb0004..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/adc_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/dac_common_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/dac_common_legacy.c.obj deleted file mode 100644 index 6ad097301..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/dac_common_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/esp32/dac_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/esp32/dac_legacy.c.obj deleted file mode 100644 index ec1de2ae5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/esp32/dac_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/i2s_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/i2s_legacy.c.obj deleted file mode 100644 index c91754350..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/i2s_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/mcpwm_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/mcpwm_legacy.c.obj deleted file mode 100644 index 9e43542c9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/mcpwm_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/pcnt_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/pcnt_legacy.c.obj deleted file mode 100644 index 789ed55c4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/pcnt_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/rmt_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/rmt_legacy.c.obj deleted file mode 100644 index a810e97c8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/rmt_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/sigma_delta_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/sigma_delta_legacy.c.obj deleted file mode 100644 index 5f59773e4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/sigma_delta_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/timer_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/timer_legacy.c.obj deleted file mode 100644 index 21626614b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/deprecated/timer_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/i2c/i2c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/i2c/i2c.c.obj deleted file mode 100644 index d84babbe5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/i2c/i2c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/touch_sensor/esp32/touch_sensor.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/touch_sensor/esp32/touch_sensor.c.obj deleted file mode 100644 index e92dad50d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/touch_sensor/esp32/touch_sensor.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/touch_sensor/touch_sensor_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/touch_sensor/touch_sensor_common.c.obj deleted file mode 100644 index 74af8c01f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/touch_sensor/touch_sensor_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/twai/twai.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/twai/twai.c.obj deleted file mode 100644 index b6ffa7571..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/driver/CMakeFiles/__idf_driver.dir/twai/twai.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj deleted file mode 100644 index 2d3bf8017..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj deleted file mode 100644 index 084903136..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj deleted file mode 100644 index 4b0ea8b00..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/without_key_purposes/three_key_blocks/esp_efuse_api_key.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/without_key_purposes/three_key_blocks/esp_efuse_api_key.c.obj deleted file mode 100644 index b9daaee44..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/without_key_purposes/three_key_blocks/esp_efuse_api_key.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj deleted file mode 100644 index 699ff1266..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj deleted file mode 100644 index d48b58ca4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_startup.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_startup.c.obj deleted file mode 100644 index e56f73de3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_startup.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj deleted file mode 100644 index 4118e812b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp-tls-crypto/esp_tls_crypto.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp-tls-crypto/esp_tls_crypto.c.obj deleted file mode 100644 index 0e1745587..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp-tls-crypto/esp_tls_crypto.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls.c.obj deleted file mode 100644 index 369e981e6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_error_capture.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_error_capture.c.obj deleted file mode 100644 index 5874d74b6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_error_capture.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_mbedtls.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_mbedtls.c.obj deleted file mode 100644 index e8073ef84..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_mbedtls.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_platform_port.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_platform_port.c.obj deleted file mode 100644 index ee7fa7d83..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp-tls/CMakeFiles/__idf_esp-tls.dir/esp_tls_platform_port.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_cali.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_cali.c.obj deleted file mode 100644 index 6c6626dbb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_cali.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_cali_curve_fitting.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_cali_curve_fitting.c.obj deleted file mode 100644 index 5a933e3a8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_cali_curve_fitting.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_common.c.obj deleted file mode 100644 index d394f286d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_continuous.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_continuous.c.obj deleted file mode 100644 index 10de73958..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_continuous.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_oneshot.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_oneshot.c.obj deleted file mode 100644 index 0bc156e27..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/adc_oneshot.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/deprecated/esp32/esp_adc_cal_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/deprecated/esp32/esp_adc_cal_legacy.c.obj deleted file mode 100644 index dc0dbd421..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/deprecated/esp32/esp_adc_cal_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/deprecated/esp_adc_cal_common_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/deprecated/esp_adc_cal_common_legacy.c.obj deleted file mode 100644 index a000d6ac6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/deprecated/esp_adc_cal_common_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/esp32/adc_cali_line_fitting.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/esp32/adc_cali_line_fitting.c.obj deleted file mode 100644 index e63c08b9a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/esp32/adc_cali_line_fitting.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/esp32/adc_dma.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/esp32/adc_dma.c.obj deleted file mode 100644 index 42f9385e0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_adc/CMakeFiles/__idf_esp_adc.dir/esp32/adc_dma.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj deleted file mode 100644 index aa4d5e23f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_bootloader_format/CMakeFiles/__idf_esp_bootloader_format.dir/esp_bootloader_desc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_bootloader_format/CMakeFiles/__idf_esp_bootloader_format.dir/esp_bootloader_desc.c.obj deleted file mode 100644 index f665e843b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_bootloader_format/CMakeFiles/__idf_esp_bootloader_format.dir/esp_bootloader_desc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/esp32/esp_coex_adapter.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/esp32/esp_coex_adapter.c.obj deleted file mode 100644 index 9fdd932ef..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/esp32/esp_coex_adapter.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/src/coexist_debug.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/src/coexist_debug.c.obj deleted file mode 100644 index b8a576b49..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/src/coexist_debug.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/src/coexist_debug_diagram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/src/coexist_debug_diagram.c.obj deleted file mode 100644 index b88fe8ddc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_coex/CMakeFiles/__idf_esp_coex.dir/src/coexist_debug_diagram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj deleted file mode 100644 index cc7e9fa0b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_cam/CMakeFiles/__idf_esp_driver_cam.dir/dvp_share_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_cam/CMakeFiles/__idf_esp_driver_cam.dir/dvp_share_ctrl.c.obj deleted file mode 100644 index ead933337..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_cam/CMakeFiles/__idf_esp_driver_cam.dir/dvp_share_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_cam/CMakeFiles/__idf_esp_driver_cam.dir/esp_cam_ctlr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_cam/CMakeFiles/__idf_esp_driver_cam.dir/esp_cam_ctlr.c.obj deleted file mode 100644 index b9a586097..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_cam/CMakeFiles/__idf_esp_driver_cam.dir/esp_cam_ctlr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_common.c.obj deleted file mode 100644 index 153c7c342..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_continuous.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_continuous.c.obj deleted file mode 100644 index 0791451bf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_continuous.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_cosine.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_cosine.c.obj deleted file mode 100644 index 04909e769..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_cosine.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_oneshot.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_oneshot.c.obj deleted file mode 100644 index 3301cce91..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/dac_oneshot.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/esp32/dac_dma.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/esp32/dac_dma.c.obj deleted file mode 100644 index 08b4ff6e5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_dac/CMakeFiles/__idf_esp_driver_dac.dir/esp32/dac_dma.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/gpio.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/gpio.c.obj deleted file mode 100644 index 76066284e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/gpio.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/gpio_glitch_filter_ops.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/gpio_glitch_filter_ops.c.obj deleted file mode 100644 index a36fc489c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/gpio_glitch_filter_ops.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/rtc_io.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/rtc_io.c.obj deleted file mode 100644 index 95f155296..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gpio/CMakeFiles/__idf_esp_driver_gpio.dir/src/rtc_io.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gptimer/CMakeFiles/__idf_esp_driver_gptimer.dir/src/gptimer.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gptimer/CMakeFiles/__idf_esp_driver_gptimer.dir/src/gptimer.c.obj deleted file mode 100644 index 288ded67c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gptimer/CMakeFiles/__idf_esp_driver_gptimer.dir/src/gptimer.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gptimer/CMakeFiles/__idf_esp_driver_gptimer.dir/src/gptimer_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gptimer/CMakeFiles/__idf_esp_driver_gptimer.dir/src/gptimer_common.c.obj deleted file mode 100644 index 2258342e2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_gptimer/CMakeFiles/__idf_esp_driver_gptimer.dir/src/gptimer_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_common.c.obj deleted file mode 100644 index 73abed996..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_master.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_master.c.obj deleted file mode 100644 index 9b320c7e4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_master.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_slave.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_slave.c.obj deleted file mode 100644 index 09c00ea40..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2c/CMakeFiles/__idf_esp_driver_i2c.dir/i2c_slave.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_common.c.obj deleted file mode 100644 index 2c083c5f2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_pdm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_pdm.c.obj deleted file mode 100644 index 4a53a3764..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_pdm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_platform.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_platform.c.obj deleted file mode 100644 index fb9a7a424..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_platform.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_std.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_std.c.obj deleted file mode 100644 index e0bbb6976..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_i2s/CMakeFiles/__idf_esp_driver_i2s.dir/i2s_std.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_ledc/CMakeFiles/__idf_esp_driver_ledc.dir/src/ledc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_ledc/CMakeFiles/__idf_esp_driver_ledc.dir/src/ledc.c.obj deleted file mode 100644 index 54f96846d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_ledc/CMakeFiles/__idf_esp_driver_ledc.dir/src/ledc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_cap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_cap.c.obj deleted file mode 100644 index 62b537189..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_cap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_cmpr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_cmpr.c.obj deleted file mode 100644 index 90ac81725..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_cmpr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_com.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_com.c.obj deleted file mode 100644 index 03b0f4bfe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_com.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_fault.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_fault.c.obj deleted file mode 100644 index d510bab81..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_fault.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_gen.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_gen.c.obj deleted file mode 100644 index aaecdb6ad..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_gen.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_oper.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_oper.c.obj deleted file mode 100644 index d2b9cfff8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_oper.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_sync.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_sync.c.obj deleted file mode 100644 index a002b808f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_sync.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_timer.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_timer.c.obj deleted file mode 100644 index 5b0d68cfb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_mcpwm/CMakeFiles/__idf_esp_driver_mcpwm.dir/src/mcpwm_timer.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_parlio/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_parlio/cmake_install.cmake deleted file mode 100644 index 313008be4..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_parlio/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_driver_parlio - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_parlio/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_pcnt/CMakeFiles/__idf_esp_driver_pcnt.dir/src/pulse_cnt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_pcnt/CMakeFiles/__idf_esp_driver_pcnt.dir/src/pulse_cnt.c.obj deleted file mode 100644 index dfdb8088e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_pcnt/CMakeFiles/__idf_esp_driver_pcnt.dir/src/pulse_cnt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_common.c.obj deleted file mode 100644 index faad546a3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_encoder.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_encoder.c.obj deleted file mode 100644 index 54a45eb65..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_encoder.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_rx.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_rx.c.obj deleted file mode 100644 index 06f2dfa15..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_rx.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_tx.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_tx.c.obj deleted file mode 100644 index 963b4f632..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_rmt/CMakeFiles/__idf_esp_driver_rmt.dir/src/rmt_tx.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdio/CMakeFiles/__idf_esp_driver_sdio.dir/src/sdio_slave.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdio/CMakeFiles/__idf_esp_driver_sdio.dir/src/sdio_slave.c.obj deleted file mode 100644 index c85b72008..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdio/CMakeFiles/__idf_esp_driver_sdio.dir/src/sdio_slave.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdm/CMakeFiles/__idf_esp_driver_sdm.dir/src/sdm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdm/CMakeFiles/__idf_esp_driver_sdm.dir/src/sdm.c.obj deleted file mode 100644 index b43f3b1c3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdm/CMakeFiles/__idf_esp_driver_sdm.dir/src/sdm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdmmc/CMakeFiles/__idf_esp_driver_sdmmc.dir/src/sdmmc_host.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdmmc/CMakeFiles/__idf_esp_driver_sdmmc.dir/src/sdmmc_host.c.obj deleted file mode 100644 index 65dff32cb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdmmc/CMakeFiles/__idf_esp_driver_sdmmc.dir/src/sdmmc_host.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdmmc/CMakeFiles/__idf_esp_driver_sdmmc.dir/src/sdmmc_transaction.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdmmc/CMakeFiles/__idf_esp_driver_sdmmc.dir/src/sdmmc_transaction.c.obj deleted file mode 100644 index d32941af0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdmmc/CMakeFiles/__idf_esp_driver_sdmmc.dir/src/sdmmc_transaction.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_crc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_crc.c.obj deleted file mode 100644 index fe5884402..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_crc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_host.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_host.c.obj deleted file mode 100644 index ef6ba05d2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_host.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_transaction.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_transaction.c.obj deleted file mode 100644 index 467f08565..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_sdspi/CMakeFiles/__idf_esp_driver_sdspi.dir/src/sdspi_transaction.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_common.c.obj deleted file mode 100644 index 1735f9d58..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_dma.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_dma.c.obj deleted file mode 100644 index 44111abbb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_dma.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_master.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_master.c.obj deleted file mode 100644 index a569c2888..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_master.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_slave.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_slave.c.obj deleted file mode 100644 index 83a6d1c20..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_spi/CMakeFiles/__idf_esp_driver_spi.dir/src/gpspi/spi_slave.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_uart/CMakeFiles/__idf_esp_driver_uart.dir/src/uart.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_uart/CMakeFiles/__idf_esp_driver_uart.dir/src/uart.c.obj deleted file mode 100644 index 0d604414e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_uart/CMakeFiles/__idf_esp_driver_uart.dir/src/uart.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_uart/CMakeFiles/__idf_esp_driver_uart.dir/src/uart_vfs.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_uart/CMakeFiles/__idf_esp_driver_uart.dir/src/uart_vfs.c.obj deleted file mode 100644 index e0cfc66c9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_driver_uart/CMakeFiles/__idf_esp_driver_uart.dir/src/uart_vfs.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/esp_eth.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/esp_eth.c.obj deleted file mode 100644 index 28baff577..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/esp_eth.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/esp_eth_netif_glue.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/esp_eth_netif_glue.c.obj deleted file mode 100644 index 126a9f81f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/esp_eth_netif_glue.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp.c.obj deleted file mode 100644 index e1c1965c3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp_dma.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp_dma.c.obj deleted file mode 100644 index 7b92a4d5e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp_dma.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp_gpio.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp_gpio.c.obj deleted file mode 100644 index d6991c999..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/mac/esp_eth_mac_esp_gpio.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_802_3.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_802_3.c.obj deleted file mode 100644 index 78a6b08d2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_802_3.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_dp83848.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_dp83848.c.obj deleted file mode 100644 index 232c587e9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_dp83848.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_generic.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_generic.c.obj deleted file mode 100644 index f99a24451..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_generic.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_ip101.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_ip101.c.obj deleted file mode 100644 index 8ed4b086b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_ip101.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_ksz80xx.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_ksz80xx.c.obj deleted file mode 100644 index 64187d332..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_ksz80xx.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_lan87xx.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_lan87xx.c.obj deleted file mode 100644 index 0c6fb2615..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_lan87xx.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_rtl8201.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_rtl8201.c.obj deleted file mode 100644 index 2500e1cec..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/phy/esp_eth_phy_rtl8201.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/default_event_loop.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/default_event_loop.c.obj deleted file mode 100644 index 88c29b259..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/default_event_loop.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/esp_event.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/esp_event.c.obj deleted file mode 100644 index 0de3fd14b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/esp_event.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/esp_event_private.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/esp_event_private.c.obj deleted file mode 100644 index 02bb1d40f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_event/CMakeFiles/__idf_esp_event.dir/esp_event_private.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/gdbstub.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/gdbstub.c.obj deleted file mode 100644 index 6c7871113..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/gdbstub.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/gdbstub_transport.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/gdbstub_transport.c.obj deleted file mode 100644 index b2b52fff2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/gdbstub_transport.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/packet.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/packet.c.obj deleted file mode 100644 index ea9087721..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/packet.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/gdbstub-entry.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/gdbstub-entry.S.obj deleted file mode 100644 index 5d15ccf8f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/gdbstub-entry.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/gdbstub_xtensa.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/gdbstub_xtensa.c.obj deleted file mode 100644 index b65abbd86..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/gdbstub_xtensa.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/xt_debugexception.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/xt_debugexception.S.obj deleted file mode 100644 index 74eaa6e25..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_gdbstub/CMakeFiles/__idf_esp_gdbstub.dir/src/port/xtensa/xt_debugexception.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hid_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hid_common.c.obj deleted file mode 100644 index 974143f8a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hid_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hidd.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hidd.c.obj deleted file mode 100644 index f89d91ecc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hidd.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hidh.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hidh.c.obj deleted file mode 100644 index e9ae2dde5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hid/CMakeFiles/__idf_esp_hid.dir/src/esp_hidh.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/esp_http_client.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/esp_http_client.c.obj deleted file mode 100644 index 7c962113a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/esp_http_client.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_auth.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_auth.c.obj deleted file mode 100644 index 5beb5e040..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_auth.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_header.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_header.c.obj deleted file mode 100644 index d2e54bab1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_header.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_utils.c.obj deleted file mode 100644 index fd78ef1d8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_client/CMakeFiles/__idf_esp_http_client.dir/lib/http_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_main.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_main.c.obj deleted file mode 100644 index 04db3e87f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_main.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_parse.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_parse.c.obj deleted file mode 100644 index 18047b95f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_parse.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_sess.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_sess.c.obj deleted file mode 100644 index 79f057ec7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_sess.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_txrx.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_txrx.c.obj deleted file mode 100644 index 0534e6214..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_txrx.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_uri.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_uri.c.obj deleted file mode 100644 index a17a19209..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_uri.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_ws.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_ws.c.obj deleted file mode 100644 index 1da627d46..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/httpd_ws.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/util/ctrl_sock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/util/ctrl_sock.c.obj deleted file mode 100644 index 9feffeb3a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_http_server/CMakeFiles/__idf_esp_http_server.dir/src/util/ctrl_sock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_https_ota/CMakeFiles/__idf_esp_https_ota.dir/src/esp_https_ota.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_https_ota/CMakeFiles/__idf_esp_https_ota.dir/src/esp_https_ota.c.obj deleted file mode 100644 index 72e6711f1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_https_ota/CMakeFiles/__idf_esp_https_ota.dir/src/esp_https_ota.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_https_server/CMakeFiles/__idf_esp_https_server.dir/src/https_server.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_https_server/CMakeFiles/__idf_esp_https_server.dir/src/https_server.c.obj deleted file mode 100644 index 6bbddd713..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_https_server/CMakeFiles/__idf_esp_https_server.dir/src/https_server.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/adc_share_hw_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/adc_share_hw_ctrl.c.obj deleted file mode 100644 index cfd830abe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/adc_share_hw_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/clk_ctrl_os.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/clk_ctrl_os.c.obj deleted file mode 100644 index 54aa7be2a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/clk_ctrl_os.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/clk_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/clk_utils.c.obj deleted file mode 100644 index 3b76503b6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/clk_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj deleted file mode 100644 index 284f0bf16..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/dma/esp_dma_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/dma/esp_dma_utils.c.obj deleted file mode 100644 index f142fc634..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/dma/esp_dma_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/dma/gdma_link.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/dma/gdma_link.c.obj deleted file mode 100644 index df8a2cade..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/dma/gdma_link.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_clk.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_clk.c.obj deleted file mode 100644 index 6c7222727..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_clk.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_clock_output.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_clock_output.c.obj deleted file mode 100644 index 8bc52dc78..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_clock_output.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_gpio_reserve.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_gpio_reserve.c.obj deleted file mode 100644 index a0e67df6a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_gpio_reserve.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj deleted file mode 100644 index faf8345bd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/hw_random.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/hw_random.c.obj deleted file mode 100644 index b450f2054..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/hw_random.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/intr_alloc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/intr_alloc.c.obj deleted file mode 100644 index 768f06ff4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/intr_alloc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/mac_addr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/mac_addr.c.obj deleted file mode 100644 index 82f3a02f8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/mac_addr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/mspi_timing_tuning.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/mspi_timing_tuning.c.obj deleted file mode 100644 index d0bfe62cd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/mspi_timing_tuning.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/periph_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/periph_ctrl.c.obj deleted file mode 100644 index 8a4795074..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/periph_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cache_sram_mmu.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cache_sram_mmu.c.obj deleted file mode 100644 index 139f47e75..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cache_sram_mmu.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj deleted file mode 100644 index 478090c24..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cpu_region_protect.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cpu_region_protect.c.obj deleted file mode 100644 index 0175baf09..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/cpu_region_protect.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_clk_tree.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_clk_tree.c.obj deleted file mode 100644 index 5e8d99f8b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_clk_tree.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_cpu_intr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_cpu_intr.c.obj deleted file mode 100644 index 2ce1e09af..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/esp_cpu_intr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/io_mux.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/io_mux.c.obj deleted file mode 100644 index fca417102..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/io_mux.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj deleted file mode 100644 index 8137881aa..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj deleted file mode 100644 index ce9beee6b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj deleted file mode 100644 index a050f6350..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj deleted file mode 100644 index 377cc9745..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj deleted file mode 100644 index 63b95bef4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/sar_periph_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/sar_periph_ctrl.c.obj deleted file mode 100644 index 2ab70e69a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/sar_periph_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp_clk_tree_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp_clk_tree_common.c.obj deleted file mode 100644 index 522a4df64..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp_clk_tree_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/regi2c_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/regi2c_ctrl.c.obj deleted file mode 100644 index 70b14bf52..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/regi2c_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/revision.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/revision.c.obj deleted file mode 100644 index 471c91df5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/revision.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/rtc_module.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/rtc_module.c.obj deleted file mode 100644 index 4e09ce4f0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/rtc_module.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/rtc_wdt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/rtc_wdt.c.obj deleted file mode 100644 index 42ca8d8b1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/rtc_wdt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sar_periph_ctrl_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sar_periph_ctrl_common.c.obj deleted file mode 100644 index 842cdd8ea..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sar_periph_ctrl_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_console.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_console.c.obj deleted file mode 100644 index 63e9a2edd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_console.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_event.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_event.c.obj deleted file mode 100644 index 733366f0c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_event.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_gpio.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_gpio.c.obj deleted file mode 100644 index 9d4418914..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_gpio.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_modem.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_modem.c.obj deleted file mode 100644 index 542eeda9c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_modem.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_modes.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_modes.c.obj deleted file mode 100644 index 040140af5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_modes.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_usb.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_usb.c.obj deleted file mode 100644 index 94ddc2559..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_usb.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_wake_stub.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_wake_stub.c.obj deleted file mode 100644 index ddc167498..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_wake_stub.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/spi_bus_lock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/spi_bus_lock.c.obj deleted file mode 100644 index 6a92e9aaa..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/spi_bus_lock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/spi_share_hw_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/spi_share_hw_ctrl.c.obj deleted file mode 100644 index 3dc878771..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/spi_share_hw_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/lowpower/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/lowpower/cmake_install.cmake deleted file mode 100644 index 9eb7fd593..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/lowpower/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/lowpower - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/lowpower/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/port/esp32/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/port/esp32/cmake_install.cmake deleted file mode 100644 index e507584a0..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/port/esp32/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32 - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_hw_support/port/esp32/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i2c/esp_lcd_panel_io_i2c_v1.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i2c/esp_lcd_panel_io_i2c_v1.c.obj deleted file mode 100644 index 0ea0f6369..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i2c/esp_lcd_panel_io_i2c_v1.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i2c/esp_lcd_panel_io_i2c_v2.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i2c/esp_lcd_panel_io_i2c_v2.c.obj deleted file mode 100644 index cd5fd93a0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i2c/esp_lcd_panel_io_i2c_v2.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i80/esp_lcd_panel_io_i2s.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i80/esp_lcd_panel_io_i2s.c.obj deleted file mode 100644 index 4d5f7dd60..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/i80/esp_lcd_panel_io_i2s.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/spi/esp_lcd_panel_io_spi.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/spi/esp_lcd_panel_io_spi.c.obj deleted file mode 100644 index f3244bd68..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/spi/esp_lcd_panel_io_spi.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_common.c.obj deleted file mode 100644 index a934fd8e1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_io.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_io.c.obj deleted file mode 100644 index d6ea0f07d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_io.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_nt35510.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_nt35510.c.obj deleted file mode 100644 index cd23abe28..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_nt35510.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_ops.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_ops.c.obj deleted file mode 100644 index 5fe698126..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_ops.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_ssd1306.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_ssd1306.c.obj deleted file mode 100644 index d45f0b365..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_ssd1306.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_st7789.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_st7789.c.obj deleted file mode 100644 index cf6510c94..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_lcd/CMakeFiles/__idf_esp_lcd.dir/src/esp_lcd_panel_st7789.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/proto-c/esp_local_ctrl.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/proto-c/esp_local_ctrl.pb-c.c.obj deleted file mode 100644 index 4788494d5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/proto-c/esp_local_ctrl.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl.c.obj deleted file mode 100644 index 6625c9abe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl_handler.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl_handler.c.obj deleted file mode 100644 index d8d15955f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl_handler.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl_transport_httpd.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl_transport_httpd.c.obj deleted file mode 100644 index da6128dda..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_local_ctrl/CMakeFiles/__idf_esp_local_ctrl.dir/src/esp_local_ctrl_transport_httpd.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/cache_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/cache_esp32.c.obj deleted file mode 100644 index 76dd70b71..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/cache_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/esp_cache.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/esp_cache.c.obj deleted file mode 100644 index 7787c60c8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/esp_cache.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/esp_mmu_map.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/esp_mmu_map.c.obj deleted file mode 100644 index c9a40620d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/esp_mmu_map.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/heap_align_hw.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/heap_align_hw.c.obj deleted file mode 100644 index 4c8b45e30..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/heap_align_hw.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/port/esp32/ext_mem_layout.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/port/esp32/ext_mem_layout.c.obj deleted file mode 100644 index 4fe3d924b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_mm/CMakeFiles/__idf_esp_mm.dir/port/esp32/ext_mem_layout.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_defaults.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_defaults.c.obj deleted file mode 100644 index 610969fd1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_defaults.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_handlers.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_handlers.c.obj deleted file mode 100644 index 427f382e6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_handlers.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_objects.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_objects.c.obj deleted file mode 100644 index 4fb5a33e3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/esp_netif_objects.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_lwip.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_lwip.c.obj deleted file mode 100644 index 7652efafe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_lwip.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_lwip_defaults.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_lwip_defaults.c.obj deleted file mode 100644 index ec7839570..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_lwip_defaults.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_sntp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_sntp.c.obj deleted file mode 100644 index 96091d222..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/esp_netif_sntp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/esp_pbuf_ref.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/esp_pbuf_ref.c.obj deleted file mode 100644 index f5637b842..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/esp_pbuf_ref.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/ethernetif.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/ethernetif.c.obj deleted file mode 100644 index 5769ba016..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/ethernetif.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/wlanif.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/wlanif.c.obj deleted file mode 100644 index 0f6a78a25..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_netif/CMakeFiles/__idf_esp_netif.dir/lwip/netif/wlanif.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_partition/CMakeFiles/__idf_esp_partition.dir/partition.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_partition/CMakeFiles/__idf_esp_partition.dir/partition.c.obj deleted file mode 100644 index a469a84c0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_partition/CMakeFiles/__idf_esp_partition.dir/partition.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_partition/CMakeFiles/__idf_esp_partition.dir/partition_target.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_partition/CMakeFiles/__idf_esp_partition.dir/partition_target.c.obj deleted file mode 100644 index bd184d69d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_partition/CMakeFiles/__idf_esp_partition.dir/partition_target.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/esp32/phy_init_data.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/esp32/phy_init_data.c.obj deleted file mode 100644 index 859a17ca1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/esp32/phy_init_data.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/btbb_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/btbb_init.c.obj deleted file mode 100644 index 9f5cb9f21..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/btbb_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/lib_printf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/lib_printf.c.obj deleted file mode 100644 index a589f5cfe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/lib_printf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_common.c.obj deleted file mode 100644 index fbfd8995a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_init.c.obj deleted file mode 100644 index 2517c6499..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_override.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_override.c.obj deleted file mode 100644 index 8b10ba0c5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_override.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_impl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_impl.c.obj deleted file mode 100644 index d38f6f47d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_impl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_locks.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_locks.c.obj deleted file mode 100644 index 004b13232..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_locks.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_trace.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_trace.c.obj deleted file mode 100644 index d61da90cf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_trace.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_ringbuf/CMakeFiles/__idf_esp_ringbuf.dir/ringbuf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_ringbuf/CMakeFiles/__idf_esp_ringbuf.dir/ringbuf.c.obj deleted file mode 100644 index 9ab4f79c3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_ringbuf/CMakeFiles/__idf_esp_ringbuf.dir/ringbuf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj deleted file mode 100644 index e34450e29..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj deleted file mode 100644 index fb45ccf33..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_gpio.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_gpio.c.obj deleted file mode 100644 index 8158cb1a2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_gpio.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj deleted file mode 100644 index 3358d0f58..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_print.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_print.c.obj deleted file mode 100644 index 452ed5ce6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_print.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_spiflash.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_spiflash.c.obj deleted file mode 100644 index e0dd46787..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_spiflash.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj deleted file mode 100644 index afc7beadb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj deleted file mode 100644 index 37006d33a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_security/CMakeFiles/__idf_esp_security.dir/src/esp_crypto_lock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_security/CMakeFiles/__idf_esp_security.dir/src/esp_crypto_lock.c.obj deleted file mode 100644 index 9a0dfc234..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_security/CMakeFiles/__idf_esp_security.dir/src/esp_crypto_lock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_security/CMakeFiles/__idf_esp_security.dir/src/init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_security/CMakeFiles/__idf_esp_security.dir/src/init.c.obj deleted file mode 100644 index cc23ed937..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_security/CMakeFiles/__idf_esp_security.dir/src/init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/crosscore_int.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/crosscore_int.c.obj deleted file mode 100644 index b4d2e0cb9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/crosscore_int.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj deleted file mode 100644 index 1a529990e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_ipc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_ipc.c.obj deleted file mode 100644 index 37414501f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_ipc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_system.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_system.c.obj deleted file mode 100644 index d73a940ab..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_system.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/freertos_hooks.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/freertos_hooks.c.obj deleted file mode 100644 index 01cd0feca..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/freertos_hooks.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/int_wdt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/int_wdt.c.obj deleted file mode 100644 index e019fc872..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/int_wdt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/panic.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/panic.c.obj deleted file mode 100644 index 6e4ea915a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/panic.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_helpers.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_helpers.c.obj deleted file mode 100644 index d0e820af6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_helpers.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_helpers_asm.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_helpers_asm.S.obj deleted file mode 100644 index a39260536..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_helpers_asm.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_stubs.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_stubs.c.obj deleted file mode 100644 index 1a5a8c395..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/debug_stubs.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_handler.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_handler.S.obj deleted file mode 100644 index ef1ee6b29..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_handler.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_port.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_port.c.obj deleted file mode 100644 index 9806ce530..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_port.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_routines.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_routines.S.obj deleted file mode 100644 index 3781daca1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/esp_ipc_isr_routines.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/expression_with_stack.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/expression_with_stack.c.obj deleted file mode 100644 index 9f64f2933..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/expression_with_stack.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/expression_with_stack_asm.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/expression_with_stack_asm.S.obj deleted file mode 100644 index d4021cf83..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/expression_with_stack_asm.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/panic_arch.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/panic_arch.c.obj deleted file mode 100644 index 1cce03624..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/panic_arch.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/panic_handler_asm.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/panic_handler_asm.S.obj deleted file mode 100644 index 099621484..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/panic_handler_asm.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/trax.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/trax.c.obj deleted file mode 100644 index 4558203ee..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/arch/xtensa/trax.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/brownout.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/brownout.c.obj deleted file mode 100644 index 996a9785b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/brownout.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/cpu_start.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/cpu_start.c.obj deleted file mode 100644 index 84f14896d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/cpu_start.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/esp_ipc_isr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/esp_ipc_isr.c.obj deleted file mode 100644 index 4b7b53505..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/esp_ipc_isr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/esp_system_chip.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/esp_system_chip.c.obj deleted file mode 100644 index a0743173f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/esp_system_chip.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/image_process.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/image_process.c.obj deleted file mode 100644 index 1757a81bb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/image_process.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/panic_handler.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/panic_handler.c.obj deleted file mode 100644 index 16c62768a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/panic_handler.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/cache_err_int.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/cache_err_int.c.obj deleted file mode 100644 index fafe41caf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/cache_err_int.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/clk.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/clk.c.obj deleted file mode 100644 index 4d7fc6d16..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/clk.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/highint_hdl.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/highint_hdl.S.obj deleted file mode 100644 index a6e1e0986..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/highint_hdl.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/reset_reason.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/reset_reason.c.obj deleted file mode 100644 index fb370ea91..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/reset_reason.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/system_internal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/system_internal.c.obj deleted file mode 100644 index 610e2b46c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32/system_internal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/stack_check.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/stack_check.c.obj deleted file mode 100644 index 2fd1b899c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/stack_check.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/startup.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/startup.c.obj deleted file mode 100644 index f0f7d157f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/startup.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/startup_funcs.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/startup_funcs.c.obj deleted file mode 100644 index 024cb5d77..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/startup_funcs.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/system_time.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/system_time.c.obj deleted file mode 100644 index a9bc3ace1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/system_time.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/task_wdt/task_wdt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/task_wdt/task_wdt.c.obj deleted file mode 100644 index 2f059f5e5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/task_wdt/task_wdt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/task_wdt/task_wdt_impl_timergroup.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/task_wdt/task_wdt_impl_timergroup.c.obj deleted file mode 100644 index e893419d5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/task_wdt/task_wdt_impl_timergroup.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/ubsan.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/ubsan.c.obj deleted file mode 100644 index bb104ed96..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/ubsan.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/xt_wdt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/xt_wdt.c.obj deleted file mode 100644 index 3eaf1817a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/xt_wdt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/linker_script_generator.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/linker_script_generator.cmake deleted file mode 100644 index 845c872e7..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/linker_script_generator.cmake +++ /dev/null @@ -1,9 +0,0 @@ -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}") diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/memory.ld b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/memory.ld deleted file mode 100644 index f9fd88b57..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/memory.ld +++ /dev/null @@ -1,118 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -/* ESP32 Linker Script Memory Layout - - This file describes the memory layout (memory blocks) as virtual - memory addresses. - - esp32.project.ld contains output sections to link compiler output - into these memory blocks. - - *** - - This linker script is passed through the C preprocessor to include - configuration options. - - Please use preprocessor features sparingly! Restrict - to simple macros with numeric values, and/or #if/#endif blocks. -*/ -/* - * Automatically generated file. DO NOT EDIT. - * Espressif IoT Development Framework (ESP-IDF) 5.4.1 Configuration Header - */ - -/* List of deprecated options */ -/* - * SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -/* CPU instruction prefetch padding size for flash mmap scenario */ -/* - * PMP region granularity size - * Software may determine the PMP granularity by writing zero to pmp0cfg, then writing all ones - * to pmpaddr0, then reading back pmpaddr0. If G is the index of the least-significant bit set, - * the PMP granularity is 2^G+2 bytes. - */ -/* CPU instruction prefetch padding size for memory protection scenario */ -/* Memory alignment size for PMS */ - /* rtc timer data (s_rtc_timer_retain_mem, see esp_clk.c files). For rtc_timer_data_in_rtc_mem section. */ -/* If BT is not built at all */ -MEMORY -{ - /* All these values assume the flash cache is on, and have the blocks this uses subtracted from the length - of the various regions. The 'data access port' dram/drom regions map to the same iram/irom regions but - are connected to the data port of the CPU and eg allow bytewise access. */ - /* IRAM for PRO cpu. Not sure if happy with this, this is MMU area... */ - iram0_0_seg (RX) : org = 0x40080000, len = 0x20000 + 0x0 - /* Even though the segment name is iram, it is actually mapped to flash - */ - iram0_2_seg (RX) : org = 0x400D0020, len = 0x330000-0x20 - /* - (0x20 offset above is a convenience for the app binary image generation. - Flash cache has 64KB pages. The .bin file which is flashed to the chip - has a 0x18 byte file header, and each segment has a 0x08 byte segment - header. Setting this offset makes it simple to meet the flash cache MMU's - constraint that (paddr % 64KB == vaddr % 64KB).) - */ - /* Shared data RAM, excluding memory reserved for ROM bss/data/stack. - - Enabling Bluetooth & Trace Memory features in menuconfig will decrease - the amount of RAM available. - - Note: Length of this section *should* be 0x50000, and this extra DRAM is available - in heap at runtime. However due to static ROM memory usage at this 176KB mark, the - additional static memory temporarily cannot be used. - */ - dram0_0_seg (RW) : org = 0x3FFB0000 + 0, - len = 0x2c200 - 0 - /* Flash mapped constant data */ - drom0_0_seg (R) : org = 0x3F400020, len = 0x400000-0x20 - /* (See iram0_2_seg for meaning of 0x20 offset in the above.) */ - /* RTC fast memory (executable). Persists over deep sleep. */ - rtc_iram_seg(RWX) : org = 0x400C0000, len = 0x2000 - 0 - /* RTC fast memory (same block as above, rtc_iram_seg), viewed from data bus */ - rtc_data_seg(RW) : org = 0x3ff80000, len = 0x2000 - 0 - /* We reduced the size of rtc_iram_seg and rtc_data_seg by ESP_BOOTLOADER_RESERVE_RTC value. - It reserves the amount of RTC fast memory that we use for this memory segment. - This segment is intended for keeping bootloader rtc data (s_bootloader_retain_mem, when a Kconfig option is on). - The aim of this is to keep data that will not be moved around and have a fixed address. - org = 0x3ff80000 + 0x2000 - ESP_BOOTLOADER_RESERVE_RTC == SOC_RTC_DRAM_HIGH - sizeof(rtc_retain_mem_t) - */ - rtc_fast_reserved_seg(RW) : org = 0x3ff80000 + 0x2000 - 0, len = 0 - /* RTC slow memory (data accessible). Persists over deep sleep. - - Start of RTC slow memory is reserved for ULP co-processor code + data, if enabled. - */ - rtc_slow_seg(RW) : org = 0x50000000, len = 0x2000 - ((24)) - /* We reduced the size of rtc_slow_seg by RESERVE_RTC_MEM value. - It reserves the amount of RTC slow memory that we use for this memory segment. - This segment is intended for keeping rtc timer data (s_rtc_timer_retain_mem, see esp_clk.c files). - The aim of this is to keep data that will not be moved around and have a fixed address. - org = 0x50000000 + 0x2000 - RESERVE_RTC_MEM - */ - rtc_slow_reserved_seg(RW) : org = 0x50000000 + 0x2000 - ((24)), len = ((24)) - /* external memory */ - extern_ram_seg(RWX) : org = 0x3F800000, - len = 0x400000 -} -_heap_start = _heap_low_start; -_sram1_iram_start = 0x400A0000; -_sram1_iram_len = ( _iram_end > _sram1_iram_start) ? (_iram_end - _sram1_iram_start) : 0; -_heap_end = ALIGN(0x40000000 - _sram1_iram_len - 3, 4); -_data_seg_org = ORIGIN(rtc_data_seg); -/* The lines below define location alias for .rtc.data section based on Kconfig option. - When the option is not defined then use slow memory segment - else the data will be placed in fast memory segment */ -REGION_ALIAS("rtc_data_location", rtc_slow_seg ); - REGION_ALIAS("default_code_seg", iram0_2_seg); - REGION_ALIAS("default_rodata_seg", drom0_0_seg); -/** - * If rodata default segment is placed in `drom0_0_seg`, then flash's first rodata section must - * also be first in the segment. - */ - ASSERT(_rodata_start == ORIGIN(default_rodata_seg), - ".flash.appdesc section must be placed at the beginning of the rodata segment.") diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/sections.ld.in b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/sections.ld.in deleted file mode 100644 index 0a1103b54..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/ld/sections.ld.in +++ /dev/null @@ -1,525 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -/* - * SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -/* - * Automatically generated file. DO NOT EDIT. - * Espressif IoT Development Framework (ESP-IDF) 5.4.1 Configuration Header - */ - -/* List of deprecated options */ -/* CPU instruction prefetch padding size for flash mmap scenario */ -/* - * PMP region granularity size - * Software may determine the PMP granularity by writing zero to pmp0cfg, then writing all ones - * to pmpaddr0, then reading back pmpaddr0. If G is the index of the least-significant bit set, - * the PMP granularity is 2^G+2 bytes. - */ -/* CPU instruction prefetch padding size for memory protection scenario */ -/* Memory alignment size for PMS */ - /* rtc timer data (s_rtc_timer_retain_mem, see esp_clk.c files). For rtc_timer_data_in_rtc_mem section. */ -/* Default entry point */ -ENTRY(call_start_cpu0); -SECTIONS -{ - /** - * RTC fast memory holds RTC wake stub code, - * including from any source file named rtc_wake_stub*.c - */ - .rtc.text : - { - - . = ALIGN(4); - _rtc_text_start = ABSOLUTE(.); - mapping[rtc_text] - *rtc_wake_stub*.*(.literal .text .literal.* .text.*) - _rtc_text_end = ABSOLUTE(.); - } > rtc_iram_seg - /** - * This section is required to skip rtc.text area because rtc_iram_seg and - * rtc_data_seg are reflect the same address space on different buses. - */ - .rtc.dummy : - { - _rtc_dummy_start = ABSOLUTE(.); - _rtc_fast_start = ABSOLUTE(.); - . = SIZEOF(.rtc.text); - _rtc_dummy_end = ABSOLUTE(.); - } > rtc_data_seg - /** - * This section located in RTC FAST Memory area. - * It holds data marked with RTC_FAST_ATTR attribute. - * See the file "esp_attr.h" for more information. - */ - .rtc.force_fast : - { - - . = ALIGN(4); - _rtc_force_fast_start = ABSOLUTE(.); - mapping[rtc_force_fast] - *(.rtc.force_fast .rtc.force_fast.*) - - . = ALIGN(4); - _rtc_force_fast_end = ABSOLUTE(.); - } > rtc_data_seg - /** - * RTC data section holds RTC wake stub - * data/rodata, including from any source file - * named rtc_wake_stub*.c and the data marked with - * RTC_DATA_ATTR, RTC_RODATA_ATTR attributes. - * The memory location of the data is dependent on - * CONFIG_ESP32_RTCDATA_IN_FAST_MEM option. - */ - .rtc.data : - { - _rtc_data_start = ABSOLUTE(.); - mapping[rtc_data] - *rtc_wake_stub*.*(.data .rodata .data.* .rodata.*) - _rtc_data_end = ABSOLUTE(.); - } > rtc_data_location - /* RTC bss, from any source file named rtc_wake_stub*.c */ - .rtc.bss (NOLOAD) : - { - _rtc_bss_start = ABSOLUTE(.); - *rtc_wake_stub*.*(.bss .bss.*) - *rtc_wake_stub*.*(COMMON) - mapping[rtc_bss] - _rtc_bss_end = ABSOLUTE(.); - } > rtc_data_location - /** - * This section holds data that should not be initialized at power up - * and will be retained during deep sleep. - * User data marked with RTC_NOINIT_ATTR will be placed - * into this section. See the file "esp_attr.h" for more information. - * The memory location of the data is dependent on - * CONFIG_ESP32_RTCDATA_IN_FAST_MEM option. - */ - .rtc_noinit (NOLOAD): - { - - . = ALIGN(4); - _rtc_noinit_start = ABSOLUTE(.); - *(.rtc_noinit .rtc_noinit.*) - - . = ALIGN(4); - _rtc_noinit_end = ABSOLUTE(.); - } > rtc_data_location - /** - * This section located in RTC SLOW Memory area. - * It holds data marked with RTC_SLOW_ATTR attribute. - * See the file "esp_attr.h" for more information. - */ - .rtc.force_slow : - { - - . = ALIGN(4); - _rtc_force_slow_start = ABSOLUTE(.); - *(.rtc.force_slow .rtc.force_slow.*) - - . = ALIGN(4); - _rtc_force_slow_end = ABSOLUTE(.); - } > rtc_slow_seg - /** - * This section holds RTC FAST data that should have fixed addresses. - * The data are not initialized at power-up and are retained during deep - * sleep. - */ - .rtc_fast_reserved (NOLOAD): - { - - . = ALIGN(4); - _rtc_fast_reserved_start = ABSOLUTE(.); - /** - * New data can only be added here to ensure existing data are not moved. - * Because data have adhered to the end of the segment and code is relied - * on it. - * >> put new data here << - */ - KEEP(*(.bootloader_data_rtc_mem .bootloader_data_rtc_mem.*)) - _rtc_fast_reserved_end = ABSOLUTE(.); - } > rtc_fast_reserved_seg - _rtc_fast_reserved_length = _rtc_fast_reserved_end - _rtc_fast_reserved_start; - ASSERT((_rtc_fast_reserved_length <= LENGTH(rtc_fast_reserved_seg)), - "RTC FAST reserved segment data does not fit.") - /** - * This section holds RTC SLOW data that should have fixed addresses. - * The data are not initialized at power-up and are retained during deep - * sleep. - */ - .rtc_slow_reserved (NOLOAD): - { - - . = ALIGN(4); - _rtc_slow_reserved_start = ABSOLUTE(.); - /** - * New data can only be added here to ensure existing data are not moved. - * Because data have adhered to the end of the segment and code is relied - * on it. - * >> put new data here << - */ - *(.rtc_timer_data_in_rtc_mem .rtc_timer_data_in_rtc_mem.*) - _rtc_slow_reserved_end = ABSOLUTE(.); - } > rtc_slow_reserved_seg - _rtc_slow_reserved_length = _rtc_slow_reserved_end - _rtc_slow_reserved_start; - _rtc_reserved_length = _rtc_slow_reserved_length; - ASSERT((_rtc_slow_reserved_length <= LENGTH(rtc_slow_reserved_seg)), - "RTC SLOW reserved segment data does not fit.") - /* Get size of rtc slow data based on rtc_data_location alias */ - _rtc_slow_length = (ORIGIN(rtc_slow_seg) == ORIGIN(rtc_data_location)) - ? (_rtc_force_slow_end - _rtc_data_start) - : (_rtc_force_slow_end - _rtc_force_slow_start); - _rtc_fast_length = (ORIGIN(rtc_slow_seg) == ORIGIN(rtc_data_location)) - ? (_rtc_force_fast_end - _rtc_fast_start) - : (_rtc_noinit_end - _rtc_fast_start); - ASSERT((_rtc_slow_length <= LENGTH(rtc_slow_seg)), - "RTC_SLOW segment data does not fit.") - ASSERT((_rtc_fast_length <= LENGTH(rtc_data_seg)), - "RTC_FAST segment data does not fit.") - /* Send .iram0 code to iram */ - .iram0.vectors : - { - _iram_start = ABSOLUTE(.); - /* Vectors go to IRAM */ - _vector_table = ABSOLUTE(.); - . = 0x0; - KEEP(*(.WindowVectors.text)); - . = 0x180; - KEEP(*(.Level2InterruptVector.text)); - . = 0x1c0; - KEEP(*(.Level3InterruptVector.text)); - . = 0x200; - KEEP(*(.Level4InterruptVector.text)); - . = 0x240; - KEEP(*(.Level5InterruptVector.text)); - . = 0x280; - KEEP(*(.DebugExceptionVector.text)); - . = 0x2c0; - KEEP(*(.NMIExceptionVector.text)); - . = 0x300; - KEEP(*(.KernelExceptionVector.text)); - . = 0x340; - KEEP(*(.UserExceptionVector.text)); - . = 0x3C0; - KEEP(*(.DoubleExceptionVector.text)); - . = 0x400; - _invalid_pc_placeholder = ABSOLUTE(.); - *(.*Vector.literal) - *(.UserEnter.literal); - *(.UserEnter.text); - . = ALIGN (16); - *(.entry.literal) - *(.entry.text) - *(.init.literal) - *(.init) - _init_end = ABSOLUTE(.); - } > iram0_0_seg - .iram0.text : - { - /* Code marked as running out of IRAM */ - _iram_text_start = ABSOLUTE(.); - mapping[iram0_text] - } > iram0_0_seg - .dram0.data : - { - _data_start = ABSOLUTE(.); - *(.gnu.linkonce.d.*) - *(.data1) - *(.sdata) - *(.sdata.*) - *(.gnu.linkonce.s.*) - *(.gnu.linkonce.s2.*) - *(.jcr) - mapping[dram0_data] - _data_end = ABSOLUTE(.); - } > dram0_0_seg - /** - * This section holds data that won't be initialised when startup. - * This section locates in External RAM region. - */ - .ext_ram_noinit (NOLOAD) : - { - _ext_ram_noinit_start = ABSOLUTE(.); - *(.ext_ram_noinit*) - - . = ALIGN(4); - _ext_ram_noinit_end = ABSOLUTE(.); - } > extern_ram_seg - /** - * This section holds data that should not be initialized at power up. - * The section located in Internal SRAM memory region. The macro _NOINIT - * can be used as attribute to place data into this section. - * See the "esp_attr.h" file for more information. - */ - .noinit (NOLOAD): - { - - . = ALIGN(4); - _noinit_start = ABSOLUTE(.); - *(.noinit .noinit.*) - - . = ALIGN(4); - _noinit_end = ABSOLUTE(.); - } > dram0_0_seg - /* External Memory BSS. (Variables with EXT_RAM_BSS_ATTR attribute). */ - .ext_ram.bss (NOLOAD) : - { - - . = ALIGN(4); - _ext_ram_bss_start = ABSOLUTE(.); - mapping[extern_ram] - - . = ALIGN(4); - _ext_ram_bss_end = ABSOLUTE(.); - } > extern_ram_seg - /* Shared RAM */ - .dram0.bss (NOLOAD) : - { - - . = ALIGN(8); - _bss_start = ABSOLUTE(.); - /** - * ldgen places all bss-related data to mapping[dram0_bss] - * (See components/esp_system/app.lf). - */ - mapping[dram0_bss] - - . = ALIGN(8); - _bss_end = ABSOLUTE(.); - } > dram0_0_seg - ASSERT(((_bss_end - ORIGIN(dram0_0_seg)) <= LENGTH(dram0_0_seg)), - "DRAM segment data does not fit.") - .flash.appdesc : ALIGN(0x10) - { - /** - * Mark flash.rodata start. - * This can be used for mmu driver to maintain virtual address - */ - _rodata_reserved_start = ABSOLUTE(.); - _rodata_start = ABSOLUTE(.); - /* !DO NOT PUT ANYTHING BEFORE THIS! */ - /* Should be the first. App version info. */ - *(.rodata_desc .rodata_desc.*) - /* Should be the second. Custom app version info. */ - *(.rodata_custom_desc .rodata_custom_desc.*) - /** - * Create an empty gap within this section. Thanks to this, the end of this - * section will match .flah.rodata's begin address. Thus, both sections - * will be merged when creating the final bin image. - */ - . = ALIGN(ALIGNOF(.flash.rodata)); - } > default_rodata_seg - ASSERT((ADDR(.flash.rodata) == ADDR(.flash.appdesc) + SIZEOF(.flash.appdesc)), "The gap between .flash.appdesc and .flash.rodata must not exist to produce the final bin image.") - .flash.rodata : ALIGN(0x10) - { - _flash_rodata_start = ABSOLUTE(.); - mapping[flash_rodata] - *(.irom1.text) /* catch stray ICACHE_RODATA_ATTR */ - *(.gnu.linkonce.r.*) - *(.rodata1) - /* C++ exception handlers table. */ - - . = ALIGN(4); - __XT_EXCEPTION_TABLE_ = ABSOLUTE(.); - *(.xt_except_table) - *(.gcc_except_table .gcc_except_table.*) - *(.gnu.linkonce.e.*) - - . = ALIGN(4); - __XT_EXCEPTION_DESCS_ = ABSOLUTE(.); - *(.xt_except_desc) - *(.gnu.linkonce.h.*) - __XT_EXCEPTION_DESCS_END__ = ABSOLUTE(.); - *(.xt_except_desc_end) - /** - * C++ constructor tables. - * - * Excluding crtbegin.o/crtend.o since IDF doesn't use the toolchain crt. - */ - - . = ALIGN(4); - __init_array_start = ABSOLUTE(.); - KEEP (*(EXCLUDE_FILE (*crtend.* *crtbegin.*) .ctors SORT(.ctors.*))) - __init_array_end = ABSOLUTE(.); - /* Addresses of memory regions reserved via SOC_RESERVE_MEMORY_REGION() */ - - . = ALIGN(4); - soc_reserved_memory_region_start = ABSOLUTE(.); - KEEP (*(.reserved_memory_address)) - soc_reserved_memory_region_end = ABSOLUTE(.); - /* System init functions registered via ESP_SYSTEM_INIT_FN */ - - . = ALIGN(4); - _esp_system_init_fn_array_start = ABSOLUTE(.); - KEEP (*(SORT_BY_INIT_PRIORITY(.esp_system_init_fn.*))) - _esp_system_init_fn_array_end = ABSOLUTE(.); - _rodata_end = ABSOLUTE(.); - /* Literals are also RO data. */ - _lit4_start = ABSOLUTE(.); - *(*.lit4) - *(.lit4.*) - *(.gnu.linkonce.lit4.*) - _lit4_end = ABSOLUTE(.); - /* TLS data. */ - - . = ALIGN(4); - _thread_local_start = ABSOLUTE(.); - *(.tdata) - *(.tdata.*) - *(.tbss) - *(.tbss.*) - _thread_local_end = ABSOLUTE(.); - } > default_rodata_seg - _flash_rodata_align = ALIGNOF(.flash.rodata); - /** - * This section contains all the rodata that is not used - * at runtime, helping to avoid an increase in binary size. - */ - .flash.rodata_noload (NOLOAD) : - { - /** - * This symbol marks the end of flash.rodata. It can be utilized by the MMU - * driver to maintain the virtual address. - * NOLOAD rodata may not be included in this section. - */ - _rodata_reserved_end = ABSOLUTE(.); - mapping[rodata_noload] - } > default_rodata_seg - .flash.text : - { - _stext = .; - /** - * Mark the start of flash.text. - * This can be used by the MMU driver to maintain the virtual address. - */ - _instruction_reserved_start = ABSOLUTE(.); - _text_start = ABSOLUTE(.); - mapping[flash_text] - *(.stub) - *(.gnu.warning) - *(.gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*) - *(.irom0.text) /* catch stray ICACHE_RODATA_ATTR */ - /** - * CPU will try to prefetch up to 16 bytes of of instructions. - * This means that any configuration (e.g. MMU, PMS) must allow - * safe access to up to 16 bytes after the last real instruction, - * add dummy bytes to ensure this. - */ - . += 16; - _text_end = ABSOLUTE(.); - /** - * Mark the flash.text end. - * This can be used for MMU driver to maintain virtual address. - */ - _instruction_reserved_end = ABSOLUTE(.); - _etext = .; - /** - * Similar to _iram_start, this symbol goes here so it is - * resolved by addr2line in preference to the first symbol in - * the flash.text segment. - */ - _flash_cache_start = ABSOLUTE(0); - } > default_code_seg - /* Marks the end of IRAM code segment */ - .iram0.text_end (NOLOAD) : - { - - . = ALIGN(4); - _iram_text_end = ABSOLUTE(.); - } > iram0_0_seg - .iram0.data : - { - - . = ALIGN(4); - _iram_data_start = ABSOLUTE(.); - mapping[iram0_data] - _iram_data_end = ABSOLUTE(.); - } > iram0_0_seg - .iram0.bss (NOLOAD) : - { - - . = ALIGN(4); - _iram_bss_start = ABSOLUTE(.); - mapping[iram0_bss] - _iram_bss_end = ABSOLUTE(.); - - . = ALIGN(4); - _iram_end = ABSOLUTE(.); - } > iram0_0_seg - /* Marks the end of data, bss and possibly rodata */ - .dram0.heap_start (NOLOAD) : - { - /* Lowest possible start address for the heap */ - - . = ALIGN(8); - _heap_low_start = ABSOLUTE(.); - } > dram0_0_seg - /* DWARF 1 */ - .debug 0 : { *(.debug) } - .line 0 : { *(.line) } - /* GNU DWARF 1 extensions */ - .debug_srcinfo 0 : { *(.debug_srcinfo) } - .debug_sfnames 0 : { *(.debug_sfnames) } - /* DWARF 1.1 and DWARF 2 */ - .debug_aranges 0 : { *(.debug_aranges) } - .debug_pubnames 0 : { *(.debug_pubnames) } - /* DWARF 2 */ - .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_line 0 : { *(.debug_line) } - .debug_frame 0 : { *(.debug_frame) } - .debug_str 0 : { *(.debug_str) } - .debug_loc 0 : { *(.debug_loc) } - .debug_macinfo 0 : { *(.debug_macinfo) } - .debug_pubtypes 0 : { *(.debug_pubtypes) } - /* DWARF 3 */ - .debug_ranges 0 : { *(.debug_ranges) } - /* SGI/MIPS DWARF 2 extensions */ - .debug_weaknames 0 : { *(.debug_weaknames) } - .debug_funcnames 0 : { *(.debug_funcnames) } - .debug_typenames 0 : { *(.debug_typenames) } - .debug_varnames 0 : { *(.debug_varnames) } - /* GNU DWARF 2 extensions */ - .debug_gnu_pubnames 0 : { *(.debug_gnu_pubnames) } - .debug_gnu_pubtypes 0 : { *(.debug_gnu_pubtypes) } - /* DWARF 4 */ - .debug_types 0 : { *(.debug_types) } - /* DWARF 5 */ - .debug_addr 0 : { *(.debug_addr) } - .debug_line_str 0 : { *(.debug_line_str) } - .debug_loclists 0 : { *(.debug_loclists) } - .debug_macro 0 : { *(.debug_macro) } - .debug_names 0 : { *(.debug_names) } - .debug_rnglists 0 : { *(.debug_rnglists) } - .debug_str_offsets 0 : { *(.debug_str_offsets) } - .comment 0 : { *(.comment) } - .note.GNU-stack 0: { *(.note.GNU-stack) } -/** - * .xt.prop and .xt.lit sections will be used by the debugger and disassembler - * to get more information about raw data present in the code. - * Indeed, it may be required to add some padding at some points in the code - * in order to align a branch/jump destination on a particular bound. - * Padding these instructions will generate null bytes that shall be - * interpreted as data, and not code by the debugger or disassembler. - * This section will only be present in the ELF file, not in the final binary - * For more details, check GCC-212 - */ - .xtensa.info 0: { *(.xtensa.info) } - .xt.prop 0 : { *(.xt.prop .xt.prop.* .gnu.linkonce.prop.*) } - .xt.lit 0 : { *(.xt.lit .xt.lit.* .gnu.linkonce.p.*) } - /DISCARD/ : - { - *(.fini) - *(.eh_frame_hdr) - *(.eh_frame) - } -} -ASSERT(((_iram_end - ORIGIN(iram0_0_seg)) <= LENGTH(iram0_0_seg)), - "IRAM0 segment data does not fit.") -ASSERT(((_heap_low_start - ORIGIN(dram0_0_seg)) <= LENGTH(dram0_0_seg)), - "DRAM segment data does not fit.") diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/cmake_install.cmake deleted file mode 100644 index f4ebee81e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/cmake_install.cmake +++ /dev/null @@ -1,50 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(NOT CMAKE_INSTALL_LOCAL_ONLY) - # Include the install script for the subdirectory. - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/soc/esp32/cmake_install.cmake") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/soc/esp32/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/soc/esp32/cmake_install.cmake deleted file mode 100644 index e0079df35..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/soc/esp32/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/esp_system/port/soc/esp32 - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_system/port/soc/esp32/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer.c.obj deleted file mode 100644 index 504982870..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_impl_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_impl_common.c.obj deleted file mode 100644 index 10efa80be..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_impl_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_impl_lac.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_impl_lac.c.obj deleted file mode 100644 index 0806637e7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_impl_lac.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_init.c.obj deleted file mode 100644 index c2b2553f6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/ets_timer_legacy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/ets_timer_legacy.c.obj deleted file mode 100644 index 23a47b41e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/ets_timer_legacy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/system_time.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/system_time.c.obj deleted file mode 100644 index 9724a155f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/system_time.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_vfs_console/CMakeFiles/__idf_esp_vfs_console.dir/vfs_console.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_vfs_console/CMakeFiles/__idf_esp_vfs_console.dir/vfs_console.c.obj deleted file mode 100644 index 0a4b8fbb3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_vfs_console/CMakeFiles/__idf_esp_vfs_console.dir/vfs_console.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/esp32/esp_adapter.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/esp32/esp_adapter.c.obj deleted file mode 100644 index aedc8effb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/esp32/esp_adapter.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/lib_printf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/lib_printf.c.obj deleted file mode 100644 index 8c8970001..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/lib_printf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/mesh_event.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/mesh_event.c.obj deleted file mode 100644 index b857e334a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/mesh_event.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/smartconfig.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/smartconfig.c.obj deleted file mode 100644 index 7cc13a31d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/smartconfig.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/smartconfig_ack.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/smartconfig_ack.c.obj deleted file mode 100644 index daa5c4455..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/smartconfig_ack.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_default.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_default.c.obj deleted file mode 100644 index 5aa057a0c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_default.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_default_ap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_default_ap.c.obj deleted file mode 100644 index 955291039..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_default_ap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_init.c.obj deleted file mode 100644 index 6ba935246..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_netif.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_netif.c.obj deleted file mode 100644 index 764c73d64..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/src/wifi_netif.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_binary.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_binary.c.obj deleted file mode 100644 index 174ca0ff6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_binary.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_common.c.obj deleted file mode 100644 index 493121eb7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_crc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_crc.c.obj deleted file mode 100644 index adb6650e7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_crc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_elf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_elf.c.obj deleted file mode 100644 index 0cb4489b1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_elf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_flash.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_flash.c.obj deleted file mode 100644 index 2ee03eeb4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_flash.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_init.c.obj deleted file mode 100644 index 6fca518a9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_sha.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_sha.c.obj deleted file mode 100644 index 680ce8265..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_sha.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_uart.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_uart.c.obj deleted file mode 100644 index 404ce3f97..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/core_dump_uart.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/port/xtensa/core_dump_port.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/port/xtensa/core_dump_port.c.obj deleted file mode 100644 index b8083adbc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espcoredump/CMakeFiles/__idf_espcoredump.dir/src/port/xtensa/core_dump_port.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__bme280/CMakeFiles/__idf_espressif__bme280.dir/bme280.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__bme280/CMakeFiles/__idf_espressif__bme280.dir/bme280.c.obj deleted file mode 100644 index 00a3750bc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__bme280/CMakeFiles/__idf_espressif__bme280.dir/bme280.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__i2c_bus/CMakeFiles/__idf_espressif__i2c_bus.dir/i2c_bus_v2.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__i2c_bus/CMakeFiles/__idf_espressif__i2c_bus.dir/i2c_bus_v2.c.obj deleted file mode 100644 index e78907ccd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__i2c_bus/CMakeFiles/__idf_espressif__i2c_bus.dir/i2c_bus_v2.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/mqtt_msg.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/mqtt_msg.c.obj deleted file mode 100644 index e1c37fcbe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/mqtt_msg.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/mqtt_outbox.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/mqtt_outbox.c.obj deleted file mode 100644 index 6ed381ed2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/mqtt_outbox.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/platform_esp32_idf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/platform_esp32_idf.c.obj deleted file mode 100644 index 3daa8e449..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/lib/platform_esp32_idf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/mqtt_client.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/mqtt_client.c.obj deleted file mode 100644 index 8aa78d603..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/espressif__mqtt/CMakeFiles/__idf_espressif__mqtt.dir/mqtt_client.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio.c.obj deleted file mode 100644 index cb7ede5fc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_rawflash.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_rawflash.c.obj deleted file mode 100644 index 38740996c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_rawflash.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_sdmmc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_sdmmc.c.obj deleted file mode 100644 index c453310df..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_sdmmc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_wl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_wl.c.obj deleted file mode 100644 index 874aa1ed2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/diskio/diskio_wl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/port/freertos/ffsystem.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/port/freertos/ffsystem.c.obj deleted file mode 100644 index 6379fe9f6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/port/freertos/ffsystem.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/src/ff.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/src/ff.c.obj deleted file mode 100644 index b6d9c0a3f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/src/ff.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/src/ffunicode.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/src/ffunicode.c.obj deleted file mode 100644 index d5775bea0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/src/ffunicode.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat.c.obj deleted file mode 100644 index 785b71bca..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat_sdmmc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat_sdmmc.c.obj deleted file mode 100644 index eb7b8e0c4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat_sdmmc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat_spiflash.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat_spiflash.c.obj deleted file mode 100644 index bf6a10da7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/fatfs/CMakeFiles/__idf_fatfs.dir/vfs/vfs_fat_spiflash.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/event_groups.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/event_groups.c.obj deleted file mode 100644 index fdb2a71ff..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/event_groups.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/list.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/list.c.obj deleted file mode 100644 index 610aa1ee5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/list.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/port.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/port.c.obj deleted file mode 100644 index bd06b5fbf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/port.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/portasm.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/portasm.S.obj deleted file mode 100644 index 94194c83d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/portasm.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/xtensa_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/xtensa_init.c.obj deleted file mode 100644 index 3621e7050..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/xtensa_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/xtensa_overlay_os_hook.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/xtensa_overlay_os_hook.c.obj deleted file mode 100644 index 8b227263d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/xtensa/xtensa_overlay_os_hook.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/queue.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/queue.c.obj deleted file mode 100644 index fdce2504d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/queue.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/stream_buffer.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/stream_buffer.c.obj deleted file mode 100644 index 8a7e6ae11..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/stream_buffer.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/tasks.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/tasks.c.obj deleted file mode 100644 index ea1442437..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/tasks.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/timers.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/timers.c.obj deleted file mode 100644 index 0576081ee..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/timers.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/app_startup.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/app_startup.c.obj deleted file mode 100644 index 1172ee9e5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/app_startup.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/freertos_compatibility.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/freertos_compatibility.c.obj deleted file mode 100644 index 1644c2bb6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/freertos_compatibility.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/idf_additions.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/idf_additions.c.obj deleted file mode 100644 index ca8c4dd28..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/idf_additions.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/idf_additions_event_groups.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/idf_additions_event_groups.c.obj deleted file mode 100644 index 49242a238..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/esp_additions/idf_additions_event_groups.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/heap_idf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/heap_idf.c.obj deleted file mode 100644 index ba510e4b0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/heap_idf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/port_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/port_common.c.obj deleted file mode 100644 index 3c7e120ab..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/port_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/port_systick.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/port_systick.c.obj deleted file mode 100644 index 17e4c449b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/freertos/CMakeFiles/__idf_freertos.dir/port_systick.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_hal.c.obj deleted file mode 100644 index d918fdd9b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_hal_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_hal_common.c.obj deleted file mode 100644 index 1817df93d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_hal_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_oneshot_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_oneshot_hal.c.obj deleted file mode 100644 index 75234fe87..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/adc_oneshot_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/aes_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/aes_hal.c.obj deleted file mode 100644 index 83c7db542..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/aes_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/brownout_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/brownout_hal.c.obj deleted file mode 100644 index 7c29160da..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/brownout_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/color_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/color_hal.c.obj deleted file mode 100644 index 0d38d685a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/color_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj deleted file mode 100644 index ef04890d1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/emac_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/emac_hal.c.obj deleted file mode 100644 index 0410791da..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/emac_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/cache_hal_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/cache_hal_esp32.c.obj deleted file mode 100644 index 1420898d4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/cache_hal_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/clk_tree_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/clk_tree_hal.c.obj deleted file mode 100644 index 0c0f7831a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/clk_tree_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/efuse_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/efuse_hal.c.obj deleted file mode 100644 index f58d9ba3f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/efuse_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/gpio_hal_workaround.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/gpio_hal_workaround.c.obj deleted file mode 100644 index 06f6ed7cc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/gpio_hal_workaround.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/touch_sensor_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/touch_sensor_hal.c.obj deleted file mode 100644 index 3b319617c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/touch_sensor_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/gpio_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/gpio_hal.c.obj deleted file mode 100644 index c0027e660..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/gpio_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/hal_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/hal_utils.c.obj deleted file mode 100644 index 1f120301e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/hal_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2c_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2c_hal.c.obj deleted file mode 100644 index 6b1a51697..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2c_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2c_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2c_hal_iram.c.obj deleted file mode 100644 index b73a87693..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2c_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2s_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2s_hal.c.obj deleted file mode 100644 index 82e9bcef7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/i2s_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/ledc_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/ledc_hal.c.obj deleted file mode 100644 index 253a2bb11..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/ledc_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/ledc_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/ledc_hal_iram.c.obj deleted file mode 100644 index eb4fdb8ce..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/ledc_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mcpwm_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mcpwm_hal.c.obj deleted file mode 100644 index d97692cf7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mcpwm_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj deleted file mode 100644 index fc0399a45..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpi_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpi_hal.c.obj deleted file mode 100644 index fa7193e41..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpi_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj deleted file mode 100644 index 931385a81..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/pcnt_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/pcnt_hal.c.obj deleted file mode 100644 index 46404242c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/pcnt_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/rmt_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/rmt_hal.c.obj deleted file mode 100644 index 86801ae96..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/rmt_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/rtc_io_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/rtc_io_hal.c.obj deleted file mode 100644 index 214b91620..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/rtc_io_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdio_slave_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdio_slave_hal.c.obj deleted file mode 100644 index c640ae08c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdio_slave_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdm_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdm_hal.c.obj deleted file mode 100644 index 395aced60..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdm_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdmmc_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdmmc_hal.c.obj deleted file mode 100644 index 4d1063ff9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sdmmc_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sha_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sha_hal.c.obj deleted file mode 100644 index b93db0c51..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/sha_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_encrypt_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_encrypt_hal_iram.c.obj deleted file mode 100644 index b2e422587..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_encrypt_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_hal.c.obj deleted file mode 100644 index 92613bf6e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_hal_iram.c.obj deleted file mode 100644 index 8ee176f46..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_flash_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_hal.c.obj deleted file mode 100644 index d40f36849..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_hal_iram.c.obj deleted file mode 100644 index 21bf89fe2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_slave_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_slave_hal.c.obj deleted file mode 100644 index 831d2efc2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_slave_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_slave_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_slave_hal_iram.c.obj deleted file mode 100644 index 42b914881..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_slave_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/timer_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/timer_hal.c.obj deleted file mode 100644 index 5d53a0b60..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/timer_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/touch_sensor_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/touch_sensor_hal.c.obj deleted file mode 100644 index 862680a95..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/touch_sensor_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/twai_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/twai_hal.c.obj deleted file mode 100644 index 7c83eb438..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/twai_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/twai_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/twai_hal_iram.c.obj deleted file mode 100644 index 1305ca2c8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/twai_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/uart_hal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/uart_hal.c.obj deleted file mode 100644 index ec825f0ba..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/uart_hal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/uart_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/uart_hal_iram.c.obj deleted file mode 100644 index 423d77fd7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/uart_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj deleted file mode 100644 index 743758493..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps.c.obj deleted file mode 100644 index afaea30e6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps_base.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps_base.c.obj deleted file mode 100644 index f9776b683..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps_base.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps_init.c.obj deleted file mode 100644 index 931aaded8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/multi_heap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/multi_heap.c.obj deleted file mode 100644 index 30626e8da..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/multi_heap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/port/esp32/memory_layout.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/port/esp32/memory_layout.c.obj deleted file mode 100644 index 1833cae8e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/port/esp32/memory_layout.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/port/memory_layout_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/port/memory_layout_utils.c.obj deleted file mode 100644 index dffff33ea..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/port/memory_layout_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/tlsf/tlsf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/tlsf/tlsf.c.obj deleted file mode 100644 index c32cf8017..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/heap/CMakeFiles/__idf_heap.dir/tlsf/tlsf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/http_parser/CMakeFiles/__idf_http_parser.dir/http_parser.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/http_parser/CMakeFiles/__idf_http_parser.dir/http_parser.c.obj deleted file mode 100644 index 2d48c49a6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/http_parser/CMakeFiles/__idf_http_parser.dir/http_parser.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/json/CMakeFiles/__idf_json.dir/cJSON/cJSON.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/json/CMakeFiles/__idf_json.dir/cJSON/cJSON.c.obj deleted file mode 100644 index 6b1e52643..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/json/CMakeFiles/__idf_json.dir/cJSON/cJSON.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/json/CMakeFiles/__idf_json.dir/cJSON/cJSON_Utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/json/CMakeFiles/__idf_json.dir/cJSON/cJSON_Utils.c.obj deleted file mode 100644 index 44bc36daa..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/json/CMakeFiles/__idf_json.dir/cJSON/cJSON_Utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/buffer/log_buffers.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/buffer/log_buffers.c.obj deleted file mode 100644 index 7adb9f060..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/buffer/log_buffers.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/log_level.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/log_level.c.obj deleted file mode 100644 index 3da931469..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/log_level.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/cache/log_binary_heap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/cache/log_binary_heap.c.obj deleted file mode 100644 index 89daea037..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/cache/log_binary_heap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/linked_list/log_linked_list.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/linked_list/log_linked_list.c.obj deleted file mode 100644 index 868149811..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/linked_list/log_linked_list.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/tag_log_level.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/tag_log_level.c.obj deleted file mode 100644 index 8cdeaf477..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_level/tag_log_level/tag_log_level.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_timestamp_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_timestamp_common.c.obj deleted file mode 100644 index fc0822cdd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/log_timestamp_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_lock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_lock.c.obj deleted file mode 100644 index c2122af87..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_lock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_timestamp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_timestamp.c.obj deleted file mode 100644 index 7fbf074ec..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_timestamp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_write.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_write.c.obj deleted file mode 100644 index e39c0acfe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/os/log_write.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/util.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/util.c.obj deleted file mode 100644 index c851210ab..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/log/CMakeFiles/__idf_log.dir/src/util.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/dhcpserver/dhcpserver.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/dhcpserver/dhcpserver.c.obj deleted file mode 100644 index 3ee14461f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/dhcpserver/dhcpserver.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/esp_ping.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/esp_ping.c.obj deleted file mode 100644 index 2e58c7835..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/esp_ping.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/ping.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/ping.c.obj deleted file mode 100644 index 806c51cf9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/ping.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/ping_sock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/ping_sock.c.obj deleted file mode 100644 index 01cd001df..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/ping/ping_sock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/sntp/sntp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/sntp/sntp.c.obj deleted file mode 100644 index 59dc6d893..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/apps/sntp/sntp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/api_lib.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/api_lib.c.obj deleted file mode 100644 index 3193ac489..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/api_lib.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/api_msg.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/api_msg.c.obj deleted file mode 100644 index 73674206e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/api_msg.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/err.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/err.c.obj deleted file mode 100644 index 3e0180a6e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/err.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/if_api.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/if_api.c.obj deleted file mode 100644 index 2c4b4196e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/if_api.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netbuf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netbuf.c.obj deleted file mode 100644 index 8ac2ac3cb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netbuf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netdb.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netdb.c.obj deleted file mode 100644 index 5cc67e4ff..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netdb.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netifapi.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netifapi.c.obj deleted file mode 100644 index 7ad8e5225..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netifapi.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/sockets.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/sockets.c.obj deleted file mode 100644 index 83844cbe8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/sockets.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/tcpip.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/tcpip.c.obj deleted file mode 100644 index c4d908316..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/tcpip.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/netbiosns/netbiosns.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/netbiosns/netbiosns.c.obj deleted file mode 100644 index f272f0b09..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/netbiosns/netbiosns.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/sntp/sntp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/sntp/sntp.c.obj deleted file mode 100644 index f56b0d5a4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/sntp/sntp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/def.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/def.c.obj deleted file mode 100644 index abb17e70a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/def.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/dns.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/dns.c.obj deleted file mode 100644 index 0e6792241..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/dns.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/inet_chksum.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/inet_chksum.c.obj deleted file mode 100644 index 7a3586274..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/inet_chksum.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/init.c.obj deleted file mode 100644 index 2c0d94f3f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ip.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ip.c.obj deleted file mode 100644 index 9bd984c92..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ip.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/autoip.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/autoip.c.obj deleted file mode 100644 index d88c813d8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/autoip.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/dhcp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/dhcp.c.obj deleted file mode 100644 index f04799687..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/dhcp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/etharp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/etharp.c.obj deleted file mode 100644 index fc8b5dd5c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/etharp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/icmp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/icmp.c.obj deleted file mode 100644 index add3c3e4c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/icmp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/igmp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/igmp.c.obj deleted file mode 100644 index 25901aa94..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/igmp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4.c.obj deleted file mode 100644 index 880ae7389..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_addr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_addr.c.obj deleted file mode 100644 index d8d9875bb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_addr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_frag.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_frag.c.obj deleted file mode 100644 index 83a99fc68..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_frag.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_napt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_napt.c.obj deleted file mode 100644 index 8671b4852..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/ip4_napt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/dhcp6.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/dhcp6.c.obj deleted file mode 100644 index 16cb4f9dd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/dhcp6.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ethip6.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ethip6.c.obj deleted file mode 100644 index 63b5f57af..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ethip6.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/icmp6.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/icmp6.c.obj deleted file mode 100644 index 5751f535a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/icmp6.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/inet6.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/inet6.c.obj deleted file mode 100644 index 0d7149dde..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/inet6.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6.c.obj deleted file mode 100644 index 25e9439b6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6_addr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6_addr.c.obj deleted file mode 100644 index 506f352ff..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6_addr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6_frag.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6_frag.c.obj deleted file mode 100644 index cc81ac881..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/ip6_frag.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/mld6.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/mld6.c.obj deleted file mode 100644 index 4a99cdea5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/mld6.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/nd6.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/nd6.c.obj deleted file mode 100644 index fca1bbcdc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv6/nd6.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/mem.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/mem.c.obj deleted file mode 100644 index 8e4b89b14..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/mem.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/memp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/memp.c.obj deleted file mode 100644 index 3dd04b2dd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/memp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/netif.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/netif.c.obj deleted file mode 100644 index a67217388..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/netif.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/pbuf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/pbuf.c.obj deleted file mode 100644 index 7e15d5327..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/pbuf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/raw.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/raw.c.obj deleted file mode 100644 index 1e918954a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/raw.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/stats.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/stats.c.obj deleted file mode 100644 index f6467d668..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/stats.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/sys.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/sys.c.obj deleted file mode 100644 index a4c71a103..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/sys.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp.c.obj deleted file mode 100644 index 4421bf904..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp_in.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp_in.c.obj deleted file mode 100644 index ec599a89e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp_in.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp_out.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp_out.c.obj deleted file mode 100644 index da5252fe9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/tcp_out.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/timeouts.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/timeouts.c.obj deleted file mode 100644 index aceea7d93..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/timeouts.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/udp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/udp.c.obj deleted file mode 100644 index db03ce2a8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/udp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/bridgeif.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/bridgeif.c.obj deleted file mode 100644 index 2246b17a4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/bridgeif.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/bridgeif_fdb.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/bridgeif_fdb.c.obj deleted file mode 100644 index 257d804c0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/bridgeif_fdb.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ethernet.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ethernet.c.obj deleted file mode 100644 index 67974b243..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ethernet.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/auth.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/auth.c.obj deleted file mode 100644 index 2066491bf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/auth.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ccp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ccp.c.obj deleted file mode 100644 index 32b40d613..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ccp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap-md5.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap-md5.c.obj deleted file mode 100644 index 5870caed5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap-md5.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap-new.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap-new.c.obj deleted file mode 100644 index fc337c5a7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap-new.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap_ms.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap_ms.c.obj deleted file mode 100644 index 4a341bfa8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/chap_ms.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/demand.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/demand.c.obj deleted file mode 100644 index a48d32d10..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/demand.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/eap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/eap.c.obj deleted file mode 100644 index 76a473382..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/eap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ecp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ecp.c.obj deleted file mode 100644 index 1c97ed267..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ecp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/eui64.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/eui64.c.obj deleted file mode 100644 index a8d05c686..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/eui64.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/fsm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/fsm.c.obj deleted file mode 100644 index 9b8996d25..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/fsm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ipcp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ipcp.c.obj deleted file mode 100644 index b9dffc2c7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ipcp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ipv6cp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ipv6cp.c.obj deleted file mode 100644 index 3c0e48dd1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ipv6cp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/lcp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/lcp.c.obj deleted file mode 100644 index 5221b7e83..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/lcp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/magic.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/magic.c.obj deleted file mode 100644 index 35bfbf0f3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/magic.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/mppe.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/mppe.c.obj deleted file mode 100644 index 6ba26896c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/mppe.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/multilink.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/multilink.c.obj deleted file mode 100644 index 774c41102..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/multilink.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/arc4.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/arc4.c.obj deleted file mode 100644 index 809745ee9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/arc4.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/des.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/des.c.obj deleted file mode 100644 index 8e1173540..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/des.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/md4.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/md4.c.obj deleted file mode 100644 index a31ed81bb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/md4.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/md5.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/md5.c.obj deleted file mode 100644 index 9f74f6e29..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/md5.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/sha1.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/sha1.c.obj deleted file mode 100644 index 43e394742..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/polarssl/sha1.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ppp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ppp.c.obj deleted file mode 100644 index 590956452..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/ppp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppapi.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppapi.c.obj deleted file mode 100644 index 55ed7a7a0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppapi.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppcrypt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppcrypt.c.obj deleted file mode 100644 index 30d29704d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppcrypt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppoe.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppoe.c.obj deleted file mode 100644 index b168f8fe2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppoe.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppol2tp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppol2tp.c.obj deleted file mode 100644 index a462a6c5e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppol2tp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppos.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppos.c.obj deleted file mode 100644 index a663a4f44..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/pppos.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/upap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/upap.c.obj deleted file mode 100644 index 36322da68..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/upap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/utils.c.obj deleted file mode 100644 index a127b5ebe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/vj.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/vj.c.obj deleted file mode 100644 index 4569b1459..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/ppp/vj.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/slipif.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/slipif.c.obj deleted file mode 100644 index 71dc54a82..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/slipif.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/acd_dhcp_check.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/acd_dhcp_check.c.obj deleted file mode 100644 index 81e3b45c4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/acd_dhcp_check.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/debug/lwip_debug.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/debug/lwip_debug.c.obj deleted file mode 100644 index abc44b8c1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/debug/lwip_debug.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32xx/vfs_lwip.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32xx/vfs_lwip.c.obj deleted file mode 100644 index 928272d7f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/esp32xx/vfs_lwip.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/freertos/sys_arch.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/freertos/sys_arch.c.obj deleted file mode 100644 index 344ea8671..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/freertos/sys_arch.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/hooks/lwip_default_hooks.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/hooks/lwip_default_hooks.c.obj deleted file mode 100644 index 1a6dbbb96..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/hooks/lwip_default_hooks.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/hooks/tcp_isn_default.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/hooks/tcp_isn_default.c.obj deleted file mode 100644 index 43655c35b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/hooks/tcp_isn_default.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/sockets_ext.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/sockets_ext.c.obj deleted file mode 100644 index 4a3107839..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/lwip/CMakeFiles/__idf_lwip.dir/port/sockets_ext.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/main/CMakeFiles/__idf_main.dir/hello_world_main.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/main/CMakeFiles/__idf_main.dir/hello_world_main.c.obj deleted file mode 100644 index 3eaaaede3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/main/CMakeFiles/__idf_main.dir/hello_world_main.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/CMakeFiles/__idf_mbedtls.dir/__/__/x509_crt_bundle.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/CMakeFiles/__idf_mbedtls.dir/__/__/x509_crt_bundle.S.obj deleted file mode 100644 index d93d32a7e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/CMakeFiles/__idf_mbedtls.dir/__/__/x509_crt_bundle.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/CMakeFiles/__idf_mbedtls.dir/esp_crt_bundle/esp_crt_bundle.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/CMakeFiles/__idf_mbedtls.dir/esp_crt_bundle/esp_crt_bundle.c.obj deleted file mode 100644 index f5286c58f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/CMakeFiles/__idf_mbedtls.dir/esp_crt_bundle/esp_crt_bundle.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/cmake_install.cmake deleted file mode 100644 index cff12e542..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/cmake_install.cmake +++ /dev/null @@ -1,52 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/3rdparty - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(NOT CMAKE_INSTALL_LOCAL_ONLY) - # Include the install script for each subdirectory. - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/cmake_install.cmake") - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/cmake_install.cmake") - -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/Hacl_Curve25519_joined.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/Hacl_Curve25519_joined.c.obj deleted file mode 100644 index 2383c5e83..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/Hacl_Curve25519_joined.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/everest.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/everest.c.obj deleted file mode 100644 index 402163ab2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/everest.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/x25519.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/x25519.c.obj deleted file mode 100644 index 866d30911..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/library/x25519.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/cmake_install.cmake deleted file mode 100644 index 106741e05..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/cmake_install.cmake +++ /dev/null @@ -1,57 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/3rdparty/everest - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ DIR_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include/everest" FILES_MATCHING REGEX "/[^/]*\\.h$") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ FILES "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/CMakeFiles/everest.dir/install-cxx-module-bmi-noconfig.cmake" OPTIONAL) -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a deleted file mode 100644 index 72b8943f5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/CMakeFiles/p256m.dir/p256-m/p256-m.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/CMakeFiles/p256m.dir/p256-m/p256-m.c.obj deleted file mode 100644 index d29f83db7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/CMakeFiles/p256m.dir/p256-m/p256-m.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/CMakeFiles/p256m.dir/p256-m_driver_entrypoints.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/CMakeFiles/p256m.dir/p256-m_driver_entrypoints.c.obj deleted file mode 100644 index 927d508c1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/CMakeFiles/p256m.dir/p256-m_driver_entrypoints.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/cmake_install.cmake deleted file mode 100644 index 39ea9a0ea..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/cmake_install.cmake +++ /dev/null @@ -1,57 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ DIR_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/:/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m" FILES_MATCHING REGEX "/[^/]*\\.h$") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ FILES "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/CMakeFiles/p256m.dir/install-cxx-module-bmi-noconfig.cmake" OPTIONAL) -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a deleted file mode 100644 index 7a6210027..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/cmake_install.cmake deleted file mode 100644 index ad9e37105..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/cmake_install.cmake +++ /dev/null @@ -1,54 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(NOT CMAKE_INSTALL_LOCAL_ONLY) - # Include the install script for each subdirectory. - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/include/cmake_install.cmake") - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/3rdparty/cmake_install.cmake") - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/cmake_install.cmake") - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/pkgconfig/cmake_install.cmake") - -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/include/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/include/cmake_install.cmake deleted file mode 100644 index c0a530ae9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/include/cmake_install.cmake +++ /dev/null @@ -1,152 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/mbedtls" TYPE FILE PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ FILES - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/aes.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/aria.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/asn1.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/asn1write.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/base64.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/bignum.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/block_cipher.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/build_info.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/camellia.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ccm.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/chacha20.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/chachapoly.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/check_config.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/cipher.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/cmac.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/compat-2.x.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/config_adjust_legacy_from_psa.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/config_adjust_psa_from_legacy.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/config_adjust_psa_superset_legacy.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/config_adjust_ssl.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/config_adjust_x509.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/config_psa.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/constant_time.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ctr_drbg.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/debug.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/des.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/dhm.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ecdh.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ecdsa.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ecjpake.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ecp.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/entropy.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/error.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/gcm.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/hkdf.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/hmac_drbg.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/lms.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/mbedtls_config.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/md.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/md5.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/memory_buffer_alloc.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/net_sockets.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/nist_kw.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/oid.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/pem.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/pk.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/pkcs12.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/pkcs5.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/pkcs7.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/platform.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/platform_time.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/platform_util.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/poly1305.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/private_access.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/psa_util.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ripemd160.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/rsa.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/sha1.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/sha256.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/sha3.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/sha512.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ssl.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ssl_cache.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ssl_ciphersuites.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ssl_cookie.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/ssl_ticket.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/threading.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/timing.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/version.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/x509.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/x509_crl.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/x509_crt.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/mbedtls/x509_csr.h" - ) -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/psa" TYPE FILE PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ FILES - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/build_info.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_adjust_auto_enabled.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_adjust_config_dependencies.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_adjust_config_key_pair_types.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_adjust_config_synonyms.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_builtin_composites.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_builtin_key_derivation.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_builtin_primitives.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_compat.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_config.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_driver_common.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_driver_contexts_composites.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_driver_contexts_key_derivation.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_driver_contexts_primitives.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_extra.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_legacy.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_platform.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_se_driver.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_sizes.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_struct.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_types.h" - "/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/include/psa/crypto_values.h" - ) -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/include/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.obj deleted file mode 100644 index aa8ea5787..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesce.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesce.c.obj deleted file mode 100644 index 89f5f1505..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesce.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.obj deleted file mode 100644 index 687d0423d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.obj deleted file mode 100644 index bfd5c7f74..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.obj deleted file mode 100644 index dc5067fa0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1write.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1write.c.obj deleted file mode 100644 index 7ce7b3006..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1write.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/base64.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/base64.c.obj deleted file mode 100644 index 571ceba31..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/base64.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum.c.obj deleted file mode 100644 index d604a30ae..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_core.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_core.c.obj deleted file mode 100644 index 499bac502..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_core.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_mod.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_mod.c.obj deleted file mode 100644 index 69d156bc1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_mod.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_mod_raw.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_mod_raw.c.obj deleted file mode 100644 index b634a1e29..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum_mod_raw.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/block_cipher.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/block_cipher.c.obj deleted file mode 100644 index 057104b3c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/block_cipher.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/camellia.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/camellia.c.obj deleted file mode 100644 index 7e583dfcd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/camellia.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ccm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ccm.c.obj deleted file mode 100644 index 5002f430f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ccm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chacha20.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chacha20.c.obj deleted file mode 100644 index 9856e86db..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chacha20.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chachapoly.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chachapoly.c.obj deleted file mode 100644 index b8e0ebb89..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chachapoly.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher.c.obj deleted file mode 100644 index 6ec10e03d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.obj deleted file mode 100644 index ee9c373ec..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cmac.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cmac.c.obj deleted file mode 100644 index 22f8f1dfa..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cmac.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/constant_time.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/constant_time.c.obj deleted file mode 100644 index 36772c9bf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/constant_time.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.obj deleted file mode 100644 index 20b7346fc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/des.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/des.c.obj deleted file mode 100644 index 1499f05a4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/des.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/dhm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/dhm.c.obj deleted file mode 100644 index f8baf1dbe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/dhm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdh.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdh.c.obj deleted file mode 100644 index 4f452d84d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdh.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.obj deleted file mode 100644 index 6eeaeb2e1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.obj deleted file mode 100644 index 66e1afedd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp.c.obj deleted file mode 100644 index dc548d635..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.obj deleted file mode 100644 index 8a981e50d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves_new.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves_new.c.obj deleted file mode 100644 index 5b7d8dc05..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves_new.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy.c.obj deleted file mode 100644 index 053515210..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.obj deleted file mode 100644 index 24013a569..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/error.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/error.c.obj deleted file mode 100644 index 406f5e6bd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/error.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/gcm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/gcm.c.obj deleted file mode 100644 index a46833899..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/gcm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hkdf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hkdf.c.obj deleted file mode 100644 index 56beb9095..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hkdf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.obj deleted file mode 100644 index 88daebc2f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/block/esp_aes.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/block/esp_aes.c.obj deleted file mode 100644 index 988496449..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/block/esp_aes.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_common.c.obj deleted file mode 100644 index 074ad27db..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_gcm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_gcm.c.obj deleted file mode 100644 index ec4a11b82..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_gcm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_xts.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_xts.c.obj deleted file mode 100644 index ea079af69..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/aes/esp_aes_xts.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/bignum/bignum_alt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/bignum/bignum_alt.c.obj deleted file mode 100644 index ef408fc37..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/bignum/bignum_alt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/bignum/esp_bignum.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/bignum/esp_bignum.c.obj deleted file mode 100644 index 4ba184543..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/bignum/esp_bignum.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_hardware.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_hardware.c.obj deleted file mode 100644 index fe16e55bf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_hardware.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_mem.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_mem.c.obj deleted file mode 100644 index da3e40356..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_mem.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_timing.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_timing.c.obj deleted file mode 100644 index 2ceba3cc3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_timing.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/md/esp_md.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/md/esp_md.c.obj deleted file mode 100644 index 141c82a1b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/md/esp_md.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/esp_sha.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/esp_sha.c.obj deleted file mode 100644 index 9f67ae4e6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/esp_sha.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha1.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha1.c.obj deleted file mode 100644 index 051fe2c06..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha1.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha256.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha256.c.obj deleted file mode 100644 index 2546eb352..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha256.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha512.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha512.c.obj deleted file mode 100644 index f4f9b83e5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/esp_sha512.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/sha.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/sha.c.obj deleted file mode 100644 index fb5568a85..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/sha/parallel_engine/sha.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/lmots.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/lmots.c.obj deleted file mode 100644 index 63e1bc35c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/lmots.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/lms.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/lms.c.obj deleted file mode 100644 index 1ccdc22a5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/lms.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md.c.obj deleted file mode 100644 index c40beb01c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md5.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md5.c.obj deleted file mode 100644 index cbd7ef22b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md5.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.obj deleted file mode 100644 index 95e3bab2b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/nist_kw.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/nist_kw.c.obj deleted file mode 100644 index 2507f62c3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/nist_kw.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/oid.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/oid.c.obj deleted file mode 100644 index 0d540bda2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/oid.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/padlock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/padlock.c.obj deleted file mode 100644 index e439141fc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/padlock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pem.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pem.c.obj deleted file mode 100644 index 96380cf83..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pem.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk.c.obj deleted file mode 100644 index a3817a5eb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk_ecc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk_ecc.c.obj deleted file mode 100644 index d188a1406..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk_ecc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.obj deleted file mode 100644 index 3f7cb3855..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.obj deleted file mode 100644 index 35b63164c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.obj deleted file mode 100644 index e9d090566..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkparse.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkparse.c.obj deleted file mode 100644 index d2f24d712..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkparse.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.obj deleted file mode 100644 index b886d0f46..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform.c.obj deleted file mode 100644 index 77df60015..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform_util.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform_util.c.obj deleted file mode 100644 index 143ebf33e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform_util.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/poly1305.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/poly1305.c.obj deleted file mode 100644 index fbb64f576..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/poly1305.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.obj deleted file mode 100644 index 7b7fee71a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_aead.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_aead.c.obj deleted file mode 100644 index 97ed3eee5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_aead.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.obj deleted file mode 100644 index 4d4fa6335..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_client.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_client.c.obj deleted file mode 100644 index 6d41ca80c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_client.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers_no_static.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers_no_static.c.obj deleted file mode 100644 index 64c1efb3a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers_no_static.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ecp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ecp.c.obj deleted file mode 100644 index 6f036d0bd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ecp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ffdh.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ffdh.c.obj deleted file mode 100644 index 1f50cc06e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ffdh.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_hash.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_hash.c.obj deleted file mode 100644 index 7ad4d27c3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_hash.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_mac.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_mac.c.obj deleted file mode 100644 index 290a3e31e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_mac.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_pake.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_pake.c.obj deleted file mode 100644 index b5af69c37..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_pake.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_rsa.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_rsa.c.obj deleted file mode 100644 index e04fe9cb0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_rsa.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_se.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_se.c.obj deleted file mode 100644 index 08a3e1e40..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_se.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_slot_management.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_slot_management.c.obj deleted file mode 100644 index 8d2249e92..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_slot_management.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_storage.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_storage.c.obj deleted file mode 100644 index 8519c1239..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_storage.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_its_file.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_its_file.c.obj deleted file mode 100644 index 39ad6b68b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_its_file.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_util.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_util.c.obj deleted file mode 100644 index e62ce6b9e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_util.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.obj deleted file mode 100644 index c427ffa77..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa.c.obj deleted file mode 100644 index 454afa200..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa_alt_helpers.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa_alt_helpers.c.obj deleted file mode 100644 index 3936c904e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/rsa_alt_helpers.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha1.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha1.c.obj deleted file mode 100644 index 4313dd647..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha1.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha256.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha256.c.obj deleted file mode 100644 index 1ed1808f5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha256.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha3.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha3.c.obj deleted file mode 100644 index b8649002f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha3.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha512.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha512.c.obj deleted file mode 100644 index f9b40fcbc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/sha512.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/threading.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/threading.c.obj deleted file mode 100644 index bf1954357..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/threading.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/timing.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/timing.c.obj deleted file mode 100644 index 9103ff6c4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/timing.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version.c.obj deleted file mode 100644 index 28539b715..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version_features.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version_features.c.obj deleted file mode 100644 index 086c0142f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/version_features.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/debug.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/debug.c.obj deleted file mode 100644 index 0c5c709df..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/debug.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_platform_time.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_platform_time.c.obj deleted file mode 100644 index 1a5782c7a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/esp_platform_time.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/mbedtls_debug.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/mbedtls_debug.c.obj deleted file mode 100644 index e2bb1346b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/mbedtls_debug.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/net_sockets.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/net_sockets.c.obj deleted file mode 100644 index 405a4d18c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/port/net_sockets.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/mps_reader.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/mps_reader.c.obj deleted file mode 100644 index ab5a586f2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/mps_reader.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/mps_trace.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/mps_trace.c.obj deleted file mode 100644 index 904f84695..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/mps_trace.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cache.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cache.c.obj deleted file mode 100644 index e77d415ad..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cache.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_ciphersuites.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_ciphersuites.c.obj deleted file mode 100644 index 2627e7627..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_ciphersuites.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_client.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_client.c.obj deleted file mode 100644 index f265184f9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_client.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cookie.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cookie.c.obj deleted file mode 100644 index 8edc6ae60..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cookie.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_debug_helpers_generated.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_debug_helpers_generated.c.obj deleted file mode 100644 index c2ad9544e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_debug_helpers_generated.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_msg.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_msg.c.obj deleted file mode 100644 index b34d0b9d9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_msg.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_ticket.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_ticket.c.obj deleted file mode 100644 index 6b3bdb3fc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_ticket.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls.c.obj deleted file mode 100644 index bbcc40442..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls12_client.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls12_client.c.obj deleted file mode 100644 index 41cc9082c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls12_client.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls12_server.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls12_server.c.obj deleted file mode 100644 index 7ecf97709..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls12_server.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_client.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_client.c.obj deleted file mode 100644 index 2f154a562..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_client.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_generic.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_generic.c.obj deleted file mode 100644 index c96d7dba3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_generic.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_keys.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_keys.c.obj deleted file mode 100644 index beca146a8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_keys.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_server.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_server.c.obj deleted file mode 100644 index cd78a301a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls13_server.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/pkcs7.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/pkcs7.c.obj deleted file mode 100644 index ed9f9b5e6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/pkcs7.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509.c.obj deleted file mode 100644 index 796892ed9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_create.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_create.c.obj deleted file mode 100644 index a598099a1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_create.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_crl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_crl.c.obj deleted file mode 100644 index cd3192258..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_crl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_crt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_crt.c.obj deleted file mode 100644 index 378d59dd2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_crt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_csr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_csr.c.obj deleted file mode 100644 index 9985b9334..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509_csr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write.c.obj deleted file mode 100644 index aeba35659..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write_crt.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write_crt.c.obj deleted file mode 100644 index 0f691469a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write_crt.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write_csr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write_csr.c.obj deleted file mode 100644 index 5bd1b84e7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedx509.dir/x509write_csr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/cmake_install.cmake deleted file mode 100644 index 2113e274e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/cmake_install.cmake +++ /dev/null @@ -1,57 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedx509.a") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedtls.a") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/error.c b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/error.c deleted file mode 120000 index 4f78be17c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/error.c +++ /dev/null @@ -1 +0,0 @@ -/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/error.c \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a deleted file mode 100644 index 02ea74478..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedtls.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedtls.a deleted file mode 100644 index d5eae46d3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedtls.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedx509.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedx509.a deleted file mode 100644 index f489c9e21..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/libmbedx509.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/psa_crypto_driver_wrappers_no_static.c b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/psa_crypto_driver_wrappers_no_static.c deleted file mode 120000 index 49e003b8d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/psa_crypto_driver_wrappers_no_static.c +++ /dev/null @@ -1 +0,0 @@ -/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/psa_crypto_driver_wrappers_no_static.c \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/ssl_debug_helpers_generated.c b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/ssl_debug_helpers_generated.c deleted file mode 120000 index 34e2b336b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/ssl_debug_helpers_generated.c +++ /dev/null @@ -1 +0,0 @@ -/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/ssl_debug_helpers_generated.c \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/version_features.c b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/version_features.c deleted file mode 120000 index 26f967e5d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/library/version_features.c +++ /dev/null @@ -1 +0,0 @@ -/home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/library/version_features.c \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/pkgconfig/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/pkgconfig/cmake_install.cmake deleted file mode 100644 index a8c08b9f9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/pkgconfig/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/mbedtls/mbedtls/pkgconfig - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/mbedtls/pkgconfig/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/x509_crt_bundle b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/x509_crt_bundle deleted file mode 100644 index 068907047..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/mbedtls/x509_crt_bundle and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/abort.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/abort.c.obj deleted file mode 100644 index 4d766af51..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/abort.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/assert.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/assert.c.obj deleted file mode 100644 index 733ac6790..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/assert.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/flockfile.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/flockfile.c.obj deleted file mode 100644 index c0b5fe98d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/flockfile.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/getentropy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/getentropy.c.obj deleted file mode 100644 index ef02944e8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/getentropy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/heap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/heap.c.obj deleted file mode 100644 index a94bd7a26..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/heap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/locks.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/locks.c.obj deleted file mode 100644 index 78e1e96fd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/locks.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/newlib_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/newlib_init.c.obj deleted file mode 100644 index da5433248..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/newlib_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/poll.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/poll.c.obj deleted file mode 100644 index 5a66773ad..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/poll.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/port/esp_time_impl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/port/esp_time_impl.c.obj deleted file mode 100644 index 3fe52f3af..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/port/esp_time_impl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/pthread.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/pthread.c.obj deleted file mode 100644 index dd0dbb588..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/pthread.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/random.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/random.c.obj deleted file mode 100644 index 55442a7b3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/random.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/realpath.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/realpath.c.obj deleted file mode 100644 index 54205e0d3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/realpath.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/reent_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/reent_init.c.obj deleted file mode 100644 index 4fbc243e9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/reent_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/scandir.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/scandir.c.obj deleted file mode 100644 index 682dc2fa0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/scandir.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/stdatomic.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/stdatomic.c.obj deleted file mode 100644 index 71bea2df7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/stdatomic.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/syscalls.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/syscalls.c.obj deleted file mode 100644 index ccdc60213..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/syscalls.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/sysconf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/sysconf.c.obj deleted file mode 100644 index 4454712d8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/sysconf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/termios.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/termios.c.obj deleted file mode 100644 index 3fc50beff..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/termios.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/time.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/time.c.obj deleted file mode 100644 index 8d6df8c80..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/CMakeFiles/__idf_newlib.dir/time.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/cmake_install.cmake deleted file mode 100644 index 25b9c91ae..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/cmake_install.cmake +++ /dev/null @@ -1,50 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/newlib - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -if(NOT CMAKE_INSTALL_LOCAL_ONLY) - # Include the install script for the subdirectory. - include("/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/port/cmake_install.cmake") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/libnewlib.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/libnewlib.a deleted file mode 100644 index 85cccd722..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/libnewlib.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/port/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/port/cmake_install.cmake deleted file mode 100644 index 99a8e1ba5..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/port/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/newlib/port - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/newlib/port/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_api.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_api.cpp.obj deleted file mode 100644 index 2651608da..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_api.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_bootloader.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_bootloader.c.obj deleted file mode 100644 index cf016b56f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_bootloader.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_cxx_api.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_cxx_api.cpp.obj deleted file mode 100644 index 1e16d351e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_cxx_api.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_encrypted_partition.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_encrypted_partition.cpp.obj deleted file mode 100644 index 6d82966c6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_encrypted_partition.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_handle_locked.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_handle_locked.cpp.obj deleted file mode 100644 index 53cbd08d1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_handle_locked.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_handle_simple.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_handle_simple.cpp.obj deleted file mode 100644 index e27b2da9c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_handle_simple.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_item_hash_list.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_item_hash_list.cpp.obj deleted file mode 100644 index 1b935741a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_item_hash_list.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_page.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_page.cpp.obj deleted file mode 100644 index 406e829e9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_page.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_pagemanager.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_pagemanager.cpp.obj deleted file mode 100644 index a2ff0a249..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_pagemanager.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition.cpp.obj deleted file mode 100644 index 6f68078a0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition_lookup.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition_lookup.cpp.obj deleted file mode 100644 index 98625e87d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition_lookup.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition_manager.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition_manager.cpp.obj deleted file mode 100644 index 2a0f3ccea..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_partition_manager.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_platform.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_platform.cpp.obj deleted file mode 100644 index 16c2119a8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_platform.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_storage.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_storage.cpp.obj deleted file mode 100644 index 778b84bf8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_storage.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_types.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_types.cpp.obj deleted file mode 100644 index 764a1cbfd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_types.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/cmake_install.cmake deleted file mode 100644 index de6ede5ba..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/nvs_flash - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/libnvs_flash.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/libnvs_flash.a deleted file mode 100644 index 6b222fea3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_flash/libnvs_flash.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/CMakeFiles/__idf_nvs_sec_provider.dir/nvs_sec_provider.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/CMakeFiles/__idf_nvs_sec_provider.dir/nvs_sec_provider.c.obj deleted file mode 100644 index 127b02d93..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/CMakeFiles/__idf_nvs_sec_provider.dir/nvs_sec_provider.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/cmake_install.cmake deleted file mode 100644 index d78a9c779..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/nvs_sec_provider - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/libnvs_sec_provider.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/libnvs_sec_provider.a deleted file mode 100644 index 45c8f426b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/nvs_sec_provider/libnvs_sec_provider.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/openthread/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/openthread/cmake_install.cmake deleted file mode 100644 index 320235c04..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/openthread/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/openthread - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/openthread/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/partition_table/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/partition_table/cmake_install.cmake deleted file mode 100644 index e33eadc19..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/partition_table/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/partition_table - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/partition_table/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/partition_table/partition-table-flash_args.in b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/partition_table/partition-table-flash_args.in deleted file mode 100644 index e3ec33c5b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/partition_table/partition-table-flash_args.in +++ /dev/null @@ -1,2 +0,0 @@ ---flash_mode dio --flash_freq 40m --flash_size 2MB -0x8000 partition_table/partition-table.bin \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_access.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_access.c.obj deleted file mode 100644 index bee3366cd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_access.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_apis.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_apis.c.obj deleted file mode 100644 index dcf71c13c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_apis.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_masks.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_masks.c.obj deleted file mode 100644 index fbaf6de28..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/CMakeFiles/__idf_perfmon.dir/xtensa_perfmon_masks.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/cmake_install.cmake deleted file mode 100644 index 53c892183..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/perfmon - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/libperfmon.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/libperfmon.a deleted file mode 100644 index 8bb8d94fa..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/perfmon/libperfmon.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/CMakeFiles/__idf_protobuf-c.dir/protobuf-c/protobuf-c/protobuf-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/CMakeFiles/__idf_protobuf-c.dir/protobuf-c/protobuf-c/protobuf-c.c.obj deleted file mode 100644 index 0de9f30a3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/CMakeFiles/__idf_protobuf-c.dir/protobuf-c/protobuf-c/protobuf-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/cmake_install.cmake deleted file mode 100644 index 0dd13fc8b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/protobuf-c - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/libprotobuf-c.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/libprotobuf-c.a deleted file mode 100644 index 5fbbf8e1b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protobuf-c/libprotobuf-c.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/constants.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/constants.pb-c.c.obj deleted file mode 100644 index 7e13b7969..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/constants.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec0.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec0.pb-c.c.obj deleted file mode 100644 index 3290de41b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec0.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec1.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec1.pb-c.c.obj deleted file mode 100644 index 30a69e88f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec1.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec2.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec2.pb-c.c.obj deleted file mode 100644 index 0e2764f7b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec2.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/session.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/session.pb-c.c.obj deleted file mode 100644 index 71d7a7799..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/session.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/common/protocomm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/common/protocomm.c.obj deleted file mode 100644 index c360501fe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/common/protocomm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/crypto/srp6a/esp_srp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/crypto/srp6a/esp_srp.c.obj deleted file mode 100644 index 950be4683..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/crypto/srp6a/esp_srp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/crypto/srp6a/esp_srp_mpi.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/crypto/srp6a/esp_srp_mpi.c.obj deleted file mode 100644 index 2273540d0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/crypto/srp6a/esp_srp_mpi.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security0.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security0.c.obj deleted file mode 100644 index 37748e8fc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security0.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security1.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security1.c.obj deleted file mode 100644 index 39ebed61d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security1.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security2.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security2.c.obj deleted file mode 100644 index 946771405..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security2.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_console.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_console.c.obj deleted file mode 100644 index 611dd2e31..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_console.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_httpd.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_httpd.c.obj deleted file mode 100644 index 27d76dbbe..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_httpd.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/cmake_install.cmake deleted file mode 100644 index 20091b5ef..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/protocomm - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/libprotocomm.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/libprotocomm.a deleted file mode 100644 index 0732c088f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/protocomm/libprotocomm.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread.c.obj deleted file mode 100644 index 04e34c537..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_cond_var.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_cond_var.c.obj deleted file mode 100644 index 6d89f6269..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_cond_var.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_local_storage.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_local_storage.c.obj deleted file mode 100644 index 0150d9342..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_local_storage.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_rwlock.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_rwlock.c.obj deleted file mode 100644 index 2308412b1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_rwlock.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_semaphore.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_semaphore.c.obj deleted file mode 100644 index b0b441d06..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread_semaphore.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/cmake_install.cmake deleted file mode 100644 index b863b6069..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/pthread - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/libpthread.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/libpthread.a deleted file mode 100644 index eb903650c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/pthread/libpthread.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/CMakeFiles/__idf_rt.dir/FreeRTOS_POSIX_mqueue.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/CMakeFiles/__idf_rt.dir/FreeRTOS_POSIX_mqueue.c.obj deleted file mode 100644 index 40d82c9be..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/CMakeFiles/__idf_rt.dir/FreeRTOS_POSIX_mqueue.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/CMakeFiles/__idf_rt.dir/FreeRTOS_POSIX_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/CMakeFiles/__idf_rt.dir/FreeRTOS_POSIX_utils.c.obj deleted file mode 100644 index cd7c0564a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/CMakeFiles/__idf_rt.dir/FreeRTOS_POSIX_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/cmake_install.cmake deleted file mode 100644 index d2a776fe6..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/rt - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/librt.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/librt.a deleted file mode 100644 index 797b2fc1a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/rt/librt.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sd_pwr_ctrl/sd_pwr_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sd_pwr_ctrl/sd_pwr_ctrl.c.obj deleted file mode 100644 index c1312ca4d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sd_pwr_ctrl/sd_pwr_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_cmd.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_cmd.c.obj deleted file mode 100644 index 2fcb81a04..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_cmd.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_common.c.obj deleted file mode 100644 index 77cbd3b58..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_init.c.obj deleted file mode 100644 index 69064e730..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_io.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_io.c.obj deleted file mode 100644 index 90ea7ee35..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_io.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_mmc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_mmc.c.obj deleted file mode 100644 index 2bc0c45b8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_mmc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_sd.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_sd.c.obj deleted file mode 100644 index 0c7e1c35e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_sd.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/cmake_install.cmake deleted file mode 100644 index 60b6388f2..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/sdmmc - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/libsdmmc.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/libsdmmc.a deleted file mode 100644 index 1e4186170..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/sdmmc/libsdmmc.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj deleted file mode 100644 index 60c925593..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj deleted file mode 100644 index fe60034d9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj deleted file mode 100644 index 354a41de5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dport_access.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dport_access.c.obj deleted file mode 100644 index 721deadb3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dport_access.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/emac_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/emac_periph.c.obj deleted file mode 100644 index e267a7973..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/emac_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj deleted file mode 100644 index 076642a27..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj deleted file mode 100644 index 2204652bf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj deleted file mode 100644 index 5aa39454f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj deleted file mode 100644 index c1b9d0bca..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj deleted file mode 100644 index 5f5184685..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj deleted file mode 100644 index a04ef7cae..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj deleted file mode 100644 index 65adb82b2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mpi_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mpi_periph.c.obj deleted file mode 100644 index 1520750be..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mpi_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj deleted file mode 100644 index b73a6168f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj deleted file mode 100644 index e374766d3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj deleted file mode 100644 index 65476e819..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj deleted file mode 100644 index 107749bfb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdm_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdm_periph.c.obj deleted file mode 100644 index a1f017615..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdm_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj deleted file mode 100644 index 2de8f2f1c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj deleted file mode 100644 index f4733c965..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj deleted file mode 100644 index 4567d816a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj deleted file mode 100644 index 0aec02aab..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/twai_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/twai_periph.c.obj deleted file mode 100644 index b4a365de6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/twai_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj deleted file mode 100644 index 0548c1f1f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/wdt_periph.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/wdt_periph.c.obj deleted file mode 100644 index a29e8c393..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/wdt_periph.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj deleted file mode 100644 index f1efb23ff..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/cmake_install.cmake deleted file mode 100644 index 7b4e9994a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/soc - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/libsoc.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/libsoc.a deleted file mode 100644 index 910b82a1c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/soc/libsoc.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/cache_utils.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/cache_utils.c.obj deleted file mode 100644 index 4bb3b99ef..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/cache_utils.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp_flash_api.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp_flash_api.c.obj deleted file mode 100644 index 06ca0f756..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp_flash_api.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp_flash_spi_init.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp_flash_spi_init.c.obj deleted file mode 100644 index 06df5080a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp_flash_spi_init.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_brownout_hook.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_brownout_hook.c.obj deleted file mode 100644 index 7e4f76caa..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_brownout_hook.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_mmap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_mmap.c.obj deleted file mode 100644 index de41bb999..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_mmap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_ops.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_ops.c.obj deleted file mode 100644 index 3394608e0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_ops.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/memspi_host_driver.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/memspi_host_driver.c.obj deleted file mode 100644 index d742aa0fc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/memspi_host_driver.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_boya.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_boya.c.obj deleted file mode 100644 index f5648081b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_boya.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_drivers.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_drivers.c.obj deleted file mode 100644 index 8fac6e1f7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_drivers.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_gd.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_gd.c.obj deleted file mode 100644 index 5d050d261..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_gd.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_generic.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_generic.c.obj deleted file mode 100644 index 8a453a74c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_generic.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_issi.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_issi.c.obj deleted file mode 100644 index a7f3d2485..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_issi.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_mxic.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_mxic.c.obj deleted file mode 100644 index 504eb69ac..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_mxic.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_mxic_opi.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_mxic_opi.c.obj deleted file mode 100644 index 1fe16d1ea..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_mxic_opi.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_th.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_th.c.obj deleted file mode 100644 index 2e543850b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_th.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_winbond.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_winbond.c.obj deleted file mode 100644 index 8897e0663..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_chip_winbond.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_os_func_app.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_os_func_app.c.obj deleted file mode 100644 index fc945a6cf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_os_func_app.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_os_func_noos.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_os_func_noos.c.obj deleted file mode 100644 index a39a4ce05..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_os_func_noos.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj deleted file mode 100644 index 546ab77d8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/cmake_install.cmake deleted file mode 100644 index d2665eb94..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/spi_flash - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/libspi_flash.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/libspi_flash.a deleted file mode 100644 index 5c33db306..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spi_flash/libspi_flash.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/esp_spiffs.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/esp_spiffs.c.obj deleted file mode 100644 index 6ba99df5e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/esp_spiffs.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_cache.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_cache.c.obj deleted file mode 100644 index 3628aaba3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_cache.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_check.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_check.c.obj deleted file mode 100644 index 737e9a1aa..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_check.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_gc.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_gc.c.obj deleted file mode 100644 index 1d8c6fccf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_gc.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj deleted file mode 100644 index f71fdb6d3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj deleted file mode 100644 index 2d0a0f60b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs_api.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs_api.c.obj deleted file mode 100644 index 7b4642134..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs_api.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/cmake_install.cmake deleted file mode 100644 index 08b957233..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/spiffs - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/libspiffs.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/libspiffs.a deleted file mode 100644 index f9bdab9fc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/spiffs/libspiffs.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport.c.obj deleted file mode 100644 index e4d22b3e0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_internal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_internal.c.obj deleted file mode 100644 index 59a1731bf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_internal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_socks_proxy.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_socks_proxy.c.obj deleted file mode 100644 index f80665a9c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_socks_proxy.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_ssl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_ssl.c.obj deleted file mode 100644 index a560415fc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_ssl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_ws.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_ws.c.obj deleted file mode 100644 index 9b3e235ca..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/CMakeFiles/__idf_tcp_transport.dir/transport_ws.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/cmake_install.cmake deleted file mode 100644 index 414dc89b0..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/tcp_transport - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/libtcp_transport.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/libtcp_transport.a deleted file mode 100644 index 597963877..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/tcp_transport/libtcp_transport.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/ulp/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/ulp/cmake_install.cmake deleted file mode 100644 index 3cde07a46..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/ulp/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/ulp - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/ulp/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/port/esp/unity_utils_memory_esp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/port/esp/unity_utils_memory_esp.c.obj deleted file mode 100644 index 06594547a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/port/esp/unity_utils_memory_esp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity/src/unity.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity/src/unity.c.obj deleted file mode 100644 index c6f7edc67..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity/src/unity.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_compat.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_compat.c.obj deleted file mode 100644 index 8daece349..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_compat.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_port_esp32.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_port_esp32.c.obj deleted file mode 100644 index 9c9a4f7c6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_port_esp32.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_runner.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_runner.c.obj deleted file mode 100644 index 63da96fef..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_runner.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_cache.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_cache.c.obj deleted file mode 100644 index 9cb3483c8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_cache.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_freertos.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_freertos.c.obj deleted file mode 100644 index dab6df032..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_freertos.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_memory.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_memory.c.obj deleted file mode 100644 index 692a9948d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_memory.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/cmake_install.cmake deleted file mode 100644 index fc499ed50..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/unity - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/libunity.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/libunity.a deleted file mode 100644 index 21e68ce2f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/unity/libunity.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/usb/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/usb/cmake_install.cmake deleted file mode 100644 index d64690a68..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/usb/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/usb - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/usb/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/nullfs.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/nullfs.c.obj deleted file mode 100644 index fd4d151eb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/nullfs.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs.c.obj deleted file mode 100644 index 6ff050174..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_eventfd.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_eventfd.c.obj deleted file mode 100644 index 65fdb749e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_eventfd.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_semihost.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_semihost.c.obj deleted file mode 100644 index e18f0fbe7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_semihost.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/cmake_install.cmake deleted file mode 100644 index 9d95d5077..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/vfs - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/libvfs.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/libvfs.a deleted file mode 100644 index 1d39d7d39..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/vfs/libvfs.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/Partition.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/Partition.cpp.obj deleted file mode 100644 index a5fb4fb37..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/Partition.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/SPI_Flash.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/SPI_Flash.cpp.obj deleted file mode 100644 index ab42aa3e5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/SPI_Flash.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Ext_Perf.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Ext_Perf.cpp.obj deleted file mode 100644 index dd7eb9473..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Ext_Perf.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Ext_Safe.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Ext_Safe.cpp.obj deleted file mode 100644 index 0d49877b9..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Ext_Safe.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Flash.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Flash.cpp.obj deleted file mode 100644 index e397cc31f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Flash.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/crc32.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/crc32.cpp.obj deleted file mode 100644 index 5532e0d63..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/crc32.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/wear_levelling.cpp.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/wear_levelling.cpp.obj deleted file mode 100644 index 1691856be..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/wear_levelling.cpp.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/cmake_install.cmake deleted file mode 100644 index da3f3a1dc..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/wear_levelling - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/libwear_levelling.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/libwear_levelling.a deleted file mode 100644 index 86a094178..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wear_levelling/libwear_levelling.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_config.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_config.pb-c.c.obj deleted file mode 100644 index 909eeca13..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_config.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_constants.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_constants.pb-c.c.obj deleted file mode 100644 index 218f04337..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_constants.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_ctrl.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_ctrl.pb-c.c.obj deleted file mode 100644 index e21dfd088..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_ctrl.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_scan.pb-c.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_scan.pb-c.c.obj deleted file mode 100644 index b5b1232dc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_scan.pb-c.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/handlers.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/handlers.c.obj deleted file mode 100644 index 0e41f4e94..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/handlers.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj deleted file mode 100644 index 7bb5b396d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_console.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_console.c.obj deleted file mode 100644 index 1eeec3df7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_console.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_softap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_softap.c.obj deleted file mode 100644 index b90a18f41..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_softap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_config.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_config.c.obj deleted file mode 100644 index b7ac969a8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_config.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_ctrl.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_ctrl.c.obj deleted file mode 100644 index 47ed2a3d6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_ctrl.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_scan.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_scan.c.obj deleted file mode 100644 index 96e4e94db..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_scan.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/cmake_install.cmake deleted file mode 100644 index c5e3d2584..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/wifi_provisioning - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/libwifi_provisioning.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/libwifi_provisioning.a deleted file mode 100644 index 6a71910dc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wifi_provisioning/libwifi_provisioning.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-bignum.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-bignum.c.obj deleted file mode 100644 index d8f36c610..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-bignum.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-ec.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-ec.c.obj deleted file mode 100644 index 9c00cd8ef..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-ec.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-rsa.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-rsa.c.obj deleted file mode 100644 index aa6256b89..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls-rsa.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls.c.obj deleted file mode 100644 index 91e2fef64..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/crypto_mbedtls.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/fastpbkdf2.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/fastpbkdf2.c.obj deleted file mode 100644 index b3fe352f5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/fastpbkdf2.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/tls_mbedtls.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/tls_mbedtls.c.obj deleted file mode 100644 index 07d4fd31f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/crypto/tls_mbedtls.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_common.c.obj deleted file mode 100644 index 77ab15819..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_eap_client.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_eap_client.c.obj deleted file mode 100644 index 543b5913c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_eap_client.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_hostap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_hostap.c.obj deleted file mode 100644 index 1f3bb99c5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_hostap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_owe.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_owe.c.obj deleted file mode 100644 index 94b96e6c1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_owe.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa2_api_port.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa2_api_port.c.obj deleted file mode 100644 index 5b8b89c17..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa2_api_port.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa3.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa3.c.obj deleted file mode 100644 index f7d97632f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa3.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa_main.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa_main.c.obj deleted file mode 100644 index 0f16b1550..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpa_main.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpas_glue.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpas_glue.c.obj deleted file mode 100644 index 2cca117b7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wpas_glue.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wps.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wps.c.obj deleted file mode 100644 index f681468c1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wps.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/port/eloop.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/port/eloop.c.obj deleted file mode 100644 index 4f70485f2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/port/eloop.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/port/os_xtensa.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/port/os_xtensa.c.obj deleted file mode 100644 index e2ac82084..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/port/os_xtensa.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ap_config.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ap_config.c.obj deleted file mode 100644 index 2054baf5d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ap_config.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/comeback_token.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/comeback_token.c.obj deleted file mode 100644 index a468f8cab..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/comeback_token.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ieee802_11.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ieee802_11.c.obj deleted file mode 100644 index bf4277536..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ieee802_11.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ieee802_1x.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ieee802_1x.c.obj deleted file mode 100644 index 7c05420f2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/ieee802_1x.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/pmksa_cache_auth.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/pmksa_cache_auth.c.obj deleted file mode 100644 index 003d84eff..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/pmksa_cache_auth.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/sta_info.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/sta_info.c.obj deleted file mode 100644 index 59b1162f6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/sta_info.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/wpa_auth.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/wpa_auth.c.obj deleted file mode 100644 index 58ee227a6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/wpa_auth.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/wpa_auth_ie.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/wpa_auth_ie.c.obj deleted file mode 100644 index b9722bedb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/ap/wpa_auth_ie.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/dragonfly.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/dragonfly.c.obj deleted file mode 100644 index da8fba14b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/dragonfly.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/ieee802_11_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/ieee802_11_common.c.obj deleted file mode 100644 index 1d359e0f4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/ieee802_11_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/sae.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/sae.c.obj deleted file mode 100644 index 359b2f808..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/sae.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/sae_pk.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/sae_pk.c.obj deleted file mode 100644 index e425475e5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/sae_pk.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/wpa_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/wpa_common.c.obj deleted file mode 100644 index d949ebea1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/common/wpa_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-ccm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-ccm.c.obj deleted file mode 100644 index 79eb0668a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-ccm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-gcm.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-gcm.c.obj deleted file mode 100644 index d0652bcd1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-gcm.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-siv.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-siv.c.obj deleted file mode 100644 index 910c70c66..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-siv.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-unwrap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-unwrap.c.obj deleted file mode 100644 index b2d749656..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-unwrap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-wrap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-wrap.c.obj deleted file mode 100644 index de3c2aad8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/aes-wrap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/ccmp.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/ccmp.c.obj deleted file mode 100644 index 5d64df1e4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/ccmp.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/crypto_ops.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/crypto_ops.c.obj deleted file mode 100644 index f60b334a3..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/crypto_ops.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/des-internal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/des-internal.c.obj deleted file mode 100644 index 6b1b5e04b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/des-internal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/dh_group5.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/dh_group5.c.obj deleted file mode 100644 index 8e357c157..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/dh_group5.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/dh_groups.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/dh_groups.c.obj deleted file mode 100644 index 2d3bf7898..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/dh_groups.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/md4-internal.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/md4-internal.c.obj deleted file mode 100644 index fe74ae8ce..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/md4-internal.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/ms_funcs.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/ms_funcs.c.obj deleted file mode 100644 index 8200aeb9b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/ms_funcs.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/rc4.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/rc4.c.obj deleted file mode 100644 index 20d5199a2..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/rc4.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-prf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-prf.c.obj deleted file mode 100644 index 630b95dec..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-prf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-tlsprf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-tlsprf.c.obj deleted file mode 100644 index de895cbfb..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-tlsprf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-tprf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-tprf.c.obj deleted file mode 100644 index 5e44ddb22..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha1-tprf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-kdf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-kdf.c.obj deleted file mode 100644 index 8b9886c1e..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-kdf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-prf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-prf.c.obj deleted file mode 100644 index d55c6f3c8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-prf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-tlsprf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-tlsprf.c.obj deleted file mode 100644 index b3028c8e0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha256-tlsprf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha384-prf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha384-prf.c.obj deleted file mode 100644 index 94d117e57..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha384-prf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha384-tlsprf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha384-tlsprf.c.obj deleted file mode 100644 index 5fe4470cf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/crypto/sha384-tlsprf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_common/eap_wsc_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_common/eap_wsc_common.c.obj deleted file mode 100644 index f32a0129f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_common/eap_wsc_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/chap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/chap.c.obj deleted file mode 100644 index c28405328..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/chap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap.c.obj deleted file mode 100644 index 9b595ba97..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_common.c.obj deleted file mode 100644 index a064ab477..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast.c.obj deleted file mode 100644 index 815e5f29d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast_common.c.obj deleted file mode 100644 index 607c95e93..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast_pac.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast_pac.c.obj deleted file mode 100644 index bbe7723e8..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_fast_pac.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_mschapv2.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_mschapv2.c.obj deleted file mode 100644 index b35c335e7..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_mschapv2.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_peap.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_peap.c.obj deleted file mode 100644 index 9766ac6ff..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_peap.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_peap_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_peap_common.c.obj deleted file mode 100644 index 467fcde60..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_peap_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_tls.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_tls.c.obj deleted file mode 100644 index fe2a00e8c..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_tls.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_tls_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_tls_common.c.obj deleted file mode 100644 index f08e5cbbf..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_tls_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_ttls.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_ttls.c.obj deleted file mode 100644 index f8754fba0..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/eap_ttls.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/mschapv2.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/mschapv2.c.obj deleted file mode 100644 index 45a1ec6c6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/eap_peer/mschapv2.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/pmksa_cache.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/pmksa_cache.c.obj deleted file mode 100644 index b2071e98d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/pmksa_cache.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/wpa.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/wpa.c.obj deleted file mode 100644 index 4df0b7a85..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/wpa.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/wpa_ie.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/wpa_ie.c.obj deleted file mode 100644 index 9579cb016..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/rsn_supp/wpa_ie.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/base64.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/base64.c.obj deleted file mode 100644 index 3d76f163b..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/base64.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/bitfield.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/bitfield.c.obj deleted file mode 100644 index c7a60674d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/bitfield.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/common.c.obj deleted file mode 100644 index c87a87358..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/ext_password.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/ext_password.c.obj deleted file mode 100644 index f1e19087a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/ext_password.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/json.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/json.c.obj deleted file mode 100644 index f155d4f13..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/json.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/uuid.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/uuid.c.obj deleted file mode 100644 index cb72df6f6..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/uuid.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/wpa_debug.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/wpa_debug.c.obj deleted file mode 100644 index fa77a4f46..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/wpa_debug.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/wpabuf.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/wpabuf.c.obj deleted file mode 100644 index bef9b8405..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/utils/wpabuf.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps.c.obj deleted file mode 100644 index 814c10c39..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_build.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_build.c.obj deleted file mode 100644 index 90d8fa7d5..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_build.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_parse.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_parse.c.obj deleted file mode 100644 index d9e2c4b9f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_parse.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_process.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_process.c.obj deleted file mode 100644 index 85439a3a4..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_attr_process.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_common.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_common.c.obj deleted file mode 100644 index 56043eacd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_common.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_dev_attr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_dev_attr.c.obj deleted file mode 100644 index df19fd289..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_dev_attr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_enrollee.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_enrollee.c.obj deleted file mode 100644 index b40ea003d..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/src/wps/wps_enrollee.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/cmake_install.cmake deleted file mode 100644 index c0e635c0c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/wpa_supplicant - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/libwpa_supplicant.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/libwpa_supplicant.a deleted file mode 100644 index 1943cdd84..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/wpa_supplicant/libwpa_supplicant.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj deleted file mode 100644 index 798c1786f..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj deleted file mode 100644 index f8e3a356a..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_context.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_context.S.obj deleted file mode 100644 index 88debad18..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_context.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_intr.c.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_intr.c.obj deleted file mode 100644 index a471f3c51..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_intr.c.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_intr_asm.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_intr_asm.S.obj deleted file mode 100644 index 1ef3d4efc..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_intr_asm.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_vectors.S.obj b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_vectors.S.obj deleted file mode 100644 index 4d1189eb1..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xtensa_vectors.S.obj and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/cmake_install.cmake b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/cmake_install.cmake deleted file mode 100644 index b736a1d11..000000000 --- a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/cmake_install.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Install script for directory: /home/abobkov/esp/v5.4.1/esp-idf/components/xtensa - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -# Set path to fallback-tool for dependency-resolution. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/home/abobkov/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -if(CMAKE_INSTALL_LOCAL_ONLY) - file(WRITE "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/install_local_manifest.txt" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/libxtensa.a b/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/libxtensa.a deleted file mode 100644 index cade835bd..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/build/esp-idf/xtensa/libxtensa.a and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/.component_hash b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/.component_hash deleted file mode 100644 index 34b7ee670..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/.component_hash +++ /dev/null @@ -1 +0,0 @@ -873d97d0bd30004f45d1653f078a4bafe39c1767e57d4bae0f0a13bc3a4d5e3d \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CHANGELOG.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CHANGELOG.md deleted file mode 100644 index 4c7735ee3..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CHANGELOG.md +++ /dev/null @@ -1,13 +0,0 @@ -# ChangeLog - -## v0.1.1 - 2024-12-23 - -### Bug Fixes: - -* Fix the issue in README.md where the usage example for bme280 lacks the default initialization. - -## v0.1.0 - 2024-11-5 - -### Enhancements: - -* Initial version \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CHECKSUMS.json b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CHECKSUMS.json deleted file mode 100644 index d5c9c8fbc..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CHECKSUMS.json +++ /dev/null @@ -1 +0,0 @@ -{"version": "1.0", "algorithm": "sha256", "created_at": "2025-05-21T17:09:18.488972+00:00", "files": [{"path": "CMakeLists.txt", "size": 160, "hash": "b9af3a241cecba82dda3b44e32c70b1aac28890f41eb00768f518a000f163357"}, {"path": "CHANGELOG.md", "size": 211, "hash": "d61f738a9a542e7c0f7d69fcc0b14e20c15d96688f0e4e067c943e853e3657e8"}, {"path": "idf_component.yml", "size": 580, "hash": "71fa62fa58af333761e45146271e5ed3c90e7e845740391711bfe276266b9131"}, {"path": "README.md", "size": 1713, "hash": "51df9e655bb500962a5736b65e49e6920d713216556c8bbf5d63b3132e1d3862"}, {"path": "license.txt", "size": 11358, "hash": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"}, {"path": "bme280.c", "size": 13819, "hash": "47aac27b35df43fdad8551d1f8759d774362d291859685a77a331aa6433eb163"}, {"path": "include/bme280.h", "size": 10161, "hash": "043eda239a4686220cff149054b678bd736bf7c5f2edd290c7c703c8a1c156f9"}, {"path": "test_apps/CMakeLists.txt", "size": 350, "hash": "02be4ce8d0c8034408017c3948d13d93d3be6fdc40ada18906a5f15fc4ef0dad"}, {"path": "test_apps/sdkconfig.defaults", "size": 213, "hash": "9a34a6cb08c49ec24007587e0c5d492f44b5a862d9c0f583cf9f6f643669b564"}, {"path": "test_apps/main/CMakeLists.txt", "size": 143, "hash": "802c3b217fc1bd9ed8c615353f70d9084caf0b4216288e05fc18af11e6bf7abf"}, {"path": "test_apps/main/bme280_test.c", "size": 2447, "hash": "ee63d7fbd09167de421eb0c416acb6a9f0da44789f7d453b603b3fd74989cf4c"}]} \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CMakeLists.txt deleted file mode 100644 index f87897f56..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -idf_component_register(SRCS "bme280.c" - INCLUDE_DIRS include) - -include(package_manager) -cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/README.md deleted file mode 100644 index 88253cb2a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# Component: BME280 - -The BME280 is as combined digital humidity, pressure and temperature sensor based on proven sensing principles. The sensor module is housed in an extremely compact metal-lid LGA package with a footprint of only 2.5 × 2.5 mm² with a height of 0.93 mm. Its small dimensions and its low power consumption allow the implementation in battery driven devices such as handsets, GPS modules or watches. - - -## Add component to your project - -Please use the component manager command `add-dependency` to add the `bme280` to your project's dependency, during the `CMake` step the component will be downloaded automatically - -``` -idf.py add-dependency "espressif/bme280=*" -``` - -## Example of BME280 usage - - -Pin assignment: - -* master: - * GPIO2 is assigned as the clock signal of i2c master port - * GPIO1 is assigned as the data signal of i2c master port -* Connection: - * connect sda of sensor with GPIO1 - * connect scl of sensor with GPIO2 - - -```c -static i2c_bus_handle_t i2c_bus = NULL; -static bme280_handle_t bme280 = NULL; - -//Step1: Init I2C bus -i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, -}; -i2c_bus = i2c_bus_create(I2C_MASTER_NUM, &conf); - -//Step2: Init bme280 -bme280 = bme280_create(i2c_bus, BME280_I2C_ADDRESS_DEFAULT); -bme280_default_init(bme280); - -//Step3: Read temperature, humidity and pressure -float temperature = 0.0, humidity = 0.0, pressure = 0.0; -bme280_read_temperature(bme280, &temperature); -bme280_read_humidity(bme280, &humidity); -bme280_read_pressure(bme280, &pressure); -``` \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/bme280.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/bme280.c deleted file mode 100644 index 6b047ce37..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/bme280.c +++ /dev/null @@ -1,372 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include "freertos/FreeRTOS.h" -#include "i2c_bus.h" -#include "bme280.h" -#include "math.h" -#include "esp_log.h" - -bme280_handle_t bme280_create(i2c_bus_handle_t bus, uint8_t dev_addr) -{ - bme280_dev_t *sens = (bme280_dev_t *) calloc(1, sizeof(bme280_dev_t)); - sens->i2c_dev = i2c_bus_device_create(bus, dev_addr, i2c_bus_get_current_clk_speed(bus)); - if (sens->i2c_dev == NULL) { - free(sens); - return NULL; - } - sens->dev_addr = dev_addr; - return (bme280_handle_t)sens; -} - -esp_err_t bme280_delete(bme280_handle_t *sensor) -{ - if (*sensor == NULL) { - return ESP_OK; - } - bme280_dev_t *sens = (bme280_dev_t *)(*sensor); - i2c_bus_device_delete(&sens->i2c_dev); - free(sens); - *sensor = NULL; - return ESP_OK; -} - -static esp_err_t bme280_read_uint16(bme280_handle_t sensor, uint8_t addr, uint16_t *data) -{ - esp_err_t ret = ESP_FAIL; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - uint8_t data0, data1; - if (i2c_bus_read_byte(sens->i2c_dev, addr, &data0) != ESP_OK) { - return ret; - } - if (i2c_bus_read_byte(sens->i2c_dev, addr + 1, &data1) != ESP_OK) { - return ret; - } - *data = (data0 << 8) | data1; - return ESP_OK; -} - -static esp_err_t bme280_read_uint16_le(bme280_handle_t sensor, uint8_t addr, uint16_t *data) -{ - esp_err_t ret = ESP_FAIL; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - uint8_t data0, data1; - if (i2c_bus_read_byte(sens->i2c_dev, addr, &data0) != ESP_OK) { - return ret; - } - if (i2c_bus_read_byte(sens->i2c_dev, addr + 1, &data1) != ESP_OK) { - return ret; - } - *data = (data1 << 8) | data0; - return ESP_OK; -} - -unsigned int bme280_getconfig(bme280_handle_t sensor) -{ - bme280_dev_t *sens = (bme280_dev_t *) sensor; - return (sens->config_t.t_sb << 5) | (sens->config_t.filter << 3) | sens->config_t.spi3w_en; -} - -unsigned int bme280_getctrl_meas(bme280_handle_t sensor) -{ - bme280_dev_t *sens = (bme280_dev_t *) sensor; - return (sens->ctrl_meas_t.osrs_t << 5) | (sens->ctrl_meas_t.osrs_p << 3) | sens->ctrl_meas_t.mode; -} - -unsigned int bme280_getctrl_hum(bme280_handle_t sensor) -{ - bme280_dev_t *sens = (bme280_dev_t *) sensor; - return (sens->ctrl_hum_t.osrs_h); -} - -bool bme280_is_reading_calibration(bme280_handle_t sensor) -{ - uint8_t rstatus = 0; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_STATUS, &rstatus) != ESP_OK) { - return false; - } - return (rstatus & (1 << 0)) != 0; -} - -esp_err_t bme280_read_coefficients(bme280_handle_t sensor) -{ - uint8_t data = 0; - uint8_t data1 = 0; - uint16_t data16 = 0; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_T1, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_t1 = data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_T2, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_t2 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_T3, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_t3 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P1, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p1 = data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P2, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p2 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P3, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p3 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P4, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p4 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P5, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p5 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P6, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p6 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P7, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p7 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P8, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p8 = (int16_t) data16; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_P9, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_p9 = (int16_t) data16; - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_DIG_H1, &data) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_h1 = data; - if (bme280_read_uint16_le(sensor, BME280_REGISTER_DIG_H2, &data16) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_h2 = (int16_t) data16; - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_DIG_H3, &data) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_h3 = data; - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_DIG_H4, &data) != ESP_OK) { - return ESP_FAIL; - } - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_DIG_H4 + 1, &data1) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_h4 = (data << 4) | (data1 & 0xF); - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_DIG_H5 + 1, &data) != ESP_OK) { - return ESP_FAIL; - } - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_DIG_H5, &data1) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_h5 = (data << 4) | (data1 >> 4); - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_DIG_H6, &data) != ESP_OK) { - return ESP_FAIL; - } - sens->data_t.dig_h6 = (int8_t) data; - return ESP_OK; -} - -esp_err_t bme280_set_sampling(bme280_handle_t sensor, bme280_sensor_mode mode, bme280_sensor_sampling tempSampling, bme280_sensor_sampling pressSampling, bme280_sensor_sampling humSampling, bme280_sensor_filter filter, bme280_standby_duration duration) -{ - bme280_dev_t *sens = (bme280_dev_t *) sensor; - sens->ctrl_meas_t.mode = mode; - sens->ctrl_meas_t.osrs_t = tempSampling; - sens->ctrl_meas_t.osrs_p = pressSampling; - sens->ctrl_hum_t.osrs_h = humSampling; - sens->config_t.filter = filter; - sens->config_t.t_sb = duration; - // you must make sure to also set REGISTER_CONTROL after setting the - // CONTROLHUMID register, otherwise the values won't be applied (see DS 5.4.3) - if (i2c_bus_write_byte(sens->i2c_dev, BME280_REGISTER_CONTROLHUMID, bme280_getctrl_hum(sensor)) != ESP_OK) { - return ESP_FAIL; - } - if (i2c_bus_write_byte(sens->i2c_dev, BME280_REGISTER_CONFIG, bme280_getconfig(sensor)) != ESP_OK) { - return ESP_FAIL; - } - if (i2c_bus_write_byte(sens->i2c_dev, BME280_REGISTER_CONTROL, bme280_getctrl_meas(sensor)) != ESP_OK) { - return ESP_FAIL; - } - return ESP_OK; -} - -esp_err_t bme280_default_init(bme280_handle_t sensor) -{ - // check if sensor, i.e. the chip ID is correct - uint8_t chipid = 0; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_CHIPID, &chipid) != ESP_OK) { - ESP_LOGI("BME280:", "bme280_default_init->bme280_read_byte ->BME280_REGISTER_CHIPID failed!!!!:%x", chipid); - return ESP_FAIL; - } - if (chipid != BME280_DEFAULT_CHIPID) { - ESP_LOGI("BME280:", "bme280_default_init->BME280_DEFAULT_CHIPID:%x", chipid); - return ESP_FAIL; - } - // reset the sens using soft-reset, this makes sure the IIR is off, etc. - if (i2c_bus_write_byte(sens->i2c_dev, BME280_REGISTER_SOFTRESET, 0xB6) != ESP_OK) { - return ESP_FAIL; - } - // wait for chip to wake up. - vTaskDelay(300 / portTICK_RATE_MS); - // if chip is still reading calibration, delay - while (bme280_is_reading_calibration(sensor)) { - vTaskDelay(100 / portTICK_RATE_MS); - } - if (bme280_read_coefficients(sensor) != ESP_OK) { // read trimming parameters, see DS 4.2.2 - return ESP_FAIL; - } - if (bme280_set_sampling(sensor, BME280_MODE_NORMAL, BME280_SAMPLING_X16, BME280_SAMPLING_X16, BME280_SAMPLING_X16, BME280_FILTER_OFF, BME280_STANDBY_MS_0_5) != ESP_OK) { // use defaults - return ESP_FAIL; - } - return ESP_OK; -} - -esp_err_t bme280_take_forced_measurement(bme280_handle_t sensor) -{ - uint8_t data = 0; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - if (sens->ctrl_meas_t.mode == BME280_MODE_FORCED) { - // set to forced mode, i.e. "take next measurement" - if (i2c_bus_write_byte(sens->i2c_dev, BME280_REGISTER_CONTROL, bme280_getctrl_meas(sensor)) != ESP_OK) { - return ESP_FAIL; - } - // wait until measurement has been completed, otherwise we would read, the values from the last measurement - if (i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_STATUS, &data) != ESP_OK) { - return ESP_FAIL; - } - while (data & 0x08) { - i2c_bus_read_byte(sens->i2c_dev, BME280_REGISTER_STATUS, &data); - vTaskDelay(10 / portTICK_RATE_MS); - } - } - return ESP_OK; -} - -esp_err_t bme280_read_temperature(bme280_handle_t sensor, float *temperature) -{ - int32_t var1, var2; - uint8_t data[3] = { 0 }; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - if (i2c_bus_read_bytes(sens->i2c_dev, BME280_REGISTER_TEMPDATA, 3, data) != ESP_OK) { - return ESP_FAIL; - } - int32_t adc_T = (data[0] << 16) | (data[1] << 8) | data[2]; - if (adc_T == 0x800000) { // value in case temp measurement was disabled - return ESP_FAIL; - } - adc_T >>= 4; - - var1 = ((((adc_T >> 3) - ((int32_t) sens->data_t.dig_t1 << 1))) - * ((int32_t) sens->data_t.dig_t2)) >> 11; - - var2 = (((((adc_T >> 4) - ((int32_t) sens->data_t.dig_t1)) - * ((adc_T >> 4) - ((int32_t) sens->data_t.dig_t1))) >> 12) - * ((int32_t) sens->data_t.dig_t3)) >> 14; - - sens->t_fine = var1 + var2; - *temperature = ((sens->t_fine * 5 + 128) >> 8) / 100.0; - return ESP_OK; -} - -esp_err_t bme280_read_pressure(bme280_handle_t sensor, float *pressure) -{ - int64_t var1, var2, p; - uint8_t data[3] = { 0 }; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - float temp = 0.0; - if (bme280_read_temperature(sensor, &temp) != ESP_OK) { - // must be done first to get t_fine - return ESP_FAIL; - } - if (i2c_bus_read_bytes(sens->i2c_dev, BME280_REGISTER_PRESSUREDATA, 3, data) != ESP_OK) { - return ESP_FAIL; - } - int32_t adc_P = (data[0] << 16) | (data[1] << 8) | data[2]; - if (adc_P == 0x800000) { // value in case pressure measurement was disabled - return ESP_FAIL; - } - adc_P >>= 4; - var1 = ((int64_t) sens->t_fine) - 128000; - var2 = var1 * var1 * (int64_t) sens->data_t.dig_p6; - var2 = var2 + ((var1 * (int64_t) sens->data_t.dig_p5) << 17); - var2 = var2 + (((int64_t) sens->data_t.dig_p4) << 35); - var1 = ((var1 * var1 * (int64_t) sens->data_t.dig_p3) >> 8) + ((var1 * (int64_t) sens->data_t.dig_p2) << 12); - var1 = (((((int64_t) 1) << 47) + var1)) * ((int64_t) sens->data_t.dig_p1) >> 33; - if (var1 == 0) { - return ESP_FAIL; // avoid exception caused by division by zero - } - p = 1048576 - adc_P; - p = (((p << 31) - var2) * 3125) / var1; - var1 = (((int64_t) sens->data_t.dig_p9) * (p >> 13) * (p >> 13)) >> 25; - var2 = (((int64_t) sens->data_t.dig_p8) * p) >> 19; - p = ((p + var1 + var2) >> 8) + (((int64_t) sens->data_t.dig_p7) << 4); - p = p >> 8; // /256 - *pressure = (float) p / 100; - return ESP_OK; -} - -esp_err_t bme280_read_humidity(bme280_handle_t sensor, float *humidity) -{ - uint16_t data16; - bme280_dev_t *sens = (bme280_dev_t *) sensor; - float temp = 0.0; - if (bme280_read_temperature(sensor, &temp) != ESP_OK) { - // must be done first to get t_fine - return ESP_FAIL; - } - if (bme280_read_uint16(sensor, BME280_REGISTER_HUMIDDATA, &data16) != ESP_OK) { - return ESP_FAIL; - } - int32_t adc_H = data16; - if (adc_H == 0x8000) { // value in case humidity measurement was disabled - return ESP_FAIL; - } - int32_t v_x1_u32r; - v_x1_u32r = (sens->t_fine - ((int32_t) 76800)); - v_x1_u32r = (((((adc_H << 14) - (((int32_t) sens->data_t.dig_h4) << 20) - - (((int32_t) sens->data_t.dig_h5) * v_x1_u32r)) - + ((int32_t) 16384)) >> 15) - * (((((((v_x1_u32r * ((int32_t) sens->data_t.dig_h6)) >> 10) - * (((v_x1_u32r * ((int32_t) sens->data_t.dig_h3)) >> 11) + ((int32_t) 32768))) >> 10) + ((int32_t) 2097152)) - * ((int32_t) sens->data_t.dig_h2) + 8192) >> 14)); - v_x1_u32r = (v_x1_u32r - - (((((v_x1_u32r >> 15) * (v_x1_u32r >> 15)) >> 7) - * ((int32_t) sens->data_t.dig_h1)) >> 4)); - v_x1_u32r = (v_x1_u32r < 0) ? 0 : v_x1_u32r; - v_x1_u32r = (v_x1_u32r > 419430400) ? 419430400 : v_x1_u32r; - *humidity = (v_x1_u32r >> 12) / 1024.0; - return ESP_OK; -} - -esp_err_t bme280_read_altitude(bme280_handle_t sensor, float seaLevel, float *altitude) -{ - float pressure = 0.0; - float temp = 0.0; - if (bme280_read_pressure(sensor, &temp) != ESP_OK) { - return ESP_FAIL; - } - float atmospheric = pressure / 100.0F; - *altitude = 44330.0 * (1.0 - pow(atmospheric / seaLevel, 0.1903)); - return ESP_OK; -} - -esp_err_t bme280_calculates_pressure(bme280_handle_t sensor, float altitude, - float atmospheric, float *pressure) -{ - *pressure = atmospheric / pow(1.0 - (altitude / 44330.0), 5.255); - return ESP_OK; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/idf_component.yml deleted file mode 100644 index b089a9428..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/idf_component.yml +++ /dev/null @@ -1,14 +0,0 @@ -dependencies: - cmake_utilities: 0.* - i2c_bus: - public: true - idf: '>=4.4' -description: I2C driver for BME280 preesure sensor -documentation: https://docs.espressif.com/projects/esp-iot-solution/en/latest/sensors/pressure.html -issues: https://github.com/espressif/esp-iot-solution/issues -repository: git://github.com/espressif/esp-iot-solution.git -repository_info: - commit_sha: 1f4206cfe0ff480fedd4fa7860dc41ece6768812 - path: components/sensors/pressure/bme280 -url: https://github.com/espressif/esp-iot-solution/tree/master/components/sensors/pressure/bme280 -version: 0.1.1 diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/include/bme280.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/include/bme280.h deleted file mode 100644 index 61205e3de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/include/bme280.h +++ /dev/null @@ -1,377 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifndef _BME280_H_ -#define _BME280_H_ - -#include "i2c_bus.h" - -#define BME280_I2C_ADDRESS_DEFAULT (0x76) /*The device's I2C address is either 0x76 or 0x77.*/ -#define BME280_DEFAULT_CHIPID (0x60) - -#define WRITE_BIT I2C_MASTER_WRITE /*!< I2C master write */ -#define READ_BIT I2C_MASTER_READ /*!< I2C master read */ -#define ACK_CHECK_EN 0x1 /*!< I2C master will check ack from slave*/ -#define ACK_CHECK_DIS 0x0 /*!< I2C master will not check ack from slave */ -#define ACK_VAL 0x0 /*!< I2C ack value */ -#define NACK_VAL 0x1 /*!< I2C nack value */ - -#define BME280_REGISTER_DIG_T1 0x88 -#define BME280_REGISTER_DIG_T2 0x8A -#define BME280_REGISTER_DIG_T3 0x8C - -#define BME280_REGISTER_DIG_P1 0x8E -#define BME280_REGISTER_DIG_P2 0x90 -#define BME280_REGISTER_DIG_P3 0x92 -#define BME280_REGISTER_DIG_P4 0x94 -#define BME280_REGISTER_DIG_P5 0x96 -#define BME280_REGISTER_DIG_P6 0x98 -#define BME280_REGISTER_DIG_P7 0x9A -#define BME280_REGISTER_DIG_P8 0x9C -#define BME280_REGISTER_DIG_P9 0x9E - -#define BME280_REGISTER_DIG_H1 0xA1 -#define BME280_REGISTER_DIG_H2 0xE1 -#define BME280_REGISTER_DIG_H3 0xE3 -#define BME280_REGISTER_DIG_H4 0xE4 -#define BME280_REGISTER_DIG_H5 0xE5 -#define BME280_REGISTER_DIG_H6 0xE7 - -#define BME280_REGISTER_CHIPID 0xD0 -#define BME280_REGISTER_VERSION 0xD1 -#define BME280_REGISTER_SOFTRESET 0xE0 - -#define BME280_REGISTER_CAL26 0xE1 // R calibration stored in 0xE1-0xF0 - -#define BME280_REGISTER_CONTROLHUMID 0xF2 -#define BME280_REGISTER_STATUS 0XF3 -#define BME280_REGISTER_CONTROL 0xF4 -#define BME280_REGISTER_CONFIG 0xF5 -#define BME280_REGISTER_PRESSUREDATA 0xF7 -#define BME280_REGISTER_TEMPDATA 0xFA -#define BME280_REGISTER_HUMIDDATA 0xFD - -typedef struct { - uint16_t dig_t1; - int16_t dig_t2; - int16_t dig_t3; - - uint16_t dig_p1; - int16_t dig_p2; - int16_t dig_p3; - int16_t dig_p4; - int16_t dig_p5; - int16_t dig_p6; - int16_t dig_p7; - int16_t dig_p8; - int16_t dig_p9; - - uint8_t dig_h1; - int16_t dig_h2; - uint8_t dig_h3; - int16_t dig_h4; - int16_t dig_h5; - int8_t dig_h6; -} bme280_data_t; - -typedef enum { - BME280_SAMPLING_NONE = 0b000, - BME280_SAMPLING_X1 = 0b001, - BME280_SAMPLING_X2 = 0b010, - BME280_SAMPLING_X4 = 0b011, - BME280_SAMPLING_X8 = 0b100, - BME280_SAMPLING_X16 = 0b101 -} bme280_sensor_sampling; - -typedef enum { - BME280_MODE_SLEEP = 0b00, - BME280_MODE_FORCED = 0b01, - BME280_MODE_NORMAL = 0b11 -} bme280_sensor_mode; - -typedef enum { - BME280_FILTER_OFF = 0b000, - BME280_FILTER_X2 = 0b001, - BME280_FILTER_X4 = 0b010, - BME280_FILTER_X8 = 0b011, - BME280_FILTER_X16 = 0b100 -} bme280_sensor_filter; - -// standby durations in ms -typedef enum { - BME280_STANDBY_MS_0_5 = 0b000, - BME280_STANDBY_MS_10 = 0b110, - BME280_STANDBY_MS_20 = 0b111, - BME280_STANDBY_MS_62_5 = 0b001, - BME280_STANDBY_MS_125 = 0b010, - BME280_STANDBY_MS_250 = 0b011, - BME280_STANDBY_MS_500 = 0b100, - BME280_STANDBY_MS_1000 = 0b101 -} bme280_standby_duration; - -// The config register -typedef struct config { - // inactive duration (standby time) in normal mode - // 000 = 0.5 ms - // 001 = 62.5 ms - // 010 = 125 ms - // 011 = 250 ms - // 100 = 500 ms - // 101 = 1000 ms - // 110 = 10 ms - // 111 = 20 ms - unsigned int t_sb : 3; - - // filter settings - // 000 = filter off - // 001 = 2x filter - // 010 = 4x filter - // 011 = 8x filter - // 100 and above = 16x filter - unsigned int filter : 3; - - // unused - don't set - unsigned int none : 1; - unsigned int spi3w_en : 1; -} bme280_config_t; - -// The ctrl_meas register -typedef struct ctrl_meas { - // temperature oversampling - // 000 = skipped - // 001 = x1 - // 010 = x2 - // 011 = x4 - // 100 = x8 - // 101 and above = x16 - unsigned int osrs_t : 3; - - // pressure oversampling - // 000 = skipped - // 001 = x1 - // 010 = x2 - // 011 = x4 - // 100 = x8 - // 101 and above = x16 - unsigned int osrs_p : 3; - - // device mode - // 00 = sleep - // 01 or 10 = forced - // 11 = normal - unsigned int mode : 2; -} bme280_ctrl_meas_t; - -// The ctrl_hum register -typedef struct ctrl_hum { - // unused - don't set - unsigned int none : 5; - - // pressure oversampling - // 000 = skipped - // 001 = x1 - // 010 = x2 - // 011 = x4 - // 100 = x8 - // 101 and above = x16 - unsigned int osrs_h : 3; -} bme280_ctrl_hum_t; - -typedef struct { - i2c_bus_device_handle_t i2c_dev; - uint8_t dev_addr; - bme280_data_t data_t; - bme280_config_t config_t; - bme280_ctrl_meas_t ctrl_meas_t; - bme280_ctrl_hum_t ctrl_hum_t; - int32_t t_fine; -} bme280_dev_t; - -typedef void *bme280_handle_t; /*handle of bme280*/ - -#ifdef __cplusplus -extern "C" -{ -#endif - -/** - * @brief Create bme280 handle_t - * - * @param object handle of I2C - * @param device address - * - * @return - * - bme280_handle_t - */ -bme280_handle_t bme280_create(i2c_bus_handle_t bus, uint8_t dev_addr); - -/** - * @brief delete bme280 handle_t - * - * @param point to object handle of bme280 - * @param whether delete i2c bus - * - * @return - * - ESP_OK Success - * - ESP_FAIL Fail - */ -esp_err_t bme280_delete(bme280_handle_t *sensor); - -/** - * @brief Get the value of BME280_REGISTER_CONFIG register - * - * @param sensor object handle of bme280 - * - * @return - * - unsigned int: the value of BME280_REGISTER_CONFIG register - */ -unsigned int bme280_getconfig(bme280_handle_t sensor); - -/** - * @brief Get the value of BME280_REGISTER_CONTROL measure register - * - * @param sensor object handle of bme280 - * - * @return - * - unsigned int the value of BME280_REGISTER_CONTROL register - */ -unsigned int bme280_getctrl_meas(bme280_handle_t sensor); - -/** - * @brief Get the value of BME280_REGISTER_CONTROLHUMID measure register - * - * @param sensor object handle of bme280 - * - * @return - * - unsigned int the value of BME280_REGISTER_CONTROLHUMID register - */ -unsigned int bme280_getctrl_hum(bme280_handle_t sensor); - -/** - * @brief return true if chip is busy reading cal data - * - * @param sensor object handle of bme280 - * - * @return - * - true chip is busy - * - false chip is idle or wrong - */ -bool bme280_is_reading_calibration(bme280_handle_t sensor); - -/** - * @brief Reads the factory-set coefficients - * - * @param sensor object handle of bme280 - * - * @return - * - ESP_OK Success - * - ESP_FAIL Fail - */ -esp_err_t bme280_read_coefficients(bme280_handle_t sensor); - -/** - * @brief setup sensor with gien parameters / settings - * - * @param sensor object handle of bme280 - * @param Sensor working mode - * @param the sample of temperature measure - * @param the sample of pressure measure - * @param the sample of humidity measure - * @param Sensor filter multiples - * @param standby duration of sensor - * - * @return - * - ESP_OK Success - * - ESP_FAIL Fail - */ -esp_err_t bme280_set_sampling(bme280_handle_t sensor, bme280_sensor_mode mode, - bme280_sensor_sampling tempsampling, - bme280_sensor_sampling presssampling, - bme280_sensor_sampling humsampling, bme280_sensor_filter filter, - bme280_standby_duration duration); - -/** - * @brief init bme280 device - * - * @param sensor object handle of bme280 - * - * @return - * - ESP_OK Success - * - ESP_FAIL Fail - */ -esp_err_t bme280_default_init(bme280_handle_t sensor); - -/** - * @brief Take a new measurement (only possible in forced mode) - * If we are in forced mode, the BME sensor goes back to sleep after each - * measurement and we need to set it to forced mode once at this point, so - * it will take the next measurement and then return to sleep again. - * In normal mode simply does new measurements periodically. - * - * @param sensor object handle of bme280 - * - * @return - * - ESP_OK Success - * - ESP_FAIL Fail - */ -esp_err_t bme280_take_forced_measurement(bme280_handle_t sensor); - -/** - * @brief Returns the temperature from the sensor - * - * @param sensor object handle of bme280 - * @param temperature pointer to temperature - * @return esp_err_t - */ -esp_err_t bme280_read_temperature(bme280_handle_t sensor, float *temperature); - -/** - * @brief Returns the temperature from the sensor - * - * @param sensor object handle of bme280 - * @param pressure pointer to pressure value - * @return esp_err_t - */ -esp_err_t bme280_read_pressure(bme280_handle_t sensor, float *pressure); - -/** - * @brief Returns the humidity from the sensor - * - * @param sensor object handle of bme280 - * @param humidity pointer to humidity value - * @return esp_err_t - */ -esp_err_t bme280_read_humidity(bme280_handle_t sensor, float *humidity); - -/** - * @brief Calculates the altitude (in meters) from the specified atmospheric - * pressure (in hPa), and sea-level pressure (in hPa). - * - * @param sensor object handle of bme280 - * @param seaLevel: Sea-level pressure in hPa - * @param altitude pointer to altitude value - * @return esp_err_t - */ -esp_err_t bme280_read_altitude(bme280_handle_t sensor, float seaLevel, float *altitude); - -/** - * Calculates the pressure at sea level (in hPa) from the specified altitude - * (in meters), and atmospheric pressure (in hPa). - * - * @param sensor object handle of bme280 - * @param altitude Altitude in meters - * @param atmospheric Atmospheric pressure in hPa - * @param pressure pointer to pressure value - * @return esp_err_t - */ -esp_err_t bme280_calculates_pressure(bme280_handle_t sensor, float altitude, - float atmospheric, float *pressure); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/license.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/license.txt deleted file mode 100644 index d64569567..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/license.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/CMakeLists.txt deleted file mode 100644 index eb55e7910..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# The following lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.5) - -set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components" - "../../bme280") - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -project(bme280_test) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/main/CMakeLists.txt deleted file mode 100644 index eeff39794..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRC_DIRS "." - PRIV_INCLUDE_DIRS "." - PRIV_REQUIRES unity test_utils bme280) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/main/bme280_test.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/main/bme280_test.c deleted file mode 100644 index 3b71bbbf5..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/main/bme280_test.c +++ /dev/null @@ -1,77 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "unity.h" -#include "esp_log.h" -#include "bme280.h" -#include "i2c_bus.h" - -#define I2C_MASTER_SCL_IO GPIO_NUM_2 /*!< gpio number for I2C master clock IO2*/ -#define I2C_MASTER_SDA_IO GPIO_NUM_1 /*!< gpio number for I2C master data IO1*/ -#define I2C_MASTER_NUM I2C_NUM_0 /*!< I2C port number for master bme280 */ -#define I2C_MASTER_TX_BUF_DISABLE 0 /*!< I2C master do not need buffer */ -#define I2C_MASTER_RX_BUF_DISABLE 0 /*!< I2C master do not need buffer */ -#define I2C_MASTER_FREQ_HZ 100000 /*!< I2C master clock frequency */ - -static i2c_bus_handle_t i2c_bus = NULL; -static bme280_handle_t bme280 = NULL; - -void bme280_test_init() -{ - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus = i2c_bus_create(I2C_MASTER_NUM, &conf); - bme280 = bme280_create(i2c_bus, BME280_I2C_ADDRESS_DEFAULT); - ESP_LOGI("BME280:", "bme280_default_init:%d", bme280_default_init(bme280)); -} - -void bme280_test_deinit() -{ - bme280_delete(&bme280); - i2c_bus_delete(&i2c_bus); -} - -void bme280_test_getdata() -{ - int cnt = 10; - while (cnt--) { - float temperature = 0.0, humidity = 0.0, pressure = 0.0; - if (ESP_OK == bme280_read_temperature(bme280, &temperature)) { - ESP_LOGI("BME280", "temperature:%f ", temperature); - } - vTaskDelay(300 / portTICK_RATE_MS); - if (ESP_OK == bme280_read_humidity(bme280, &humidity)) { - ESP_LOGI("BME280", "humidity:%f ", humidity); - } - vTaskDelay(300 / portTICK_RATE_MS); - if (ESP_OK == bme280_read_pressure(bme280, &pressure)) { - ESP_LOGI("BME280", "pressure:%f\n", pressure); - } - vTaskDelay(300 / portTICK_RATE_MS); - } -} - -TEST_CASE("Device bme280 test", "[bme280][iot][device]") -{ - bme280_test_init(); - bme280_test_getdata(); - bme280_test_deinit(); -} - -void app_main(void) -{ - printf("BME280 TEST \n"); - unity_run_menu(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/sdkconfig.defaults deleted file mode 100644 index 3778471bc..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__bme280/test_apps/sdkconfig.defaults +++ /dev/null @@ -1,9 +0,0 @@ -# For IDF 5.0 -CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y -CONFIG_FREERTOS_HZ=1000 -CONFIG_ESP_TASK_WDT_EN=n - -# For IDF4.4 -CONFIG_ESP32S2_DEFAULT_CPU_FREQ_240=y -CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y -CONFIG_ESP_TASK_WDT=n diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/.component_hash b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/.component_hash deleted file mode 100644 index b110e53cd..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/.component_hash +++ /dev/null @@ -1 +0,0 @@ -351350613ceafba240b761b4ea991e0f231ac7a9f59a9ee901f751bddc0bb18f \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CHANGELOG.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CHANGELOG.md deleted file mode 100644 index 26fd7eb58..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CHANGELOG.md +++ /dev/null @@ -1,89 +0,0 @@ -## v0.5.3 - 2023-09-15 - -* fix `add_dependencies called with incorrect number of arguments` in `relinker.cmake` -* `include(cmake_utilities)` is not suggested now, to avoid cmake_utilities dependency issue - -## v0.5.2 - 2023-09-15 - -* Support work on older ESP-IDF, eg: 4.3.x - -## v0.5.1 - 2023-08-22 - -* Add string 1-byte align support - -## v0.5.0 - 2023-08-02 - -* Add GCC LTO support - -## v0.4.8 - 2023-05-24 - -* Add unit test app - -### Bugfix: - -* fix customer target redefinition issue - -## v0.4.7 - 2023-04-21 - -* gen_compressed_ota: support the addition of a v2 compressed OTA header to compressed firmware. - -## v0.4.6 - 2023-04-20 - -* relinker: add IDF v4.3.x support - -## v0.4.5 - 2023-04-17 - -* gen_compressed_ota: remove slash use in gen_custom_ota.py so that the script can be used in the Windows cmd terminal. - -## v0.4.4 - 2023-04-07 - -* relinker: suppressing the creation of `__pycache__` -* relinker: support same name objects in one library - -## v0.4.3 - 2023-03-24 - -* relinker: support decoding to get IRAM excluded libraries - -## v0.4.2 - 2023-03-20 - -### Bugfix: - -* gen_compressed_ota: Fix the number of bytes reserved in the v3 compressed image header -* gen_compressed_ota: Fix definition of MD5 length in compressed image header for different versions. - -## v0.4.1 - 2023-03-15 - -* relinker: add option to use customized configuration files -* relinker: add option to print error information instead of throwing exception when missing function -* relinker: move functions of SPI flash from IRAM to flash only when enable CONFIG_SPI_FLASH_ROM_IMPL -* relinker: move some functions of esp_timer from IRAM to flash only when disable CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD - -## v0.4.0 - 2023-03-13 - -### Feature: - -* Add command `idf.py gen_single_bin` to generate merged bin file -* Add command `idf.py flash_single_bin` to flash generated merged bin -* Add config `Color in diagnostics` to control the GCC color output - -## v0.3.0 - 2023-03-10 - -* Add gen_compressed_ota functionality, please refer to [gen_compressed_ota.md](https://github.com/espressif/esp-iot-solution/tree/master/tools/cmake_utilities/docs/gen_compressed_ota.md) - -## v0.2.1 - 2023-03-09 - -### Bugfix: - -* package manager: Fix the compile issue when the name of the component has `-`, just like esp-xxx - -## v0.2.0 - 2023-02-23 - -* Add relinker functionality, please refer to [relinker.md](https://github.com/espressif/esp-iot-solution/tree/master/tools/cmake_utilities/docs/relinker.md) - -## v0.1.0 - 2023-01-12 - -### Feature: - -* Add function cu_pkg_get_version -* Add macro cu_pkg_define_version -* Add cmake script to CMAKE_MODULE_PATH diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CHECKSUMS.json b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CHECKSUMS.json deleted file mode 100644 index 5954added..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CHECKSUMS.json +++ /dev/null @@ -1 +0,0 @@ -{"version": "1.0", "algorithm": "sha256", "created_at": "2025-05-21T16:40:48.657779+00:00", "files": [{"path": "package_manager.cmake", "size": 2125, "hash": "1e7f6ba9cdcc8fc9f0a7dde5c5e1ec03ef699c210caf381181cc4a35f95f0ca1"}, {"path": "CMakeLists.txt", "size": 25, "hash": "1b07b2a81841a6e12fc589126fca551dfa39cd6db0646f802740972b48a2cf1b"}, {"path": "CHANGELOG.md", "size": 2592, "hash": "4779bc99678035cbd48addd07e6c5246213d7a93fb34ec469eb838fb64840c63"}, {"path": "idf_component.yml", "size": 255, "hash": "8c21ccd7648224f955d0f8e694fca3e5c469db87ceea389ebbf66b6e5c5da239"}, {"path": "Kconfig", "size": 2524, "hash": "e776e604c4395f8aa8d869a363d042e08eeea372887ff0e2b57535455f1bf3c0"}, {"path": "README.md", "size": 1340, "hash": "26229d274cc1e1add77cfe70eab0997059458894aff066ee2e227bf2c1fd9b7e"}, {"path": "project_include.cmake", "size": 354, "hash": "ca2f4fbba0ae2524cabe17844a79021d587cce6ec5fef53b36c21ae4d7257972"}, {"path": "gen_single_bin.cmake", "size": 1104, "hash": "34bc2100e339538edc47e86aa63cbeb7bc98c06a93105027a4603ba7f96b1dc2"}, {"path": "relinker.cmake", "size": 3288, "hash": "52ac755b429ee9cf6a45fd22121485d69f883d56c3b9f5d8eaa325156a070ad3"}, {"path": "license.txt", "size": 11358, "hash": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"}, {"path": "cmake_utilities.cmake", "size": 137, "hash": "307c1feb59598ff2351967009f1c6424820178b1da6903f40cc01dd52eb703ef"}, {"path": "gen_compressed_ota.cmake", "size": 727, "hash": "8309efee996bd2e5da0f55d26a0df1d199efb9c562eba07e410d49744401659a"}, {"path": "gcc.cmake", "size": 3585, "hash": "47674577242d2be68d6bc1c71bbe664a7e1d0047170ee1fe78f71b987c810620"}, {"path": "test_apps/CMakeLists.txt", "size": 374, "hash": "a851b56d24811c45175a960701596367c9a575b34a6fa8b7ab01bc2c1334c129"}, {"path": "test_apps/pytest_cmake_utilities.py", "size": 583, "hash": "5f60d02cdcaed3503bc259c51cff9af0c267887c86be825c097ed8f57a6a13fa"}, {"path": "docs/gen_compressed_ota.md", "size": 1620, "hash": "c7779477fb4989379898ad18b70af7738ff2bffe624e5d549a3b776aa983ca0b"}, {"path": "docs/gcc.md", "size": 3494, "hash": "908f5108283c7e3d0a046711ab8215fe6ccd59f09924d55cef0bbaf6a5a4ff3a"}, {"path": "docs/relinker.md", "size": 2963, "hash": "0cbffe09354d7e66ac05cf6de02bcdcf76dd2db69072e998e15ee268a5dd2384"}, {"path": "scripts/gen_custom_ota.py", "size": 13418, "hash": "64822db67089a6fdcde610d5ec31369aaa62441441f09d2ed8d4aae2a396e353"}, {"path": "scripts/relinker/configuration.py", "size": 6406, "hash": "7f5c80c0dd3504bcab89b585786b805544a8e39b17b59fc0ef911cb0813fba09"}, {"path": "scripts/relinker/relinker.py", "size": 9978, "hash": "07c1ec82d9f1843d3a12ade88295610ab78cc21c2dd90b02fe314d88d9085eac"}, {"path": "scripts/relinker/examples/esp32c2/object.csv", "size": 6783, "hash": "761467fbbe3adbf544adcfaa50b2fca1a79208786070784b000961c43a23744d"}, {"path": "scripts/relinker/examples/esp32c2/library.csv", "size": 1156, "hash": "5ca43f2ded3f5b3e1d1398949c86080ac1ff7d06e7d147dc5ecf21d0ec034e61"}, {"path": "scripts/relinker/examples/esp32c2/function.csv", "size": 22369, "hash": "5d608e6d35d7a2a6f5ac317ea5e993443b5baef0ce788eb2464aca37246bcb29"}, {"path": "test_apps/main/CMakeLists.txt", "size": 157, "hash": "1b582805eb1d7d515bac70643308b0bacf18dccee565df745051267635b09c1a"}, {"path": "test_apps/main/test_cmake_utilities.c", "size": 1848, "hash": "6ff7025750c8c59bbd379af839def4427c6f59149e19885ac674740e45eccdac"}, {"path": "test_apps/components/TEST-component2/CMakeLists.txt", "size": 285, "hash": "441a6b60573d3146386d56ccbf12cf4451eeef01cac2905b18259bb2a1912b64"}, {"path": "test_apps/components/TEST-component2/idf_component.yml", "size": 230, "hash": "dbbd16387c7b0ea7378126e87cafdf8b3bc58fdcf472e7d853b38ea24d813a2b"}, {"path": "test_apps/components/TEST-component2/test_component2.h", "size": 213, "hash": "42a6a9a527a8b78a6373a432a1d2c8c540bae91d7c604bbc12be5f709a16fb37"}, {"path": "test_apps/components/TEST-component2/test_component2.c", "size": 256, "hash": "d949b85dd1ce045b724cd463ac6549b372db9935ed07dc3dad250660d3b3f27f"}, {"path": "test_apps/components/test_component1/CMakeLists.txt", "size": 285, "hash": "441a6b60573d3146386d56ccbf12cf4451eeef01cac2905b18259bb2a1912b64"}, {"path": "test_apps/components/test_component1/test_component1.h", "size": 213, "hash": "e77976253127f05cbbfae7a635c9455d584b66cceae69ef8f8465fd4ce85aadf"}, {"path": "test_apps/components/test_component1/idf_component.yml", "size": 230, "hash": "70631b0633adbaa92bb26785dee0369f889cc93bc9a22635f1553f864522607b"}, {"path": "test_apps/components/test_component1/test_component1.c", "size": 256, "hash": "fe9ce9a01d53cfbc1970f0a9ee9c8d382c399e0c9aeb93ce843af01bd70b5411"}]} \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CMakeLists.txt deleted file mode 100644 index a96dced59..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -idf_component_register() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/Kconfig b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/Kconfig deleted file mode 100644 index 96747fdf1..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/Kconfig +++ /dev/null @@ -1,65 +0,0 @@ -menu "CMake Utilities" - - config CU_RELINKER_ENABLE - bool "Enable relinker" - default n - help - "Enable relinker to linker some IRAM functions to Flash" - - if CU_RELINKER_ENABLE - config CU_RELINKER_ENABLE_PRINT_ERROR_INFO_WHEN_MISSING_FUNCTION - bool "Print error information when missing function" - default y - help - "Enable this option to print error information instead of - throwing exception when missing function" - - config CU_RELINKER_ENABLE_CUSTOMIZED_CONFIGURATION_FILES - bool "Enable customized relinker configuration files" - default n - help - "Enable this option to use customized relinker configuration - files instead of default ones" - - if CU_RELINKER_ENABLE_CUSTOMIZED_CONFIGURATION_FILES - config CU_RELINKER_CUSTOMIZED_CONFIGURATION_FILES_PATH - string "Customized relinker configuration files path" - default "" - help - "Customized relinker configuration files path. This path is - evaluated relative to the project root directory." - endif - endif - - choice CU_DIAGNOSTICS_COLOR - prompt "Color in diagnostics" - default CU_DIAGNOSTICS_COLOR_ALWAYS - help - Use color in diagnostics. "never", "always", or "auto". If "always", GCC will output - with color defined in GCC_COLORS environment variable. If "never", only output plain - text. If "auto", only output with color when the standard error is a terminal and when - not executing in an emacs shell. - - config CU_DIAGNOSTICS_COLOR_NEVER - bool "never" - config CU_DIAGNOSTICS_COLOR_ALWAYS - bool "always" - config CU_DIAGNOSTICS_COLOR_AUTO - bool "auto" - endchoice - - config CU_GCC_LTO_ENABLE - bool "Enable GCC link time optimization(LTO)" - default n - help - "Enable this option, users can enable GCC link time optimization(LTO) - feature for target components or dependencies. - - config CU_GCC_STRING_1BYTE_ALIGN - bool "GCC string 1-byte align" - default n - help - "Enable this option, user can make string in designated components align - by 1-byte instead 1-word(4-byte), this can reduce unnecessary filled data - so that to reduce firmware size." -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/README.md deleted file mode 100644 index 834ab7308..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# Cmake utilities - -[![Component Registry](https://components.espressif.com/components/espressif/cmake_utilities/badge.svg)](https://components.espressif.com/components/espressif/cmake_utilities) - -This component is aiming to provide some useful CMake utilities outside of ESP-IDF. - -## Use - -1. Add dependency of this component in your component or project's idf_component.yml. - - ```yml - dependencies: - espressif/cmake_utilities: "0.*" - ``` - -2. Include the CMake file you need in your component's CMakeLists.txt after `idf_component_register`, or in your project's CMakeLists.txt - - ```cmake - // Note: should remove .cmake postfix when using include(), otherwise the requested file will not found - // Note: should place this line after `idf_component_register` function - // only include the one you needed. - include(package_manager) - ``` - -3. Then you can use the corresponding CMake function which is provided by the CMake file. - -## Supported features - -1. [relinker](https://github.com/espressif/esp-iot-solution/blob/master/tools/cmake_utilities/docs/relinker.md) -2. [gen_compressed_ota](https://github.com/espressif/esp-iot-solution/blob/master/tools/cmake_utilities/docs/gen_compressed_ota.md) -3. [GCC Optimization](https://github.com/espressif/esp-iot-solution/blob/master/tools/cmake_utilities/docs/gcc.md) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/cmake_utilities.cmake b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/cmake_utilities.cmake deleted file mode 100644 index 92ba9bd0c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/cmake_utilities.cmake +++ /dev/null @@ -1,7 +0,0 @@ -# Include all cmake modules - -include(gcc) -include(gen_compressed_ota) -include(gen_single_bin) -include(package_manager) -include(relinker) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/gcc.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/gcc.md deleted file mode 100644 index a7817fefd..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/gcc.md +++ /dev/null @@ -1,108 +0,0 @@ -# Link Time Optimization(LTO) - -Link time optimization(LTO) improves the optimization effect of GCC, such as reducing binary size, increasing performance, and so on. For more details please refer to related [GCC documents](https://gcc.gnu.org/onlinedocs/gccint/LTO.html). - -## Use - -To use this feature, you need to include the required CMake file in your project's CMakeLists.txt after `project(XXXX)`. - -```cmake -include($ENV{IDF_PATH}/tools/cmake/project.cmake) - -project(XXXX) - -include(gcc) -``` - -The LTO feature is disabled by default. To use it, you should enable the option `CU_GCC_LTO_ENABLE` in menuconfig. Then specify target components or dependencies to be optimized by LTO after `include(gcc)` as follows: - -```cmake -include(gcc) - -cu_gcc_lto_set(COMPONENTS component_a component_b - DEPENDS dependence_a dependence_b) - -cu_gcc_string_1byte_align(COMPONENTS component_c component_d - DEPENDS dependence_c dependence_d) -``` - -Based on your requirement, set compiling optimization level in the option `COMPILER_OPTIMIZATION`. - -* Note - - ``` - 1. Reducing firmware size may decrease performance - 2. Increasing performance may increase firmware size - 3. Enable LTO cause compiling time cost increases a lot - 4. Enable LTO may increase task stack cost - 5. Enable string 1-byte align may decrease string process speed - ``` - -## Limitation - -At the linking stage, the LTO generates new function indexes instead of the file path as follows: - -- LTO - - ```txt - .text 0x00000000420016f4 0x6 /tmp/ccdjwYMH.ltrans51.ltrans.o - 0x00000000420016f4 app_main - ``` - -- Without LTO - - ```txt - .text.app_main 0x00000000420016f4 0x6 esp-idf/main/libmain.a(app_main.c.obj) - 0x00000000420016f4 app_main - ``` - -So tools used to relink functions between flash and IRAM can't affect these optimized components and dependencies again. It is recommended that users had better optimize application components and dependencies than kernel and hardware driver ones. - -## Example - -The example applies LTO in `light` of `esp-matter` because its application code is much larger. Add LTO configuration into project script `CMakeLists.txt` as follows: - -```cmake - -project(light) - -include(gcc) - -# Add -set(app_lto_components main chip esp_matter) -# Add -set(idf_lto_components lwip wpa_supplicant nvs_flash) -# Add -set(lto_depends mbedcrypto) - -# Add -cu_gcc_lto_set(COMPONENTS ${app_lto_components} ${idf_lto_components} - DEPENDS ${lto_depends}) -``` - -Configure `ESP32-C2` as the target platform, enable `CU_GCC_LTO_ENABLE` and `CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE`, set `COMPILER_OPTIMIZATION` to be `-Os`. -Increase the `main` task stack size to `5120` by option `ESP_MAIN_TASK_STACK_SIZE`. -Compile the project, and then you can see the firmware size decrease a lot: - -Option | Firmware size | Stask cost -|:-:|:-:|:-:| - -Os | 1,113,376 | 2508 - -Os + LTO | 1,020,640 | 4204 - -Then add `cu_gcc_string_1byte_align` after `cu_gcc_lto_set`: - -```cmake -# Add -cu_gcc_lto_set(COMPONENTS ${app_lto_components} ${idf_lto_components} - DEPENDS ${lto_depends}) - -cu_gcc_string_1byte_align(COMPONENTS ${app_lto_components} ${idf_lto_components} - DEPENDS ${lto_depends}) -``` - -Build the project and the firmware size is: - -Option | Firmware size | -|:-:|:-:| - -Os + LTO | 1,020,640 | - -Os + LTO + string 1-byte align | 1,018,340 | diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/gen_compressed_ota.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/gen_compressed_ota.md deleted file mode 100644 index e3054b307..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/gen_compressed_ota.md +++ /dev/null @@ -1,41 +0,0 @@ -# Gen Compressed OTA - -When using the compressed OTA, we need to generate the compressed app firmware. This document mainly describes how to generate the compressed app firmware. - -For more information about compressed OTA, refer to [bootloader_support_plus](https://github.com/espressif/esp-iot-solution/tree/master/components/bootloader_support_plus). - -## Use -In order to use this feature, you need to include the needed CMake file in your project's CMakeLists.txt after `project(XXXX)`. - -```cmake -project(XXXX) - -include(gen_compressed_ota) -``` - -Generate the compressed app firmware in an ESP-IDF "project" directory by running: - -```plaintext -idf.py gen_compressed_ota -``` - -This command will compile your project first, then it will generate the compressed app firmware. For example, run the command under the project `simple_ota_examples` folder. If there are no errors, the `custom_ota_binaries` folder will be created and contains the following files: - -```plaintext -simple_ota.bin.xz -simple_ota.bin.xz.packed -``` - -The file named `simple_ota.bin.xz.packed` is the actual compressed app binary file to be transferred. - -In addition, if [secure boot](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/secure-boot-v2.html) is enabled, the command will generate the signed compressed app binary file: - -```plaintext -simple_ota.bin.xz.packed.signed -``` - -you can also use the script [gen_custom_ota.py](https://github.com/espressif/esp-iot-solution/tree/master/tools/cmake_utilities/scripts/gen_custom_ota.py) to compress the specified app: - -```plaintext -python3 gen_custom_ota.py -i simple_ota.bin -``` diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/relinker.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/relinker.md deleted file mode 100644 index 2b7be1829..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/docs/relinker.md +++ /dev/null @@ -1,66 +0,0 @@ -# Relinker - -In ESP-IDF, some functions are put in SRAM when link stage, the reason is that some functions are critical, we need to put them in SRAM to speed up the program, or the functions will be executed when the cache is disabled. But actually, some functions can be put into Flash, here, we provide a script to let the user set the functions which are located in SRAM by default to put them into Flash, in order to save more SRAM which can be used as heap region later. This happens in the linker stage, so we call it as relinker. - -## Use - -In order to use this feature, you need to include the needed CMake file in your project's CMakeLists.txt after `project(XXXX)`. - -```cmake -project(XXXX) - -include(relinker) -``` - -The relinker feature is disabled by default, in order to use it, you need to enable the option `CU_RELINKER_ENABLE` in menuconfig. - -Here are the default configuration files in the folder `cmake_utilities/scripts/relinker/examples/esp32c2`, it's just used as a reference. If you would like to use your own configuration files, please enable option `CU_RELINKER_ENABLE_CUSTOMIZED_CONFIGURATION_FILES` and set the path of your configuration files as following, this path is evaluated relative to the project root directory: - -``` -[*] Enable customized relinker configuration files -(path of your configuration files) Customized relinker configuration files path -``` - -> Note: Currently only esp32c2 is supported. - -## Configuration Files - -You can refer to the files in the directory of `cmake_utilities/scripts/relinker/examples/esp32c2`: - -- library.csv -- object.csv -- function.csv - -For example, if you want to link function `__getreent` from SRAM to Flash, firstly you should add it to `function.csv` file as following: - -``` -libfreertos.a,tasks.c.obj,__getreent, -``` - -This means function `__getreent` is in object file `tasks.c.obj`, and object file `tasks.c.obj` is in library `libfreertos.a`. - -If function `__getreent` depends on the option `FREERTOS_PLACE_FUNCTIONS_INTO_FLASH` in menuconfig, then it should be: - -``` -libfreertos.a,tasks.c.obj,__getreent,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -``` - -This means when only `FREERTOS_PLACE_FUNCTIONS_INTO_FLASH` is enabled in menuconfig, function `__getreent` will be linked from SRAM to Flash. - -Next step you should add the path of the object file to `object.csv`: - -``` -libfreertos.a,tasks.c.obj,esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/tasks.c.obj -``` - -This means the object file `tasks.c.obj` is in library `libfreertos.a` and its location is `esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/tasks.c.obj` relative to directory of `build`. - -Next step you should add path of library to `library.csv`: - -``` -libfreertos.a,./esp-idf/freertos/libfreertos.a -``` - -This means library `libfreertos.a`'s location is `./esp-idf/freertos/libfreertos.a` relative to `build`. - -If above related data has exists in corresponding files, please don't add this repeatedly. \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gcc.cmake b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gcc.cmake deleted file mode 100644 index 5fdd13ed9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gcc.cmake +++ /dev/null @@ -1,84 +0,0 @@ -if(CONFIG_CU_GCC_LTO_ENABLE) - # Enable cmake interprocedural optimization(IPO) support to check if GCC supports link time optimization(LTO) - cmake_policy(SET CMP0069 NEW) - include(CheckIPOSupported) - - # Compare to "ar" and "ranlib", "gcc-ar" and "gcc-ranlib" integrate GCC LTO plugin - set(CMAKE_AR ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar) - set(CMAKE_RANLIB ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ranlib) - - macro(cu_gcc_lto_set) - check_ipo_supported(RESULT result) - if(result) - message(STATUS "GCC link time optimization(LTO) is enable") - - set(multi_value COMPONENTS DEPENDS) - cmake_parse_arguments(LTO "" "" "${multi_value}" ${ARGN}) - - # Use full format LTO object file - set(GCC_LTO_OBJECT_TYPE "-ffat-lto-objects") - # Set compression level 9(min:0, max:9) - set(GCC_LTO_COMPRESSION_LEVEL "-flto-compression-level=9") - # Set partition level max to removed used symbol - set(GCC_LTO_PARTITION_LEVEL "-flto-partition=max") - - # Set mode "auto" to increase compiling speed - set(GCC_LTO_COMPILE_OPTIONS "-flto=auto" - ${GCC_LTO_OBJECT_TYPE} - ${GCC_LTO_COMPRESSION_LEVEL}) - - # Enable GCC LTO and plugin when linking stage - set(GCC_LTO_LINK_OPTIONS "-flto" - "-fuse-linker-plugin" - ${GCC_LTO_OBJECT_TYPE} - ${GCC_LTO_PARTITION_LEVEL}) - - message(STATUS "GCC LTO for components: ${LTO_COMPONENTS}") - foreach(c ${LTO_COMPONENTS}) - idf_component_get_property(t ${c} COMPONENT_LIB) - target_compile_options(${t} PRIVATE ${GCC_LTO_COMPILE_OPTIONS}) - endforeach() - - message(STATUS "GCC LTO for dependencies: ${LTO_DEPENDS}") - foreach(d ${LTO_DEPENDS}) - target_compile_options(${d} PRIVATE ${GCC_LTO_COMPILE_OPTIONS}) - endforeach() - - if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "4.4") - target_link_libraries(${project_elf} PRIVATE ${GCC_LTO_LINK_OPTIONS}) - else() - target_link_libraries(${project_elf} ${GCC_LTO_LINK_OPTIONS}) - endif() - else() - message(FATAL_ERROR "GCC link time optimization(LTO) is not supported") - endif() - endmacro() -else() - macro(cu_gcc_lto_set) - message(STATUS "GCC link time optimization(LTO) is not enable") - endmacro() -endif() - -if(CONFIG_CU_GCC_STRING_1BYTE_ALIGN) - macro(cu_gcc_string_1byte_align) - message(STATUS "GCC string 1-byte align is enable") - - set(multi_value COMPONENTS DEPENDS) - cmake_parse_arguments(STR_ALIGN "" "" "${multi_value}" ${ARGN}) - - message(STATUS "GCC string 1-byte align for components: ${STR_ALIGN_COMPONENTS}") - foreach(c ${STR_ALIGN_COMPONENTS}) - idf_component_get_property(t ${c} COMPONENT_LIB) - target_compile_options(${t} PRIVATE "-malign-data=natural") - endforeach() - - message(STATUS "GCC string 1-byte align for dependencies: ${STR_ALIGN_DEPENDS}") - foreach(d ${STR_ALIGN_DEPENDS}) - target_compile_options(${d} PRIVATE "-malign-data=natural") - endforeach() - endmacro() -else() - macro(cu_gcc_string_1byte_align) - message(STATUS "GCC string 1-byte align is not enable") - endmacro() -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gen_compressed_ota.cmake b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gen_compressed_ota.cmake deleted file mode 100644 index 2bd41e5bd..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gen_compressed_ota.cmake +++ /dev/null @@ -1,18 +0,0 @@ -if (NOT TARGET gen_compressed_ota) - add_custom_target(gen_compressed_ota) - - if (CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT OR CONFIG_SECURE_BOOT_V2_ENABLED) - set(COMPRESSED_OTA_BIN_SIGN_PARA --sign_key ${PROJECT_DIR}/${CONFIG_SECURE_BOOT_SIGNING_KEY}) - else() - set(COMPRESSED_OTA_BIN_SIGN_PARA ) - endif() - - set(GEN_COMPRESSED_BIN_CMD ${CMAKE_CURRENT_LIST_DIR}/scripts/gen_custom_ota.py ${COMPRESSED_OTA_BIN_SIGN_PARA} --add_app_header) - - add_custom_command(TARGET gen_compressed_ota - POST_BUILD - COMMAND ${PYTHON} ${GEN_COMPRESSED_BIN_CMD} - COMMENT "The gen compresssed bin cmd is: ${GEN_COMPRESSED_BIN_CMD}" - ) - add_dependencies(gen_compressed_ota gen_project_binary) -endif() \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gen_single_bin.cmake b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gen_single_bin.cmake deleted file mode 100644 index c13c665c2..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/gen_single_bin.cmake +++ /dev/null @@ -1,27 +0,0 @@ -# Extend command to idf.py - -# Generate single bin with name ${CMAKE_PROJECT_NAME}_merged.bin -if (NOT TARGET gen_single_bin) - add_custom_target( - gen_single_bin - COMMAND ${CMAKE_COMMAND} -E echo "Merge bin files to ${CMAKE_PROJECT_NAME}_merged.bin" - COMMAND ${ESPTOOLPY} --chip ${IDF_TARGET} merge_bin -o ${CMAKE_PROJECT_NAME}_merged.bin @flash_args - COMMAND ${CMAKE_COMMAND} -E echo "Merge bin done" - WORKING_DIRECTORY ${CMAKE_BINARY_DIR} - DEPENDS gen_project_binary bootloader - VERBATIM USES_TERMINAL - ) -endif() - -# Flash bin ${CMAKE_PROJECT_NAME}_merged.bin to target chip -if (NOT TARGET flash_single_bin) - add_custom_target( - flash_single_bin - COMMAND ${CMAKE_COMMAND} -E echo "Flash merged bin ${CMAKE_PROJECT_NAME}_merged.bin to address 0x0" - COMMAND ${ESPTOOLPY} --chip ${IDF_TARGET} write_flash 0x0 ${CMAKE_PROJECT_NAME}_merged.bin - COMMAND ${CMAKE_COMMAND} -E echo "Flash merged bin done" - WORKING_DIRECTORY ${CMAKE_BINARY_DIR} - DEPENDS gen_single_bin - VERBATIM USES_TERMINAL - ) -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/idf_component.yml deleted file mode 100644 index e683f53d9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/idf_component.yml +++ /dev/null @@ -1,7 +0,0 @@ -dependencies: - idf: - version: '>=4.1' -description: A collection of useful cmake utilities -issues: https://github.com/espressif/esp-iot-solution/issues -url: https://github.com/espressif/esp-iot-solution/tree/master/tools/cmake_utilities -version: 0.5.3 diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/license.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/license.txt deleted file mode 100644 index d64569567..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/license.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/package_manager.cmake b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/package_manager.cmake deleted file mode 100644 index caef11b7f..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/package_manager.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# cu_pkg_get_version -# -# @brief Get the package's version information, the package is installed by component manager. -# -# @param[in] pkg_path the package's path, normally it's ${CMAKE_CURRENT_LIST_DIR}. -# -# @param[out] ver_major the major version of the package -# @param[out] ver_minor the minor version of the package -# @param[out] ver_patch the patch version of the package -function(cu_pkg_get_version pkg_path ver_major ver_minor ver_patch) - set(yml_file "${pkg_path}/idf_component.yml") - if(EXISTS ${yml_file}) - file(READ ${yml_file} ver) - string(REGEX MATCH "(^|\n)version: \"?([0-9]+).([0-9]+).([0-9]+)\"?" _ ${ver}) - set(${ver_major} ${CMAKE_MATCH_2} PARENT_SCOPE) - set(${ver_minor} ${CMAKE_MATCH_3} PARENT_SCOPE) - set(${ver_patch} ${CMAKE_MATCH_4} PARENT_SCOPE) - else() - message(WARNING " ${yml_file} not exist") - endif() -endfunction() - -# cu_pkg_define_version -# -# @brief Add the package's version definitions using format ${NAME}_VER_MAJOR ${NAME}_VER_MINOR ${NAME}_VER_PATCH, -# the ${NAME} will be inferred from package path, and namespace like `espressif__` will be removed if the package download from esp-registry -# eg. espressif__usb_stream and usb_stream will generate same version definitions USB_STREAM_VER_MAJOR ... -# -# @param[in] pkg_path the package's path, normally it's ${CMAKE_CURRENT_LIST_DIR}. -# -macro(cu_pkg_define_version pkg_path) - cu_pkg_get_version(${pkg_path} ver_major ver_minor ver_patch) - get_filename_component(pkg_name ${pkg_path} NAME) - string(FIND ${pkg_name} "__" pkg_name_pos) - if(pkg_name_pos GREATER -1) - math(EXPR pkg_name_pos "${pkg_name_pos} + 2") - string(SUBSTRING ${pkg_name} ${pkg_name_pos} -1 pkg_name) - endif() - string(TOUPPER ${pkg_name} pkg_name) - string(REPLACE "-" "_" pkg_name ${pkg_name}) - message(STATUS "${pkg_name}: ${ver_major}.${ver_minor}.${ver_patch}") - list(LENGTH pkg_name_list len) - target_compile_options(${COMPONENT_LIB} PUBLIC - -D${pkg_name}_VER_MAJOR=${ver_major} -D${pkg_name}_VER_MINOR=${ver_minor} -D${pkg_name}_VER_PATCH=${ver_patch}) -endmacro() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/project_include.cmake b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/project_include.cmake deleted file mode 100644 index a5de922bf..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/project_include.cmake +++ /dev/null @@ -1,9 +0,0 @@ -set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_MODULE_PATH}) - -if(CONFIG_CU_DIAGNOSTICS_COLOR_ALWAYS) - add_compile_options(-fdiagnostics-color=always) -elseif(CONFIG_CU_DIAGNOSTICS_COLOR_AUTO) - add_compile_options(-fdiagnostics-color=auto) -elseif(CONFIG_CU_DIAGNOSTICS_COLOR_NEVER) - add_compile_options(-fdiagnostics-color=never) -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/relinker.cmake b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/relinker.cmake deleted file mode 100644 index 10b9aaf66..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/relinker.cmake +++ /dev/null @@ -1,73 +0,0 @@ -# @brief Link designated functions from SRAM to Flash to save SRAM -if(CONFIG_CU_RELINKER_ENABLE) - # project_elf variable is only in project.cmake - if(NOT TARGET customer_sections AND DEFINED project_elf) - message(STATUS "Relinker is enabled.") - if(CONFIG_IDF_TARGET_ESP32C2) - set(target "esp32c2") - else() - message(FATAL_ERROR "Other targets are not supported.") - endif() - - if(CONFIG_CU_RELINKER_ENABLE_CUSTOMIZED_CONFIGURATION_FILES) - idf_build_get_property(project_dir PROJECT_DIR) - get_filename_component(cfg_file_path "${CONFIG_CU_RELINKER_CUSTOMIZED_CONFIGURATION_FILES_PATH}" - ABSOLUTE BASE_DIR "${project_dir}") - - if(NOT EXISTS "${cfg_file_path}") - message(FATAL_ERROR "Relinker Configuration files path ${cfg_file_path} is not found.") - endif() - else() - set(cfg_file_path ${PROJECT_DIR}/relinker/${target}) - if(NOT EXISTS ${cfg_file_path}) - set(cfg_file_path ${CMAKE_CURRENT_LIST_DIR}/scripts/relinker/examples/${target}) - endif() - endif() - - message(STATUS "Relinker configuration files: ${cfg_file_path}") - - set(library_file "${cfg_file_path}/library.csv") - set(object_file "${cfg_file_path}/object.csv") - set(function_file "${cfg_file_path}/function.csv") - set(relinker_script "${CMAKE_CURRENT_LIST_DIR}/scripts/relinker/relinker.py") - - set(cmake_objdump "${CMAKE_OBJDUMP}") - set(link_path "${CMAKE_BINARY_DIR}/esp-idf/esp_system/ld") - set(link_src_file "${link_path}/sections.ld") - set(link_dst_file "${link_path}/customer_sections.ld") - - set(relinker_opts --input ${link_src_file} - --output ${link_dst_file} - --library ${library_file} - --object ${object_file} - --function ${function_file} - --sdkconfig ${sdkconfig} - --objdump ${cmake_objdump}) - - if(CONFIG_CU_RELINKER_ENABLE_PRINT_ERROR_INFO_WHEN_MISSING_FUNCTION) - list(APPEND relinker_opts --missing_function_info True) - endif() - - idf_build_get_property(link_depends __LINK_DEPENDS) - - add_custom_command(OUTPUT ${link_dst_file} - COMMAND ${python} -B ${relinker_script} - ${relinker_opts} - COMMAND ${CMAKE_COMMAND} -E copy - ${link_dst_file} - ${link_src_file} - COMMAND ${CMAKE_COMMAND} -E echo - /*relinker*/ >> - ${link_dst_file} - DEPENDS "${link_depends}" - "${library_file}" - "${object_file}" - "${function_file}" - VERBATIM) - - add_custom_target(customer_sections DEPENDS ${link_dst_file}) - add_dependencies(${project_elf} customer_sections) - endif() -else() - message(STATUS "Relinker isn't enabled.") -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/gen_custom_ota.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/gen_custom_ota.py deleted file mode 100644 index 00cffc64b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/gen_custom_ota.py +++ /dev/null @@ -1,243 +0,0 @@ -#!/usr/bin/env python -# -# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD -# -# SPDX-License-Identifier: Apache-2.0 - -import sys -import struct -import argparse -import binascii -import hashlib -import os -import subprocess -import shutil -import json -import lzma - -# src_file = 'hello-world.bin' -# compressed_file = 'hello-world.bin.xz' -# packed_compressed_file = 'hello-world.bin.xz.packed' -# siged_packed_compressed_file = 'hello-world.bin.xz.packed.signed' - -binary_compress_type = {'none': 0, 'xz':1} -header_version = {'v1': 1, 'v2': 2, 'v3': 3} - -SCRIPT_VERSION = '1.0.0' -ORIGIN_APP_IMAGE_HEADER_LEN = 288 # sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(esp_app_desc_t). See esp_app_format.h -# At present, we calculate the checksum of the first 4KB data of the old app. -OLD_APP_CHECK_DATA_SIZE = 4096 - -# v1 compressed data header: -# Note: Encryption_type field is deprecated, the field is reserved for compatibility. -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|--------------|------------| -# | | Magic | header | Compress | delta | Encryption | Reserved | Firmware | The length of | The MD5 of | The CRC32 for| compressed | -# | | number | version | type | type | type | | version | compressed data| compressed data| the header | data | -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|--------------|------------| -# | Size | 4 bytes | 1 byte | 4 bits | 4 bits | 1 bytes | 1 bytes | 32 bytes | 4 bytes | 32 bytes | 4 bytes | | -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|--------------|------------| -# | Data | String | | | | | | String | little-endian | byte string | little-endian| | -# | type | ended | | | | | | ended | integer | | integer | | -# | |with ‘\0’| | | | | | with ‘\0’| | | | Binary data| -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|--------------|------------| -# | Data | “ESP” | 1 | 0/1 | 0/1 | | | | | | | | -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|--------------|------------| - -# v2 compressed data header -# Note: Encryption_type field is deprecated, the field is reserved for compatibility. -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|---------------|---------------|--------------|------------| -# | | Magic | header | Compress | delta | Encryption | Reserved | Firmware | The length of | The MD5 of | base app check| The CRC32 for | The CRC32 for| compressed | -# | | number | version | type | type | type | | version | compressed data| compressed data| data len | base app data | the header | data | -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|---------------|---------------|--------------|------------| -# | Size | 4 bytes | 1 byte | 4 bits | 4 bits | 1 bytes | 1 bytes | 32 bytes | 4 bytes | 32 bytes | 4 bytes | 4 bytes | 4 bytes | | -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|---------------|---------------|--------------|------------| -# | Data | String | | | | | | String | little-endian | byte string | little-endian | little-endian | little-endian| | -# | type | ended | | | | | | ended | integer | | integer | integer | integer | | -# | |with ‘\0’| | | | | | with ‘\0’| | | | | | Binary data| -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|---------------|---------------|--------------|------------| -# | Data | “ESP” | 1 | 0/1 | 0/1 | | | | | | | | | | -# |------|---------|---------|----------|------------|------------|-----------|----------|----------------|----------------|---------------|---------------|--------------|------------| - -# v3 compressed data header: -# |------|---------|---------|----------|------------|-----------|----------------|----------------|--------------|------------| -# | | Magic | header | Compress | Reserved | Reserved | The length of | The MD5 of | The CRC32 for| compressed | -# | | number | version | type | | | compressed data| compressed data| the header | data | -# |------|---------|---------|----------|------------|-----------|----------------|----------------|--------------|------------| -# | Size | 4 bytes | 1 byte | 4 bits | 4 bits | 8 bytes | 4 bytes | 16 bytes | 4 bytes | | -# |------|---------|---------|----------|------------|-----------|----------------|----------------|--------------|------------| -# | Data | String | integer | | | | little-endian | byte string | little-endian| | -# | type | ended | | | | | integer | | integer | | -# | |with ‘\0’| | | | | | | | Binary data| -# |------|---------|---------|----------|------------|-----------|----------------|----------------|--------------|------------| -# | Data | “ESP” | 3 | 0/1 | | | | | | | -# |------|---------|---------|----------|------------|-----------|----------------|----------------|--------------|------------| - -def xz_compress(store_directory, in_file): - compressed_file = ''.join([in_file,'.xz']) - if(os.path.exists(compressed_file)): - os.remove(compressed_file) - - xz_compressor_filter = [ - {"id": lzma.FILTER_LZMA2, "preset": 6, "dict_size": 64*1024}, - ] - with open(in_file, 'rb') as src_f: - data = src_f.read() - with lzma.open(compressed_file, "wb", format=lzma.FORMAT_XZ, check=lzma.CHECK_CRC32, filters=xz_compressor_filter) as f: - f.write(data) - f.close() - - if not os.path.exists(os.path.join(store_directory, os.path.split(compressed_file)[1])): - shutil.copy(compressed_file, store_directory) - print('copy xz file done') - -def secure_boot_sign(sign_key, in_file, out_file): - ret = subprocess.call('espsecure.py sign_data --version 2 --keyfile {} --output {} {}'.format(sign_key, out_file, in_file), shell = True) - if ret: - raise Exception('sign failed') - -def get_app_name(): - with open('flasher_args.json') as f: - try: - flasher_args = json.load(f) - return flasher_args['app']['file'] - except Exception as e: - print(e) - - return '' - -def get_script_version(): - return SCRIPT_VERSION - -def main(): - parser = argparse.ArgumentParser() - parser.add_argument('-hv', '--header_ver', nargs='?', choices = ['v1', 'v2', 'v3'], - default='v3', help='the version of the packed file header [default:v3]') - parser.add_argument('-c', '--compress_type', nargs= '?', choices = ['none', 'xz'], - default='xz', help='compressed type [default:xz]') - parser.add_argument('-i', '--in_file', nargs = '?', - default='', help='the new app firmware') - parser.add_argument('--sign_key', nargs = '?', - default='', help='the sign key used for secure boot') - parser.add_argument('-fv', '--fw_ver', nargs='?', - default='', help='the version of the compressed data(this field is deprecated in v3)') - parser.add_argument('--add_app_header', action="store_true", help='add app header to use native esp_ota_* & esp_https_ota_* APIs') - parser.add_argument('-v', '--version', action='version', version=get_script_version(), help='the version of the script') - - args = parser.parse_args() - - compress_type = args.compress_type - firmware_ver = args.fw_ver - src_file = args.in_file - sign_key = args.sign_key - header_ver = args.header_ver - add_app_header = args.add_app_header - - if src_file == '': - origin_app_name = get_app_name() - if(origin_app_name == ''): - print('get origin app name fail') - return - - if os.path.exists(origin_app_name): - src_file = origin_app_name - else: - print('origin app.bin not found') - return - - print('src file is: {}'.format(src_file)) - - # rebuild the cpmpressed_app directroy - cpmoressed_app_directory = 'custom_ota_binaries' - if os.path.exists(cpmoressed_app_directory): - shutil.rmtree(cpmoressed_app_directory) - - os.mkdir(cpmoressed_app_directory) - print('The compressed file will store in {}'.format(cpmoressed_app_directory)) - - #step1: compress - if compress_type == 'xz': - xz_compress(cpmoressed_app_directory, os.path.abspath(src_file)) - - origin_app_name = os.path.split(src_file)[1] - - compressed_file_name = ''.join([origin_app_name, '.xz']) - compressed_file = os.path.join(cpmoressed_app_directory, compressed_file_name) - else: - compressed_file = ''.join(src_file) - - print('compressed file is: {}'.format(compressed_file)) - - #step2: packet the compressed image header - with open(src_file, 'rb') as s_f: - src_image_header = bytearray(s_f.read(ORIGIN_APP_IMAGE_HEADER_LEN)) - src_image_header[1] = 0x00 - - packed_file = ''.join([compressed_file,'.packed']) - with open(compressed_file, 'rb') as src_f: - data = src_f.read() - f_len = src_f.tell() - # magic number - bin_data = struct.pack('4s', b'ESP') - # header version - bin_data += struct.pack('B', header_version[header_ver]) - # Compress type - bin_data += struct.pack('B', binary_compress_type[compress_type]) - print('compressed type: {}'.format(binary_compress_type[compress_type])) - # in header v1/v2, there is a field "Encryption type", this field has been deprecated in v3 - if (header_version[header_ver] < 3): - bin_data += struct.pack('B', 0) - # Reserved - bin_data += struct.pack('?', 0) - # Firmware version - bin_data += struct.pack('32s', firmware_ver.encode()) - else: - # Reserved - bin_data += struct.pack('10s', b'0') - # The length of the compressed data - bin_data += struct.pack(' OPT_MIN_LEN and l[0] != '#': - mo = re.match( r'(.*)=(.*)', l, re.M|re.I) - if mo: - config[mo.group(1)]=mo.group(2).replace('"', '') - self.config = config - - def index(self, i): - return self.config[i] - - def check(self, options): - options = options.replace(' ', '') - if '&&' in options: - for i in options.split('&&'): - if i[0] == '!': - i = i[1:] - if i in self.config: - return False - else: - if i not in self.config: - return False - else: - i = options - if i[0] == '!': - i = i[1:] - if i in self.config: - return False - else: - if i not in self.config: - return False - return True - -class object_c: - def read_dump_info(self, pathes): - new_env = os.environ.copy() - new_env['LC_ALL'] = 'C' - dumps = list() - print('pathes:', pathes) - for path in pathes: - try: - dump = StringIO(subprocess.check_output([espidf_objdump, '-t', path], env=new_env).decode()) - dumps.append(dump.readlines()) - except subprocess.CalledProcessError as e: - raise RuntimeError('cmd:%s result:%s'%(e.cmd, e.returncode)) - return dumps - - def get_func_section(self, dumps, func): - for dump in dumps: - for l in dump: - if ' %s'%(func) in l and '*UND*' not in l: - m = re.match(r'(\S*)\s*([glw])\s*([F|O])\s*(\S*)\s*(\S*)\s*(\S*)\s*', l, re.M|re.I) - if m and m[6] == func: - return m[4].replace('.text.', '') - if espidf_missing_function_info: - print('%s failed to find section'%(func)) - return None - else: - raise RuntimeError('%s failed to find section'%(func)) - - def __init__(self, name, pathes, libray): - self.name = name - self.libray = libray - self.funcs = dict() - self.pathes = pathes - self.dumps = self.read_dump_info(pathes) - - def append(self, func): - section = self.get_func_section(self.dumps, func) - if section != None: - self.funcs[func] = section - - def functions(self): - nlist = list() - for i in self.funcs: - nlist.append(i) - return nlist - - def sections(self): - nlist = list() - for i in self.funcs: - nlist.append(self.funcs[i]) - return nlist - -class library_c: - def __init__(self, name, path): - self.name = name - self.path = path - self.objs = dict() - - def append(self, obj, path, func): - if obj not in self.objs: - self.objs[obj] = object_c(obj, path, self.name) - self.objs[obj].append(func) - -class libraries_c: - def __init__(self): - self.libs = dict() - - def append(self, lib, lib_path, obj, obj_path, func): - if lib not in self.libs: - self.libs[lib] = library_c(lib, lib_path) - self.libs[lib].append(obj, obj_path, func) - - def dump(self): - for libname in self.libs: - lib = self.libs[libname] - for objname in lib.objs: - obj = lib.objs[objname] - print('%s, %s, %s, %s'%(libname, objname, obj.path, obj.funcs)) - -class paths_c: - def __init__(self): - self.paths = dict() - - def append(self, lib, obj, path): - if '$IDF_PATH' in path: - path = path.replace('$IDF_PATH', os.environ['IDF_PATH']) - - if lib not in self.paths: - self.paths[lib] = dict() - if obj not in self.paths[lib]: - self.paths[lib][obj] = list() - self.paths[lib][obj].append(path) - - def index(self, lib, obj): - if lib not in self.paths: - return None - if '*' in self.paths[lib]: - obj = '*' - return self.paths[lib][obj] - -def generator(library_file, object_file, function_file, sdkconfig_file, missing_function_info, objdump='riscv32-esp-elf-objdump'): - global espidf_objdump, espidf_missing_function_info - espidf_objdump = objdump - espidf_missing_function_info = missing_function_info - - sdkconfig = sdkconfig_c(sdkconfig_file) - - lib_paths = paths_c() - for p in csv.DictReader(open(library_file, 'r')): - lib_paths.append(p['library'], '*', p['path']) - - obj_paths = paths_c() - for p in csv.DictReader(open(object_file, 'r')): - obj_paths.append(p['library'], p['object'], p['path']) - - libraries = libraries_c() - for d in csv.DictReader(open(function_file, 'r')): - if d['option'] and sdkconfig.check(d['option']) == False: - print('skip %s(%s)'%(d['function'], d['option'])) - continue - lib_path = lib_paths.index(d['library'], '*') - obj_path = obj_paths.index(d['library'], d['object']) - if not obj_path: - obj_path = lib_path - libraries.append(d['library'], lib_path[0], d['object'], obj_path, d['function']) - return libraries - -def main(): - argparser = argparse.ArgumentParser(description='Libraries management') - - argparser.add_argument( - '--library', '-l', - help='Library description file', - type=str) - - argparser.add_argument( - '--object', '-b', - help='Object description file', - type=str) - - argparser.add_argument( - '--function', '-f', - help='Function description file', - type=str) - - argparser.add_argument( - '--sdkconfig', '-s', - help='sdkconfig file', - type=str) - - args = argparser.parse_args() - - libraries = generator(args.library, args.object, args.function, args.sdkconfig) - # libraries.dump() - -if __name__ == '__main__': - main() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/function.csv b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/function.csv deleted file mode 100644 index 73c089a86..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/function.csv +++ /dev/null @@ -1,365 +0,0 @@ -library,object,function,option -libble_app.a,ble_hw.c.o,r_ble_hw_resolv_list_get_cur_entry, -libble_app.a,ble_ll_adv.c.o,r_ble_ll_adv_set_sched, -libble_app.a,ble_ll_adv.c.o,r_ble_ll_adv_sync_pdu_make, -libble_app.a,ble_ll_adv.c.o,r_ble_ll_adv_sync_calculate, -libble_app.a,ble_ll_conn.c.o,r_ble_ll_conn_is_dev_connected, -libble_app.a,ble_ll_ctrl.c.o,r_ble_ll_ctrl_tx_done, -libble_app.a,ble_lll_adv.c.o,r_ble_lll_adv_aux_scannable_pdu_payload_len, -libble_app.a,ble_lll_adv.c.o,r_ble_lll_adv_halt, -libble_app.a,ble_lll_adv.c.o,r_ble_lll_adv_periodic_schedule_next, -libble_app.a,ble_lll_conn.c.o,r_ble_lll_conn_cth_flow_free_credit, -libble_app.a,ble_lll_conn.c.o,r_ble_lll_conn_update_encryption, -libble_app.a,ble_lll_conn.c.o,r_ble_lll_conn_set_slave_flow_control, -libble_app.a,ble_lll_conn.c.o,r_ble_lll_init_rx_pkt_isr, -libble_app.a,ble_lll_conn.c.o,r_ble_lll_conn_get_rx_mbuf, -libble_app.a,ble_lll_rfmgmt.c.o,r_ble_lll_rfmgmt_enable, -libble_app.a,ble_lll_rfmgmt.c.o,r_ble_lll_rfmgmt_timer_reschedule, -libble_app.a,ble_lll_rfmgmt.c.o,r_ble_lll_rfmgmt_timer_exp, -libble_app.a,ble_lll_scan.c.o,r_ble_lll_scan_targeta_is_matched, -libble_app.a,ble_lll_scan.c.o,r_ble_lll_scan_rx_isr_on_legacy, -libble_app.a,ble_lll_scan.c.o,r_ble_lll_scan_rx_isr_on_aux, -libble_app.a,ble_lll_scan.c.o,r_ble_lll_scan_process_rsp_in_isr, -libble_app.a,ble_lll_scan.c.o,r_ble_lll_scan_rx_pkt_isr, -libble_app.a,ble_lll_sched.c.o,r_ble_lll_sched_execute_check, -libble_app.a,ble_lll_sync.c.o,r_ble_lll_sync_event_start_cb, -libble_app.a,ble_phy.c.o,r_ble_phy_set_rxhdr, -libble_app.a,ble_phy.c.o,r_ble_phy_update_conn_sequence, -libble_app.a,ble_phy.c.o,r_ble_phy_set_sequence_mode, -libble_app.a,ble_phy.c.o,r_ble_phy_txpower_round, -libble_app.a,os_mempool.c.obj,r_os_memblock_put, -libbootloader_support.a,bootloader_flash.c.obj,bootloader_read_flash_id, -libbootloader_support.a,flash_encrypt.c.obj,esp_flash_encryption_enabled, -libbt.a,bt_osi_mem.c.obj,bt_osi_mem_calloc,CONFIG_BT_ENABLED -libbt.a,bt_osi_mem.c.obj,bt_osi_mem_malloc,CONFIG_BT_ENABLED -libbt.a,bt_osi_mem.c.obj,bt_osi_mem_malloc_internal,CONFIG_BT_ENABLED -libbt.a,bt_osi_mem.c.obj,bt_osi_mem_free,CONFIG_BT_ENABLED -libbt.a,bt.c.obj,esp_reset_rpa_moudle,CONFIG_BT_ENABLED -libbt.a,bt.c.obj,osi_assert_wrapper,CONFIG_BT_ENABLED -libbt.a,bt.c.obj,osi_random_wrapper,CONFIG_BT_ENABLED -libbt.a,nimble_port.c.obj,nimble_port_run,CONFIG_BT_NIMBLE_ENABLED -libbt.a,nimble_port.c.obj,nimble_port_get_dflt_eventq,CONFIG_BT_NIMBLE_ENABLED -libbt.a,npl_os_freertos.c.obj,os_callout_timer_cb,CONFIG_BT_ENABLED && !CONFIG_BT_NIMBLE_USE_ESP_TIMER -libbt.a,npl_os_freertos.c.obj,npl_freertos_event_run,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_stop,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_time_get,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_reset,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_is_active,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_get_ticks,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_remaining_ticks,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_time_delay,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_eventq_is_empty,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_mutex_pend,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_mutex_release,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_sem_init,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_sem_pend,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_sem_release,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_init,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_deinit,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_event_is_queued,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_event_get_arg,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_time_ms_to_ticks32,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_time_ticks_to_ms32,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_hw_is_in_critical,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_get_time_forever,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_os_started,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_get_current_task_id,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_event_reset,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_mem_reset,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_event_init,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_sem_get_count,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_eventq_remove,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_hw_exit_critical,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_mutex_init,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_hw_enter_critical,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_eventq_put,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_eventq_get,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_sem_deinit,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_mutex_deinit,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_eventq_deinit,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_eventq_init,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_event_deinit,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_time_ticks_to_ms,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_time_ms_to_ticks,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_callout_set_arg,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_event_set_arg,CONFIG_BT_ENABLED -libbt.a,npl_os_freertos.c.obj,npl_freertos_eventq_put,CONFIG_BT_ENABLED -libdriver.a,gpio.c.obj,gpio_intr_service, -libesp_app_format.a,esp_app_desc.c.obj,esp_app_get_elf_sha256, -libesp_hw_support.a,cpu.c.obj,esp_cpu_wait_for_intr, -libesp_hw_support.a,cpu.c.obj,esp_cpu_reset, -libesp_hw_support.a,esp_clk.c.obj,esp_clk_cpu_freq, -libesp_hw_support.a,esp_clk.c.obj,esp_clk_apb_freq, -libesp_hw_support.a,esp_clk.c.obj,esp_clk_xtal_freq, -libesp_hw_support.a,esp_memory_utils.c.obj,esp_ptr_byte_accessible, -libesp_hw_support.a,hw_random.c.obj,esp_random, -libesp_hw_support.a,intr_alloc.c.obj,shared_intr_isr, -libesp_hw_support.a,intr_alloc.c.obj,esp_intr_noniram_disable, -libesp_hw_support.a,intr_alloc.c.obj,esp_intr_noniram_enable, -libesp_hw_support.a,intr_alloc.c.obj,esp_intr_enable, -libesp_hw_support.a,intr_alloc.c.obj,esp_intr_disable, -libesp_hw_support.a,periph_ctrl.c.obj,wifi_bt_common_module_enable, -libesp_hw_support.a,periph_ctrl.c.obj,wifi_bt_common_module_disable, -libesp_hw_support.a,regi2c_ctrl.c.obj,regi2c_ctrl_read_reg, -libesp_hw_support.a,regi2c_ctrl.c.obj,regi2c_ctrl_read_reg_mask, -libesp_hw_support.a,regi2c_ctrl.c.obj,regi2c_ctrl_write_reg, -libesp_hw_support.a,regi2c_ctrl.c.obj,regi2c_ctrl_write_reg_mask, -libesp_hw_support.a,regi2c_ctrl.c.obj,regi2c_enter_critical, -libesp_hw_support.a,regi2c_ctrl.c.obj,regi2c_exit_critical, -libesp_hw_support.a,regi2c_ctrl.c.obj,regi2c_analog_cali_reg_read, -libesp_hw_support.a,regi2c_ctrl.c.obj,regi2c_analog_cali_reg_write, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_32k_enable_external, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_fast_src_set, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_slow_freq_get_hz, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_slow_src_get, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_slow_src_set, -libesp_hw_support.a,rtc_clk.c.obj,rtc_dig_clk8m_disable, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_cpu_freq_set_config_fast, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_8m_enable, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_8md256_enabled, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_bbpll_configure, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_bbpll_enable, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_cpu_freq_get_config, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_cpu_freq_mhz_to_config, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_cpu_freq_set_config, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_cpu_freq_to_8m, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_cpu_freq_to_pll_mhz, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_cpu_freq_set_xtal, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_xtal_freq_get, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_cpu_freq_to_xtal, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_bbpll_disable, -libesp_hw_support.a,rtc_clk.c.obj,rtc_clk_apb_freq_update, -libesp_hw_support.a,rtc_clk.c.obj,clk_ll_rtc_slow_get_src,FALSE -libesp_hw_support.a,rtc_init.c.obj,rtc_vddsdio_set_config, -libesp_hw_support.a,rtc_module.c.obj,rtc_isr, -libesp_hw_support.a,rtc_module.c.obj,rtc_isr_noniram_disable, -libesp_hw_support.a,rtc_module.c.obj,rtc_isr_noniram_enable, -libesp_hw_support.a,rtc_sleep.c.obj,rtc_sleep_pu, -libesp_hw_support.a,rtc_sleep.c.obj,rtc_sleep_finish, -libesp_hw_support.a,rtc_sleep.c.obj,rtc_sleep_get_default_config, -libesp_hw_support.a,rtc_sleep.c.obj,rtc_sleep_init, -libesp_hw_support.a,rtc_sleep.c.obj,rtc_sleep_low_init, -libesp_hw_support.a,rtc_sleep.c.obj,rtc_sleep_start, -libesp_hw_support.a,rtc_time.c.obj,rtc_clk_cal, -libesp_hw_support.a,rtc_time.c.obj,rtc_clk_cal_internal, -libesp_hw_support.a,rtc_time.c.obj,rtc_time_get, -libesp_hw_support.a,rtc_time.c.obj,rtc_time_us_to_slowclk, -libesp_hw_support.a,rtc_time.c.obj,rtc_time_slowclk_to_us, -libesp_hw_support.a,sleep_modes.c.obj,periph_ll_periph_enabled, -libesp_hw_support.a,sleep_modes.c.obj,flush_uarts, -libesp_hw_support.a,sleep_modes.c.obj,suspend_uarts, -libesp_hw_support.a,sleep_modes.c.obj,resume_uarts, -libesp_hw_support.a,sleep_modes.c.obj,esp_sleep_start, -libesp_hw_support.a,sleep_modes.c.obj,esp_deep_sleep_start, -libesp_hw_support.a,sleep_modes.c.obj,esp_light_sleep_inner, -libesp_phy.a,phy_init.c.obj,esp_phy_common_clock_enable, -libesp_phy.a,phy_init.c.obj,esp_phy_common_clock_disable, -libesp_phy.a,phy_init.c.obj,esp_wifi_bt_power_domain_on, -libesp_phy.a,phy_override.c.obj,phy_i2c_enter_critical, -libesp_phy.a,phy_override.c.obj,phy_i2c_exit_critical, -libesp_pm.a,pm_locks.c.obj,esp_pm_lock_acquire, -libesp_pm.a,pm_locks.c.obj,esp_pm_lock_release, -libesp_pm.a,pm_impl.c.obj,get_lowest_allowed_mode, -libesp_pm.a,pm_impl.c.obj,esp_pm_impl_switch_mode, -libesp_pm.a,pm_impl.c.obj,on_freq_update, -libesp_pm.a,pm_impl.c.obj,vApplicationSleep,CONFIG_FREERTOS_USE_TICKLESS_IDLE -libesp_pm.a,pm_impl.c.obj,do_switch, -libesp_ringbuf.a,ringbuf.c.obj,prvCheckItemAvail, -libesp_ringbuf.a,ringbuf.c.obj,prvGetFreeSize, -libesp_ringbuf.a,ringbuf.c.obj,prvReceiveGenericFromISR, -libesp_ringbuf.a,ringbuf.c.obj,xRingbufferGetMaxItemSize, -libesp_rom.a,esp_rom_systimer.c.obj,systimer_hal_init, -libesp_rom.a,esp_rom_systimer.c.obj,systimer_hal_set_alarm_period, -libesp_rom.a,esp_rom_systimer.c.obj,systimer_hal_set_alarm_target, -libesp_rom.a,esp_rom_systimer.c.obj,systimer_hal_set_tick_rate_ops, -libesp_rom.a,esp_rom_uart.c.obj,esp_rom_uart_set_clock_baudrate, -libesp_system.a,brownout.c.obj,rtc_brownout_isr_handler, -libesp_system.a,cache_err_int.c.obj,esp_cache_err_get_cpuid, -libesp_system.a,cpu_start.c.obj,call_start_cpu0, -libesp_system.a,crosscore_int.c.obj,esp_crosscore_int_send, -libesp_system.a,crosscore_int.c.obj,esp_crosscore_int_send_yield, -libesp_system.a,esp_system.c.obj,esp_restart, -libesp_system.a,esp_system.c.obj,esp_system_abort, -libesp_system.a,reset_reason.c.obj,esp_reset_reason_set_hint, -libesp_system.a,reset_reason.c.obj,esp_reset_reason_get_hint, -libesp_system.a,ubsan.c.obj,__ubsan_include, -libesp_timer.a,esp_timer.c.obj,esp_timer_get_next_alarm_for_wake_up, -libesp_timer.a,esp_timer.c.obj,timer_list_unlock,!CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD -libesp_timer.a,esp_timer.c.obj,timer_list_lock,!CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD -libesp_timer.a,esp_timer.c.obj,timer_armed, -libesp_timer.a,esp_timer.c.obj,timer_remove, -libesp_timer.a,esp_timer.c.obj,timer_insert,!CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD -libesp_timer.a,esp_timer.c.obj,esp_timer_start_once, -libesp_timer.a,esp_timer.c.obj,esp_timer_start_periodic, -libesp_timer.a,esp_timer.c.obj,esp_timer_stop, -libesp_timer.a,esp_timer.c.obj,esp_timer_get_expiry_time, -libesp_timer.a,esp_timer_impl_systimer.c.obj,esp_timer_impl_get_time,!CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD -libesp_timer.a,esp_timer_impl_systimer.c.obj,esp_timer_impl_set_alarm_id,!CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD -libesp_timer.a,esp_timer_impl_systimer.c.obj,esp_timer_impl_update_apb_freq, -libesp_timer.a,esp_timer_impl_systimer.c.obj,esp_timer_impl_get_min_period_us, -libesp_timer.a,ets_timer_legacy.c.obj,timer_initialized, -libesp_timer.a,ets_timer_legacy.c.obj,ets_timer_arm_us, -libesp_timer.a,ets_timer_legacy.c.obj,ets_timer_arm, -libesp_timer.a,ets_timer_legacy.c.obj,ets_timer_disarm, -libesp_timer.a,system_time.c.obj,esp_system_get_time, -libesp_wifi.a,esp_adapter.c.obj,semphr_take_from_isr_wrapper, -libesp_wifi.a,esp_adapter.c.obj,wifi_realloc, -libesp_wifi.a,esp_adapter.c.obj,coex_event_duration_get_wrapper, -libesp_wifi.a,esp_adapter.c.obj,coex_schm_interval_set_wrapper, -libesp_wifi.a,esp_adapter.c.obj,esp_empty_wrapper, -libesp_wifi.a,esp_adapter.c.obj,wifi_calloc, -libesp_wifi.a,esp_adapter.c.obj,wifi_zalloc_wrapper, -libesp_wifi.a,esp_adapter.c.obj,env_is_chip_wrapper, -libesp_wifi.a,esp_adapter.c.obj,is_from_isr_wrapper, -libesp_wifi.a,esp_adapter.c.obj,semphr_give_from_isr_wrapper, -libesp_wifi.a,esp_adapter.c.obj,mutex_lock_wrapper, -libesp_wifi.a,esp_adapter.c.obj,mutex_unlock_wrapper, -libesp_wifi.a,esp_adapter.c.obj,task_ms_to_tick_wrapper, -libesp_wifi.a,esp_adapter.c.obj,wifi_apb80m_request_wrapper, -libesp_wifi.a,esp_adapter.c.obj,wifi_apb80m_release_wrapper, -libesp_wifi.a,esp_adapter.c.obj,timer_arm_wrapper, -libesp_wifi.a,esp_adapter.c.obj,wifi_malloc, -libesp_wifi.a,esp_adapter.c.obj,timer_disarm_wrapper, -libesp_wifi.a,esp_adapter.c.obj,timer_arm_us_wrapper, -libesp_wifi.a,esp_adapter.c.obj,wifi_rtc_enable_iso_wrapper, -libesp_wifi.a,esp_adapter.c.obj,wifi_rtc_disable_iso_wrapper, -libesp_wifi.a,esp_adapter.c.obj,malloc_internal_wrapper, -libesp_wifi.a,esp_adapter.c.obj,realloc_internal_wrapper, -libesp_wifi.a,esp_adapter.c.obj,calloc_internal_wrapper, -libesp_wifi.a,esp_adapter.c.obj,zalloc_internal_wrapper, -libesp_wifi.a,esp_adapter.c.obj,coex_status_get_wrapper, -libesp_wifi.a,esp_adapter.c.obj,coex_wifi_release_wrapper, -libfreertos.a,list.c.obj,uxListRemove,FALSE -libfreertos.a,list.c.obj,vListInitialise,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,list.c.obj,vListInitialiseItem,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,list.c.obj,vListInsert,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,list.c.obj,vListInsertEnd,FALSE -libfreertos.a,port.c.obj,vApplicationStackOverflowHook,FALSE -libfreertos.a,port.c.obj,vPortYieldOtherCore,FALSE -libfreertos.a,port.c.obj,vPortYield, -libfreertos.a,port_common.c.obj,xPortcheckValidStackMem, -libfreertos.a,port_common.c.obj,vApplicationGetTimerTaskMemory, -libfreertos.a,port_common.c.obj,esp_startup_start_app_common, -libfreertos.a,port_common.c.obj,xPortCheckValidTCBMem, -libfreertos.a,port_common.c.obj,vApplicationGetIdleTaskMemory, -libfreertos.a,port_systick.c.obj,vPortSetupTimer, -libfreertos.a,port_systick.c.obj,xPortSysTickHandler,FALSE -libfreertos.a,queue.c.obj,prvCopyDataFromQueue, -libfreertos.a,queue.c.obj,prvGetDisinheritPriorityAfterTimeout, -libfreertos.a,queue.c.obj,prvIsQueueEmpty, -libfreertos.a,queue.c.obj,prvNotifyQueueSetContainer, -libfreertos.a,queue.c.obj,xQueueReceive, -libfreertos.a,queue.c.obj,prvUnlockQueue, -libfreertos.a,queue.c.obj,xQueueSemaphoreTake, -libfreertos.a,queue.c.obj,xQueueReceiveFromISR, -libfreertos.a,queue.c.obj,uxQueueMessagesWaitingFromISR, -libfreertos.a,queue.c.obj,xQueueIsQueueEmptyFromISR, -libfreertos.a,queue.c.obj,xQueueGiveFromISR, -libfreertos.a,tasks.c.obj,__getreent,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,pcTaskGetName,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,prvAddCurrentTaskToDelayedList,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,prvDeleteTLS,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,pvTaskIncrementMutexHeldCount,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,taskSelectHighestPriorityTaskSMP,FALSE -libfreertos.a,tasks.c.obj,taskYIELD_OTHER_CORE,FALSE -libfreertos.a,tasks.c.obj,vTaskGetSnapshot,CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH -libfreertos.a,tasks.c.obj,vTaskInternalSetTimeOutState,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,vTaskPlaceOnEventList,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,vTaskPlaceOnEventListRestricted,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,vTaskPlaceOnUnorderedEventList,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,vTaskPriorityDisinheritAfterTimeout,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,vTaskReleaseEventListLock,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,vTaskTakeEventListLock,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,xTaskCheckForTimeOut,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,xTaskGetCurrentTaskHandle,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,xTaskGetSchedulerState,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,xTaskGetTickCount,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,xTaskPriorityDisinherit,FALSE -libfreertos.a,tasks.c.obj,xTaskPriorityInherit,CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH -libfreertos.a,tasks.c.obj,prvGetExpectedIdleTime,FALSE -libfreertos.a,tasks.c.obj,vTaskStepTick,FALSE -libhal.a,brownout_hal.c.obj,brownout_hal_intr_clear, -libhal.a,efuse_hal.c.obj,efuse_hal_chip_revision, -libhal.a,efuse_hal.c.obj,efuse_hal_get_major_chip_version, -libhal.a,efuse_hal.c.obj,efuse_hal_get_minor_chip_version, -libheap.a,heap_caps.c.obj,dram_alloc_to_iram_addr, -libheap.a,heap_caps.c.obj,heap_caps_free, -libheap.a,heap_caps.c.obj,heap_caps_realloc_base, -libheap.a,heap_caps.c.obj,heap_caps_realloc, -libheap.a,heap_caps.c.obj,heap_caps_calloc_base, -libheap.a,heap_caps.c.obj,heap_caps_calloc, -libheap.a,heap_caps.c.obj,heap_caps_malloc_base, -libheap.a,heap_caps.c.obj,heap_caps_malloc, -libheap.a,heap_caps.c.obj,heap_caps_malloc_default, -libheap.a,heap_caps.c.obj,heap_caps_realloc_default, -libheap.a,heap_caps.c.obj,find_containing_heap, -libheap.a,multi_heap.c.obj,_multi_heap_lock, -libheap.a,multi_heap.c.obj,multi_heap_in_rom_init, -liblog.a,log_freertos.c.obj,esp_log_timestamp, -liblog.a,log_freertos.c.obj,esp_log_impl_lock, -liblog.a,log_freertos.c.obj,esp_log_impl_unlock, -liblog.a,log_freertos.c.obj,esp_log_impl_lock_timeout, -liblog.a,log_freertos.c.obj,esp_log_early_timestamp, -liblog.a,log.c.obj,esp_log_write, -libmbedcrypto.a,esp_mem.c.obj,esp_mbedtls_mem_calloc,!CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC -libmbedcrypto.a,esp_mem.c.obj,esp_mbedtls_mem_free,!CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC -libnewlib.a,assert.c.obj,__assert_func, -libnewlib.a,assert.c.obj,newlib_include_assert_impl, -libnewlib.a,heap.c.obj,_calloc_r, -libnewlib.a,heap.c.obj,_free_r, -libnewlib.a,heap.c.obj,_malloc_r, -libnewlib.a,heap.c.obj,_realloc_r, -libnewlib.a,heap.c.obj,calloc, -libnewlib.a,heap.c.obj,cfree, -libnewlib.a,heap.c.obj,free, -libnewlib.a,heap.c.obj,malloc, -libnewlib.a,heap.c.obj,newlib_include_heap_impl, -libnewlib.a,heap.c.obj,realloc, -libnewlib.a,locks.c.obj,_lock_try_acquire_recursive, -libnewlib.a,locks.c.obj,lock_release_generic, -libnewlib.a,locks.c.obj,_lock_release, -libnewlib.a,locks.c.obj,_lock_release_recursive, -libnewlib.a,locks.c.obj,__retarget_lock_init, -libnewlib.a,locks.c.obj,__retarget_lock_init_recursive, -libnewlib.a,locks.c.obj,__retarget_lock_close, -libnewlib.a,locks.c.obj,__retarget_lock_close_recursive, -libnewlib.a,locks.c.obj,check_lock_nonzero, -libnewlib.a,locks.c.obj,__retarget_lock_acquire, -libnewlib.a,locks.c.obj,lock_init_generic, -libnewlib.a,locks.c.obj,__retarget_lock_acquire_recursive, -libnewlib.a,locks.c.obj,__retarget_lock_try_acquire, -libnewlib.a,locks.c.obj,__retarget_lock_try_acquire_recursive, -libnewlib.a,locks.c.obj,__retarget_lock_release, -libnewlib.a,locks.c.obj,__retarget_lock_release_recursive, -libnewlib.a,locks.c.obj,_lock_close, -libnewlib.a,locks.c.obj,lock_acquire_generic, -libnewlib.a,locks.c.obj,_lock_acquire, -libnewlib.a,locks.c.obj,_lock_acquire_recursive, -libnewlib.a,locks.c.obj,_lock_try_acquire, -libnewlib.a,reent_init.c.obj,esp_reent_init, -libnewlib.a,time.c.obj,_times_r, -libnewlib.a,time.c.obj,_gettimeofday_r, -libpp.a,pp_debug.o,wifi_gpio_debug, -libpthread.a,pthread.c.obj,pthread_mutex_lock_internal, -libpthread.a,pthread.c.obj,pthread_mutex_lock, -libpthread.a,pthread.c.obj,pthread_mutex_unlock, -libriscv.a,interrupt.c.obj,intr_handler_get, -libriscv.a,interrupt.c.obj,intr_handler_set, -libriscv.a,interrupt.c.obj,intr_matrix_route, -libspi_flash.a,flash_brownout_hook.c.obj,spi_flash_needs_reset_check,FALSE -libspi_flash.a,flash_brownout_hook.c.obj,spi_flash_set_erasing_flag,FALSE -libspi_flash.a,flash_ops.c.obj,spi_flash_guard_set,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,flash_ops.c.obj,spi_flash_malloc_internal,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,flash_ops.c.obj,spi_flash_rom_impl_init,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,flash_ops.c.obj,esp_mspi_pin_init,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,flash_ops.c.obj,spi_flash_init_chip_state,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_app.c.obj,delay_us,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_app.c.obj,get_buffer_malloc,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_app.c.obj,release_buffer_malloc,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_app.c.obj,main_flash_region_protected,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_app.c.obj,main_flash_op_status,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_app.c.obj,spi1_flash_os_check_yield,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_app.c.obj,spi1_flash_os_yield,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_noos.c.obj,start,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_noos.c.obj,end,CONFIG_SPI_FLASH_ROM_IMPL -libspi_flash.a,spi_flash_os_func_noos.c.obj,delay_us,CONFIG_SPI_FLASH_ROM_IMPL diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/library.csv b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/library.csv deleted file mode 100644 index 3fd9e4a2b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/library.csv +++ /dev/null @@ -1,24 +0,0 @@ -library,path -libble_app.a,$IDF_PATH/components/bt/controller/lib_esp32c2/esp32c2-bt-lib/libble_app.a -libpp.a,$IDF_PATH/components/esp_wifi/lib/esp32c2/libpp.a -libbootloader_support.a,./esp-idf/bootloader_support/libbootloader_support.a -libbt.a,./esp-idf/bt/libbt.a -libdriver.a,./esp-idf/driver/libdriver.a -libesp_app_format.a,./esp-idf/esp_app_format/libesp_app_format.a -libesp_hw_support.a,./esp-idf/esp_hw_support/libesp_hw_support.a -libesp_phy.a,./esp-idf/esp_phy/libesp_phy.a -libesp_pm.a,./esp-idf/esp_pm/libesp_pm.a -libesp_ringbuf.a,./esp-idf/esp_ringbuf/libesp_ringbuf.a -libesp_rom.a,./esp-idf/esp_rom/libesp_rom.a -libesp_system.a,./esp-idf/esp_system/libesp_system.a -libesp_timer.a,./esp-idf/esp_timer/libesp_timer.a -libesp_wifi.a,./esp-idf/esp_wifi/libesp_wifi.a -libfreertos.a,./esp-idf/freertos/libfreertos.a -libhal.a,./esp-idf/hal/libhal.a -libheap.a,./esp-idf/heap/libheap.a -liblog.a,./esp-idf/log/liblog.a -libmbedcrypto.a,./esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a -libnewlib.a,./esp-idf/newlib/libnewlib.a -libpthread.a,./esp-idf/pthread/libpthread.a -libriscv.a,./esp-idf/riscv/libriscv.a -libspi_flash.a,./esp-idf/spi_flash/libspi_flash.a diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/object.csv b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/object.csv deleted file mode 100644 index a897d843d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/object.csv +++ /dev/null @@ -1,66 +0,0 @@ -library,object,path -libbootloader_support.a,bootloader_flash.c.obj,esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj -libbootloader_support.a,flash_encrypt.c.obj,esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj -libbt.a,bt_osi_mem.c.obj,esp-idf/bt/CMakeFiles/__idf_bt.dir/porting/mem/bt_osi_mem.c.obj -libbt.a,bt.c.obj,esp-idf/bt/CMakeFiles/__idf_bt.dir/controller/esp32c2/bt.c.obj -libbt.a,npl_os_freertos.c.obj,esp-idf/bt/CMakeFiles/__idf_bt.dir/porting/npl/freertos/src/npl_os_freertos.c.obj -libbt.a,nimble_port.c.obj,esp-idf/bt/CMakeFiles/__idf_bt.dir/host/nimble/nimble/porting/nimble/src/nimble_port.c.obj -libdriver.a,gpio.c.obj,esp-idf/driver/CMakeFiles/__idf_driver.dir/gpio/gpio.c.obj -libesp_app_format.a,esp_app_desc.c.obj,esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -libesp_hw_support.a,cpu.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj -libesp_hw_support.a,esp_clk.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_clk.c.obj -libesp_hw_support.a,esp_memory_utils.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj -libesp_hw_support.a,hw_random.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/hw_random.c.obj -libesp_hw_support.a,intr_alloc.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/intr_alloc.c.obj -libesp_hw_support.a,periph_ctrl.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/periph_ctrl.c.obj -libesp_hw_support.a,regi2c_ctrl.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/regi2c_ctrl.c.obj -libesp_hw_support.a,rtc_clk.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32c2/rtc_clk.c.obj -libesp_hw_support.a,rtc_init.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32c2/rtc_init.c.obj -libesp_hw_support.a,rtc_module.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/rtc_module.c.obj -libesp_hw_support.a,rtc_sleep.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32c2/rtc_sleep.c.obj -libesp_hw_support.a,rtc_time.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32c2/rtc_time.c.obj -libesp_hw_support.a,sleep_modes.c.obj,esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/sleep_modes.c.obj -libesp_phy.a,phy_init.c.obj,esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_init.c.obj -libesp_phy.a,phy_override.c.obj,esp-idf/esp_phy/CMakeFiles/__idf_esp_phy.dir/src/phy_override.c.obj -libesp_pm.a,pm_locks.c.obj,esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_locks.c.obj -libesp_pm.a,pm_impl.c.obj,esp-idf/esp_pm/CMakeFiles/__idf_esp_pm.dir/pm_impl.c.obj -libesp_ringbuf.a,ringbuf.c.obj,esp-idf/esp_ringbuf/CMakeFiles/__idf_esp_ringbuf.dir/ringbuf.c.obj -libesp_rom.a,esp_rom_systimer.c.obj,esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_systimer.c.obj -libesp_rom.a,esp_rom_uart.c.obj,esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj -libesp_system.a,brownout.c.obj,esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/brownout.c.obj -libesp_system.a,cache_err_int.c.obj,esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32c2/cache_err_int.c.obj -libesp_system.a,cpu_start.c.obj,esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/cpu_start.c.obj -libesp_system.a,crosscore_int.c.obj,esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/crosscore_int.c.obj -libesp_system.a,esp_system.c.obj,esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_system.c.obj -libesp_system.a,reset_reason.c.obj,esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/port/soc/esp32c2/reset_reason.c.obj -libesp_system.a,ubsan.c.obj,esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/ubsan.c.obj -libesp_timer.a,esp_timer.c.obj,esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer.c.obj -libesp_timer.a,esp_timer_impl_systimer.c.obj,esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/esp_timer_impl_systimer.c.obj -libesp_timer.a,ets_timer_legacy.c.obj,esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/ets_timer_legacy.c.obj -libesp_timer.a,system_time.c.obj,esp-idf/esp_timer/CMakeFiles/__idf_esp_timer.dir/src/system_time.c.obj -libesp_wifi.a,esp_adapter.c.obj,esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/esp32c2/esp_adapter.c.obj -libfreertos.a,list.c.obj,esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/list.c.obj -libfreertos.a,port.c.obj,esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/riscv/port.c.obj -libfreertos.a,port_common.c.obj,esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/port_common.c.obj -libfreertos.a,port_systick.c.obj,esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/portable/port_systick.c.obj -libfreertos.a,queue.c.obj,esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/queue.c.obj -libfreertos.a,tasks.c.obj,esp-idf/freertos/CMakeFiles/__idf_freertos.dir/FreeRTOS-Kernel/tasks.c.obj -libhal.a,brownout_hal.c.obj,esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32c2/brownout_hal.c.obj -libhal.a,efuse_hal.c.obj,esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj -libhal.a,efuse_hal.c.obj,esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32c2/efuse_hal.c.obj -libheap.a,heap_caps.c.obj,esp-idf/heap/CMakeFiles/__idf_heap.dir/heap_caps.c.obj -libheap.a,multi_heap.c.obj,./esp-idf/heap/CMakeFiles/__idf_heap.dir/multi_heap.c.obj -liblog.a,log_freertos.c.obj,esp-idf/log/CMakeFiles/__idf_log.dir/log_freertos.c.obj -liblog.a,log.c.obj,esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj -libmbedcrypto.a,esp_mem.c.obj,esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/$IDF_PATH/components/mbedtls/port/esp_mem.c.obj -libnewlib.a,assert.c.obj,esp-idf/newlib/CMakeFiles/__idf_newlib.dir/assert.c.obj -libnewlib.a,heap.c.obj,esp-idf/newlib/CMakeFiles/__idf_newlib.dir/heap.c.obj -libnewlib.a,locks.c.obj,esp-idf/newlib/CMakeFiles/__idf_newlib.dir/locks.c.obj -libnewlib.a,reent_init.c.obj,esp-idf/newlib/CMakeFiles/__idf_newlib.dir/reent_init.c.obj -libnewlib.a,time.c.obj,esp-idf/newlib/CMakeFiles/__idf_newlib.dir/time.c.obj -libpthread.a,pthread.c.obj,esp-idf/pthread/CMakeFiles/__idf_pthread.dir/pthread.c.obj -libriscv.a,interrupt.c.obj,esp-idf/riscv/CMakeFiles/__idf_riscv.dir/interrupt.c.obj -libspi_flash.a,flash_brownout_hook.c.obj,esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_brownout_hook.c.obj -libspi_flash.a,flash_ops.c.obj,esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/flash_ops.c.obj -libspi_flash.a,spi_flash_os_func_app.c.obj,esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_os_func_app.c.obj -libspi_flash.a,spi_flash_os_func_noos.c.obj,esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_os_func_noos.c.obj diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/relinker.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/relinker.py deleted file mode 100644 index 151b87738..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/scripts/relinker/relinker.py +++ /dev/null @@ -1,311 +0,0 @@ -#!/usr/bin/env python3 -# -# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Apache-2.0 - - -import logging -import argparse -import csv -import os -import subprocess -import sys -import re -from io import StringIO -import configuration - -sys.path.append(os.environ['IDF_PATH'] + '/tools/ldgen') -sys.path.append(os.environ['IDF_PATH'] + '/tools/ldgen/ldgen') -from entity import EntityDB - -espidf_objdump = None - -def lib_secs(lib, file, lib_path): - new_env = os.environ.copy() - new_env['LC_ALL'] = 'C' - dump = StringIO(subprocess.check_output([espidf_objdump, '-h', lib_path], env=new_env).decode()) - dump.name = lib - - sections_infos = EntityDB() - sections_infos.add_sections_info(dump) - - secs = sections_infos.get_sections(lib, file.split('.')[0] + '.c') - if len(secs) == 0: - secs = sections_infos.get_sections(lib, file.split('.')[0]) - if len(secs) == 0: - raise ValueError('Failed to get sections from lib %s'%(lib_path)) - - return secs - -def filter_secs(secs_a, secs_b): - new_secs = list() - for s_a in secs_a: - for s_b in secs_b: - if s_b in s_a: - new_secs.append(s_a) - return new_secs - -def strip_secs(secs_a, secs_b): - secs = list(set(secs_a) - set(secs_b)) - secs.sort() - return secs - -def func2sect(func): - if ' ' in func: - func_l = func.split(' ') - else: - func_l = list() - func_l.append(func) - - secs = list() - for l in func_l: - if '.iram1.' not in l: - secs.append('.literal.%s'%(l,)) - secs.append('.text.%s'%(l, )) - else: - secs.append(l) - return secs - -class filter_c: - def __init__(self, file): - lines = open(file).read().splitlines() - self.libs_desc = '' - self.libs = '' - for l in lines: - if ') .iram1 EXCLUDE_FILE(*' in l and ') .iram1.*)' in l: - desc = '\(EXCLUDE_FILE\((.*)\) .iram1 ' - self.libs_desc = re.search(desc, l)[1] - self.libs = self.libs_desc.replace('*', '') - return - - def match(self, lib): - if lib in self.libs: - print('Remove lib %s'%(lib)) - return True - return False - - def add(self): - return self.libs_desc - -class target_c: - def __init__(self, lib, lib_path, file, fsecs): - self.lib = lib - self.file = file - - self.lib_path = lib_path - self.fsecs = func2sect(fsecs) - self.desc = '*%s:%s.*'%(lib, file.split('.')[0]) - - secs = lib_secs(lib, file, lib_path) - if '.iram1.' in self.fsecs[0]: - self.secs = filter_secs(secs, ('.iram1.', )) - else: - self.secs = filter_secs(secs, ('.iram1.', '.text.', '.literal.')) - self.isecs = strip_secs(self.secs, self.fsecs) - - def __str__(self): - s = 'lib=%s\nfile=%s\lib_path=%s\ndesc=%s\nsecs=%s\nfsecs=%s\nisecs=%s\n'%(\ - self.lib, self.file, self.lib_path, self.desc, self.secs, self.fsecs,\ - self.isecs) - return s - -class relink_c: - def __init__(self, input, library_file, object_file, function_file, sdkconfig_file, missing_function_info): - self.filter = filter_c(input) - - libraries = configuration.generator(library_file, object_file, function_file, sdkconfig_file, missing_function_info, espidf_objdump) - self.targets = list() - for i in libraries.libs: - lib = libraries.libs[i] - - if self.filter.match(lib.name): - continue - - for j in lib.objs: - obj = lib.objs[j] - self.targets.append(target_c(lib.name, lib.path, obj.name, - ' '.join(obj.sections()))) - # for i in self.targets: - # print(i) - self.__transform__() - - def __transform__(self): - iram1_exclude = list() - iram1_include = list() - flash_include = list() - - for t in self.targets: - secs = filter_secs(t.fsecs, ('.iram1.', )) - if len(secs) > 0: - iram1_exclude.append(t.desc) - - secs = filter_secs(t.isecs, ('.iram1.', )) - if len(secs) > 0: - iram1_include.append(' %s(%s)'%(t.desc, ' '.join(secs))) - - secs = t.fsecs - if len(secs) > 0: - flash_include.append(' %s(%s)'%(t.desc, ' '.join(secs))) - - self.iram1_exclude = ' *(EXCLUDE_FILE(%s %s) .iram1.*) *(EXCLUDE_FILE(%s %s) .iram1)' % \ - (self.filter.add(), ' '.join(iram1_exclude), \ - self.filter.add(), ' '.join(iram1_exclude)) - self.iram1_include = '\n'.join(iram1_include) - self.flash_include = '\n'.join(flash_include) - - logging.debug('IRAM1 Exclude: %s'%(self.iram1_exclude)) - logging.debug('IRAM1 Include: %s'%(self.iram1_include)) - logging.debug('Flash Include: %s'%(self.flash_include)) - - def __replace__(self, lines): - def is_iram_desc(l): - if '*(.iram1 .iram1.*)' in l or (') .iram1 EXCLUDE_FILE(*' in l and ') .iram1.*)' in l): - return True - return False - - iram_start = False - flash_done = False - - for i in range(0, len(lines) - 1): - l = lines[i] - if '.iram0.text :' in l: - logging.debug('start to process .iram0.text') - iram_start = True - elif '.dram0.data :' in l: - logging.debug('end to process .iram0.text') - iram_start = False - elif is_iram_desc(l): - if iram_start: - lines[i] = '%s\n%s\n'%(self.iram1_exclude, self.iram1_include) - elif '(.stub .gnu.warning' in l: - if not flash_done: - lines[i] = '%s\n\n%s'%(self.flash_include, l) - elif self.flash_include in l: - flash_done = True - else: - if iram_start: - new_l = self._replace_func(l) - if new_l: - lines[i] = new_l - - return lines - - def _replace_func(self, l): - for t in self.targets: - if t.desc in l: - S = '.literal .literal.* .text .text.*' - if S in l: - if len(t.isecs) > 0: - return l.replace(S, ' '.join(t.isecs)) - else: - return ' ' - - S = '%s(%s)'%(t.desc, ' '.join(t.fsecs)) - if S in l: - return ' ' - - replaced = False - for s in t.fsecs: - s2 = s + ' ' - if s2 in l: - l = l.replace(s2, '') - replaced = True - s2 = s + ')' - if s2 in l: - l = l.replace(s2, ')') - replaced = True - if '( )' in l or '()' in l: - return ' ' - if replaced: - return l - else: - index = '*%s:(EXCLUDE_FILE'%(t.lib) - if index in l and t.file.split('.')[0] not in l: - for m in self.targets: - index = '*%s:(EXCLUDE_FILE'%(m.lib) - if index in l and m.file.split('.')[0] not in l: - l = l.replace('EXCLUDE_FILE(', 'EXCLUDE_FILE(%s '%(m.desc)) - if len(m.isecs) > 0: - l += '\n %s(%s)'%(m.desc, ' '.join(m.isecs)) - return l - - return False - - def save(self, input, output): - lines = open(input).read().splitlines() - lines = self.__replace__(lines) - open(output, 'w+').write('\n'.join(lines)) - -def main(): - argparser = argparse.ArgumentParser(description='Relinker script generator') - - argparser.add_argument( - '--input', '-i', - help='Linker template file', - type=str) - - argparser.add_argument( - '--output', '-o', - help='Output linker script', - type=str) - - argparser.add_argument( - '--library', '-l', - help='Library description directory', - type=str) - - argparser.add_argument( - '--object', '-b', - help='Object description file', - type=str) - - argparser.add_argument( - '--function', '-f', - help='Function description file', - type=str) - - argparser.add_argument( - '--sdkconfig', '-s', - help='sdkconfig file', - type=str) - - argparser.add_argument( - '--objdump', '-g', - help='GCC objdump command', - type=str) - - argparser.add_argument( - '--debug', '-d', - help='Debug level(option is \'debug\')', - default='no', - type=str) - - argparser.add_argument( - '--missing_function_info', - help='Print error information instead of throwing exception when missing function', - default=False, - type=bool) - - args = argparser.parse_args() - - if args.debug == 'debug': - logging.basicConfig(level=logging.DEBUG) - - logging.debug('input: %s'%(args.input)) - logging.debug('output: %s'%(args.output)) - logging.debug('library: %s'%(args.library)) - logging.debug('object: %s'%(args.object)) - logging.debug('function: %s'%(args.function)) - logging.debug('sdkconfig:%s'%(args.sdkconfig)) - logging.debug('objdump: %s'%(args.objdump)) - logging.debug('debug: %s'%(args.debug)) - logging.debug('missing_function_info: %s'%(args.missing_function_info)) - - global espidf_objdump - espidf_objdump = args.objdump - - relink = relink_c(args.input, args.library, args.object, args.function, args.sdkconfig, args.missing_function_info) - relink.save(args.input, args.output) - -if __name__ == '__main__': - main() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/CMakeLists.txt deleted file mode 100644 index 4ac13ebb8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -# The following lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.5) - -set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components" - "../../cmake_utilities") -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -project(cmake_utilities_test_apps) \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/CMakeLists.txt deleted file mode 100644 index 6d9ee6993..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ -idf_component_register( SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES cmake_utilities) - -include(gcc) -include(gen_compressed_ota) -include(gen_single_bin) -include(package_manager) -include(relinker) -cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/idf_component.yml deleted file mode 100644 index 5a0b9dff4..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/idf_component.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: "3.2.1" -description: Test2 for cmake utilities -url: https://github.com/espressif/esp-iot-solution/tree/master/tools/cmake_utilities -issues: https://github.com/espressif/esp-iot-solution/issues -dependencies: - idf: ">=4.1" \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.c deleted file mode 100644 index 3cb65557a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.c +++ /dev/null @@ -1,16 +0,0 @@ -#include - -int test_component2_version_major() -{ - return TEST_COMPONENT2_VER_MAJOR; -} - -int test_component2_version_minor() -{ - return TEST_COMPONENT2_VER_MINOR; -} - -int test_component2_version_patch() -{ - return TEST_COMPONENT2_VER_PATCH; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.h deleted file mode 100644 index 1323ccbce..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.h +++ /dev/null @@ -1,14 +0,0 @@ -#include -#pragma once - -#ifdef __cplusplus -extern "C" { -#endif - -int test_component2_version_major(); -int test_component2_version_minor(); -int test_component2_version_patch(); - -#ifdef __cplusplus -} -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/CMakeLists.txt deleted file mode 100644 index 6d9ee6993..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ -idf_component_register( SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES cmake_utilities) - -include(gcc) -include(gen_compressed_ota) -include(gen_single_bin) -include(package_manager) -include(relinker) -cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/idf_component.yml deleted file mode 100644 index cc5a94646..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/idf_component.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: "1.2.3" -description: Test1 for cmake utilities -url: https://github.com/espressif/esp-iot-solution/tree/master/tools/cmake_utilities -issues: https://github.com/espressif/esp-iot-solution/issues -dependencies: - idf: ">=4.1" \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.c deleted file mode 100644 index 7f607e0b2..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.c +++ /dev/null @@ -1,16 +0,0 @@ -#include - -int test_component1_version_major() -{ - return TEST_COMPONENT1_VER_MAJOR; -} - -int test_component1_version_minor() -{ - return TEST_COMPONENT1_VER_MINOR; -} - -int test_component1_version_patch() -{ - return TEST_COMPONENT1_VER_PATCH; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.h deleted file mode 100644 index 794cc4945..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.h +++ /dev/null @@ -1,14 +0,0 @@ -#include -#pragma once - -#ifdef __cplusplus -extern "C" { -#endif - -int test_component1_version_major(); -int test_component1_version_minor(); -int test_component1_version_patch(); - -#ifdef __cplusplus -} -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/main/CMakeLists.txt deleted file mode 100644 index 4d89cab19..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils test_component1 TEST-component2) \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/main/test_cmake_utilities.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/main/test_cmake_utilities.c deleted file mode 100644 index 9c2cb9522..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/main/test_cmake_utilities.c +++ /dev/null @@ -1,59 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include "freertos/FreeRTOS.h" -#include "esp_system.h" -#include "esp_log.h" -#include "unity.h" -#include "test_component1.h" -#include "test_component2.h" - - -/* USB PIN fixed in esp32-s2, can not use io matrix */ -#define TEST_MEMORY_LEAK_THRESHOLD (-400) - -TEST_CASE("Test package manager version", "[cmake_utilities][package_manager]") -{ - esp_log_level_set("*", ESP_LOG_INFO); - TEST_ASSERT_EQUAL_INT(test_component1_version_major(), 1); - TEST_ASSERT_EQUAL_INT(test_component1_version_minor(), 2); - TEST_ASSERT_EQUAL_INT(test_component1_version_patch(), 3); - TEST_ASSERT_EQUAL_INT(test_component2_version_major(), 3); - TEST_ASSERT_EQUAL_INT(test_component2_version_minor(), 2); - TEST_ASSERT_EQUAL_INT(test_component2_version_patch(), 1); -} - -static size_t before_free_8bit; -static size_t before_free_32bit; - -static void check_leak(size_t before_free, size_t after_free, const char *type) -{ - ssize_t delta = after_free - before_free; - printf("MALLOC_CAP_%s: Before %u bytes free, After %u bytes free (delta %d)\n", type, before_free, after_free, delta); - TEST_ASSERT_MESSAGE(delta >= TEST_MEMORY_LEAK_THRESHOLD, "memory leak"); -} - -void setUp(void) -{ - before_free_8bit = heap_caps_get_free_size(MALLOC_CAP_8BIT); - before_free_32bit = heap_caps_get_free_size(MALLOC_CAP_32BIT); -} - -void tearDown(void) -{ - size_t after_free_8bit = heap_caps_get_free_size(MALLOC_CAP_8BIT); - size_t after_free_32bit = heap_caps_get_free_size(MALLOC_CAP_32BIT); - check_leak(before_free_8bit, after_free_8bit, "8BIT"); - check_leak(before_free_32bit, after_free_32bit, "32BIT"); -} - -void app_main(void) -{ - printf("Cmake Utilities TEST \n"); - unity_run_menu(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/pytest_cmake_utilities.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/pytest_cmake_utilities.py deleted file mode 100644 index 3b188bfcc..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__cmake_utilities/test_apps/pytest_cmake_utilities.py +++ /dev/null @@ -1,20 +0,0 @@ -''' -Steps to run these cases: -- Build - - . ${IDF_PATH}/export.sh - - pip install idf_build_apps - - python tools/build_apps.py tools/cmake_utilities/test_apps -t esp32s2 -- Test - - pip install -r tools/requirements/requirement.pytest.txt - - pytest tools/cmake_utilities/test_apps --target esp32s2 -''' - -import pytest -from pytest_embedded import Dut - -@pytest.mark.target('esp32s3') -@pytest.mark.env('generic') -def test_cmake_utilities(dut: Dut)-> None: - dut.expect_exact('Press ENTER to see the list of tests.') - dut.write('*') - dut.expect_unity_test_output(timeout = 1000) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/.component_hash b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/.component_hash deleted file mode 100644 index e15b730c9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/.component_hash +++ /dev/null @@ -1 +0,0 @@ -fe8f85b3859544fabb960d7bcec24278cd3c88e3f1777e8a2075b0aca202fd9f \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CHANGELOG.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CHANGELOG.md deleted file mode 100644 index 1c1031eb0..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CHANGELOG.md +++ /dev/null @@ -1,51 +0,0 @@ -# ChangeLog - -## v1.4.2 - 2025-8-26 - -### Bug Fix: - -- Remove the dependency of `I2C_BUS_BACKWARD_CONFIG` on the IDF version, and add CMake messages for I2C driver information. - -## V1.4.1 - 2025-8-14 - -### Bug Fix: - -- Soft i2c supports removing the restriction on ``NULL_I2C_MEM_ADDR``, allowing users to refer to all eligible register addresses. -- Modify the `ESP_IDF_VERSION` naming in Kconfig to avoid conflicts with other components. - -## v1.4.0 - 2025-3-13 - -### Enhancements: - -- Support removing the restriction on ``NULL_I2C_MEM_ADDR``, allowing users to refer to all eligible register addresses. - -## v1.3.0 - 2025-2-13 - -### Enhancements: - -- ``i2c_bus_v2`` supports initialization using the bus_handle provided by ``esp_driver_i2c``, and also supports returning the internal bus_handle of ``esp_driver_i2c``. - -## v1.2.0 - 2025-1-14 - -### Enhancements: - -- Support enabling software I2C to extend the number of I2C ports. - -## v1.1.0 - 2024-11-22 - -### Enhancements: - -- Support manual selection of ``driver/i2c`` or ``esp_driver_i2c`` in idf v5.3 and above. - -## v1.0.0 - 2024-9-19 - -### Enhancements: - -- Component version maintenance and documentation enhancement. -- Support `esp_driver_i2c` driver. - -## v0.1.0 - 2024-5-27 - -First release version. - -- Support I2C bus diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CHECKSUMS.json b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CHECKSUMS.json deleted file mode 100644 index 0593af492..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CHECKSUMS.json +++ /dev/null @@ -1 +0,0 @@ -{"version": "1.0", "algorithm": "sha256", "created_at": "2025-08-27T10:45:51.231944+00:00", "files": [{"path": "CHANGELOG.md", "size": 1261, "hash": "3b1da89b95b6772f863f63da4d4c4c82001f28b5c93ea572c67089f657761578"}, {"path": "CMakeLists.txt", "size": 753, "hash": "fd22669ac3cece12a92742949c4608fb2e1da1439a8739a4a90c194dbc984c7b"}, {"path": "Kconfig", "size": 1931, "hash": "d25036af205c7f65f7e59938d28cc9526fd40a676b22ce3ff5da0dffc65827c8"}, {"path": "README.md", "size": 2910, "hash": "0dad1b9de95d531ddbbdf5daacd8b8ad0db8a908c0e1f716ef623d803995054c"}, {"path": "i2c_bus.c", "size": 25008, "hash": "f4f27a81aa3bca438b75240be396812b50f014a77e73f2e564ff54735559dd82"}, {"path": "i2c_bus_soft.c", "size": 15138, "hash": "3781e4dbb8971cbe94942a7a492042d0d30eef0a0b1a987f04f0e765264dcd6b"}, {"path": "i2c_bus_v2.c", "size": 27979, "hash": "ada5ca779030fcb26d7dd44955e6b3d348eae4d24cf54a4152c8f7c7e7536227"}, {"path": "idf_component.yml", "size": 543, "hash": "6ea3402fd8b698b1f2d508917af9cd9447c55dbfacce41d56757096005399205"}, {"path": "license.txt", "size": 11358, "hash": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"}, {"path": "include/i2c_bus.h", "size": 15491, "hash": "c5dd23aa628ab072f6e2b7edfa7e00fcc4233d7d234564c97156415447cb4833"}, {"path": "private_include/i2c_bus_soft.h", "size": 5089, "hash": "32433f38ca82faee70bfba1da0e1ad2fedea7c8477ab602fd337962ac4aec8f6"}, {"path": "test_apps/CMakeLists.txt", "size": 352, "hash": "7216690bc36de976c448f44ed31931ef8457acda922537c5e895f73897726cbe"}, {"path": "test_apps/pytest_i2c_bus.py", "size": 759, "hash": "910d205af99012638fae7c71356f79aa23a60655cf72d1df43ac0b1348468285"}, {"path": "test_apps/sdkconfig.defaults", "size": 257, "hash": "b3f9660085595b907f7411e205468220c2dfb867de4de5d7fb3cbb406651dcab"}, {"path": "test_apps/main/CMakeLists.txt", "size": 144, "hash": "82bd519669b040da7894ea50dc37fa85d2055a009e511ececa92a4e93497b4a1"}, {"path": "test_apps/main/test_i2c_bus.c", "size": 21112, "hash": "a5aa7e26f41845ad597867c9ce5e83a90975049cbc8a83a39434288b3d8ba084"}]} \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CMakeLists.txt deleted file mode 100644 index 0503e91cb..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_LESS "5.3" OR CONFIG_I2C_BUS_BACKWARD_CONFIG) - set(SRC_FILE "i2c_bus.c") - set(REQ driver) - message(STATUS "Using driver/i2c (SRC_FILE=i2c_bus.c, REQ=driver)") -else() - set(SRC_FILE "i2c_bus_v2.c") - set(REQ esp_driver_i2c driver) - message(STATUS "Using esp_driver_i2c (SRC_FILE=i2c_bus_v2.c, REQ=esp_driver_i2c driver)") -endif() - -if (CONFIG_I2C_BUS_SUPPORT_SOFTWARE) - list(APPEND SRC_FILE "i2c_bus_soft.c") -endif() - -idf_component_register(SRCS ${SRC_FILE} - INCLUDE_DIRS "include" - PRIV_INCLUDE_DIRS "private_include" - REQUIRES ${REQ}) - -include(package_manager) -cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/Kconfig b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/Kconfig deleted file mode 100644 index 50bffb74d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/Kconfig +++ /dev/null @@ -1,48 +0,0 @@ -menu "Bus Options" - - menu "I2C Bus Options" - config I2C_BUS_DYNAMIC_CONFIG - bool "enable dynamic configuration" - default y - help - If enable, i2c_bus will dynamically check configs and re-install i2c driver before each transfer, - hence multiple devices with different configs on a single bus can be supported. - - config I2C_MS_TO_WAIT - int "mutex block time" - default 200 - range 50 5000 - help - task block time when try to take the bus, unit:milliseconds - - config I2C_BUS_BACKWARD_CONFIG - bool "Enable backward compatibility for the I2C driver (force use of the old i2c_driver above v5.3)" - default n - help - Enable this option for backward compatibility with the old I2C driver (only valid in IDF v5.3 and above). - - config I2C_BUS_SUPPORT_SOFTWARE - bool "Enable software I2C support" - default n - help - Enable this option to use a software-implemented I2C driver. This can be useful for scenarios where - hardware I2C is unavailable or additional I2C buses are needed beyond the hardware support. - - config I2C_BUS_SOFTWARE_MAX_PORT - int "Maximum number of software I2C ports" - default 2 - range 1 5 - depends on I2C_BUS_SUPPORT_SOFTWARE - help - Set the maximum number of software I2C ports that can be used. This option is only applicable when - software I2C support is enabled. - - config I2C_BUS_REMOVE_NULL_MEM_ADDR - bool "Remove the limitation of NULL_MEM_ADDR, any register address will be sent" - default n - help - Enable this option to disable NULL_MEM_ADDR. This allows any register address to be sent. - - endmenu - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/README.md deleted file mode 100644 index 89b2ebfc5..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/README.md +++ /dev/null @@ -1,70 +0,0 @@ -# Component: I2C BUS -[Online documentation](https://docs.espressif.com/projects/esp-iot-solution/en/latest/basic/bus/i2c_bus.html) - -The I2C bus component (Bus) is a set of application-layer code built on top of the ESP-IDF peripheral driver code, It is mainly used for bus communication between ESP chips and external devices. From the point of application development, this component has the following features: - -1. Simplified peripheral initialization processes -2. Thread-safe device operations -3. Simple and flexible RW operations -4. Compatible with `driver/i2c` and `esp_driver_i2c` -5. Supports additional software I2C - -This component abstracts the following concepts: - -1. Bus: the resource and configuration option shared between devices during communication -2. Device: device specific resource and configuration option during communication - -Each physical peripheral bus can mount one or more devices if the electrical condition allows, the I2C bus addressing devices based on their addresses, thus achieving software independence between different devices on the same bus. - -## Add component to your project - -Please use the component manager command `add-dependency` to add the `i2c_bus` to your project's dependency, during the `CMake` step the component will be downloaded automatically - -``` -idf.py add-dependency "espressif/i2c_bus=*" -``` - -Alternatively, you can create `idf_component.yml`. More is in [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-component-manager.html). - -## Example use - -```c -#include -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "i2c_bus.h" - -#define I2C_MASTER_SCL_IO (gpio_num_t)15 /*!< gpio number for I2C master clock */ -#define I2C_MASTER_SDA_IO (gpio_num_t)16 /*!< gpio number for I2C master data */ -#define I2C_MASTER_FREQ_HZ 100000 /*!< I2C master clock frequency */ -#define ESP_SLAVE_ADDR 0x28 /*!< ESP32 slave address, you can set any 7bit value */ -#define DATA_LENGTH 64 /*! -#include -#include - -#include "freertos/FreeRTOS.h" -#include "freertos/semphr.h" - -#include "esp_log.h" -#include "i2c_bus.h" -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE -#include "i2c_bus_soft.h" -#endif - -#define I2C_ACK_CHECK_EN 0x1 /*!< I2C master will check ack from slave*/ -#define I2C_ACK_CHECK_DIS 0x0 /*!< I2C master will not check ack from slave */ -#define I2C_BUS_FLG_DEFAULT (0) -#define I2C_BUS_MASTER_BUF_LEN (0) -#define I2C_BUS_MS_TO_WAIT CONFIG_I2C_MS_TO_WAIT -#define I2C_BUS_TICKS_TO_WAIT (I2C_BUS_MS_TO_WAIT/portTICK_RATE_MS) -#define I2C_BUS_MUTEX_TICKS_TO_WAIT (I2C_BUS_MS_TO_WAIT/portTICK_RATE_MS) - -typedef struct { - i2c_port_t i2c_port; /*!< I2C port number */ - bool is_init; /*!< if bus is initialized */ - i2c_config_t conf_active; /*!< I2C active configuration */ - SemaphoreHandle_t mutex; /*!< mutex to achieve thread-safe */ - int32_t ref_counter; /*!< reference count */ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - i2c_master_soft_bus_handle_t soft_bus_handle; /*!< I2C master soft bus handle */ -#endif -} i2c_bus_t; - -typedef struct { - uint8_t dev_addr; /*!< device address */ - i2c_config_t conf; /*!< I2C active configuration */ - i2c_bus_t *i2c_bus; /*!< I2C bus */ -} i2c_bus_device_t; - -static const char *TAG = "i2c_bus"; - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE -static i2c_bus_t s_i2c_bus[I2C_NUM_SW_MAX]; /*!< If software I2C is enabled, additional space is required to store the port. */ -#else -static i2c_bus_t s_i2c_bus[I2C_NUM_MAX]; -#endif - -#define I2C_BUS_CHECK(a, str, ret) if(!(a)) { \ - ESP_LOGE(TAG,"%s:%d (%s):%s", __FILE__, __LINE__, __FUNCTION__, str); \ - return (ret); \ - } - -#define I2C_BUS_CHECK_GOTO(a, str, label) if(!(a)) { \ - ESP_LOGE(TAG,"%s:%d (%s):%s", __FILE__, __LINE__, __FUNCTION__, str); \ - goto label; \ - } - -#define I2C_BUS_INIT_CHECK(is_init, ret) if(!is_init) { \ - ESP_LOGE(TAG,"%s:%d (%s):i2c_bus has not inited", __FILE__, __LINE__, __FUNCTION__); \ - return (ret); \ - } - -#define I2C_BUS_MUTEX_TAKE(mutex, ret) if (!xSemaphoreTake(mutex, I2C_BUS_MUTEX_TICKS_TO_WAIT)) { \ - ESP_LOGE(TAG, "i2c_bus take mutex timeout, max wait = %"PRIu32"ms", I2C_BUS_MUTEX_TICKS_TO_WAIT); \ - return (ret); \ - } - -#define I2C_BUS_MUTEX_TAKE_MAX_DELAY(mutex, ret) if (!xSemaphoreTake(mutex, portMAX_DELAY)) { \ - ESP_LOGE(TAG, "i2c_bus take mutex timeout, max wait = %"PRIu32"ms", portMAX_DELAY); \ - return (ret); \ - } - -#define I2C_BUS_MUTEX_GIVE(mutex, ret) if (!xSemaphoreGive(mutex)) { \ - ESP_LOGE(TAG, "i2c_bus give mutex failed"); \ - return (ret); \ - } - -static esp_err_t i2c_driver_reinit(i2c_port_t port, const i2c_config_t *conf); -static esp_err_t i2c_driver_deinit(i2c_port_t port); -static esp_err_t i2c_bus_write_reg8(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, const uint8_t *data); -static esp_err_t i2c_bus_read_reg8(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, uint8_t *data); -inline static bool i2c_config_compare(i2c_port_t port, const i2c_config_t *conf); -/**************************************** Public Functions (Application level)*********************************************/ - -i2c_bus_handle_t i2c_bus_create(i2c_port_t port, const i2c_config_t *conf) -{ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - I2C_BUS_CHECK(((i2c_sw_port_t)port < I2C_NUM_SW_MAX) || (port == I2C_NUM_MAX), "I2C port error", NULL); -#else - I2C_BUS_CHECK(port < I2C_NUM_MAX, "I2C port error", NULL); -#endif - I2C_BUS_CHECK(conf != NULL, "pointer = NULL error", NULL); - I2C_BUS_CHECK(conf->mode == I2C_MODE_MASTER, "i2c_bus only supports master mode", NULL); - - if (s_i2c_bus[port].is_init) { - /**if i2c_bus has been inited and configs not changed, return the handle directly**/ - if (i2c_config_compare(port, conf)) { - ESP_LOGW(TAG, "i2c%d has been inited, return handle directly, ref_counter=%"PRIi32"", port, s_i2c_bus[port].ref_counter); - return (i2c_bus_handle_t)&s_i2c_bus[port]; - } - } else { - s_i2c_bus[port].mutex = xSemaphoreCreateMutex(); - I2C_BUS_CHECK(s_i2c_bus[port].mutex != NULL, "i2c_bus xSemaphoreCreateMutex failed", NULL); - s_i2c_bus[port].ref_counter = 0; - } - - esp_err_t ret = i2c_driver_reinit(port, conf); - I2C_BUS_CHECK(ret == ESP_OK, "init error", NULL); - s_i2c_bus[port].conf_active = *conf; - s_i2c_bus[port].i2c_port = port; - ESP_LOGI(TAG, "I2C Bus Config Succeed, Version: %d.%d.%d", I2C_BUS_VER_MAJOR, I2C_BUS_VER_MINOR, I2C_BUS_VER_PATCH); - return (i2c_bus_handle_t)&s_i2c_bus[port]; -} - -esp_err_t i2c_bus_delete(i2c_bus_handle_t *p_bus) -{ - I2C_BUS_CHECK(p_bus != NULL && *p_bus != NULL, "pointer = NULL error", ESP_ERR_INVALID_ARG); - i2c_bus_t *i2c_bus = (i2c_bus_t *)(*p_bus); - I2C_BUS_INIT_CHECK(i2c_bus->is_init, ESP_FAIL); - I2C_BUS_MUTEX_TAKE_MAX_DELAY(i2c_bus->mutex, ESP_ERR_TIMEOUT); - - /** if ref_counter == 0, de-init the bus**/ - if ((i2c_bus->ref_counter) > 0) { - ESP_LOGW(TAG, "i2c%d is also handled by others ref_counter=%"PRIi32", won't be de-inited", i2c_bus->i2c_port, i2c_bus->ref_counter); - return ESP_OK; - } - - esp_err_t ret = i2c_driver_deinit(i2c_bus->i2c_port); - I2C_BUS_CHECK(ret == ESP_OK, "deinit error", ret); - vSemaphoreDelete(i2c_bus->mutex); - *p_bus = NULL; - return ESP_OK; -} - -uint8_t i2c_bus_scan(i2c_bus_handle_t bus_handle, uint8_t *buf, uint8_t num) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Handle error", 0); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, 0); - uint8_t device_count = 0; - esp_err_t ret = ESP_FAIL; - I2C_BUS_MUTEX_TAKE_MAX_DELAY(i2c_bus->mutex, 0); - - for (uint8_t dev_address = 1; dev_address < 127; dev_address++) { -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (i2c_bus->i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_probe(i2c_bus->soft_bus_handle, dev_address); - } else -#endif - { - i2c_cmd_handle_t cmd = i2c_cmd_link_create(); - i2c_master_start(cmd); - i2c_master_write_byte(cmd, (dev_address << 1) | I2C_MASTER_WRITE, I2C_ACK_CHECK_EN); - i2c_master_stop(cmd); - ret = i2c_master_cmd_begin(i2c_bus->i2c_port, cmd, I2C_BUS_TICKS_TO_WAIT); - } - if (ret == ESP_OK) { - ESP_LOGI(TAG, "found i2c device address = 0x%02x", dev_address); - if (buf != NULL && device_count < num) { - *(buf + device_count) = dev_address; - } - device_count++; - } - } - I2C_BUS_MUTEX_GIVE(i2c_bus->mutex, 0); - return device_count; -} - -uint32_t i2c_bus_get_current_clk_speed(i2c_bus_handle_t bus_handle) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Null Bus Handle", 0); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, 0); - return i2c_bus->conf_active.master.clk_speed; -} - -uint8_t i2c_bus_get_created_device_num(i2c_bus_handle_t bus_handle) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Null Bus Handle", 0); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, 0); - return i2c_bus->ref_counter; -} - -i2c_bus_device_handle_t i2c_bus_device_create(i2c_bus_handle_t bus_handle, uint8_t dev_addr, uint32_t clk_speed) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Null Bus Handle", NULL); - I2C_BUS_CHECK(clk_speed <= 400000, "clk_speed must <= 400000", NULL); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, NULL); - i2c_bus_device_t *i2c_device = calloc(1, sizeof(i2c_bus_device_t)); - I2C_BUS_CHECK(i2c_device != NULL, "calloc memory failed", NULL); - I2C_BUS_MUTEX_TAKE_MAX_DELAY(i2c_bus->mutex, NULL); - i2c_device->dev_addr = dev_addr; - i2c_device->conf = i2c_bus->conf_active; - - /*if clk_speed == 0, current active clock speed will be used, else set a specified value*/ - if (clk_speed != 0) { - i2c_device->conf.master.clk_speed = clk_speed; - } - - i2c_device->i2c_bus = i2c_bus; - i2c_bus->ref_counter++; - I2C_BUS_MUTEX_GIVE(i2c_bus->mutex, NULL); - return (i2c_bus_device_handle_t)i2c_device; -} - -esp_err_t i2c_bus_device_delete(i2c_bus_device_handle_t *p_dev_handle) -{ - I2C_BUS_CHECK(p_dev_handle != NULL && *p_dev_handle != NULL, "Null Device Handle", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)(*p_dev_handle); - I2C_BUS_MUTEX_TAKE_MAX_DELAY(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - i2c_device->i2c_bus->ref_counter--; - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - free(i2c_device); - *p_dev_handle = NULL; - return ESP_OK; -} - -uint8_t i2c_bus_device_get_address(i2c_bus_device_handle_t dev_handle) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", NULL_I2C_DEV_ADDR); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - return i2c_device->dev_addr; -} - -esp_err_t i2c_bus_read_bytes(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, uint8_t *data) -{ - return i2c_bus_read_reg8(dev_handle, mem_address, data_len, data); -} - -esp_err_t i2c_bus_read_byte(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t *data) -{ - return i2c_bus_read_reg8(dev_handle, mem_address, 1, data); -} - -esp_err_t i2c_bus_read_bit(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_num, uint8_t *data) -{ - uint8_t byte = 0; - esp_err_t ret = i2c_bus_read_reg8(dev_handle, mem_address, 1, &byte); - *data = byte & (1 << bit_num); - *data = (*data != 0) ? 1 : 0; - return ret; -} - -esp_err_t i2c_bus_read_bits(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_start, uint8_t length, uint8_t *data) -{ - uint8_t byte = 0; - esp_err_t ret = i2c_bus_read_byte(dev_handle, mem_address, &byte); - - if (ret != ESP_OK) { - return ret; - } - - uint8_t mask = ((1 << length) - 1) << (bit_start - length + 1); - byte &= mask; - byte >>= (bit_start - length + 1); - *data = byte; - return ret; -} - -esp_err_t i2c_bus_write_byte(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t data) -{ - return i2c_bus_write_reg8(dev_handle, mem_address, 1, &data); -} - -esp_err_t i2c_bus_write_bytes(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, const uint8_t *data) -{ - return i2c_bus_write_reg8(dev_handle, mem_address, data_len, data); -} - -esp_err_t i2c_bus_write_bit(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_num, uint8_t data) -{ - uint8_t byte = 0; - esp_err_t ret = i2c_bus_read_byte(dev_handle, mem_address, &byte); - - if (ret != ESP_OK) { - return ret; - } - - byte = (data != 0) ? (byte | (1 << bit_num)) : (byte & ~(1 << bit_num)); - return i2c_bus_write_byte(dev_handle, mem_address, byte); -} - -esp_err_t i2c_bus_write_bits(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_start, uint8_t length, uint8_t data) -{ - uint8_t byte = 0; - esp_err_t ret = i2c_bus_read_byte(dev_handle, mem_address, &byte); - - if (ret != ESP_OK) { - return ret; - } - - uint8_t mask = ((1 << length) - 1) << (bit_start - length + 1); - data <<= (bit_start - length + 1); // shift data into correct position - data &= mask; // zero all non-important bits in data - byte &= ~(mask); // zero all important bits in existing byte - byte |= data; // combine data with existing byte - return i2c_bus_write_byte(dev_handle, mem_address, byte); -} - -/** - * @brief I2C master send queued commands. - * This function will trigger sending all queued commands. - * The task will be blocked until all the commands have been sent out. - * If I2C_BUS_DYNAMIC_CONFIG enable, i2c_bus will dynamically check configs and re-install i2c driver before each transfer, - * hence multiple devices with different configs on a single bus can be supported. - * @note - * Only call this function in I2C master mode - * - * @param i2c_num I2C port number - * @param cmd_handle I2C command handler - * @param ticks_to_wait maximum wait ticks. - * @param conf pointer to I2C parameter settings - * @return esp_err_t - */ -inline static esp_err_t i2c_master_cmd_begin_with_conf(i2c_port_t i2c_num, i2c_cmd_handle_t cmd_handle, TickType_t ticks_to_wait, const i2c_config_t *conf) -{ - esp_err_t ret; -#ifdef CONFIG_I2C_BUS_DYNAMIC_CONFIG - /*if configs changed, i2c driver will reinit with new configuration*/ - if (conf != NULL && false == i2c_config_compare(i2c_num, conf)) { - ret = i2c_driver_reinit(i2c_num, conf); - I2C_BUS_CHECK(ret == ESP_OK, "reinit error", ret); - s_i2c_bus[i2c_num].conf_active = *conf; - } -#endif - ret = i2c_master_cmd_begin(i2c_num, cmd_handle, ticks_to_wait); - return ret; -} - -/**************************************** Public Functions (Low level)*********************************************/ - -esp_err_t i2c_bus_cmd_begin(i2c_bus_device_handle_t dev_handle, i2c_cmd_handle_t cmd) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(cmd != NULL, "I2C command error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - esp_err_t ret = i2c_master_cmd_begin_with_conf(i2c_device->i2c_bus->i2c_port, cmd, I2C_BUS_TICKS_TO_WAIT, &i2c_device->conf); - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -static esp_err_t i2c_bus_read_reg8(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, uint8_t *data) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(data != NULL, "data pointer error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - esp_err_t ret = ESP_FAIL; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (i2c_device->i2c_bus->i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_change_frequency(i2c_device->i2c_bus->soft_bus_handle, i2c_device->conf.master.clk_speed); - ret = i2c_master_soft_bus_read_reg8(i2c_device->i2c_bus->soft_bus_handle, i2c_device->dev_addr, mem_address, data_len, data); - } else -#endif - { - i2c_cmd_handle_t cmd = i2c_cmd_link_create(); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_ADDR) { -#endif - i2c_master_start(cmd); - i2c_master_write_byte(cmd, (i2c_device->dev_addr << 1) | I2C_MASTER_WRITE, I2C_ACK_CHECK_EN); - i2c_master_write_byte(cmd, mem_address, I2C_ACK_CHECK_EN); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } else { - ESP_LOGD(TAG, "register address 0x%X is skipped and will not be sent", NULL_I2C_MEM_ADDR); - } -#endif - - i2c_master_start(cmd); - i2c_master_write_byte(cmd, (i2c_device->dev_addr << 1) | I2C_MASTER_READ, I2C_ACK_CHECK_EN); - i2c_master_read(cmd, data, data_len, I2C_MASTER_LAST_NACK); - i2c_master_stop(cmd); - ret = i2c_master_cmd_begin_with_conf(i2c_device->i2c_bus->i2c_port, cmd, I2C_BUS_TICKS_TO_WAIT, &i2c_device->conf); - i2c_cmd_link_delete(cmd); - } - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -esp_err_t i2c_bus_read_reg16(i2c_bus_device_handle_t dev_handle, uint16_t mem_address, size_t data_len, uint8_t *data) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(data != NULL, "data pointer error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - uint8_t memAddress8[2]; - esp_err_t ret = ESP_OK; - memAddress8[0] = (uint8_t)((mem_address >> 8) & 0x00FF); - memAddress8[1] = (uint8_t)(mem_address & 0x00FF); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (i2c_device->i2c_bus->i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_change_frequency(i2c_device->i2c_bus->soft_bus_handle, i2c_device->conf.master.clk_speed); - ret = i2c_master_soft_bus_read_reg16(i2c_device->i2c_bus->soft_bus_handle, i2c_device->dev_addr, mem_address, data_len, data); - } else -#endif - { - i2c_cmd_handle_t cmd = i2c_cmd_link_create(); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_16BIT_ADDR) { -#endif - i2c_master_start(cmd); - i2c_master_write_byte(cmd, (i2c_device->dev_addr << 1) | I2C_MASTER_WRITE, I2C_ACK_CHECK_EN); - i2c_master_write(cmd, memAddress8, 2, I2C_ACK_CHECK_EN); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } else { - ESP_LOGD(TAG, "register address 0x%X is skipped and will not be sent", NULL_I2C_MEM_16BIT_ADDR); - } -#endif - i2c_master_start(cmd); - i2c_master_write_byte(cmd, (i2c_device->dev_addr << 1) | I2C_MASTER_READ, I2C_ACK_CHECK_EN); - i2c_master_read(cmd, data, data_len, I2C_MASTER_LAST_NACK); - i2c_master_stop(cmd); - ret = i2c_master_cmd_begin_with_conf(i2c_device->i2c_bus->i2c_port, cmd, I2C_BUS_TICKS_TO_WAIT, &i2c_device->conf); - i2c_cmd_link_delete(cmd); - } - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -static esp_err_t i2c_bus_write_reg8(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, const uint8_t *data) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(data != NULL, "data pointer error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - esp_err_t ret = ESP_OK; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (i2c_device->i2c_bus->i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_change_frequency(i2c_device->i2c_bus->soft_bus_handle, i2c_device->conf.master.clk_speed); - ret = i2c_master_soft_bus_write_reg8(i2c_device->i2c_bus->soft_bus_handle, i2c_device->dev_addr, mem_address, data_len, data); - } else -#endif - { - i2c_cmd_handle_t cmd = i2c_cmd_link_create(); - i2c_master_start(cmd); - i2c_master_write_byte(cmd, (i2c_device->dev_addr << 1) | I2C_MASTER_WRITE, I2C_ACK_CHECK_EN); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_ADDR) { -#endif - i2c_master_write_byte(cmd, mem_address, I2C_ACK_CHECK_EN); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } else { - ESP_LOGD(TAG, "register address 0x%X is skipped and will not be sent", NULL_I2C_MEM_ADDR); - } -#endif - i2c_master_write(cmd, (uint8_t *)data, data_len, I2C_ACK_CHECK_EN); - i2c_master_stop(cmd); - ret = i2c_master_cmd_begin_with_conf(i2c_device->i2c_bus->i2c_port, cmd, I2C_BUS_TICKS_TO_WAIT, &i2c_device->conf); - i2c_cmd_link_delete(cmd); - } - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -esp_err_t i2c_bus_write_reg16(i2c_bus_device_handle_t dev_handle, uint16_t mem_address, size_t data_len, const uint8_t *data) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(data != NULL, "data pointer error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - uint8_t memAddress8[2]; - esp_err_t ret = ESP_OK; - memAddress8[0] = (uint8_t)((mem_address >> 8) & 0x00FF); - memAddress8[1] = (uint8_t)(mem_address & 0x00FF); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (i2c_device->i2c_bus->i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_change_frequency(i2c_device->i2c_bus->soft_bus_handle, i2c_device->conf.master.clk_speed); - ret = i2c_master_soft_bus_write_reg16(i2c_device->i2c_bus->soft_bus_handle, i2c_device->dev_addr, mem_address, data_len, data); - } else -#endif - { - i2c_cmd_handle_t cmd = i2c_cmd_link_create(); - i2c_master_start(cmd); - i2c_master_write_byte(cmd, (i2c_device->dev_addr << 1) | I2C_MASTER_WRITE, I2C_ACK_CHECK_EN); - -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_16BIT_ADDR) { -#endif - i2c_master_write(cmd, memAddress8, 2, I2C_ACK_CHECK_EN); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } else { - ESP_LOGD(TAG, "register address 0x%X is skipped and will not be sent", NULL_I2C_MEM_16BIT_ADDR); - } -#endif - - i2c_master_write(cmd, (uint8_t *)data, data_len, I2C_ACK_CHECK_EN); - i2c_master_stop(cmd); - ret = i2c_master_cmd_begin_with_conf(i2c_device->i2c_bus->i2c_port, cmd, I2C_BUS_TICKS_TO_WAIT, &i2c_device->conf); - i2c_cmd_link_delete(cmd); - } - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -/**************************************** Private Functions*********************************************/ -static esp_err_t i2c_driver_reinit(i2c_port_t port, const i2c_config_t *conf) -{ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - I2C_BUS_CHECK(((i2c_sw_port_t)port < I2C_NUM_SW_MAX) || (port == I2C_NUM_MAX), "I2C port error", ESP_ERR_INVALID_ARG); -#else - I2C_BUS_CHECK(port < I2C_NUM_MAX, "i2c port error", ESP_ERR_INVALID_ARG); -#endif - I2C_BUS_CHECK(conf != NULL, "pointer = NULL error", ESP_ERR_INVALID_ARG); - esp_err_t ret = ESP_OK; - - if (s_i2c_bus[port].is_init) { -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (port > I2C_NUM_MAX) { - i2c_del_master_soft_bus(s_i2c_bus[port].soft_bus_handle); - } else -#endif - { - i2c_driver_delete(port); - } - s_i2c_bus[port].is_init = false; - ESP_LOGI(TAG, "i2c%d bus deinited", port); - } - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (port > I2C_NUM_MAX) { - ret = i2c_new_master_soft_bus(conf, &s_i2c_bus[port].soft_bus_handle); - I2C_BUS_CHECK(ret == ESP_OK, "i2c software driver install failed", ret); - } else -#endif - { - ret = i2c_param_config(port, conf); - I2C_BUS_CHECK(ret == ESP_OK, "i2c param config failed", ret); - ret = i2c_driver_install(port, conf->mode, I2C_BUS_MASTER_BUF_LEN, I2C_BUS_MASTER_BUF_LEN, I2C_BUS_FLG_DEFAULT); - I2C_BUS_CHECK(ret == ESP_OK, "i2c driver install failed", ret); - } - s_i2c_bus[port].is_init = true; - ESP_LOGI(TAG, "i2c%d bus inited", port); - return ESP_OK; -} - -static esp_err_t i2c_driver_deinit(i2c_port_t port) -{ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - I2C_BUS_CHECK(((i2c_sw_port_t)port < I2C_NUM_SW_MAX) || (port == I2C_NUM_MAX), "I2C port error", ESP_ERR_INVALID_ARG); -#else - I2C_BUS_CHECK(port < I2C_NUM_MAX, "i2c port error", ESP_ERR_INVALID_ARG); -#endif - I2C_BUS_CHECK(s_i2c_bus[port].is_init == true, "i2c not inited", ESP_ERR_INVALID_STATE); - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (port > I2C_NUM_MAX) { - esp_err_t ret = i2c_del_master_soft_bus(s_i2c_bus[port].soft_bus_handle); - I2C_BUS_CHECK(ret == ESP_OK, "i2c software driver delete failed", ret); - } else -#endif - { - i2c_driver_delete(port); //always return ESP_OK - } - s_i2c_bus[port].is_init = false; - ESP_LOGI(TAG, "i2c%d bus deinited", port); - return ESP_OK; -} - -/** - * @brief compare with active i2c_bus configuration - * - * @param port choose which i2c_port's configuration will be compared - * @param conf new configuration - * @return true new configuration is equal to active configuration - * @return false new configuration is not equal to active configuration - */ -inline static bool i2c_config_compare(i2c_port_t port, const i2c_config_t *conf) -{ - if (s_i2c_bus[port].conf_active.master.clk_speed == conf->master.clk_speed - && s_i2c_bus[port].conf_active.sda_io_num == conf->sda_io_num - && s_i2c_bus[port].conf_active.scl_io_num == conf->scl_io_num - && s_i2c_bus[port].conf_active.scl_pullup_en == conf->scl_pullup_en - && s_i2c_bus[port].conf_active.sda_pullup_en == conf->sda_pullup_en) { - return true; - } - - return false; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/i2c_bus_soft.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/i2c_bus_soft.c deleted file mode 100644 index fb5298779..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/i2c_bus_soft.c +++ /dev/null @@ -1,319 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -#include "esp_err.h" -#include "esp_check.h" -#include "i2c_bus_soft.h" -#include "driver/gpio.h" - -static const char*TAG = "i2c_bus_soft"; - -static esp_err_t i2c_master_soft_bus_wait_ack(i2c_master_soft_bus_handle_t bus_handle) -{ - esp_rom_delay_us(bus_handle->time_delay_us); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 1), TAG, "Failed to set SCL high"); - esp_rom_delay_us(bus_handle->time_delay_us); - - bool ack = !gpio_get_level(bus_handle->sda_io); /*!< SDA should be low for ACK */ - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 0), TAG, "Failed to set SCL low"); - esp_rom_delay_us(bus_handle->time_delay_us); - - return ack ? ESP_OK : ESP_ERR_NOT_FOUND; -} - -static esp_err_t i2c_master_soft_bus_send_ack(i2c_master_soft_bus_handle_t bus_handle, bool ack) -{ - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, ack ? 0 : 1), TAG, "Failed to set SDA for ACK/NACK"); /*!< Set SDA line to ACK (low) or NACK (high) */ - - // Generate clock pulse for ACK/NACK - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 1), TAG, "Failed to set SCL high during ACK/NACK"); - esp_rom_delay_us(bus_handle->time_delay_us); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 0), TAG, "Failed to set SCL low after ACK/NACK"); - esp_rom_delay_us(bus_handle->time_delay_us); - - return ESP_OK; -} - -static esp_err_t i2c_master_soft_bus_start(i2c_master_soft_bus_handle_t bus_handle) -{ - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 1), TAG, "Failed to set SCL high"); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, 1), TAG, "Failed to set SDA high"); - esp_rom_delay_us(bus_handle->time_delay_us); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, 0), TAG, "Failed to set SDA low"); - esp_rom_delay_us(bus_handle->time_delay_us); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 0), TAG, "Failed to set SCL low"); - esp_rom_delay_us(bus_handle->time_delay_us); - return ESP_OK; -} - -static esp_err_t i2c_master_soft_bus_stop(i2c_master_soft_bus_handle_t bus_handle) -{ - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, 0), TAG, "Failed to set SDA low"); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 1), TAG, "Failed to set SCL high"); - esp_rom_delay_us(bus_handle->time_delay_us); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, 1), TAG, "Failed to set SDA high"); - return ESP_OK; -} - -static esp_err_t i2c_master_soft_bus_write_byte(i2c_master_soft_bus_handle_t bus_handle, uint8_t byte) -{ - for (int i = 0; i < 8; i++) { - if (byte & 0x80) { - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, 1), TAG, "Failed to set SDA high"); - } else { - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, 0), TAG, "Failed to set SDA low"); - } - esp_rom_delay_us(bus_handle->time_delay_us); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 1), TAG, "Failed to set SCL high"); - esp_rom_delay_us(bus_handle->time_delay_us); - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 0), TAG, "Failed to set SCL low"); - - if (i == 7) { - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, 1), TAG, "Failed to release SDA"); /*!< Release SDA */ - } - - byte <<= 1; - } - return ESP_OK; -} - -static esp_err_t i2c_master_soft_bus_read_byte(i2c_master_soft_bus_handle_t bus_handle, uint8_t *byte) -{ - uint8_t value = 0; - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->sda_io, 1), TAG, "Failed to release SDA"); /*!< First release SDA */ - for (int i = 0; i < 8; i++) { - value <<= 1; - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 1), TAG, "Failed to set SCL high"); - esp_rom_delay_us(bus_handle->time_delay_us); - - if (gpio_get_level(bus_handle->sda_io)) { - value ++; - } - ESP_RETURN_ON_ERROR(gpio_set_level(bus_handle->scl_io, 0), TAG, "Failed to set SCL low"); - esp_rom_delay_us(bus_handle->time_delay_us); - } - - *byte = value; - return ESP_OK; -} - -esp_err_t i2c_master_soft_bus_write_reg8(i2c_master_soft_bus_handle_t bus_handle, uint8_t dev_addr, uint8_t mem_address, size_t data_len, const uint8_t *data) -{ - ESP_RETURN_ON_FALSE(bus_handle, ESP_ERR_INVALID_ARG, TAG, "Invalid I2C bus handle"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_start(bus_handle), TAG, "Failed to initiate start signal"); - - // Send device address with write bit (0) - uint8_t address_byte = (dev_addr << 1) | 0; - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, address_byte), TAG, "Failed to write device address"); - - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for device address"); - -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_ADDR) { -#endif - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, mem_address), TAG, "Failed to write memory address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for device address"); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } -#endif - // Write data - for (size_t i = 0; i < data_len; i++) { - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, data[i]), TAG, "Failed to write data byte"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for data byte"); - } - - // Generate STOP condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_stop(bus_handle), TAG, "Failed to initiate stop signal"); - return ESP_OK; -} - -esp_err_t i2c_master_soft_bus_write_reg16(i2c_master_soft_bus_handle_t bus_handle, uint8_t dev_addr, uint16_t mem_address, size_t data_len, const uint8_t *data) -{ - ESP_RETURN_ON_FALSE(bus_handle, ESP_ERR_INVALID_ARG, TAG, "Invalid I2C bus handle"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_start(bus_handle), TAG, "Failed to initiate start signal"); - - // Send device address with write bit (0) - uint8_t address_byte = (dev_addr << 1) | 0; - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, address_byte), TAG, "Failed to write device address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for device address"); - -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_16BIT_ADDR) { -#endif - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, (uint8_t)((mem_address >> 8) & 0x00FF)), TAG, "Failed to write memory address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for mem address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, (uint8_t)(mem_address & 0x00FF)), TAG, "Failed to write memory address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for mem address"); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } -#endif - - // Write data - for (size_t i = 0; i < data_len; i++) { - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, data[i]), TAG, "Failed to write data byte"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for data byte"); - } - - // Generate STOP condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_stop(bus_handle), TAG, "Failed to initiate stop signal"); - return ESP_OK; -} - -esp_err_t i2c_master_soft_bus_read_reg8(i2c_master_soft_bus_handle_t bus_handle, uint8_t dev_addr, uint8_t mem_address, size_t data_len, uint8_t *data) -{ - ESP_RETURN_ON_FALSE(bus_handle, ESP_ERR_INVALID_ARG, TAG, "Invalid I2C bus handle"); - - // Send memory address -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_ADDR) { -#endif - // Generate START condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_start(bus_handle), TAG, "Failed to initiate start signal"); - - // Send device address with write bit (0) to write the memory address - uint8_t write_address_byte = (dev_addr << 1) | 0; - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, write_address_byte), TAG, "Failed to write device address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for device address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, mem_address), TAG, "Failed to write memory address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for mem address"); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } -#endif - - // Generate RESTART condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_start(bus_handle), TAG, "Failed to initiate repeated start signal"); - - // Send device address with read bit (1) - uint8_t read_address_byte = (dev_addr << 1) | 1; - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, read_address_byte), TAG, "Failed to write device address with read bit"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for device address"); - - // Read data bytes - for (size_t i = 0; i < data_len; i++) { - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_read_byte(bus_handle, &data[i]), TAG, "Failed to read data byte"); - - // Send ACK for all but the last byte - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_send_ack(bus_handle, i != data_len - 1), TAG, "Failed to send ACK/NACK"); - } - - // Generate STOP condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_stop(bus_handle), TAG, "Failed to initiate stop signal"); - - return ESP_OK; -} - -esp_err_t i2c_master_soft_bus_read_reg16(i2c_master_soft_bus_handle_t bus_handle, uint8_t dev_addr, uint16_t mem_address, size_t data_len, uint8_t *data) -{ - ESP_RETURN_ON_FALSE(bus_handle, ESP_ERR_INVALID_ARG, TAG, "Invalid I2C bus handle"); - - // Send memory address -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_16BIT_ADDR) { -#endif - // Generate START condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_start(bus_handle), TAG, "Failed to initiate start signal"); - - // Send device address with write bit (0) to write the memory address - uint8_t write_address_byte = (dev_addr << 1) | 0; - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, write_address_byte), TAG, "Failed to write device address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for device address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, (uint8_t)((mem_address >> 8) & 0x00FF)), TAG, "Failed to write memory address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for mem address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, (uint8_t)(mem_address & 0x00FF)), TAG, "Failed to write memory address"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for mem address"); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } -#endif - - // Generate RESTART condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_start(bus_handle), TAG, "Failed to initiate repeated start signal"); - - // Send device address with read bit (1) - uint8_t read_address_byte = (dev_addr << 1) | 1; - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, read_address_byte), TAG, "Failed to write device address with read bit"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "No ACK for device address during read"); - - // Read data bytes - for (size_t i = 0; i < data_len; i++) { - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_read_byte(bus_handle, &data[i]), TAG, "Failed to read data byte"); - - // Send ACK for all but the last byte - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_send_ack(bus_handle, i != data_len - 1), TAG, "Failed to send ACK/NACK"); - } - - // Generate STOP condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_stop(bus_handle), TAG, "Failed to initiate stop signal"); - return ESP_OK; -} - -esp_err_t i2c_master_soft_bus_probe(i2c_master_soft_bus_handle_t bus_handle, uint8_t address) -{ - ESP_RETURN_ON_FALSE(bus_handle, ESP_ERR_INVALID_ARG, TAG, "Invalid I2C bus handle"); - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_start(bus_handle), TAG, "Failed to initiate start signal"); - - // Send device address with write bit (0) - uint8_t address_byte = (address << 1) | 0; - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_write_byte(bus_handle, address_byte), TAG, "Failed to write address byte"); - - // Wait for ACK - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_wait_ack(bus_handle), TAG, "Failed to wait for ACK"); - - // Generate STOP condition - ESP_RETURN_ON_ERROR(i2c_master_soft_bus_stop(bus_handle), TAG, "Failed to initiate stop signal"); - return ESP_OK; -} - -esp_err_t i2c_new_master_soft_bus(const i2c_config_t *conf, i2c_master_soft_bus_handle_t *ret_soft_bus_handle) -{ - esp_err_t ret = ESP_OK; - ESP_RETURN_ON_FALSE(GPIO_IS_VALID_GPIO(conf->scl_io_num) && GPIO_IS_VALID_GPIO(conf->sda_io_num), ESP_ERR_INVALID_ARG, TAG, "Invalid SDA/SCL pin number"); - ESP_RETURN_ON_FALSE(conf->master.clk_speed > 0, ESP_ERR_INVALID_ARG, TAG, "Invalid scl frequency"); - - gpio_config_t scl_io_conf = { - .mode = GPIO_MODE_OUTPUT_OD, - .pull_up_en = conf->scl_pullup_en, - .intr_type = GPIO_INTR_DISABLE, - .pull_down_en = GPIO_PULLDOWN_DISABLE, - .pin_bit_mask = (1ULL << conf->scl_io_num), - }; - ESP_RETURN_ON_ERROR(gpio_config(&scl_io_conf), TAG, "Failed to configure scl gpio"); - - gpio_config_t sda_io_conf = { - .mode = GPIO_MODE_INPUT_OUTPUT_OD, - .pull_up_en = conf->sda_pullup_en, - .intr_type = GPIO_INTR_DISABLE, - .pull_down_en = GPIO_PULLDOWN_DISABLE, - .pin_bit_mask = (1ULL << conf->sda_io_num), - }; - ESP_RETURN_ON_ERROR(gpio_config(&sda_io_conf), TAG, "Failed to configure sda gpio"); - - i2c_master_soft_bus_handle_t soft_bus_handle = calloc(1, sizeof(struct i2c_master_soft_bus_t)); - if (soft_bus_handle == NULL) { - ESP_LOGE(TAG, "Failed to allocate soft bus handle"); - return ESP_ERR_NO_MEM; - } - - soft_bus_handle->scl_io = conf->scl_io_num; - soft_bus_handle->sda_io = conf->sda_io_num; - soft_bus_handle->time_delay_us = (uint32_t)((1e6f / conf->master.clk_speed) / 2.0f + 0.5f); - *ret_soft_bus_handle = soft_bus_handle; - - return ret; -} - -esp_err_t i2c_master_soft_bus_change_frequency(i2c_master_soft_bus_handle_t bus_handle, uint32_t frequency) -{ - ESP_RETURN_ON_FALSE(bus_handle, ESP_ERR_INVALID_ARG, TAG, "Invalid I2C bus handle"); - ESP_RETURN_ON_FALSE(frequency > 0, ESP_ERR_INVALID_ARG, TAG, "Invalid scl frequency"); - bus_handle->time_delay_us = (uint32_t)((1e6f / frequency) / 2.0f + 0.5f); - return ESP_OK; -} - -esp_err_t i2c_del_master_soft_bus(i2c_master_soft_bus_handle_t bus_handle) -{ - ESP_RETURN_ON_FALSE(bus_handle, ESP_ERR_INVALID_ARG, TAG, "no memory for i2c master soft bus"); - free(bus_handle); - return ESP_OK; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/i2c_bus_v2.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/i2c_bus_v2.c deleted file mode 100644 index aa3d814b8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/i2c_bus_v2.c +++ /dev/null @@ -1,608 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include - -#include "freertos/FreeRTOS.h" -#include "freertos/semphr.h" - -#include "esp_log.h" -#include "i2c_bus.h" -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE -#include "i2c_bus_soft.h" -#endif - -#define I2C_ACK_CHECK_EN 0x1 /*!< I2C master will check ack from slave*/ -#define I2C_ACK_CHECK_DIS 0x0 /*!< I2C master will not check ack from slave */ -#define I2C_BUS_FLG_DEFAULT (0) -#define I2C_BUS_MASTER_BUF_LEN (0) -#define I2C_BUS_MS_TO_WAIT CONFIG_I2C_MS_TO_WAIT -#define I2C_BUS_TICKS_TO_WAIT (I2C_BUS_MS_TO_WAIT/portTICK_PERIOD_MS) -#define I2C_BUS_MUTEX_TICKS_TO_WAIT (I2C_BUS_MS_TO_WAIT/portTICK_PERIOD_MS) - -typedef struct { - i2c_master_bus_config_t bus_config; /*!< I2C master bus specific configurations */ - i2c_master_bus_handle_t bus_handle; /*!< I2C master bus handle */ - i2c_device_config_t device_config; /*!< I2C device configuration, in order to get the frequency information of I2C */ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - i2c_master_soft_bus_handle_t soft_bus_handle; /*!< I2C master soft bus handle */ -#endif - bool is_init; /*!< if bus is initialized */ - i2c_config_t conf_activate; /*!< I2C active configuration */ - SemaphoreHandle_t mutex; /*!< mutex to achieve thread-safe */ - int32_t ref_counter; /*!< reference count */ -} i2c_bus_t; - -typedef struct { - i2c_device_config_t device_config; /*!< I2C device configuration */ - i2c_master_dev_handle_t dev_handle; /*!< I2C master bus device handle */ - i2c_device_config_t conf; /*!< I2C active configuration */ - i2c_bus_t *i2c_bus; /*!< I2C bus */ -} i2c_bus_device_t; - -static const char *TAG = "i2c_bus"; - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE -static i2c_bus_t s_i2c_bus[I2C_NUM_SW_MAX]; /*!< If software I2C is enabled, additional space is required to store the port. */ -#else -static i2c_bus_t s_i2c_bus[I2C_NUM_MAX]; -#endif - -#define I2C_BUS_CHECK(a, str, ret) if(!(a)) { \ - ESP_LOGE(TAG,"%s:%d (%s):%s", __FILE__, __LINE__, __FUNCTION__, str); \ - return (ret); \ - } - -#define I2C_BUS_CHECK_GOTO(a, str, label) if(!(a)) { \ - ESP_LOGE(TAG,"%s:%d (%s):%s", __FILE__, __LINE__, __FUNCTION__, str); \ - goto label; \ - } - -#define I2C_BUS_INIT_CHECK(is_init, ret) if(!is_init) { \ - ESP_LOGE(TAG,"%s:%d (%s):i2c_bus has not inited", __FILE__, __LINE__, __FUNCTION__); \ - return (ret); \ - } - -#define I2C_BUS_MUTEX_TAKE(mutex, ret) if (!xSemaphoreTake(mutex, I2C_BUS_MUTEX_TICKS_TO_WAIT)) { \ - ESP_LOGE(TAG, "i2c_bus take mutex timeout, max wait = %"PRIu32"ms", I2C_BUS_MUTEX_TICKS_TO_WAIT); \ - return (ret); \ - } - -#define I2C_BUS_MUTEX_TAKE_MAX_DELAY(mutex, ret) if (!xSemaphoreTake(mutex, portMAX_DELAY)) { \ - ESP_LOGE(TAG, "i2c_bus take mutex timeout, max wait = %"PRIu32"ms", portMAX_DELAY); \ - return (ret); \ - } - -#define I2C_BUS_MUTEX_GIVE(mutex, ret) if (!xSemaphoreGive(mutex)) { \ - ESP_LOGE(TAG, "i2c_bus give mutex failed"); \ - return (ret); \ - } - -static esp_err_t i2c_driver_reinit(i2c_port_t port, const i2c_config_t *conf); -static esp_err_t i2c_driver_deinit(i2c_port_t port); -static esp_err_t i2c_bus_write_reg8(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, const uint8_t *data); -static esp_err_t i2c_bus_read_reg8(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, uint8_t *data); -inline static bool i2c_config_compare(i2c_port_t port, const i2c_config_t *conf); -/**************************************** Public Functions (Application level)*********************************************/ - -i2c_bus_handle_t i2c_bus_create(i2c_port_t port, const i2c_config_t *conf) -{ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - I2C_BUS_CHECK(((i2c_sw_port_t)port < I2C_NUM_SW_MAX) || (port == I2C_NUM_MAX), "I2C port error", NULL); -#else - I2C_BUS_CHECK(port < I2C_NUM_MAX, "I2C port error", NULL); -#endif - I2C_BUS_CHECK(conf != NULL, "pointer = NULL error", NULL); - I2C_BUS_CHECK(conf->mode == I2C_MODE_MASTER, "i2c_bus only supports master mode", NULL); - - if (i2c_master_get_bus_handle(port, &s_i2c_bus[port].bus_handle) == ESP_OK) { - s_i2c_bus[port].is_init = true; - s_i2c_bus[port].conf_activate = *conf; - s_i2c_bus[port].bus_config.i2c_port = port; - s_i2c_bus[port].device_config.scl_speed_hz = conf->master.clk_speed; - s_i2c_bus[port].mutex = xSemaphoreCreateMutex(); - I2C_BUS_CHECK(s_i2c_bus[port].mutex != NULL, "i2c_bus xSemaphoreCreateMutex failed", NULL); - s_i2c_bus[port].ref_counter = 0; - ESP_LOGI(TAG, "I2C Bus V2 uses the externally initialized bus handle"); - return (i2c_bus_handle_t)&s_i2c_bus[port]; - } - - if (s_i2c_bus[port].is_init) { - // if i2c_bus has been inited and configs not changed, return the handle directly - if (i2c_config_compare(port, conf)) { - ESP_LOGW(TAG, "i2c%d has been inited, return handle directly, ref_counter=%"PRIi32"", port, s_i2c_bus[port].ref_counter); - return (i2c_bus_handle_t)&s_i2c_bus[port]; - } - } else { - s_i2c_bus[port].mutex = xSemaphoreCreateMutex(); - I2C_BUS_CHECK(s_i2c_bus[port].mutex != NULL, "i2c_bus xSemaphoreCreateMutex failed", NULL); - s_i2c_bus[port].ref_counter = 0; - } - - esp_err_t ret = i2c_driver_reinit(port, conf); /*!< Reconfigure the I2C parameters and initialise the bus. */ - I2C_BUS_CHECK(ret == ESP_OK, "init error", NULL); - s_i2c_bus[port].conf_activate = *conf; - s_i2c_bus[port].bus_config.i2c_port = port; - s_i2c_bus[port].device_config.scl_speed_hz = conf->master.clk_speed; /*!< Stores the frequency configured in the bus, overrides the value if the device has a separate frequency */ - ESP_LOGI(TAG, "I2C Bus V2 Config Succeed, Version: %d.%d.%d", I2C_BUS_VER_MAJOR, I2C_BUS_VER_MINOR, I2C_BUS_VER_PATCH); - return (i2c_bus_handle_t)&s_i2c_bus[port]; -} - -esp_err_t i2c_bus_delete(i2c_bus_handle_t *p_bus) -{ - I2C_BUS_CHECK(p_bus != NULL && *p_bus != NULL, "pointer = NULL error", ESP_ERR_INVALID_ARG); - i2c_bus_t *i2c_bus = (i2c_bus_t *)(*p_bus); - I2C_BUS_INIT_CHECK(i2c_bus->is_init, ESP_FAIL); - I2C_BUS_MUTEX_TAKE_MAX_DELAY(i2c_bus->mutex, ESP_ERR_TIMEOUT); - - // if ref_counter == 0, de-init the bus - if ((i2c_bus->ref_counter) > 0) { - ESP_LOGW(TAG, "i2c%d is also handled by others ref_counter=%"PRIi32", won't be de-inited", i2c_bus->bus_config.i2c_port, i2c_bus->ref_counter); - return ESP_OK; - } - - esp_err_t ret = i2c_driver_deinit(i2c_bus->bus_config.i2c_port); - I2C_BUS_CHECK(ret == ESP_OK, "deinit error", ret); - vSemaphoreDelete(i2c_bus->mutex); - *p_bus = NULL; - return ESP_OK; -} - -i2c_master_bus_handle_t i2c_bus_get_internal_bus_handle(i2c_bus_handle_t bus_handle) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Null Bus Handle", NULL); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, NULL); - return i2c_bus->bus_handle; -} - -uint32_t i2c_bus_get_current_clk_speed(i2c_bus_handle_t bus_handle) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Null Bus Handle", 0); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, 0); - return i2c_bus->conf_activate.master.clk_speed; -} - -uint8_t i2c_bus_get_created_device_num(i2c_bus_handle_t bus_handle) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Null Bus Handle", 0); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, 0); - return i2c_bus->ref_counter; -} - -i2c_bus_device_handle_t i2c_bus_device_create(i2c_bus_handle_t bus_handle, uint8_t dev_addr, uint32_t clk_speed) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Null Bus Handle", NULL); - I2C_BUS_CHECK(clk_speed <= 400000, "clk_speed must <= 400000", NULL); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, NULL); - i2c_bus_device_t *i2c_device = calloc(1, sizeof(i2c_bus_device_t)); - I2C_BUS_CHECK(i2c_device != NULL, "calloc memory failed", NULL); - I2C_BUS_MUTEX_TAKE_MAX_DELAY(i2c_bus->mutex, NULL); - i2c_device->device_config.device_address = dev_addr; - i2c_device->device_config.dev_addr_length = I2C_ADDR_BIT_LEN_7; - i2c_device->device_config.scl_speed_hz = i2c_bus->device_config.scl_speed_hz; /*!< Transfer the frequency information in the bus to the device. */ - i2c_device->device_config.flags.disable_ack_check = i2c_bus->device_config.flags.disable_ack_check; /*!< Transfer the ack check in the bus to the device. */ - - if (clk_speed != 0) { - i2c_device->device_config.scl_speed_hz = clk_speed; - } - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - // For software I2C, it is only necessary to save the device configuration. - if (i2c_bus->bus_config.i2c_port < I2C_NUM_MAX) -#endif - { - esp_err_t ret = i2c_master_bus_add_device(i2c_bus->bus_handle, &i2c_device->device_config, &i2c_device->dev_handle); - I2C_BUS_CHECK(ret == ESP_OK, "add device error", NULL); - } - i2c_device->i2c_bus = i2c_bus; - i2c_bus->ref_counter++; - I2C_BUS_MUTEX_GIVE(i2c_bus->mutex, NULL); - return (i2c_bus_device_handle_t)i2c_device; -} - -esp_err_t i2c_bus_device_delete(i2c_bus_device_handle_t *p_dev_handle) -{ - I2C_BUS_CHECK(p_dev_handle != NULL && *p_dev_handle != NULL, "Null Device Handle", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)(*p_dev_handle); - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (i2c_device->i2c_bus->bus_config.i2c_port < I2C_NUM_MAX) -#endif - { - esp_err_t ret = i2c_master_bus_rm_device(i2c_device->dev_handle); - I2C_BUS_CHECK(ret == ESP_OK, "remove device error", ret); - } - I2C_BUS_MUTEX_TAKE_MAX_DELAY(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - i2c_device->i2c_bus->ref_counter--; /*!< ref_counter is reduced only when the device is removed successfully. */ - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - free(i2c_device); - *p_dev_handle = NULL; - return ESP_OK; -} - -uint8_t i2c_bus_scan(i2c_bus_handle_t bus_handle, uint8_t *buf, uint8_t num) -{ - I2C_BUS_CHECK(bus_handle != NULL, "Handle error", 0); - i2c_bus_t *i2c_bus = (i2c_bus_t *)bus_handle; - I2C_BUS_INIT_CHECK(i2c_bus->is_init, 0); - uint8_t device_count = 0; - esp_err_t ret = ESP_OK; - I2C_BUS_MUTEX_TAKE_MAX_DELAY(i2c_bus->mutex, 0); - - for (uint8_t dev_address = 1; dev_address < 127; dev_address++) { -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (i2c_bus->bus_config.i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_probe(i2c_bus->soft_bus_handle, dev_address); - } else -#endif - { - ret = i2c_master_probe(i2c_bus->bus_handle, dev_address, I2C_BUS_TICKS_TO_WAIT); - } - if (ret == ESP_OK) { - ESP_LOGI(TAG, "found i2c device address = 0x%02x", dev_address); - if (buf != NULL && device_count < num) { - *(buf + device_count) = dev_address; - } - device_count++; - } - } - I2C_BUS_MUTEX_GIVE(i2c_bus->mutex, 0); - return device_count; -} - -uint8_t i2c_bus_device_get_address(i2c_bus_device_handle_t dev_handle) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", NULL_I2C_DEV_ADDR); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - return i2c_device->device_config.device_address; -} - -esp_err_t i2c_bus_read_bytes(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, uint8_t *data) -{ - return i2c_bus_read_reg8(dev_handle, mem_address, data_len, data); -} - -esp_err_t i2c_bus_read_byte(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t *data) -{ - return i2c_bus_read_reg8(dev_handle, mem_address, 1, data); -} - -esp_err_t i2c_bus_read_bit(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_num, uint8_t *data) -{ - uint8_t byte = 0; - esp_err_t ret = i2c_bus_read_reg8(dev_handle, mem_address, 1, &byte); - *data = byte & (1 << bit_num); - *data = (*data != 0) ? 1 : 0; - return ret; -} - -esp_err_t i2c_bus_read_bits(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_start, uint8_t length, uint8_t *data) -{ - uint8_t byte = 0; - esp_err_t ret = i2c_bus_read_byte(dev_handle, mem_address, &byte); - - if (ret != ESP_OK) { - return ret; - } - - uint8_t mask = ((1 << length) - 1) << (bit_start - length + 1); - byte &= mask; - byte >>= (bit_start - length + 1); - *data = byte; - return ret; -} - -esp_err_t i2c_bus_write_byte(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t data) -{ - return i2c_bus_write_reg8(dev_handle, mem_address, 1, &data); -} - -esp_err_t i2c_bus_write_bytes(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, const uint8_t *data) -{ - return i2c_bus_write_reg8(dev_handle, mem_address, data_len, data); -} - -esp_err_t i2c_bus_write_bit(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_num, uint8_t data) -{ - uint8_t byte = 0; - esp_err_t ret = i2c_bus_read_byte(dev_handle, mem_address, &byte); - - if (ret != ESP_OK) { - return ret; - } - - byte = (data != 0) ? (byte | (1 << bit_num)) : (byte & ~(1 << bit_num)); - return i2c_bus_write_byte(dev_handle, mem_address, byte); -} - -esp_err_t i2c_bus_write_bits(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_start, uint8_t length, uint8_t data) -{ - uint8_t byte = 0; - esp_err_t ret = i2c_bus_read_byte(dev_handle, mem_address, &byte); - - if (ret != ESP_OK) { - return ret; - } - - uint8_t mask = ((1 << length) - 1) << (bit_start - length + 1); - data <<= (bit_start - length + 1); // shift data into correct position - data &= mask; // zero all non-important bits in data - byte &= ~(mask); // zero all important bits in existing byte - byte |= data; // combine data with existing byte - return i2c_bus_write_byte(dev_handle, mem_address, byte); -} - -/**************************************** Public Functions (Low level)*********************************************/ - -static esp_err_t i2c_bus_read_reg8(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, uint8_t *data) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(data != NULL, "data pointer error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - esp_err_t ret = ESP_FAIL; - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - // Need to distinguish between hardware I2C and software I2C via port - if (i2c_device->i2c_bus->bus_config.i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_change_frequency(i2c_device->i2c_bus->soft_bus_handle, i2c_device->device_config.scl_speed_hz); - ret = i2c_master_soft_bus_read_reg8(i2c_device->i2c_bus->soft_bus_handle, i2c_device->device_config.device_address, mem_address, data_len, data); - } else -#endif - { -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_ADDR) { -#endif - ret = i2c_master_transmit_receive(i2c_device->dev_handle, &mem_address, 1, data, data_len, I2C_BUS_TICKS_TO_WAIT); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } else { - ESP_LOGD(TAG, "register address 0x%X is skipped and will not be sent", NULL_I2C_MEM_ADDR); - ret = i2c_master_receive(i2c_device->dev_handle, data, data_len, I2C_BUS_TICKS_TO_WAIT); - } -#endif - } - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -esp_err_t i2c_bus_read_reg16(i2c_bus_device_handle_t dev_handle, uint16_t mem_address, size_t data_len, uint8_t *data) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(data != NULL, "data pointer error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - esp_err_t ret = ESP_FAIL; - uint8_t memAddress8[2]; - memAddress8[0] = (uint8_t)((mem_address >> 8) & 0x00FF); - memAddress8[1] = (uint8_t)(mem_address & 0x00FF); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - // Need to distinguish between hardware I2C and software I2C via port - if (i2c_device->i2c_bus->bus_config.i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_change_frequency(i2c_device->i2c_bus->soft_bus_handle, i2c_device->device_config.scl_speed_hz); - ret = i2c_master_soft_bus_read_reg16(i2c_device->i2c_bus->soft_bus_handle, i2c_device->device_config.device_address, mem_address, data_len, data); - } else -#endif - { -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_16BIT_ADDR) { -#endif - ret = i2c_master_transmit_receive(i2c_device->dev_handle, memAddress8, 2, data, data_len, I2C_BUS_TICKS_TO_WAIT); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } else { - ESP_LOGD(TAG, "register address 0x%X is skipped and will not be sent", NULL_I2C_MEM_16BIT_ADDR); - ret = i2c_master_receive(i2c_device->dev_handle, data, data_len, I2C_BUS_TICKS_TO_WAIT); - } -#endif - } - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -static esp_err_t i2c_bus_write_reg8(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, const uint8_t *data) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(data != NULL, "data pointer error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - esp_err_t ret = ESP_FAIL; - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - // Need to distinguish between hardware I2C and software I2C via port - if (i2c_device->i2c_bus->bus_config.i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_change_frequency(i2c_device->i2c_bus->soft_bus_handle, i2c_device->device_config.scl_speed_hz); - ret = i2c_master_soft_bus_write_reg8(i2c_device->i2c_bus->soft_bus_handle, i2c_device->device_config.device_address, mem_address, data_len, data); - } else -#endif - { -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_ADDR) { -#endif - uint8_t *data_addr = malloc(data_len + 1); - if (data_addr == NULL) { - ESP_LOGE(TAG, "data_addr memory alloc fail"); - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ESP_ERR_NO_MEM; /*!< If the memory request fails, unlock it immediately and return an error. */ - } - data_addr[0] = mem_address; - for (int i = 0; i < data_len; i++) { - data_addr[i + 1] = data[i]; - } - ret = i2c_master_transmit(i2c_device->dev_handle, data_addr, data_len + 1, I2C_BUS_TICKS_TO_WAIT); - free(data_addr); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } else { - ESP_LOGD(TAG, "register address 0x%X is skipped and will not be sent", NULL_I2C_MEM_ADDR); - ret = i2c_master_transmit(i2c_device->dev_handle, data, data_len, I2C_BUS_TICKS_TO_WAIT); - } -#endif - } - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -esp_err_t i2c_bus_write_reg16(i2c_bus_device_handle_t dev_handle, uint16_t mem_address, size_t data_len, const uint8_t *data) -{ - I2C_BUS_CHECK(dev_handle != NULL, "device handle error", ESP_ERR_INVALID_ARG); - I2C_BUS_CHECK(data != NULL, "data pointer error", ESP_ERR_INVALID_ARG); - i2c_bus_device_t *i2c_device = (i2c_bus_device_t *)dev_handle; - I2C_BUS_INIT_CHECK(i2c_device->i2c_bus->is_init, ESP_ERR_INVALID_STATE); - uint8_t memAddress8[2]; - memAddress8[0] = (uint8_t)((mem_address >> 8) & 0x00FF); - memAddress8[1] = (uint8_t)(mem_address & 0x00FF); - I2C_BUS_MUTEX_TAKE(i2c_device->i2c_bus->mutex, ESP_ERR_TIMEOUT); - esp_err_t ret = ESP_FAIL; - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (i2c_device->i2c_bus->bus_config.i2c_port > I2C_NUM_MAX) { - ret = i2c_master_soft_bus_change_frequency(i2c_device->i2c_bus->soft_bus_handle, i2c_device->device_config.scl_speed_hz); - ret = i2c_master_soft_bus_write_reg16(i2c_device->i2c_bus->soft_bus_handle, i2c_device->device_config.device_address, mem_address, data_len, data); - } else -#endif - { -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - if (mem_address != NULL_I2C_MEM_16BIT_ADDR) { -#endif - uint8_t *data_addr = malloc(data_len + 2); - if (data_addr == NULL) { - ESP_LOGE(TAG, "data_addr memory alloc fail"); - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ESP_ERR_NO_MEM; /*!< If the memory request fails, unlock it immediately and return an error. */ - } - data_addr[0] = memAddress8[0]; - data_addr[1] = memAddress8[1]; - for (int i = 0; i < data_len; i++) { - data_addr[i + 2] = data[i]; - } - ret = i2c_master_transmit(i2c_device->dev_handle, data_addr, data_len + 2, I2C_BUS_TICKS_TO_WAIT); - free(data_addr); -#if !CONFIG_I2C_BUS_REMOVE_NULL_MEM_ADDR - } else { - ESP_LOGD(TAG, "register address 0x%X is skipped and will not be sent", NULL_I2C_MEM_16BIT_ADDR); - ret = i2c_master_transmit(i2c_device->dev_handle, data, data_len, I2C_BUS_TICKS_TO_WAIT); - } -#endif - } - I2C_BUS_MUTEX_GIVE(i2c_device->i2c_bus->mutex, ESP_FAIL); - return ret; -} - -/**************************************** Private Functions*********************************************/ - -static esp_err_t i2c_driver_reinit(i2c_port_t port, const i2c_config_t *conf) -{ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - I2C_BUS_CHECK(((i2c_sw_port_t)port < I2C_NUM_SW_MAX) || (port == I2C_NUM_MAX), "I2C port error", ESP_ERR_INVALID_ARG); -#else - I2C_BUS_CHECK(port < I2C_NUM_MAX, "i2c port error", ESP_ERR_INVALID_ARG); -#endif - I2C_BUS_CHECK(conf != NULL, "pointer = NULL error", ESP_ERR_INVALID_ARG); - - if (s_i2c_bus[port].is_init) { -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (port > I2C_NUM_MAX) { - i2c_del_master_soft_bus(s_i2c_bus[port].soft_bus_handle); - } else -#endif - { - i2c_del_master_bus(s_i2c_bus[port].bus_handle); - } - s_i2c_bus[port].is_init = false; - ESP_LOGI(TAG, "i2c%d bus deinited", port); - } - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (port > I2C_NUM_MAX) { - s_i2c_bus[port].bus_config.i2c_port = port; /*!< Similarly, it is necessary to preserve the I2C_PORT for later distinction. */ - esp_err_t ret = i2c_new_master_soft_bus(conf, &s_i2c_bus[port].soft_bus_handle); - I2C_BUS_CHECK(ret == ESP_OK, "i2c software driver install failed", ret); - s_i2c_bus[port].is_init = true; - ESP_LOGI(TAG, "i2c%d software bus inited", port); - } else -#endif - { - // Convert i2c_config_t information to i2c_master_bus_config_t and i2c_device_config_t - s_i2c_bus[port].bus_config.clk_source = I2C_CLK_SRC_DEFAULT; - s_i2c_bus[port].bus_config.i2c_port = port; - s_i2c_bus[port].bus_config.scl_io_num = conf->scl_io_num; - s_i2c_bus[port].bus_config.sda_io_num = conf->sda_io_num; - s_i2c_bus[port].bus_config.glitch_ignore_cnt = 7; /*!< Set the burr cycle of the host bus */ - s_i2c_bus[port].bus_config.flags.enable_internal_pullup = (conf->scl_pullup_en | conf->sda_pullup_en); - s_i2c_bus[port].device_config.scl_speed_hz = conf->master.clk_speed; - s_i2c_bus[port].device_config.flags.disable_ack_check = false; - - esp_err_t ret = i2c_new_master_bus(&s_i2c_bus[port].bus_config, &s_i2c_bus[port].bus_handle); - I2C_BUS_CHECK(ret == ESP_OK, "i2c driver install failed", ret); - s_i2c_bus[port].is_init = true; - ESP_LOGI(TAG, "i2c%d bus inited", port); - } - return ESP_OK; -} - -static esp_err_t i2c_driver_deinit(i2c_port_t port) -{ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - I2C_BUS_CHECK(((i2c_sw_port_t)port < I2C_NUM_SW_MAX) || (port == I2C_NUM_MAX), "I2C port error", ESP_ERR_INVALID_ARG); -#else - I2C_BUS_CHECK(port < I2C_NUM_MAX, "i2c port error", ESP_ERR_INVALID_ARG); -#endif - I2C_BUS_CHECK(s_i2c_bus[port].is_init == true, "i2c not inited", ESP_ERR_INVALID_STATE); - - // Need to distinguish between hardware I2C and software I2C via port -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (port > I2C_NUM_MAX) { - esp_err_t ret = i2c_del_master_soft_bus(s_i2c_bus[port].soft_bus_handle); - I2C_BUS_CHECK(ret == ESP_OK, "i2c software driver delete failed", ret); - } else -#endif - { - esp_err_t ret = i2c_del_master_bus(s_i2c_bus[port].bus_handle); - I2C_BUS_CHECK(ret == ESP_OK, "i2c driver delete failed", ret); - } - s_i2c_bus[port].is_init = false; - ESP_LOGI(TAG, "i2c%d bus deinited", port); - return ESP_OK; -} - -/** - * @brief compare with active i2c_bus configuration - * - * @param port choose which i2c_port's configuration will be compared - * @param conf new configuration - * @return true new configuration is equal to active configuration - * @return false new configuration is not equal to active configuration - */ -inline static bool i2c_config_compare(i2c_port_t port, const i2c_config_t *conf) -{ -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - if (port > I2C_NUM_MAX) { - if (s_i2c_bus[port].conf_activate.master.clk_speed == conf->master.clk_speed - && s_i2c_bus[port].conf_activate.sda_io_num == conf->sda_io_num - && s_i2c_bus[port].conf_activate.scl_io_num == conf->scl_io_num - && s_i2c_bus[port].conf_activate.scl_pullup_en == conf->scl_pullup_en - && s_i2c_bus[port].conf_activate.sda_pullup_en == conf->sda_pullup_en) { - return true; - } - } else -#endif - { - if (s_i2c_bus[port].bus_config.sda_io_num == conf->sda_io_num - && s_i2c_bus[port].bus_config.scl_io_num == conf->scl_io_num - && s_i2c_bus[port].bus_config.flags.enable_internal_pullup == (conf->scl_pullup_en | conf->sda_pullup_en)) { - return true; - } - } - return false; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/idf_component.yml deleted file mode 100644 index f2d2b0a16..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/idf_component.yml +++ /dev/null @@ -1,12 +0,0 @@ -dependencies: - cmake_utilities: 0.* - idf: '>=4.0' -description: The I2C Bus Driver supports both hardware and software I2C. -documentation: https://docs.espressif.com/projects/esp-iot-solution/en/latest/basic/bus/i2c_bus.html -issues: https://github.com/espressif/esp-iot-solution/issues -repository: git://github.com/espressif/esp-iot-solution.git -repository_info: - commit_sha: 36792767ff23111c8fae8e57401d716e8da83e71 - path: components/i2c_bus -url: https://github.com/espressif/esp-iot-solution/tree/master/components/i2c_bus -version: 1.4.2 diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/include/i2c_bus.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/include/i2c_bus.h deleted file mode 100644 index 11d7ebf6d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/include/i2c_bus.h +++ /dev/null @@ -1,358 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifndef _I2C_BUS_H_ -#define _I2C_BUS_H_ - -#include "esp_idf_version.h" - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) -#if CONFIG_I2C_BUS_BACKWARD_CONFIG -#include "driver/i2c.h" -#else -#include "driver/i2c_master.h" -#endif -#else -#include "driver/i2c.h" -#endif - -#define NULL_I2C_MEM_ADDR 0xFF /*!< set mem_address to NULL_I2C_MEM_ADDR if i2c device has no internal address during read/write */ -#define NULL_I2C_MEM_16BIT_ADDR 0XFFFF /*!< set 16bit mem_address to NULL_I2C_MEM_16BIT_ADDR if i2c device has no internal address during read/write */ -#define NULL_I2C_DEV_ADDR 0xFF /*!< invalid i2c device address */ -typedef void *i2c_bus_handle_t; /*!< i2c bus handle */ -typedef void *i2c_bus_device_handle_t; /*!< i2c device handle */ - -#ifdef __cplusplus -extern "C" -{ -#endif - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE -typedef enum { - I2C_NUM_SW_0 = I2C_NUM_MAX + 1, -#if CONFIG_I2C_BUS_SOFTWARE_MAX_PORT >= 2 - I2C_NUM_SW_1, -#endif -#if CONFIG_I2C_BUS_SOFTWARE_MAX_PORT >= 3 - I2C_NUM_SW_2, -#endif -#if CONFIG_I2C_BUS_SOFTWARE_MAX_PORT >= 4 - I2C_NUM_SW_3, -#endif -#if CONFIG_I2C_BUS_SOFTWARE_MAX_PORT >= 5 - I2C_NUM_SW_4, -#endif - I2C_NUM_SW_MAX, -} i2c_sw_port_t; -#endif - -#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)) -#define gpio_pad_select_gpio esp_rom_gpio_pad_select_gpio -#define portTICK_RATE_MS portTICK_PERIOD_MS -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) -#if !CONFIG_I2C_BUS_BACKWARD_CONFIG -/** - * @brief I2C initialization parameters - */ -typedef struct { - i2c_mode_t mode; /*!< I2C mode */ - int sda_io_num; /*!< GPIO number for I2C sda signal */ - int scl_io_num; /*!< GPIO number for I2C scl signal */ - bool sda_pullup_en; /*!< Internal GPIO pull mode for I2C sda signal*/ - bool scl_pullup_en; /*!< Internal GPIO pull mode for I2C scl signal*/ - struct { - uint32_t clk_speed; /*!< I2C clock frequency for master mode, (no higher than 1MHz for now) */ - } master; /*!< I2C master config */ - uint32_t clk_flags; /*!< Bitwise of ``I2C_SCLK_SRC_FLAG_**FOR_DFS**`` for clk source choice*/ -} i2c_config_t; -#endif - -typedef void *i2c_cmd_handle_t; /*!< I2C command handle */ -#endif - -/**************************************** Public Functions (Application level)*********************************************/ - -/** - * @brief Create an I2C bus instance then return a handle if created successfully. Each I2C bus works in a singleton mode, - * which means for an i2c port only one group parameter works. When i2c_bus_create is called more than one time for the - * same i2c port, following parameter will override the previous one. - * - * @param port I2C port number. Please note that enabling I2C_BUS_SUPPORT_SOFTWARE in menuconfig allows you to use ports in i2c_sw_port_t to enable software I2C. - * @param conf Pointer to I2C bus configuration - * @return i2c_bus_handle_t Return the I2C bus handle if created successfully, return NULL if failed. - */ -i2c_bus_handle_t i2c_bus_create(i2c_port_t port, const i2c_config_t *conf); - -/** - * @brief Delete and release the I2C bus resource. - * - * @param p_bus_handle Point to the I2C bus handle, if delete succeed handle will set to NULL. - * @return - * - ESP_OK Success - * - ESP_FAIL Fail - */ -esp_err_t i2c_bus_delete(i2c_bus_handle_t *p_bus_handle); - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) -#if !CONFIG_I2C_BUS_BACKWARD_CONFIG -/** - * @brief Get internal idf bus_handle from i2c_bus_handle - * - * @param bus_handle I2C bus handle - * @return i2c_master_bus_handle_t Return the idf bus_handle if obtained successfully, return NULL if failed. - */ -i2c_master_bus_handle_t i2c_bus_get_internal_bus_handle(i2c_bus_handle_t bus_handle); -#endif -#endif - -/** - * @brief Scan i2c devices attached on i2c bus - * - * @param bus_handle I2C bus handle - * @param buf Pointer to a buffer to save devices' address, if NULL no address will be saved. - * @param num Maximum number of addresses to save, invalid if buf set to NULL, - * higher addresses will be discarded if num less-than the total number found on the I2C bus. - * @return uint8_t Total number of devices found on the I2C bus - */ -uint8_t i2c_bus_scan(i2c_bus_handle_t bus_handle, uint8_t *buf, uint8_t num); - -/** - * @brief Get current active clock speed. - * - * @param bus_handle I2C bus handle - * @return uint32_t current clock speed - */ -uint32_t i2c_bus_get_current_clk_speed(i2c_bus_handle_t bus_handle); - -/** - * @brief Get created device number of the bus. - * - * @param bus_handle I2C bus handle - * @return uint8_t created device number of the bus - */ -uint8_t i2c_bus_get_created_device_num(i2c_bus_handle_t bus_handle); - -/** - * @brief Create an I2C device on specific bus. - * Dynamic configuration must be enable to achieve multiple devices with different configs on a single bus. - * menuconfig:Bus Options->I2C Bus Options->enable dynamic configuration - * - * @param bus_handle Point to the I2C bus handle - * @param dev_addr i2c device address - * @param clk_speed device specified clock frequency the i2c_bus will switch to during each transfer. 0 if use current bus speed. - * @return i2c_bus_device_handle_t return a device handle if created successfully, return NULL if failed. - */ -i2c_bus_device_handle_t i2c_bus_device_create(i2c_bus_handle_t bus_handle, uint8_t dev_addr, uint32_t clk_speed); - -/** - * @brief Delete and release the I2C device resource, i2c_bus_device_delete should be used in pairs with i2c_bus_device_create. - * - * @param p_dev_handle Point to the I2C device handle, if delete succeed handle will set to NULL. - * @return - * - ESP_OK Success - * - ESP_FAIL Fail - */ -esp_err_t i2c_bus_device_delete(i2c_bus_device_handle_t *p_dev_handle); - -/** - * @brief Get device's I2C address - * - * @param dev_handle I2C device handle - * @return uint8_t I2C address, return NULL_I2C_DEV_ADDR if dev_handle is invalid. - */ -uint8_t i2c_bus_device_get_address(i2c_bus_device_handle_t dev_handle); - -/** - * @brief Read single byte from i2c device with 8-bit internal register/memory address - * - * @param dev_handle I2C device handle - * @param mem_address The internal reg/mem address to read from, set to NULL_I2C_MEM_ADDR if no internal address. - * @param data Pointer to a buffer to save the data that was read - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_read_byte(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t *data); - -/** - * @brief Read multiple bytes from i2c device with 8-bit internal register/memory address. - * If internal reg/mem address is 16-bit, please refer i2c_bus_read_reg16 - * - * @param dev_handle I2C device handle - * @param mem_address The internal reg/mem address to read from, set to NULL_I2C_MEM_ADDR if no internal address. - * @param data_len Number of bytes to read - * @param data Pointer to a buffer to save the data that was read - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_read_bytes(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, uint8_t *data); - -/** - * @brief Read single bit of a byte from i2c device with 8-bit internal register/memory address - * - * @param dev_handle I2C device handle - * @param mem_address The internal reg/mem address to read from, set to NULL_I2C_MEM_ADDR if no internal address. - * @param bit_num The bit number 0 - 7 to read - * @param data Pointer to a buffer to save the data that was read. *data == 0 -> bit = 0, *data !=0 -> bit = 1. - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_read_bit(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_num, uint8_t *data); - -/** - * @brief Read multiple bits of a byte from i2c device with 8-bit internal register/memory address - * - * @param dev_handle I2C device handle - * @param mem_address The internal reg/mem address to read from, set to NULL_I2C_MEM_ADDR if no internal address. - * @param bit_start The bit to start from, 0 - 7, MSB at 0 - * @param length The number of bits to read, 1 - 8 - * @param data Pointer to a buffer to save the data that was read - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_read_bits(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_start, uint8_t length, uint8_t *data); - -/** - * @brief Write single byte to i2c device with 8-bit internal register/memory address - * - * @param dev_handle I2C device handle - * @param mem_address The internal reg/mem address to write to, set to NULL_I2C_MEM_ADDR if no internal address. - * @param data The byte to write. - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_write_byte(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t data); - -/** - * @brief Write multiple byte to i2c device with 8-bit internal register/memory address - * If internal reg/mem address is 16-bit, please refer i2c_bus_write_reg16 - * - * @param dev_handle I2C device handle - * @param mem_address The internal reg/mem address to write to, set to NULL_I2C_MEM_ADDR if no internal address. - * @param data_len Number of bytes to write - * @param data Pointer to the bytes to write. - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_write_bytes(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, size_t data_len, const uint8_t *data); - -/** - * @brief Write single bit of a byte to an i2c device with 8-bit internal register/memory address - * - * @param dev_handle I2C device handle - * @param mem_address The internal reg/mem address to write to, set to NULL_I2C_MEM_ADDR if no internal address. - * @param bit_num The bit number 0 - 7 to write - * @param data The bit to write, data == 0 means set bit = 0, data !=0 means set bit = 1. - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_write_bit(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_num, uint8_t data); - -/** - * @brief Write multiple bits of a byte to an i2c device with 8-bit internal register/memory address - * - * @param dev_handle I2C device handle - * @param mem_address The internal reg/mem address to write to, set to NULL_I2C_MEM_ADDR if no internal address. - * @param bit_start The bit to start from, 0 - 7, MSB at 0 - * @param length The number of bits to write, 1 - 8 - * @param data The bits to write. - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_write_bits(i2c_bus_device_handle_t dev_handle, uint8_t mem_address, uint8_t bit_start, uint8_t length, uint8_t data); - -/**************************************** Public Functions (Low level)*********************************************/ - -/** - * @brief I2C master send queued commands create by ``i2c_cmd_link_create`` . - * This function will trigger sending all queued commands. - * The task will be blocked until all the commands have been sent out. - * If I2C_BUS_DYNAMIC_CONFIG enable, i2c_bus will dynamically check configs and re-install i2c driver before each transfer, - * hence multiple devices with different configs on a single bus can be supported. - * @note - * Only call this function when ``i2c_bus_read/write_xx`` do not meet the requirements - * - * @param dev_handle I2C device handle - * @param cmd I2C command handler - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_cmd_begin(i2c_bus_device_handle_t dev_handle, i2c_cmd_handle_t cmd); - -/** - * @brief Write date to an i2c device with 16-bit internal reg/mem address - * - * @param dev_handle I2C device handle - * @param mem_address The internal 16-bit reg/mem address to write to, set to NULL_I2C_MEM_ADDR if no internal address. - * @param data_len Number of bytes to write - * @param data Pointer to the bytes to write. - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_write_reg16(i2c_bus_device_handle_t dev_handle, uint16_t mem_address, size_t data_len, const uint8_t *data); - -/** - * @brief Read date from i2c device with 16-bit internal reg/mem address - * - * @param dev_handle I2C device handle - * @param mem_address The internal 16-bit reg/mem address to read from, set to NULL_I2C_MEM_ADDR if no internal address. - * @param data_len Number of bytes to read - * @param data Pointer to a buffer to save the data that was read - * @return esp_err_t - * - ESP_OK Success - * - ESP_ERR_INVALID_ARG Parameter error - * - ESP_FAIL Sending command error, slave doesn't ACK the transfer. - * - ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode. - * - ESP_ERR_TIMEOUT Operation timeout because the bus is busy. - */ -esp_err_t i2c_bus_read_reg16(i2c_bus_device_handle_t dev_handle, uint16_t mem_address, size_t data_len, uint8_t *data); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/license.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/license.txt deleted file mode 100644 index d64569567..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/license.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/private_include/i2c_bus_soft.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/private_include/i2c_bus_soft.h deleted file mode 100644 index 00e2ae1a7..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/private_include/i2c_bus_soft.h +++ /dev/null @@ -1,121 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -#pragma once - -#include "i2c_bus.h" - -struct i2c_master_soft_bus_t { - gpio_num_t scl_io; /*!< SCL GPIO PIN */ - gpio_num_t sda_io; /*!< SDA GPIO PIN */ - uint32_t time_delay_us; /*!< Interval between SCL GPIO toggles in microseconds, determining the SCL frequency */ -}; - -typedef struct i2c_master_soft_bus_t *i2c_master_soft_bus_handle_t; - -/** - * @brief Allocate an I2C master soft bus - * - * @param conf I2C master soft bus configuration - * @param ret_soft_bus_handle I2C soft bus handle - * @return - * - ESP_OK: I2C master soft bus initialized successfully - * - ESP_ERR_INVALID_ARG: I2C soft bus initialization failed because of invalid argument - * - ESP_ERR_NO_MEM: Create I2C soft bus failed because of out of memory - */ -esp_err_t i2c_new_master_soft_bus(const i2c_config_t *conf, i2c_master_soft_bus_handle_t *ret_soft_bus_handle); - -/** - * @brief Delete the I2C master soft bus - * - * @param bus_handle I2C soft bus handle - * @return - * - ESP_OK: Delete I2C soft bus success - * - Otherwise: Some module delete failed - */ -esp_err_t i2c_del_master_soft_bus(i2c_master_soft_bus_handle_t bus_handle); - -/** - * @brief Change I2C soft bus frequency - * - * @param bus_handle I2C soft bus handle - * @param frequency I2C bus frequency - * @return - * - ESP_OK: Change I2C soft bus frequency success - * - ESP_ERR_INVALID_ARG: I2C soft bus change frequency failed because of invalid argument - */ -esp_err_t i2c_master_soft_bus_change_frequency(i2c_master_soft_bus_handle_t bus_handle, uint32_t frequency); - -/** - * @brief Probe I2C address, if address is correct and ACK is received, this function will return ESP_OK - * - * @param bus_handle I2C soft bus handle - * @param address I2C device address that you want to probe - * @return - * - ESP_OK: I2C device probe successfully - * - ESP_ERR_INVALID_ARG: I2C probe failed because of invalid argument - * - ESP_ERR_NOT_FOUND: I2C probe failed, doesn't find the device with specific address you gave - */ -esp_err_t i2c_master_soft_bus_probe(i2c_master_soft_bus_handle_t bus_handle, uint8_t address); - -/** - * @brief Write multiple byte to i2c device with 8-bit internal register/memory address - * - * @param bus_handle I2C soft bus handle - * @param dev_addr I2C device address - * @param mem_address The internal reg/mem address to write to, set to NULL_I2C_MEM_ADDR if no internal address - * @param data_len Number of bytes to write - * @param data Pointer to the bytes to write - * @return - * - ESP_OK: I2C master write success - * - ESP_ERR_INVALID_ARG: I2C master write failed because of invalid argument - * - Otherwise: I2C master write failed - */ -esp_err_t i2c_master_soft_bus_write_reg8(i2c_master_soft_bus_handle_t bus_handle, uint8_t dev_addr, uint8_t mem_address, size_t data_len, const uint8_t *data); - -/** - * @brief Write multiple byte to i2c device with 16-bit internal register/memory address - * - * @param bus_handle I2C soft bus handle - * @param dev_addr I2C device address - * @param mem_address The internal reg/mem address to write to, set to NULL_I2C_MEM_16BIT_ADDR if no internal address - * @param data_len Number of bytes to write - * @param data Pointer to the bytes to write - * @return - * - ESP_OK: I2C master write success - * - ESP_ERR_INVALID_ARG: I2C master write failed because of invalid argument - * - Otherwise: I2C master write failed - */ -esp_err_t i2c_master_soft_bus_write_reg16(i2c_master_soft_bus_handle_t bus_handle, uint8_t dev_addr, uint16_t mem_address, size_t data_len, const uint8_t *data); - -/** - * @brief Read multiple byte to i2c device with 8-bit internal register/memory address - * - * @param bus_handle I2C soft bus handle - * @param dev_addr I2C device address - * @param mem_address The internal reg/mem address to write to, set to NULL_I2C_MEM_ADDR if no internal address - * @param data_len Number of bytes to read - * @param data Pointer to the bytes to read - * @return - * - ESP_OK: I2C master read success - * - ESP_ERR_INVALID_ARG: I2C master read failed because of invalid argument - * - Otherwise: I2C master read failed - */ -esp_err_t i2c_master_soft_bus_read_reg8(i2c_master_soft_bus_handle_t bus_handle, uint8_t dev_addr, uint8_t mem_address, size_t data_len, uint8_t *data); - -/** - * @brief Read multiple byte to i2c device with 16-bit internal register/memory address - * - * @param bus_handle I2C soft bus handle - * @param dev_addr I2C device address - * @param mem_address The internal reg/mem address to write to, set to NULL_I2C_MEM_16BIT_ADDR if no internal address - * @param data_len Number of bytes to read - * @param data Pointer to the bytes to read - * @return - * - ESP_OK: I2C master read success - * - ESP_ERR_INVALID_ARG: I2C master read failed because of invalid argument - * - Otherwise: I2C master read failed - */ -esp_err_t i2c_master_soft_bus_read_reg16(i2c_master_soft_bus_handle_t bus_handle, uint8_t dev_addr, uint16_t mem_address, size_t data_len, uint8_t *data); diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/CMakeLists.txt deleted file mode 100644 index 271523a37..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# The following lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.5) - -set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components" - "../../i2c_bus") - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -project(i2c_bus_test) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/main/CMakeLists.txt deleted file mode 100644 index 2b42ccf19..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRC_DIRS "." - PRIV_INCLUDE_DIRS "." - PRIV_REQUIRES unity i2c_bus test_utils) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/main/test_i2c_bus.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/main/test_i2c_bus.c deleted file mode 100644 index 1f207febb..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/main/test_i2c_bus.c +++ /dev/null @@ -1,595 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include "unity.h" -#include "unity_config.h" -#include "i2c_bus.h" -#include "esp_system.h" -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) -#include "driver/i2c_slave.h" -#include "test_utils.h" -#endif - -#define TEST_MEMORY_LEAK_THRESHOLD (-460) - -static size_t before_free_8bit; -static size_t before_free_32bit; - -#define I2C_MASTER_SCL_IO (gpio_num_t)4 /*!< gpio number for I2C master clock */ -#define I2C_MASTER_SDA_IO (gpio_num_t)5 /*!< gpio number for I2C master data */ - -#define DATA_LENGTH 512 /*!= ESP_IDF_VERSION_VAL(5, 3, 0) && !CONFIG_I2C_BUS_BACKWARD_CONFIG -static QueueHandle_t s_receive_queue; - -static IRAM_ATTR bool test_i2c_rx_done_callback(i2c_slave_dev_handle_t channel, const i2c_slave_rx_done_event_data_t *edata, void *user_data) -{ - BaseType_t high_task_wakeup = pdFALSE; - QueueHandle_t receive_queue = (QueueHandle_t)user_data; - xQueueSendFromISR(receive_queue, edata, &high_task_wakeup); - return high_task_wakeup == pdTRUE; -} -#endif - -void i2c_bus_init_deinit_test() -{ - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c0_bus_1 = i2c_bus_create(I2C_NUM_0, &conf); - TEST_ASSERT(i2c0_bus_1 != NULL); - /** configs not change**/ - i2c0_bus_1 = i2c_bus_create(I2C_NUM_0, &conf); - TEST_ASSERT(i2c0_bus_1 != NULL); - /** configs change**/ - conf.master.clk_speed *= 2; - i2c0_bus_1 = i2c_bus_create(I2C_NUM_0, &conf); - TEST_ASSERT(i2c0_bus_1 != NULL); - vTaskDelay(100 / portTICK_RATE_MS); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c0_bus_1)); - TEST_ASSERT(i2c0_bus_1 == NULL); -} - -void i2c_bus_device_add_test() -{ - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c0_bus_1 = i2c_bus_create(I2C_NUM_0, &conf); - TEST_ASSERT(i2c0_bus_1 != NULL); - i2c_bus_device_handle_t i2c_device1 = i2c_bus_device_create(i2c0_bus_1, 0x01, 400000); - TEST_ASSERT(i2c_device1 != NULL); - i2c_bus_device_handle_t i2c_device2 = i2c_bus_device_create(i2c0_bus_1, 0x01, 100000); - TEST_ASSERT(i2c_device2 != NULL); - i2c_bus_device_delete(&i2c_device1); - TEST_ASSERT(i2c_device1 == NULL); - i2c_bus_device_delete(&i2c_device2); - TEST_ASSERT(i2c_device2 == NULL); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c0_bus_1)); - TEST_ASSERT(i2c0_bus_1 == NULL); -} - -// print the reading buffer -static void disp_buf(uint8_t *buf, int len) -{ - int i; - - for (i = 0; i < len; i++) { - printf("%02x ", buf[i]); - - if ((i + 1) % 16 == 0) { - printf("\n"); - } - } - - printf("\n"); -} - -static void i2c_master_write_test(void) -{ - uint8_t *data_wr = (uint8_t *) malloc(DATA_LENGTH); - int i; - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c0_bus = i2c_bus_create(I2C_MASTER_NUM, &conf); - TEST_ASSERT(i2c0_bus != NULL); - i2c_bus_device_handle_t i2c_device1 = i2c_bus_device_create(i2c0_bus, ESP_SLAVE_ADDR, 0); - TEST_ASSERT(i2c_device1 != NULL); - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) && !CONFIG_I2C_BUS_BACKWARD_CONFIG - unity_wait_for_signal("i2c slave init finish"); - unity_send_signal("master write"); -#endif - - for (i = 0; i < DATA_LENGTH / 2; i++) { - data_wr[i] = i; - } - - i2c_bus_write_bytes(i2c_device1, NULL_I2C_MEM_ADDR, DATA_LENGTH / 2, data_wr); - disp_buf(data_wr, i); - free(data_wr); -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) && !CONFIG_I2C_BUS_BACKWARD_CONFIG - unity_wait_for_signal("ready to delete"); -#endif - i2c_bus_device_delete(&i2c_device1); - TEST_ASSERT(i2c_device1 == NULL); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c0_bus)); - TEST_ASSERT(i2c0_bus == NULL); -} - -static void i2c_slave_read_test(void) -{ - uint8_t *data_rd = (uint8_t *) malloc(DATA_LENGTH); - -#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 3, 0) || CONFIG_I2C_BUS_BACKWARD_CONFIG - int len = 0; - int size_rd = 0; - - i2c_config_t conf_slave = { - .mode = I2C_MODE_SLAVE, - .sda_io_num = I2C_SLAVE_SDA_IO, - .scl_io_num = I2C_SLAVE_SCL_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .slave.addr_10bit_en = 0, - .slave.slave_addr = ESP_SLAVE_ADDR, - }; - - TEST_ESP_OK(i2c_param_config(I2C_SLAVE_NUM, &conf_slave)); - TEST_ESP_OK(i2c_driver_install(I2C_SLAVE_NUM, I2C_MODE_SLAVE, - I2C_SLAVE_RX_BUF_LEN, - I2C_SLAVE_TX_BUF_LEN, 0)); - - while (1) { - len = i2c_slave_read_buffer(I2C_SLAVE_NUM, data_rd + size_rd, DATA_LENGTH, 10000 / portTICK_RATE_MS); - - if (len == 0) { - break; - } - - size_rd += len; - } - - disp_buf(data_rd, size_rd); - - for (int i = 0; i < size_rd; i++) { - TEST_ASSERT(data_rd[i] == i); - } - - free(data_rd); - TEST_ESP_OK(i2c_driver_delete(I2C_SLAVE_NUM)); -#else - i2c_slave_config_t i2c_slv_config = { - .addr_bit_len = I2C_ADDR_BIT_LEN_7, - .clk_source = I2C_CLK_SRC_DEFAULT, - .i2c_port = I2C_SLAVE_NUM, - .send_buf_depth = 256, - .scl_io_num = I2C_SLAVE_SCL_IO, - .sda_io_num = I2C_SLAVE_SDA_IO, - .slave_addr = ESP_SLAVE_ADDR, - }; - i2c_slave_dev_handle_t slave_handle; - TEST_ESP_OK(i2c_new_slave_device(&i2c_slv_config, &slave_handle)); - - s_receive_queue = xQueueCreate(1, sizeof(i2c_slave_rx_done_event_data_t)); - i2c_slave_event_callbacks_t cbs = { - .on_recv_done = test_i2c_rx_done_callback, - }; - ESP_ERROR_CHECK(i2c_slave_register_event_callbacks(slave_handle, &cbs, s_receive_queue)); - i2c_slave_rx_done_event_data_t rx_data; - TEST_ESP_OK(i2c_slave_receive(slave_handle, data_rd, DATA_LENGTH / 2)); - unity_send_signal("i2c slave init finish"); - unity_wait_for_signal("master write"); - xQueueReceive(s_receive_queue, &rx_data, pdMS_TO_TICKS(1000)); - disp_buf(data_rd, DATA_LENGTH / 2); - for (int i = 0; i < DATA_LENGTH / 2; i++) { - TEST_ASSERT(data_rd[i] == i); - } - vQueueDelete(s_receive_queue); - unity_send_signal("ready to delete"); - free(data_rd); - TEST_ESP_OK(i2c_del_slave_device(slave_handle)); -#endif -} - -TEST_CASE_MULTIPLE_DEVICES("I2C master write slave test", "[i2c_bus]", i2c_master_write_test, i2c_slave_read_test); - -static void master_read_slave_test(void) -{ - uint8_t *data_rd = (uint8_t *) malloc(DATA_LENGTH); - memset(data_rd, 0, DATA_LENGTH); - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - - i2c_bus_handle_t i2c0_bus = i2c_bus_create(I2C_MASTER_NUM, &conf); - TEST_ASSERT(i2c0_bus != NULL); - i2c_bus_device_handle_t i2c_device1 = i2c_bus_device_create(i2c0_bus, ESP_SLAVE_ADDR, 0); - TEST_ASSERT(i2c_device1 != NULL); - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) && !CONFIG_I2C_BUS_BACKWARD_CONFIG - unity_send_signal("i2c master init finish"); - unity_wait_for_signal("slave write"); -#endif - - i2c_bus_read_bytes(i2c_device1, NULL_I2C_MEM_ADDR, RW_TEST_LENGTH, data_rd); - vTaskDelay(100 / portTICK_RATE_MS); - - disp_buf(data_rd, RW_TEST_LENGTH); -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) && !CONFIG_I2C_BUS_BACKWARD_CONFIG - unity_send_signal("ready to delete"); -#endif - i2c_bus_device_delete(&i2c_device1); - TEST_ASSERT(i2c_device1 == NULL); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c0_bus)); - TEST_ASSERT(i2c0_bus == NULL); - free(data_rd); -} - -static void slave_write_buffer_test(void) -{ - uint8_t *data_wr = (uint8_t *) malloc(RW_TEST_LENGTH); - -#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 3, 0) || CONFIG_I2C_BUS_BACKWARD_CONFIG - i2c_config_t conf_slave = { - .mode = I2C_MODE_SLAVE, - .sda_io_num = I2C_SLAVE_SDA_IO, - .scl_io_num = I2C_SLAVE_SCL_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .slave.addr_10bit_en = 0, - .slave.slave_addr = ESP_SLAVE_ADDR, - }; - - TEST_ESP_OK(i2c_param_config(I2C_SLAVE_NUM, &conf_slave)); - TEST_ESP_OK(i2c_driver_install(I2C_SLAVE_NUM, I2C_MODE_SLAVE, - I2C_SLAVE_RX_BUF_LEN, - I2C_SLAVE_TX_BUF_LEN, 0)); - - for (int i = 0; i < RW_TEST_LENGTH; i++) { - data_wr[i] = i; - } - - i2c_slave_write_buffer(I2C_SLAVE_NUM, data_wr, RW_TEST_LENGTH, 2000 / portTICK_RATE_MS); -#else - i2c_slave_config_t i2c_slv_config = { - .addr_bit_len = I2C_ADDR_BIT_LEN_7, - .clk_source = I2C_CLK_SRC_DEFAULT, - .i2c_port = I2C_SLAVE_NUM, - .send_buf_depth = 256, - .scl_io_num = I2C_SLAVE_SCL_IO, - .sda_io_num = I2C_SLAVE_SDA_IO, - .slave_addr = ESP_SLAVE_ADDR, - }; - i2c_slave_dev_handle_t slave_handle; - TEST_ESP_OK(i2c_new_slave_device(&i2c_slv_config, &slave_handle)); - - for (int i = 0; i < RW_TEST_LENGTH; i++) { - data_wr[i] = i; - } - - unity_wait_for_signal("i2c master init finish"); - unity_send_signal("slave write"); - - i2c_slave_transmit(slave_handle, data_wr, RW_TEST_LENGTH, 100 / portTICK_PERIOD_MS); -#endif - - disp_buf(data_wr, RW_TEST_LENGTH); - free(data_wr); - -#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 3, 0) || CONFIG_I2C_BUS_BACKWARD_CONFIG - i2c_driver_delete(I2C_SLAVE_NUM); -#else - unity_wait_for_signal("ready to delete"); - TEST_ESP_OK(i2c_del_slave_device(slave_handle)); -#endif -} - -TEST_CASE_MULTIPLE_DEVICES("I2C master read slave test", "[i2c_bus]", master_read_slave_test, slave_write_buffer_test); - -TEST_CASE("I2C master write under different frequency test", "[i2c_bus]") -{ - uint8_t *data_wr = (uint8_t *) malloc(RW_TEST_LENGTH); - for (int i = 0; i < RW_TEST_LENGTH; i++) { - data_wr[i] = i; - } - - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c_bus = i2c_bus_create(I2C_NUM_0, &conf); - TEST_ASSERT(i2c_bus != NULL); - i2c_bus_device_handle_t i2c_device1 = i2c_bus_device_create(i2c_bus, 0x01, I2C_MASTER_FREQ_HZ); - TEST_ASSERT(i2c_device1 != NULL); - i2c_bus_write_bytes(i2c_device1, NULL_I2C_MEM_ADDR, RW_TEST_LENGTH, data_wr); - vTaskDelay(300 / portTICK_RATE_MS); - - conf.master.clk_speed = 40 * 100; - i2c_bus = i2c_bus_create(I2C_NUM_0, &conf); - i2c_bus_device_handle_t i2c_device2 = i2c_bus_device_create(i2c_bus, 0x02, 40 * 100); - TEST_ASSERT(i2c_device2 != NULL); - i2c_bus_write_bytes(i2c_device2, NULL_I2C_MEM_ADDR, RW_TEST_LENGTH, data_wr); - i2c_bus_device_delete(&i2c_device1); - TEST_ASSERT(i2c_device1 == NULL); - i2c_bus_device_delete(&i2c_device2); - TEST_ASSERT(i2c_device2 == NULL); - free(data_wr); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c_bus)); - TEST_ASSERT(i2c_bus == NULL); -} - -TEST_CASE("i2c bus init-deinit test", "[bus][i2c_bus]") -{ - i2c_bus_init_deinit_test(); - i2c_bus_device_add_test(); -} - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) && !CONFIG_I2C_BUS_BACKWARD_CONFIG -TEST_CASE("I2C bus uses external bus handle test", "[bus][i2c_bus]") -{ - uint8_t *data_wr = (uint8_t *) malloc(RW_TEST_LENGTH); - for (int i = 0; i < RW_TEST_LENGTH; i++) { - data_wr[i] = i; - } - - i2c_master_bus_config_t i2c_mst_config = { - .clk_source = I2C_CLK_SRC_DEFAULT, - .i2c_port = I2C_MASTER_NUM, - .scl_io_num = I2C_MASTER_SCL_IO, - .sda_io_num = I2C_MASTER_SDA_IO, - .flags.enable_internal_pullup = true, - }; - i2c_master_bus_handle_t bus_handle; - - TEST_ESP_OK(i2c_new_master_bus(&i2c_mst_config, &bus_handle)); - - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - - i2c_bus_handle_t i2c_bus = i2c_bus_create(I2C_MASTER_NUM, &conf); - - i2c_bus_device_handle_t i2c_device1 = i2c_bus_device_create(i2c_bus, 0x01, 400000); - TEST_ASSERT(i2c_device1 != NULL); - i2c_bus_write_bytes(i2c_device1, NULL_I2C_MEM_ADDR, RW_TEST_LENGTH, data_wr); - i2c_bus_device_delete(&i2c_device1); - free(data_wr); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c_bus)); - TEST_ASSERT(i2c_bus == NULL); -} -#endif - -TEST_CASE("I2C bus scan test", "[i2c_bus][scan]") -{ - uint8_t addrs[I2C_SCAN_ADDR_NUM] = {0}; - - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c_bus = i2c_bus_create(I2C_MASTER_NUM, &conf); - i2c_bus_scan(i2c_bus, addrs, I2C_SCAN_ADDR_NUM); - - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c_bus)); - TEST_ASSERT(i2c_bus == NULL); -} - -TEST_CASE("I2C bus register address restriction test", "[i2c_bus][NULL_I2C_MEM_ADDR]") -{ - uint8_t *data_wr = (uint8_t *) malloc(RW_TEST_LENGTH); - for (int i = 0; i < RW_TEST_LENGTH; i++) { - data_wr[i] = i; - } - - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c_bus = i2c_bus_create(I2C_NUM_0, &conf); - TEST_ASSERT(i2c_bus != NULL); - i2c_bus_device_handle_t i2c_device1 = i2c_bus_device_create(i2c_bus, 0x01, I2C_MASTER_FREQ_HZ); - TEST_ASSERT(i2c_device1 != NULL); - i2c_bus_write_bytes(i2c_device1, NULL_I2C_MEM_ADDR, RW_TEST_LENGTH, data_wr); - i2c_bus_device_delete(&i2c_device1); - TEST_ASSERT(i2c_device1 == NULL); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c_bus)); - free(data_wr); - TEST_ASSERT(i2c_bus == NULL); -} - -#if CONFIG_I2C_BUS_SUPPORT_SOFTWARE - -TEST_CASE("I2C soft bus init-deinit test", "[soft][bus][i2c_bus]") -{ - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c0_bus_1 = i2c_bus_create(I2C_NUM_SW_1, &conf); - TEST_ASSERT(i2c0_bus_1 != NULL); - /** configs not change**/ - i2c0_bus_1 = i2c_bus_create(I2C_NUM_SW_1, &conf); - TEST_ASSERT(i2c0_bus_1 != NULL); - /** configs change**/ - conf.master.clk_speed *= 2; - i2c0_bus_1 = i2c_bus_create(I2C_NUM_SW_0, &conf); - TEST_ASSERT(i2c0_bus_1 != NULL); - vTaskDelay(100 / portTICK_RATE_MS); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c0_bus_1)); - TEST_ASSERT(i2c0_bus_1 == NULL); -} - -TEST_CASE("I2C soft bus device add test", "[soft][bus][device][i2c_bus]") -{ - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c0_bus_1 = i2c_bus_create(I2C_NUM_SW_0, &conf); - TEST_ASSERT(i2c0_bus_1 != NULL); - i2c_bus_device_handle_t i2c_device1 = i2c_bus_device_create(i2c0_bus_1, 0x01, 400000); - TEST_ASSERT(i2c_device1 != NULL); - i2c_bus_device_handle_t i2c_device2 = i2c_bus_device_create(i2c0_bus_1, 0x01, 100000); - TEST_ASSERT(i2c_device2 != NULL); - i2c_bus_device_delete(&i2c_device1); - TEST_ASSERT(i2c_device1 == NULL); - i2c_bus_device_delete(&i2c_device2); - TEST_ASSERT(i2c_device2 == NULL); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c0_bus_1)); - TEST_ASSERT(i2c0_bus_1 == NULL); -} - -TEST_CASE("I2C soft bus scan test", "[soft][i2c_bus][scan]") -{ - uint8_t addrs[I2C_SCAN_ADDR_NUM] = {0}; - - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c_bus = i2c_bus_create(I2C_NUM_SW_0, &conf); - i2c_bus_scan(i2c_bus, addrs, I2C_SCAN_ADDR_NUM); - - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c_bus)); - TEST_ASSERT(i2c_bus == NULL); -} - -TEST_CASE("I2C soft bus write under different frequency test", "[soft][i2c_bus]") -{ - uint8_t *data_wr = (uint8_t *) malloc(RW_TEST_LENGTH); - for (int i = 0; i < RW_TEST_LENGTH; i++) { - data_wr[i] = i; - } - - i2c_config_t conf = { - .mode = I2C_MODE_MASTER, - .sda_io_num = I2C_MASTER_SDA_IO, - .sda_pullup_en = GPIO_PULLUP_ENABLE, - .scl_io_num = I2C_MASTER_SCL_IO, - .scl_pullup_en = GPIO_PULLUP_ENABLE, - .master.clk_speed = I2C_MASTER_FREQ_HZ, - }; - i2c_bus_handle_t i2c_bus = i2c_bus_create(I2C_NUM_SW_0, &conf); - TEST_ASSERT(i2c_bus != NULL); - i2c_bus_device_handle_t i2c_device1 = i2c_bus_device_create(i2c_bus, 0x01, I2C_MASTER_FREQ_HZ); - TEST_ASSERT(i2c_device1 != NULL); - i2c_bus_write_bytes(i2c_device1, NULL_I2C_MEM_ADDR, RW_TEST_LENGTH, data_wr); - vTaskDelay(300 / portTICK_RATE_MS); - - i2c_bus_device_handle_t i2c_device2 = i2c_bus_device_create(i2c_bus, 0x02, 40 * 100); - TEST_ASSERT(i2c_device2 != NULL); - i2c_bus_write_bytes(i2c_device2, NULL_I2C_MEM_ADDR, RW_TEST_LENGTH, data_wr); - i2c_bus_device_delete(&i2c_device1); - TEST_ASSERT(i2c_device1 == NULL); - i2c_bus_device_delete(&i2c_device2); - TEST_ASSERT(i2c_device2 == NULL); - free(data_wr); - TEST_ASSERT(ESP_OK == i2c_bus_delete(&i2c_bus)); - TEST_ASSERT(i2c_bus == NULL); -} - -#endif - -static void check_leak(size_t before_free, size_t after_free, const char *type) -{ - ssize_t delta = after_free - before_free; - printf("MALLOC_CAP_%s: Before %u bytes free, After %u bytes free (delta %d)\n", type, before_free, after_free, delta); - TEST_ASSERT_MESSAGE(delta >= TEST_MEMORY_LEAK_THRESHOLD, "memory leak"); -} - -void setUp(void) -{ - before_free_8bit = heap_caps_get_free_size(MALLOC_CAP_8BIT); - before_free_32bit = heap_caps_get_free_size(MALLOC_CAP_32BIT); -} - -void tearDown(void) -{ - size_t after_free_8bit = heap_caps_get_free_size(MALLOC_CAP_8BIT); - size_t after_free_32bit = heap_caps_get_free_size(MALLOC_CAP_32BIT); - check_leak(before_free_8bit, after_free_8bit, "8BIT"); - check_leak(before_free_32bit, after_free_32bit, "32BIT"); -} - -void app_main(void) -{ -#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 3, 0) || CONFIG_I2C_BUS_BACKWARD_CONFIG - printf("I2C BUS TEST \n"); -#else - printf("I2C BUS V2 TEST \n"); -#endif - unity_run_menu(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/pytest_i2c_bus.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/pytest_i2c_bus.py deleted file mode 100644 index d623dcf1b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/pytest_i2c_bus.py +++ /dev/null @@ -1,30 +0,0 @@ -# SPDX-FileCopyrightText: 2024Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Apache-2.0 - -''' -Steps to run these cases: -- Build - - . ${IDF_PATH}/export.sh - - pip install idf_build_apps - - python tools/build_apps.py components/sensors/i2c_bus/test_apps -t esp32 -- Test - - pip install -r tools/requirements/requirement.pytest.txt - - pytest components/sensors/i2c_bus/test_apps --target esp32 -''' - -import pytest -from pytest_embedded import Dut - -@pytest.mark.target('esp32') -@pytest.mark.target('esp32c3') -@pytest.mark.target('esp32c6') -@pytest.mark.target('esp32s3') -@pytest.mark.env('generic') -@pytest.mark.parametrize( - 'config', - [ - 'defaults', - ], -) -def test_i2c_bus(dut: Dut)-> None: - dut.run_all_single_board_cases() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/sdkconfig.defaults deleted file mode 100644 index f61533c30..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__i2c_bus/test_apps/sdkconfig.defaults +++ /dev/null @@ -1,10 +0,0 @@ -# For IDF 5.0 -CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y -CONFIG_FREERTOS_HZ=1000 -CONFIG_ESP_TASK_WDT_EN=n -CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 - -# For IDF4.4 -CONFIG_ESP32S2_DEFAULT_CPU_FREQ_240=y -CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y -CONFIG_ESP_TASK_WDT=n diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.build-test-rules.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.build-test-rules.yml deleted file mode 100644 index a1929adca..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.build-test-rules.yml +++ /dev/null @@ -1,106 +0,0 @@ -# ESP-MQTT Build Test Rules -# Consolidated manifest covering all examples and test apps - -.default_rules: &default_rules - disable: - - if: IDF_TARGET in ["esp32h21", "esp32h4"] - temporary: true - reason: not supported yet - - if: IDF_TARGET in ["esp32p4", "esp32h2"] and IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR == 3 - temporary: true - reason: esp32p4/esp32h2 example dependencies require IDF versions other than 5.3 - disable_test: - - if: IDF_TARGET not in ["esp32"] - reason: Tests run only on ESP32 with ethernet runners - -# Basic TCP MQTT example -examples/tcp: - <<: *default_rules - -# SSL/TLS MQTT example -examples/ssl: - <<: *default_rules - disable_test: - - if: IDF_TARGET == IDF_TARGET - reason: CN verification enabled, tests disabled during server migration - -# WebSocket MQTT example -examples/ws: - <<: *default_rules - -# WebSocket Secure MQTT example -examples/wss: - <<: *default_rules - disable_test: - - if: IDF_TARGET == IDF_TARGET - reason: CN verification enabled, tests disabled during server migration - -# MQTT 5.0 protocol example -examples/mqtt5: - <<: *default_rules - -# SSL with mutual authentication -examples/ssl_mutual_auth: - <<: *default_rules - disable_test: - - if: IDF_TARGET == IDF_TARGET - reason: Advanced feature demonstration, only build - -# SSL with pre-shared keys -examples/ssl_psk: - <<: *default_rules - disable_test: - - if: IDF_TARGET == IDF_TARGET - reason: Advanced feature demonstration, only build - -# SSL with Digital Signature peripheral -examples/ssl_ds: - <<: *default_rules - disable: - - if: SOC_DIG_SIGN_SUPPORTED != 1 - reason: DS not present - disable_test: - - if: IDF_TARGET == IDF_TARGET - reason: Advanced feature demonstration, only build - -# Custom outbox implementation example -examples/custom_outbox: - <<: *default_rules - disable_test: - - if: IDF_TARGET == IDF_TARGET - reason: Advanced feature demonstration, only build - -test/apps: - disable: - - if: IDF_TARGET not in ["esp32"] - reason: Test apps build only for esp32 - disable_test: - - if: IDF_TARGET != "esp32" - temporary: false - reason: Only esp32 target has ethernet runners for integration tests - -# C++ compatibility build test -test/apps/build_test: - enable: - - if: IDF_TARGET in ["esp32", "esp32c3"] - reason: C++ compatibility build test - disable_test: - - if: IDF_TARGET != IDF_TARGET - temporary: false - reason: Build only test - -# Publish/Connect integration test -test/apps/publish_connect_test: - enable: - - if: IDF_TARGET in ["esp32"] - reason: Integration test for publish/connect functionality - disable_test: - - if: IDF_TARGET != "esp32" - temporary: false - reason: Only esp32 target has ethernet runners for integration tests - -# Host tests (unit tests with mocks) -test/host: - enable: - - if: IDF_TARGET in ["linux"] - reason: Host-based unit tests with mocked ESP-IDF components diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.component_hash b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.component_hash deleted file mode 100644 index 81dacc210..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.component_hash +++ /dev/null @@ -1 +0,0 @@ -ffdad5659706b4dc14bc63f8eb73ef765efa015bf7e9adf71c813d52a2dc9342 \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.editorconfig b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.editorconfig deleted file mode 100644 index 15977c64e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.editorconfig +++ /dev/null @@ -1,34 +0,0 @@ -# EditorConfig helps developers define and maintain consistent -# coding styles between different editors and IDEs -# http://editorconfig.org - -root = true - -[*] -indent_style = space -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[{*.md,*.rst}] -trim_trailing_whitespace = false - -[{Makefile,*.mk,*.bat}] -indent_style = tab -indent_size = 2 - -[*/freertos/**] -indent_style = tab -indent_size = 4 - -[{*/freertos/**.S,**/FreeRTOSConfig.h}] -indent_style = space -indent_size = 4 - -[*.pem] -insert_final_newline = false - -[*.py] -max_line_length = 119 diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitignore b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitignore deleted file mode 100644 index 119e9fa75..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitignore +++ /dev/null @@ -1,112 +0,0 @@ -# Object files -*.o -*.ko -*.obj -*.elf - -# Precompiled Headers -*.gch -*.pch - -# Libraries -*.lib -*.a -*.la -*.lo - -# Shared objects (inc. Windows DLLs) -*.dll -*.so -*.so.* -*.dylib - -# Executables -*.exe -*.out -*.app -*.i*86 -*.x86_64 -*.hex - -# Debug files -*.dSYM/ -*.su - -# ESP-IDF Build System -build/ -sdkconfig -sdkconfig.old -dependencies.lock -managed_components/ - -# ESP-IDF build directories (but not source directories like build_test) -**/build/ -**/build_esp32*/ -**/build_esp32c*/ -**/build_esp32s*/ -**/build_esp32h*/ -**/build_esp32p*/ -**/build_linux*/ - -# Examples and test app builds -examples/**/build/ -examples/**/build_esp32*/ -examples/**/build_esp32c*/ -examples/**/build_esp32s*/ -examples/**/build_esp32h*/ -examples/**/build_esp32p*/ -examples/**/sdkconfig -examples/**/sdkconfig.old -examples/**/dependencies.lock -examples/**/managed_components/ - -# Test application builds (specific build directories, not source) -test/apps/**/build/ -test/apps/**/build_esp32*/ -test/apps/**/build_esp32c*/ -test/apps/**/build_esp32s*/ -test/apps/**/build_esp32h*/ -test/apps/**/build_esp32p*/ -test/apps/**/sdkconfig -test/apps/**/sdkconfig.old -test/apps/**/dependencies.lock -test/apps/**/managed_components/ - -# Host test builds -test/host/build/ -test/host/sdkconfig -test/host/sdkconfig.old -test/host/dependencies.lock -test/host/managed_components/ - -# idf-ci generated files -app_info_*.txt -size_info_*.txt -compile_commands.json -*.log - -# Python cache and environments -__pycache__/ -*.pyc -*.pyo -.venv/ -.cache/ - -# Coverage and test results -**/coverage.xml -**/coverage.html -**/junit.xml -**/pytest_*.xml -**/test_results_*.xml - -# Documentation builds -docs/_build/ -docs/build/ - -# Distribution/packaging -dist/ -build/ -*.egg-info/ - -# CI/CD artifacts -build_child_pipeline.yml diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/build.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/build.yml deleted file mode 100644 index 84e536a17..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/build.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Note: No need to run build and test on master branch since we use FastForward merge strategy and so each merge request -# is tested and then merged onto top of master branch. - -.build_template: - stage: build - tags: - - build - - internet - script: - - pip install -U 'idf-ci<1' - - idf-ci build run - -build_idf_v5.3: - extends: .build_template - image: espressif/idf:release-v5.3 - -build_idf_v5.4: - extends: .build_template - image: espressif/idf:release-v5.4 - -build_idf_v5.5: - extends: .build_template - image: espressif/idf:release-v5.5 - -build_idf_latest: - extends: .build_template - image: espressif/idf:latest diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/deploy.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/deploy.yml deleted file mode 100644 index 38920d139..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/deploy.yml +++ /dev/null @@ -1,29 +0,0 @@ -push_master_to_github: - stage: deploy - image: ${CI_DOCKER_REGISTRY}/esp32-ci-env - tags: - - build - only: - refs: - - master - - idf - when: on_success - variables: - GIT_STRATEGY: clone - script: - - source ${CI_PROJECT_DIR}/.gitlab/ci/utils.sh - - add_github_remote "$GH_PUSH_KEY" "$GH_PUSH_REPO" - - git push github HEAD:${CI_COMMIT_REF_NAME} - -upload_to_component_manager: - stage: deploy - image: python:3.10-alpine - tags: - - deploy - rules: - - if: '$CI_COMMIT_BRANCH == "master"' - script: - - pip install idf-component-manager - - export IDF_COMPONENT_API_TOKEN=${MQTT_COMPONENT_API_KEY} - - export COMP_VERSION=$(grep 'version:' idf_component.yml | head -n 1 | awk '{print $2}' | tr -d '"') - - compote component upload --namespace=espressif --name=mqtt --allow-existing --version=${COMP_VERSION} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/docs.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/docs.yml deleted file mode 100644 index 5402d094e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/docs.yml +++ /dev/null @@ -1,82 +0,0 @@ -variables: - # System environment - ESP_DOCS_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-doc-env-v5.4:1-1" - ESP_DOCS_PATH: "$CI_PROJECT_DIR" - -docs_build: - stage: build - image: $ESP_DOCS_ENV_IMAGE - tags: - - build_docs - variables: - # Set Python buffering for better CI output - PYTHONUNBUFFERED: 1 - TYPE: "preview" - DOCS_BUILD_DIR: "${CI_PROJECT_DIR}/docs/_build/" - artifacts: - when: always - paths: - - docs/_build/*/*/*.txt - - docs/_build/*/*/html/* - expire_in: 4 days - before_script: - # Install ESP-IDF documentation build tool - - pip install -U pip - - pip install esp-docs linuxdoc - script: - - cd docs - - build-docs -t esp32 -l en - -.deploy_docs_template: - image: $ESP_DOCS_ENV_IMAGE - variables: - DOCS_BUILD_DIR: "${CI_PROJECT_DIR}/docs/_build/" - PYTHONUNBUFFERED: 1 - # ensure all tags are fetched, need to know the latest/stable tag for the docs - GIT_STRATEGY: clone - GIT_DEPTH: 0 - stage: test_deploy - tags: - - brew - - amd64 - script: - - source ${CI_PROJECT_DIR}/.gitlab/ci/utils.sh - # ensure all tags are fetched, need to know the latest/stable tag for the docs - - add_doc_server_ssh_keys $DOCS_DEPLOY_PRIVATEKEY $DOCS_DEPLOY_SERVER $DOCS_DEPLOY_SERVER_USER - - export GIT_VER=$(git describe --always ${PIPELINE_COMMIT_SHA} --) - - pip install esp-docs - - deploy-docs - -deploy_docs_preview: - extends: - - .deploy_docs_template - except: - refs: - - master - needs: - - docs_build - variables: - TYPE: "preview" - DOCS_BUILD_DIR: "${CI_PROJECT_DIR}/docs/_build/" - DOCS_DEPLOY_PRIVATEKEY: "$DOCS_PREVIEW_PRIVATEKEY" - DOCS_DEPLOY_SERVER: "$DOCS_PREVIEW_SERVER" - DOCS_DEPLOY_SERVER_USER: "$DOCS_PREVIEW_SERVER_USER" - DOCS_DEPLOY_PATH: "$DOCS_PREVIEW_PATH" - DOCS_DEPLOY_URL_BASE: "$DOCS_PREVIEW_URL_BASE" - -deploy_docs_prod: - extends: - - .deploy_docs_template - stage: deploy - only: - refs: - - master - needs: - - docs_build - variables: - TYPE: "production" - DOCS_DEPLOY_PRIVATEKEY: "$DOCS_PROD_PRIVATEKEY" - DOCS_DEPLOY_SERVER: "$DOCS_PROD_SERVER" - DOCS_DEPLOY_SERVER_USER: "$DOCS_PROD_SERVER_USER" - DOCS_DEPLOY_PATH: "$DOCS_PROD_PATH" - DOCS_DEPLOY_URL_BASE: "$DOCS_PROD_URL_BASE" diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/ignore_build_warnings.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/ignore_build_warnings.txt deleted file mode 100644 index 302920da0..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/ignore_build_warnings.txt +++ /dev/null @@ -1,5 +0,0 @@ -Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead. -Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. -Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead. -Warning: Deprecated: Command 'sign_data' is deprecated. Use 'sign-data' instead. -Warning: Deprecated: Command 'extract_public_key' is deprecated. Use 'extract-public-key' instead. diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/test.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/test.yml deleted file mode 100644 index 86725ab46..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/test.yml +++ /dev/null @@ -1,50 +0,0 @@ -.add_gh_key_remote: &add_gh_key_remote | - curl -sSL ${CIT_LOADER_URL} | sh - source citools/import_functions - cit_add_ssh_key "${GH_PUSH_KEY}" - git remote remove github || true - git remote add github ${GH_PUSH_REPO} - -host_tests: - image: espressif/idf:latest - stage: test - tags: [build] - timeout: 1h - variables: - GIT_DEPTH: 1 - needs: [] - artifacts: - paths: - - "**/coverage.xml" - - "**/coverage.html" - expire_in: 1 week - when: always - reports: - junit: "**/junit.xml" - coverage_report: - coverage_format: cobertura - path: "**/coverage.xml" - before_script: - - pip install -U gcovr 'idf-ci<1' - script: - - idf-ci build run -t linux -p test/host - - cd test/host - - ./build_linux_coverage/host_mqtt_client_test.elf -r junit -o junit.xml - - cd ../.. - - gcovr --gcov-ignore-parse-errors -g -k -r . --html coverage.html -x coverage.xml - -check_remotes_sync: - stage: test_deploy - image: espressif/idf:latest - tags: - - build - - internet - needs: [] - except: - - master - - idf - script: - - *add_gh_key_remote - - git fetch --depth=1 origin master - - git fetch --depth=1 github master - - test "$(git rev-parse origin/master)" == "$(git rev-parse github/master)" diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/utils.sh b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/utils.sh deleted file mode 100644 index 2676b0918..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.gitlab/ci/utils.sh +++ /dev/null @@ -1,26 +0,0 @@ -function add_ssh_keys() { - local key_string="${1}" - mkdir -p ~/.ssh - chmod 700 ~/.ssh - echo -n "${key_string}" >~/.ssh/id_rsa_base64 - base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 >~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa -} -function add_doc_server_ssh_keys() { - local key_string="${1}" - local server_url="${2}" - local server_user="${3}" - add_ssh_keys "${key_string}" - echo -e "Host ${server_url}\n\tStrictHostKeyChecking no\n\tUser ${server_user}\n" >>~/.ssh/config -} - -function add_github_remote() { - local key_string="${1}" - local remote_url="${2}" - add_ssh_keys "${key_string}" - if ! grep -q "Host github.com" ~/.ssh/config 2>/dev/null; then - printf "Host github.com\n\tStrictHostKeyChecking no\n" >>~/.ssh/config - fi - git remote remove github || true - git remote add github "${remote_url}" -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.idf_build_apps.toml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.idf_build_apps.toml deleted file mode 100644 index 3117396e3..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.idf_build_apps.toml +++ /dev/null @@ -1,18 +0,0 @@ -# check the latest documentation at -# https://docs.espressif.com/projects/idf-build-apps/en/latest/references/config_file.html - -config_rules = ['sdkconfig.ci=default', 'sdkconfig.ci.*=', '=default'] - -recursive = true -check_warnings = true -keep_going = true - -build_dir = "build_@t_@w" -build_log_filename = "build.log" -size_json_filename = "size.json" - -collect_app_info_filename = "app_info_@p.txt" - -check_manifest_rules = true -manifest_filepatterns = ['**/.build-test-rules.yml'] -ignore_warning_files = ['.gitlab/ci/ignore_build_warnings.txt'] diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.idf_ci.toml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.idf_ci.toml deleted file mode 100644 index 993c081e2..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.idf_ci.toml +++ /dev/null @@ -1,21 +0,0 @@ -# ESP-MQTT idf-ci Configuration -[gitlab.artifacts] -build_job_filepatterns = [ - "**/build*/partition_table/*.bin", - "**/build*/bootloader/*.bin", - "**/build*/bootloader/*.map", - "**/build*/bootloader/*.elf", - "**/build*/config/sdkconfig.json", - "**/build*/*.map", - "**/build*/*.bin", - "**/build*/*.elf", - "**/build*/flasher_args.json", -] - -test_job_filepatterns = [ - "**/test_logs", - "**/XUNIT_RESULT_*.xml", -] - -[gitlab.build_pipeline] -runs_per_job = 15 diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.travis.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.travis.yml deleted file mode 100644 index 4affec10d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/.travis.yml +++ /dev/null @@ -1,65 +0,0 @@ -sudo: false -language: bash -os: - - linux - -addons: - apt: - packages: - - gperf - - python - - python-serial - -before_install: - # Save path to the git respository - - PROJECT_PATH=$(pwd) - # Have to checkout a temp branch for later in tree reference - - git checkout -b temporary_ref_branch - - CI_COMMIT_SHA=$(git rev-parse HEAD) - # Test building with latest (stable == v3.3 for now) IDF - - LTS_IDF=release/v3.3 - -install: - # Install ESP32 toochain following steps as desribed - # in http://esp-idf.readthedocs.io/en/latest/linux-setup.html - # - # Get required packages - already done above, see addons: apt: packages: - # - sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial - # Prepare directory for the toolchain - - mkdir -p ~/esp - - cd ~/esp - # Download binary toolchain for the ESP32 - - wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz - - tar -xzf xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz - # Get ESP-IDF from github (non-recursive to save time, later we update submodules for different versions) - - git clone https://github.com/espressif/esp-idf.git - # Set the path to ESP-IDF directory - - export IDF_PATH=~/esp/esp-idf - - python -m pip install --user -r $IDF_PATH/requirements.txt - # Setup build tool: xtensa-esp32-elf and idf.py - - export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin:$IDF_PATH/tools - -script: - # Legacy build with IDF < 3.2 - - cd $IDF_PATH - - git checkout v3.1 && git submodule update --init --recursive - - cd $PROJECT_PATH - - ./ci/modify_for_legacy_idf.sh ${LTS_IDF} || true - - cd $PROJECT_PATH/examples/tcp - - make defconfig - - make -j4 - # Build with v3.3 (LTS) IDF - - cd $IDF_PATH - - git checkout ${LTS_IDF} && git submodule update --init --recursive - - cd $IDF_PATH/components/mqtt/esp-mqtt - - git remote add local $PROJECT_PATH/.git - - git fetch local - - git reset --hard $CI_COMMIT_SHA - - cd $IDF_PATH/examples/protocols/mqtt/tcp - - idf.py build - - cd $IDF_PATH/examples/protocols/mqtt/ssl - - idf.py build - - cd $IDF_PATH/examples/protocols/mqtt/ws - - idf.py build - - cd $IDF_PATH/examples/protocols/mqtt/wss - - idf.py build \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/CHECKSUMS.json b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/CHECKSUMS.json deleted file mode 100644 index 00493c9b3..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/CHECKSUMS.json +++ /dev/null @@ -1 +0,0 @@ -{"version":"1.0","algorithm":"sha256","created_at":"2025-09-17T12:32:25.834794+00:00","files":[{"path":".build-test-rules.yml","size":3148,"hash":"5d65aecb48c2d6945a9d84b6ef63dab95687248ba0d5c96cde4264304da32790"},{"path":".editorconfig","size":595,"hash":"0592d873d53552677f17072f27cd86c519ba07b9ae09c50e12fd4897d0462e16"},{"path":".gitignore","size":1724,"hash":"1a31ebe938735595df33adf681fd3416428e958a82daf6ebd90e6c077cc16d90"},{"path":".idf_build_apps.toml","size":543,"hash":"0b2142700fd70a0682050577d0448cd690aee239417989bd54db16eefb6c4612"},{"path":".idf_ci.toml","size":485,"hash":"43b096498c023040f9d2ccc00a05e4d4eed3c890d36853e532caf780bd37291e"},{"path":".travis.yml","size":2196,"hash":"95750cb0110692f20f5df9e63a5c59fa985fd862d83a2cf109471f07debd4a26"},{"path":"CMakeLists.txt","size":622,"hash":"b6bd1b528700e2ff567ccba36a7692c34a8fcdce86a51a3481c2ea5be2514d62"},{"path":"Kconfig","size":6648,"hash":"4584e68452c6d1c02a935d7c9a988b6caa7e4976ca8e3dbb62ae2e9e1bc89135"},{"path":"LICENSE","size":11339,"hash":"20ed622a5f1a273258b415097609f6a236fb2f23f8c593c63e29e6cc77de0032"},{"path":"README.md","size":2097,"hash":"388922ed982a05c6e2b17eb9c583b7e73393bb66f52d8670b4e15674c8e690d5"},{"path":"coverage.html","size":15598,"hash":"fe96cfbbb16636d99a48aebcfa090cfb4dd249b80728d52e4795707eef203ff9"},{"path":"coverage.xml","size":383,"hash":"29f272a3fd2cf98fcfef1a5a83fa0fd06f6182708b3423fe8c92ff7227b640f9"},{"path":"idf_component.yml","size":587,"hash":"de5eb67afef8fd3f7f0cc769a83e3f133ac9b892c9135e8b69b131c3b6e47b9e"},{"path":"mqtt5_client.c","size":33116,"hash":"05973d1bd85e7844d6b21df80489e4ca63a4596338f995e30230c6c0d5cb23df"},{"path":"mqtt_client.c","size":99989,"hash":"4b24720b34c2bd44b0857a5251f5392663225c618595229540b35f1529663a9a"},{"path":"pytest.ini","size":708,"hash":"eb1e46050a53c5cc8a36306416977051cc96d095d558116310ec14099d14d50c"},{"path":"static-analysis-rules.yml","size":152,"hash":"5388e0824a15876b022b4b0efc09b17b9f25b0afa8f31e9520b0f4a0a02cc0b5"},{"path":"docs/Doxyfile","size":1617,"hash":"54bea31a8741fb1670aad8e1280c5162d56b4fd02823796c9c3fa1cb6a19dd4e"},{"path":"docs/conf_common.py","size":1005,"hash":"ec735c12fc953d84f1c0650f5675a285bf009ae5edd296df0d5b35f2ab53b4e3"},{"path":"docs/doxygen-known-warnings.txt","size":104,"hash":"2d963560507e50f94c3b1f6c058a0bc594eb5f2e329d826dfe9fc2dfe299bf68"},{"path":"docs/sphinx-known-warnings.txt","size":3209,"hash":"414485def9bc11d6c45c89624b1a2157fd24d4b13de715be43171631cad99414"},{"path":"include/mqtt5_client.h","size":14938,"hash":"8d2fc142e3e5a7ce7c1d2bac655df8722245bdd081cfe11f8e9d1824784584ec"},{"path":"include/mqtt_client.h","size":32426,"hash":"6b05afe12c80f9a77127f776c2ed787a67e22cba3be7ad66358efe470b221bd5"},{"path":"include/mqtt_supported_features.h","size":2648,"hash":"49f5d5b95c5d284083569c4cc7cc72df60410230d836d760ea6cf1b0a7961d4f"},{"path":"lib/mqtt5_msg.c","size":49594,"hash":"615bf5574776c65cd0496c99e1f6c3c31fe344da9aefbc7e3a77958f87e8c8cd"},{"path":"lib/mqtt_msg.c","size":20083,"hash":"f536a71cb75bcf054f997bda520c3a2f804daa29831ed18277fb3d8f9fe00087"},{"path":"lib/mqtt_outbox.c","size":6749,"hash":"14e8db1fae7006ed4647646d0086b7a91919260b4bb6f64f57cdc23a6840af9f"},{"path":"lib/platform_esp32_idf.c","size":1130,"hash":"31cff57ddebb2544feae66ff0488daf19af38cd28831f225d4775c2c8a33f7e4"},{"path":"test/host/CMakeLists.txt","size":666,"hash":"a75bf83c46f4cc0e1e7aea1cd748ccfbb32bf9216a262127ca977a2bfdcd7fd7"},{"path":"test/host/README.md","size":502,"hash":"5ac037b59086239896a5fafb491b55d4d025255e60ad9f5983cf17d6531d6e46"},{"path":"test/host/sdkconfig.ci.coverage","size":22,"hash":"3af786d60d341eebc0905750dddacc0639c623663ed638792c46f957a4baf3c7"},{"path":"test/host/sdkconfig.defaults","size":211,"hash":"1b722f26c279027f3a08001a389fc6ef41bf87e629e8e9f60c28936ac1d4f775"},{"path":"test/host/main/CMakeLists.txt","size":1083,"hash":"583d2601e09d238f698b9b43d78314cdbafddb7095de6db6ad04abd0778fcfef"},{"path":"test/host/main/Kconfig","size":177,"hash":"2b316639175c9ec220b7ae785765493e30f867f76c1dbb9617d5fa388c5815db"},{"path":"test/host/main/idf_component.yml","size":203,"hash":"b9385d15c2ac8400f5c857d224006e84c60da59e5188c232f5ee460cc09ccc70"},{"path":"test/host/main/test_mqtt_client.cpp","size":6752,"hash":"1dfb612ea88e6b36921572020fae116bde68de753ae890b9ff37e75db73582d3"},{"path":"test/host/mocks/include/sys/queue.h","size":2220,"hash":"24e7bd0df69cfb30e7460af398134075fa56bfadfbefa81a5bbaa0c9e012cc70"},{"path":"test/apps/common/CMakeLists.txt","size":188,"hash":"0f3d32701ae15c094170b549400f1d61450ac1e1395916fcb3622cc05e70fb21"},{"path":"test/apps/common/test_mqtt_connection.c","size":5352,"hash":"658463962b9866114ea5bdff6551522ee842445525426e283098f4d43b99b8a6"},{"path":"test/apps/mqtt/CMakeLists.txt","size":519,"hash":"fcfa074033b1b6f094832972f40a413a7e0293ccc0043d52d498bcdba6e02889"},{"path":"test/apps/mqtt/README.md","size":82,"hash":"05a6bd555a813916fb24460b83a691b94fc4bf09871b510a3c3493822037b36a"},{"path":"test/apps/mqtt/pytest_mqtt_ut.py","size":378,"hash":"1911a45931f086b5f39c6c0d6ab9fd158fc40a238cd1a2c3466db6b17764fb51"},{"path":"test/apps/mqtt/sdkconfig.ci.default","size":184,"hash":"be57ca92d356bfd36397babac94d690e5ba2e14ce7c83dae9360457a6d4ef959"},{"path":"test/apps/mqtt/sdkconfig.defaults","size":95,"hash":"b9002ecbf28b4125fef5770511c85b2f9ee04f14fbdd8110a5f5a03d6f9e4490"},{"path":"test/apps/mqtt5/CMakeLists.txt","size":520,"hash":"d87dbc309f001e8607f1da0fd746d4906783688dd8363f36e807c977063f73fa"},{"path":"test/apps/mqtt5/README.md","size":82,"hash":"05a6bd555a813916fb24460b83a691b94fc4bf09871b510a3c3493822037b36a"},{"path":"test/apps/mqtt5/pytest_mqtt5_ut.py","size":379,"hash":"c21608c95cc874c1673052689624a208e24a7a4a9393c898bd3d91581a60e7da"},{"path":"test/apps/mqtt5/sdkconfig.ci.default","size":184,"hash":"be57ca92d356bfd36397babac94d690e5ba2e14ce7c83dae9360457a6d4ef959"},{"path":"test/apps/mqtt5/sdkconfig.defaults","size":120,"hash":"cf7a6b828fa9bc5b7cb4900df31f5b560f61d3d487aa0783b00c747375b6bca1"},{"path":"test/apps/publish_connect_test/CMakeLists.txt","size":835,"hash":"be324b6b124e586144f8207bd2abc35b130632c78c617a61662a1051cbc6e3e9"},{"path":"test/apps/publish_connect_test/README.md","size":1238,"hash":"395413b6b9f47663959df3c3a34da8c67e8e84d2b3a83680c8dfd8464abed83d"},{"path":"test/apps/publish_connect_test/ca.crt","size":1135,"hash":"ddccb46bfeae064b591ea3d09ec16a68d57c78348a3557935f63ff0e9dfba826"},{"path":"test/apps/publish_connect_test/ca.der","size":797,"hash":"da8d302d190589b28a378ba41934db584aa45f2a1546348b3f7536a56d5b646c"},{"path":"test/apps/publish_connect_test/ca.key","size":1708,"hash":"54157361c60b97ce743fb8f875466311fd0e1f873224f16ef611bb8339cd638d"},{"path":"test/apps/publish_connect_test/client_inv.crt","size":1099,"hash":"8208370061d0d89d18e0f87b85c8d0879ff4fef46e4c99b32c84b116be905efb"},{"path":"test/apps/publish_connect_test/client_no_pwd.key","size":1704,"hash":"1d1df8ff79d756700952d4c4d16d8b5f9dc2a00069304cdabec79534a8ae09b0"},{"path":"test/apps/publish_connect_test/client_pwd.crt","size":1086,"hash":"f3b3ae6596c5bd59cb349921ffda34e086e3a259c8554f76b709e8992149d18e"},{"path":"test/apps/publish_connect_test/client_pwd.key","size":1886,"hash":"1eb44d11023b9af728a6e0f234754de14e29de176ba4fb6415f6edc59fa4732c"},{"path":"test/apps/publish_connect_test/pytest_mqtt_app.py","size":11374,"hash":"88db6ab27d5e17a317225ff53d41488dade5fdb82d5e1b0800074f4b3d9c9e25"},{"path":"test/apps/publish_connect_test/pytest_mqtt_publish_app.py","size":15180,"hash":"08f4daeb2923fcab3008202aaac5197de39d8044d190fad92337247b5d514306"},{"path":"test/apps/publish_connect_test/sdkconfig.ci.default","size":866,"hash":"114c1e7efde7ddf1b83ec97093614db699fe57d73e80c5d663c5838d68bd2b96"},{"path":"test/apps/publish_connect_test/sdkconfig.ci.local_broker","size":473,"hash":"d5a8fc690149ecdd65ad7d02e0bcfe999ffbe9ba42aa54aa198966d385166dc8"},{"path":"test/apps/publish_connect_test/server.key","size":1675,"hash":"e567ff3810f9440dcddb6fc14e2bf93a236f9413d8863f0ae8d3baf6796c7ac8"},{"path":"test/apps/publish_connect_test/main/CMakeLists.txt","size":250,"hash":"c8642ab0e5df5c8d2f128f027a5e54c25a9e28788acbb61e828f77b2cc1d72f3"},{"path":"test/apps/publish_connect_test/main/Kconfig.projbuild","size":2698,"hash":"ff7fbe8020c57bf0ad72cd15bb2930d38780d9e5ae1bf81a0204ae438f46aaad"},{"path":"test/apps/publish_connect_test/main/connect_test.c","size":7886,"hash":"da47055a1de5755b502ab22718d7fb2c9110e19d6cbafd313f9c27893f650998"},{"path":"test/apps/publish_connect_test/main/idf_component.yml","size":300,"hash":"f04be606ccd04822c07464a2f438b272e420ff2adc638094e963161e66b77af1"},{"path":"test/apps/publish_connect_test/main/mqtt_eclipseprojects_io.pem","size":1826,"hash":"177e1b8fc43b722b393f4200ff4d92e32deeffbb76fef5ee68d8f49c88cf9d32"},{"path":"test/apps/publish_connect_test/main/publish_connect_test.c","size":11287,"hash":"5802889ae473dae42f40c2d03a6c6877e115bfbb8146069b33f068866346389e"},{"path":"test/apps/publish_connect_test/main/publish_connect_test.h","size":1556,"hash":"b6860ff0f99d2d44e82e0465fc0d831fc59c7a8735ed18a1ea7a34d00aff2de7"},{"path":"test/apps/publish_connect_test/main/publish_test.c","size":9524,"hash":"cc447a94bb44325e1a88c5b6a2339e06ab192b7c5f85d1c913bf33226b8e55e4"},{"path":"test/apps/mqtt5/main/CMakeLists.txt","size":184,"hash":"f662a4161c94c83a80cdfc49752ce14a9fccc0f39199f073f7ede5bdfcc996bf"},{"path":"test/apps/mqtt5/main/Kconfig.projbuild","size":438,"hash":"c9ee0b12c2a4cc3860a5849e07bc6d56e392d3138023683e0b17f31c83f4a18e"},{"path":"test/apps/mqtt5/main/idf_component.yml","size":81,"hash":"01bec0cacc38aefd5f5b032321b51cf2678669e60f7cfe7c28d0e57ebb409e28"},{"path":"test/apps/mqtt5/main/test_mqtt5.c","size":5917,"hash":"f47ee72395036d275e501348862606868ae3e67d216075c077b1d1ba8cea7841"},{"path":"test/apps/mqtt5/main/test_mqtt5_client_broker.c","size":11590,"hash":"2846d59012da765713e4e9cccbea4f14408561acda9f62cc5a49ef52ef0d0433"},{"path":"test/apps/mqtt5/main/test_mqtt5_client_broker.h","size":1653,"hash":"b22dd1e5fc7c9aa86fd287b77328b0e50b4ef51fcc3dcb4a6b716224543012ca"},{"path":"test/apps/mqtt/main/CMakeLists.txt","size":280,"hash":"bf563d3e2058962f6258fd4e797f7833d5c392f2c497989a3f00d6aa5b6d567a"},{"path":"test/apps/mqtt/main/Kconfig.projbuild","size":438,"hash":"c9ee0b12c2a4cc3860a5849e07bc6d56e392d3138023683e0b17f31c83f4a18e"},{"path":"test/apps/mqtt/main/idf_component.yml","size":93,"hash":"f381001de37b61491ceb74caf5e8e753cbd3971fcf8fcdbc45e280b45ce183f1"},{"path":"test/apps/mqtt/main/test_mqtt.c","size":3893,"hash":"89282cbea9c052f6ff15dd198a0f94ba9373e3d947773d1299a6482925724f19"},{"path":"test/apps/mqtt/main/test_mqtt_client_broker.c","size":8839,"hash":"2b1f18d47b921c38d4ef13ab8bf89529ded91563aa5d3bea4b590bab7e6fd3a0"},{"path":"test/apps/mqtt/main/test_mqtt_client_broker.h","size":1641,"hash":"a37f3a5f84b2edf5b94673d98f7eaa11a8f6b51c0028ff476d0720e59d2ad94e"},{"path":"test/apps/common/include/test_mqtt_connection.h","size":373,"hash":"6af9cce1f3ea9d7010d227a18e4aa94e0a97d0780897b87d745d4b93a6d7d5c0"},{"path":"lib/include/mqtt5_client_priv.h","size":2405,"hash":"6c7b225be69b9cb6c14416b4ac153d6aa5544c00e3918da0bf96f8c4bee1ed58"},{"path":"lib/include/mqtt5_msg.h","size":6180,"hash":"86c50af4687528e27e940bbaf80d6247969a8bb52fa03e360f1817ceb975518f"},{"path":"lib/include/mqtt_client_priv.h","size":3891,"hash":"ee8f464f6cbf77a83468126bf22d91833b9c2b8985ba5860381acb99a655c565"},{"path":"lib/include/mqtt_config.h","size":3107,"hash":"1237445252e445f5fae23b2c9171ce101445667be9b8de1d87c4e34702eac948"},{"path":"lib/include/mqtt_msg.h","size":5746,"hash":"40be3eca3c6cd60ffe22d43ae5be0ac0d1a52b2e2152d95ece75b708e1ca245e"},{"path":"lib/include/mqtt_outbox.h","size":2197,"hash":"4eacd0383171e881053ed256147017adc24de2754130462367ff332ff03fd2fa"},{"path":"lib/include/platform.h","size":296,"hash":"54ebf11150b6ff7e0d0d075f779e9a78e49d74fa594251af4d04c1579d351c7b"},{"path":"lib/include/platform_esp32_idf.h","size":1057,"hash":"9ff4b5254413f07096edba16d836238baedefd8f06130f1b41f68c1aef77dfbb"},{"path":"examples/custom_outbox/CMakeLists.txt","size":1001,"hash":"b872815f45c40599c68de1a3325b4ece8be444ac36328bf89bcaab66f3b1732d"},{"path":"examples/custom_outbox/README.md","size":5184,"hash":"009c36deaa1e4fdfa6b33bd39f15a844bd8128d17f90971f1400d6adfade84a7"},{"path":"examples/custom_outbox/sdkconfig.ci.esp32c6","size":42,"hash":"6653345afbb8d5c69f9bf91a74b562dd46c294a1c010a588b352e0ee57ddf1c1"},{"path":"examples/custom_outbox/sdkconfig.defaults","size":97,"hash":"c232fdd54ac529504969b8ddcc5a3b35aff8d434ba96390a11838e2db0eaee91"},{"path":"examples/mqtt5/CMakeLists.txt","size":370,"hash":"f7f6a6fead2c0465dac0c76a9eb81821d2e16b6f1c1f8719b70b8ab3f6ca66aa"},{"path":"examples/mqtt5/README.md","size":4220,"hash":"c9dda1a58b8daac04d79e754dc9202f1a841b906104e8f456d3d64e90f826748"},{"path":"examples/mqtt5/pytest_mqtt5.py","size":2536,"hash":"ed760f8e537c9dda9e361337bd748e844bdaf709c47f4ee64a62a45c39c9c211"},{"path":"examples/mqtt5/sdkconfig.ci","size":342,"hash":"c63d1df38e0d67b266b5eda9ea1565815bc37e58e0ebfa456a8f44eda590af5e"},{"path":"examples/mqtt5/sdkconfig.defaults","size":25,"hash":"f7c2090e8fc46c205de9aadd0559955e4b60813a0b746db7f36c6744b1de28c7"},{"path":"examples/ssl/CMakeLists.txt","size":458,"hash":"09b4628767c43f54599616a3125810811ffce4dc0dab9b499bd447015d510acb"},{"path":"examples/ssl/README.md","size":3564,"hash":"a7b5817b1f1d105c45d7382b1d3d86b022fc36c337a41b6e00515715dd675653"},{"path":"examples/ssl/pytest_mqtt_ssl.py","size":5518,"hash":"3c0d93f5794477502692e7d5d197ecd663a1231809eab8d6b81ac035830b45cb"},{"path":"examples/ssl/sdkconfig.ci","size":799,"hash":"29b0688a821085bccda1492e36bcbf856d3a6f447a1e0f35d4bd57a5d2d99f17"},{"path":"examples/ssl_ds/CMakeLists.txt","size":824,"hash":"770efd0ba7cbac114c3d7a104b737abfef48ee31708a32931797c7dbba06736a"},{"path":"examples/ssl_ds/README.md","size":5530,"hash":"b9957d1f8687d4a8c84f87c7b0ac2ccce0bcb4042ac04c7182f2c80115cf99eb"},{"path":"examples/ssl_ds/partitions.csv","size":177,"hash":"24f1257782a2df023bc65260364b5c9d2bf51bd6adbb77e4eb1132356c676d68"},{"path":"examples/ssl_ds/sdkconfig.defaults","size":398,"hash":"ad76f67287d9cf78466129ac6fc3866528c186691b034981dba96dd2bc0d0577"},{"path":"examples/ssl_ds/sdkconfig.defaults.esp32h2","size":64,"hash":"3aff995924e7aef20d4c61e143a1865f38eb4d1924014bb1364020db2bb3853a"},{"path":"examples/ssl_mutual_auth/CMakeLists.txt","size":612,"hash":"5455aecbfc4a7ecfa3ce1afe696e1708c48c48bbdf054794a0edff97385298e3"},{"path":"examples/ssl_mutual_auth/README.md","size":3680,"hash":"e26fc8c401a2ebb86e45e2a743fdee238edcdfb028e8b65660c661fbda556016"},{"path":"examples/ssl_mutual_auth/sdkconfig.defaults","size":61,"hash":"5765b89fbc38d2773ee9cf5ba18ba9dc11b36d35140496e4814a79e2664566fc"},{"path":"examples/ssl_mutual_auth/sdkconfig.defaults.esp32c5","size":42,"hash":"6653345afbb8d5c69f9bf91a74b562dd46c294a1c010a588b352e0ee57ddf1c1"},{"path":"examples/ssl_mutual_auth/sdkconfig.defaults.esp32c6","size":42,"hash":"6653345afbb8d5c69f9bf91a74b562dd46c294a1c010a588b352e0ee57ddf1c1"},{"path":"examples/ssl_mutual_auth/sdkconfig.defaults.esp32c61","size":42,"hash":"6653345afbb8d5c69f9bf91a74b562dd46c294a1c010a588b352e0ee57ddf1c1"},{"path":"examples/ssl_psk/CMakeLists.txt","size":377,"hash":"125efcc26092f44c25d4999057e9b30af2869fdfd49d9c7c9b9ebd797c8836a0"},{"path":"examples/ssl_psk/README.md","size":3434,"hash":"195de8fee9bfd710d1515ba3b788db16dd6daa72c794ff6a26fa143ff4579636"},{"path":"examples/ssl_psk/sdkconfig.defaults","size":34,"hash":"821e05eaf372af317ef78a85f7eeb4ede94542ae3a27361971d15ebf80d9ce9a"},{"path":"examples/ssl_psk/sdkconfig.defaults.esp32c5","size":42,"hash":"6653345afbb8d5c69f9bf91a74b562dd46c294a1c010a588b352e0ee57ddf1c1"},{"path":"examples/ssl_psk/sdkconfig.defaults.esp32c6","size":42,"hash":"6653345afbb8d5c69f9bf91a74b562dd46c294a1c010a588b352e0ee57ddf1c1"},{"path":"examples/ssl_psk/sdkconfig.defaults.esp32c61","size":42,"hash":"6653345afbb8d5c69f9bf91a74b562dd46c294a1c010a588b352e0ee57ddf1c1"},{"path":"examples/tcp/CMakeLists.txt","size":373,"hash":"f63ad62560d2405c09beac72021cf3a2075673e422862823d5b49c72953a2116"},{"path":"examples/tcp/README.md","size":19224,"hash":"20d2e8b51d2c5196d08a3381d7d411b3debdd631d350b07d3473f6f906afbdcf"},{"path":"examples/tcp/pytest_mqtt_tcp.py","size":3642,"hash":"bb406e775a1d51f7b4cd158e7221c52c0f6b93a1b65863b1aa7a25e95f606447"},{"path":"examples/tcp/sdkconfig.ci","size":422,"hash":"54f668b27cb3ad19c10ed2e2ded73f12f009e86ebace337a2d31426632e8fc8f"},{"path":"examples/tcp/sdkconfig.ci.p4_eppp","size":182,"hash":"dfaf1bb40a2ad6c4fcc5e45713b30a26af7f9f3febefe2a6118d8108baba2094"},{"path":"examples/tcp/sdkconfig.ci.p4_wifi","size":98,"hash":"4b89fef2f2d4145b7d1c3a9ab843e584d7f4f00ae53c8dca903f895ce5fbc448"},{"path":"examples/tcp/sdkconfig.ci.ppp_connect","size":100,"hash":"977baff7c71bbdd5387b68d38a95d79177d2727e01ec2644750af0cf8c59b019"},{"path":"examples/ws/CMakeLists.txt","size":379,"hash":"b3a041e7ea1618c6e7c4842c0492e37ddec0f8c69773bd5be761768877b14841"},{"path":"examples/ws/README.md","size":2750,"hash":"f75c38abe84e96e7a8bcbc4d926cade57d80b7f45cb1a7d0ad12616283d9f5af"},{"path":"examples/ws/pytest_mqtt_ws_example.py","size":4107,"hash":"0e9aa67e88d84191a9015f07a2e05b98d900f1fc894da5fa95d767a974791d74"},{"path":"examples/ws/sdkconfig.ci","size":379,"hash":"465e344f384925435796a053f7c0d7704bbd81c00d7cafec08b3273dc85348b4"},{"path":"examples/wss/CMakeLists.txt","size":471,"hash":"2573e473265321aa836966d9300e961ca13ae8b29535274e4c7abdaeb622397d"},{"path":"examples/wss/README.md","size":3668,"hash":"abf6ca09a712fd3fa3cafa1ecc9944208ce0f35ef68625213c48af0469ca4c64"},{"path":"examples/wss/pytest_mqtt_wss_example.py","size":4261,"hash":"384fa7430531bc2d82e8b30a6301566b786c414362cd4293cb466d8c97b26feb"},{"path":"examples/wss/sdkconfig.ci","size":486,"hash":"1f7bb5d15ca76fe2170cdf14d40081fe078ce48938826899fa50975b35c43a94"},{"path":"examples/wss/main/CMakeLists.txt","size":137,"hash":"a5c4a973356fb78f8750946fb88d88da48555428d8a4b64fbe4f237f47ede634"},{"path":"examples/wss/main/Kconfig.projbuild","size":601,"hash":"076928b4213427f8afc3a36f91ded021695817ea96b4d51d7c6e3d96984da1e9"},{"path":"examples/wss/main/app_main.c","size":5012,"hash":"51d9625834ce5d699a90b2d17a9961ef3ce5686f865263a0a60f8dc12cf0a0e0"},{"path":"examples/wss/main/idf_component.yml","size":151,"hash":"c0f5b42698e8774ad57951b73c5d5f69197975a29b8cc4added119730ca77530"},{"path":"examples/wss/main/mqtt_eclipseprojects_io.pem","size":1826,"hash":"177e1b8fc43b722b393f4200ff4d92e32deeffbb76fef5ee68d8f49c88cf9d32"},{"path":"examples/ws/main/CMakeLists.txt","size":137,"hash":"a5c4a973356fb78f8750946fb88d88da48555428d8a4b64fbe4f237f47ede634"},{"path":"examples/ws/main/Kconfig.projbuild","size":223,"hash":"17ab4dca8eca03919cc925f16c3427afe59a62799b36acfa45c57a72a0181968"},{"path":"examples/ws/main/app_main.c","size":5473,"hash":"6960b1c551b79b7d0cab7614402931edba2ed6797fe784179d240da3c589dde7"},{"path":"examples/ws/main/idf_component.yml","size":151,"hash":"c0f5b42698e8774ad57951b73c5d5f69197975a29b8cc4added119730ca77530"},{"path":"examples/tcp/main/CMakeLists.txt","size":138,"hash":"616803f5a7096a312dd0e6c8174c707754b99a3aa93f51be3c8caa43dcc03662"},{"path":"examples/tcp/main/Kconfig.projbuild","size":289,"hash":"3c9a63b6def6d2a7709d61a6471824a0c5a23bf3c0e081b1003a420d7c4c0277"},{"path":"examples/tcp/main/app_main.c","size":6025,"hash":"4f7e16a458ced882106524aca47678be51451241392ac532644316193b8335e1"},{"path":"examples/tcp/main/idf_component.yml","size":350,"hash":"fbbeb42b0c08542897d2641801e5d39f6b7ff17cb4c3c91dcca1244cdedef7fd"},{"path":"examples/ssl_psk/main/CMakeLists.txt","size":137,"hash":"a5c4a973356fb78f8750946fb88d88da48555428d8a4b64fbe4f237f47ede634"},{"path":"examples/ssl_psk/main/app_main.c","size":5302,"hash":"cade7b6ce79f5128cb052a51d4f6e43fc1aba1f85623e0022cd9b63c6f280ae2"},{"path":"examples/ssl_psk/main/idf_component.yml","size":151,"hash":"c0f5b42698e8774ad57951b73c5d5f69197975a29b8cc4added119730ca77530"},{"path":"examples/ssl_mutual_auth/main/CMakeLists.txt","size":137,"hash":"a5c4a973356fb78f8750946fb88d88da48555428d8a4b64fbe4f237f47ede634"},{"path":"examples/ssl_mutual_auth/main/app_main.c","size":6024,"hash":"29320351a92255ec4acaf47ced0b3dee58b16a8207da790b6f736685447e0516"},{"path":"examples/ssl_mutual_auth/main/client.crt","size":77,"hash":"25fad8bcc56d47c66a23431921b91d44d2b9366f6949b5efc578f2af5ecc3ff4"},{"path":"examples/ssl_mutual_auth/main/client.key","size":69,"hash":"b8f709f7213eee2e73a2db7d41cc8eea79fed1fa3ccd0302b4303bf2f7bef443"},{"path":"examples/ssl_mutual_auth/main/idf_component.yml","size":151,"hash":"c0f5b42698e8774ad57951b73c5d5f69197975a29b8cc4added119730ca77530"},{"path":"examples/ssl_mutual_auth/main/mosquitto.org.crt","size":1452,"hash":"45612492b0690dc1f16b97c2df2d1649fababcc1bf52ca0c12935dbda00ad7e6"},{"path":"examples/ssl_ds/main/CMakeLists.txt","size":128,"hash":"7a64b2072f11c6455560ac42e585504339d9c26ddd5531df296ccd67e17c62bd"},{"path":"examples/ssl_ds/main/app_main.c","size":5586,"hash":"e9be245f7bf2ddf7684a714f2222782554f9d401eaede49fab173ff54db04536"},{"path":"examples/ssl_ds/main/idf_component.yml","size":191,"hash":"86ad970e52663aba7d977db6a5aacf92a72b4b3aa2ebffd60b862a9dfb8d2c94"},{"path":"examples/ssl_ds/main/mosquitto.org.crt","size":1456,"hash":"0ceb5dcc23f6216941d0ca68bbf3c9356c32dd2acd9149c60460fbf48fb2dc3b"},{"path":"examples/ssl/main/CMakeLists.txt","size":163,"hash":"719fa26a6a472355f326c90b4d950b11a4e2fd3c9eb8decae8d0d9f44c2c1958"},{"path":"examples/ssl/main/Kconfig.projbuild","size":849,"hash":"9a02eb5733e5ffe87e9415073372e9a618561a2443d66c92a14b39ae6545a206"},{"path":"examples/ssl/main/app_main.c","size":6900,"hash":"80cf5ad0fab1ee37145dd1c7a0be40c28ad317a2ea632cecbda0023caab06f17"},{"path":"examples/ssl/main/idf_component.yml","size":151,"hash":"c0f5b42698e8774ad57951b73c5d5f69197975a29b8cc4added119730ca77530"},{"path":"examples/ssl/main/mqtt_eclipseprojects_io.pem","size":1826,"hash":"177e1b8fc43b722b393f4200ff4d92e32deeffbb76fef5ee68d8f49c88cf9d32"},{"path":"examples/mqtt5/main/CMakeLists.txt","size":138,"hash":"616803f5a7096a312dd0e6c8174c707754b99a3aa93f51be3c8caa43dcc03662"},{"path":"examples/mqtt5/main/Kconfig.projbuild","size":289,"hash":"3c9a63b6def6d2a7709d61a6471824a0c5a23bf3c0e081b1003a420d7c4c0277"},{"path":"examples/mqtt5/main/app_main.c","size":12375,"hash":"f459e7027e6b763917e7cdc04d33c9ee7c1229d927f74f2f08a2337e7c611180"},{"path":"examples/mqtt5/main/idf_component.yml","size":151,"hash":"c0f5b42698e8774ad57951b73c5d5f69197975a29b8cc4added119730ca77530"},{"path":"examples/custom_outbox/main/CMakeLists.txt","size":159,"hash":"6da8fcc6003d843f2aedab6adf2c0273e5d4b3421e77be8c95636250911674b7"},{"path":"examples/custom_outbox/main/Kconfig.projbuild","size":289,"hash":"3c9a63b6def6d2a7709d61a6471824a0c5a23bf3c0e081b1003a420d7c4c0277"},{"path":"examples/custom_outbox/main/app_main.c","size":6448,"hash":"9a7e6802f5b680cb3b5a76976e1e115fa8e7ac269711479094f6d48becd9742a"},{"path":"examples/custom_outbox/main/custom_outbox.cpp","size":13353,"hash":"a32a650d9cb60cf88e4c5ab1415fcbb657459362e375417e5adcd702cb5de8a2"},{"path":"examples/custom_outbox/main/idf_component.yml","size":151,"hash":"c0f5b42698e8774ad57951b73c5d5f69197975a29b8cc4added119730ca77530"},{"path":"docs/en/conf.py","size":783,"hash":"6021c0a8b65c5d26585dab132f77149a2bb3e69fb9cab0d31a29a8869e9d0fd9"},{"path":"docs/en/index.rst","size":12597,"hash":"385b3ede3568af22a8a0dc905269cf54b2463a952de5bf7af6f13b453a5c32b0"},{"path":"docs/zh_CN/conf.py","size":786,"hash":"bf9fd2b51606aab8f9bafa68466a351fc1f6685e534b98acc55b52b048208ef4"},{"path":"docs/zh_CN/index.rst","size":11756,"hash":"f41eced579b912d51e59810c4cd28529a32946a4702863b1f011d9cfb9cd8102"},{"path":"docs/_build/en/esp32/IDF_TARGET-substitutions.txt","size":660,"hash":"a4d3e89430802cbb6838a4a6afb18919a8a5c8756d49a2a879513b729f6a3b1f"},{"path":"docs/_build/en/esp32/doxygen-warning-log-sanitized.txt","size":0,"hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},{"path":"docs/_build/en/esp32/doxygen-warning-log.txt","size":0,"hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},{"path":"docs/_build/en/esp32/sphinx-warning-log-sanitized.txt","size":3209,"hash":"414485def9bc11d6c45c89624b1a2157fd24d4b13de715be43171631cad99414"},{"path":"docs/_build/en/esp32/sphinx-warning-log.txt","size":4229,"hash":"6c1420326f5f52873268c18b78a8472611960c87ae74825fb772a5eddcc6baf0"},{"path":"docs/_build/en/esp32/html/.buildinfo","size":230,"hash":"0c8530e50a587a0b93464e3aadcf61cc38097f9f47c537def22f5fbb8cb7798f"},{"path":"docs/_build/en/esp32/html/genindex.html","size":49699,"hash":"8788be942d08dbb5fa15b0b2b7a3c6386518d8307bc38bff595414ecb7f330a2"},{"path":"docs/_build/en/esp32/html/index.html","size":331840,"hash":"cb91443d6375be67d93bde2f06a051e1a400367827abb72dbbb103880b2995d6"},{"path":"docs/_build/en/esp32/html/objects.inv","size":11285,"hash":"c47787bdf475a0a2c5f4fafc9b0cdd77ec0afe4ab750d7d410a790ebefe0f9a6"},{"path":"docs/_build/en/esp32/html/search.html","size":5484,"hash":"25414e97c45b868865f7aeb0083c8f8b1af9f81f52c5dd6b81acce9427483da0"},{"path":"docs/_build/en/esp32/html/searchindex.js","size":97481,"hash":"600ff49591e598a95af34ba2a615900d183d1829b2f7692c6f05e27ee7800170"},{"path":"docs/_build/en/esp32/html/_sources/index.rst.txt","size":12597,"hash":"385b3ede3568af22a8a0dc905269cf54b2463a952de5bf7af6f13b453a5c32b0"},{"path":"docs/_build/en/esp32/html/_static/DejaVuSans.ttf","size":720856,"hash":"4a2438171a9144a2c698a36a64b10116c4c9db9112cd12361296f9eb0bd8cbed"},{"path":"docs/_build/en/esp32/html/_static/NotoSansSC-Regular.otf","size":8665020,"hash":"9cfd9daa651014e66cb9816c8b8995c3f95bc25d315dfd697c520652f28687db"},{"path":"docs/_build/en/esp32/html/_static/_sphinx_javascript_frameworks_compat.js","size":4289,"hash":"480a2c7377252c14a11bca4d3a49dfa16ea540a998fa637fae0189aee1b89113"},{"path":"docs/_build/en/esp32/html/_static/basic.css","size":15059,"hash":"b2fe2bbe6f4ee4946c1e39e760feda90658531622978f8fb8e162746be3bd37c"},{"path":"docs/_build/en/esp32/html/_static/check-solid.svg","size":313,"hash":"edfc4de8b5af9662c19d74d0ef059deb00283f6b1ae21dfcc8e052d5617a1c7f"},{"path":"docs/_build/en/esp32/html/_static/clipboard.min.js","size":9031,"hash":"261ffa06f381039cf7d18984d1364c59f3c2b9b60b1fa05d5f9c8c152e4d5be5"},{"path":"docs/_build/en/esp32/html/_static/copy-button.svg","size":411,"hash":"8cf972ac6d0873154c8245eab96a509026ee132f03bf68ec79fdfe3fa7b03a05"},{"path":"docs/_build/en/esp32/html/_static/copybutton.css","size":2010,"hash":"5695e324fd258ce13f353545d543b75a28724a77a5b256fca338126210547d26"},{"path":"docs/_build/en/esp32/html/_static/copybutton.js","size":7479,"hash":"d9a85b63a47b50a2ec0336640175215d581dda5ee3f59259bc54e4b7fe83c6d6"},{"path":"docs/_build/en/esp32/html/_static/copybutton_funcs.js","size":2198,"hash":"858bf2ca435bc8029b7c0684c68d5d4990598d8afb4175bdac77eb2a963d05ec"},{"path":"docs/_build/en/esp32/html/_static/doctools.js","size":4472,"hash":"3d62b81f63b0418a39a8f5a323203d88ddafc8c5226f86d311970025d86d7b6c"},{"path":"docs/_build/en/esp32/html/_static/documentation_options.js","size":421,"hash":"e44fc9a43f54b703e99bfe35d445bd6806ff9b2928725985c4205060b32cb82f"},{"path":"docs/_build/en/esp32/html/_static/espressif-logo.svg","size":3956,"hash":"e0deb0b2e6f60753551ebaf3f77236a85765573f33bcd91adb2d078c8bffc845"},{"path":"docs/_build/en/esp32/html/_static/espressif2.pdf","size":67271,"hash":"db83d4e439de89ec7d405fc6089124c9367bfd1d38bd4f2de5582efb6b1bf85d"},{"path":"docs/_build/en/esp32/html/_static/file.png","size":286,"hash":"5c4bc9a16aebf38c4b950f59b8e501ca36495328cb9eb622218bce9064a35e3e"},{"path":"docs/_build/en/esp32/html/_static/jquery.js","size":89501,"hash":"ff1523fb7389539c84c65aba19260648793bb4f5e29329d2ee8804bc37a3fe6e"},{"path":"docs/_build/en/esp32/html/_static/language_data.js","size":4758,"hash":"95b1d44e1ba5a3155d89f8427a3b2c981158f956bf48b9cdf0030265e8b7a609"},{"path":"docs/_build/en/esp32/html/_static/minus.png","size":90,"hash":"47e7fc50db3699f1ca41ce9a2ffa202c00c5d1d5180c55f62ba859b1bd6cc008"},{"path":"docs/_build/en/esp32/html/_static/plus.png","size":90,"hash":"54115199b96a130cba02147c47c0deb43dcc9b9f08b5162bba8642b34980ac63"},{"path":"docs/_build/en/esp32/html/_static/pygments.css","size":4929,"hash":"1accd27ffdaa3456771214dbc2f4d841d9ebe9324da2b23ac0333d35756f25e5"},{"path":"docs/_build/en/esp32/html/_static/searchtools.js","size":18215,"hash":"5b9facbcb36e5e15e409e2db42439fb8cbc1e43275e337a645bb3c76c3191b93"},{"path":"docs/_build/en/esp32/html/_static/sphinx_highlight.js","size":4712,"hash":"0a20464b65797522de18421a7db1a0851a26aae6dd06b7109d442236313c27ee"},{"path":"docs/_build/en/esp32/html/_static/theme_overrides.css","size":1151,"hash":"baa7330647b71de6f9234d63d3ab13aa41e07eb8f908e0191fc1655d9669a921"},{"path":"docs/_build/en/esp32/html/_static/css/badge_only.css","size":3229,"hash":"3ebb8a7c4ab074330ec0c24a9bcb32b6ced1c5eb45be7ef34b79193864337865"},{"path":"docs/_build/en/esp32/html/_static/css/theme.css","size":135452,"hash":"27839b5c27d745332b2d76a84dd0a7e669a3ce2ee065fb299f7531925c6d899b"},{"path":"docs/_build/en/esp32/html/_static/js/badge_only.js","size":934,"hash":"f784a162bf0ecdd9d8c289e6bc7c4b67afcc85583804b9ee10e20a3e7fcb64eb"},{"path":"docs/_build/en/esp32/html/_static/js/html5shiv-printshiv.min.js","size":4370,"hash":"b42a7e949a6e21d66b30fbbb4a22deafd9e0ccabc04f0fa2907fc6252fdf165f"},{"path":"docs/_build/en/esp32/html/_static/js/html5shiv.min.js","size":2734,"hash":"f6e0283561ddb33b140e14977ffad57163aa28f7e2e7ff15e51e1475b6657b60"},{"path":"docs/_build/en/esp32/html/_static/js/theme.js","size":26617,"hash":"e740bbf6fce2838609cc1fa0ee7615dcff117f183c0f4abc8e9773700af4b878"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/Roboto-Slab-Bold.woff","size":87624,"hash":"9fec87cadbe2413b255f1ec577573a83f1ca2e1c37aa023dbebcd3a7b864636a"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/Roboto-Slab-Bold.woff2","size":67312,"hash":"1a0c024dd1a267c52d5575469ffe8570d1e84164de7d393cf3414bafd17d7a0c"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/Roboto-Slab-Regular.woff","size":86288,"hash":"9f32630e2c0c5135bf1e86e36cb65b3932e4410644235bc2bd995e9c7f6ff117"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/Roboto-Slab-Regular.woff2","size":66444,"hash":"874e42222856d7af03b3f438d21d923a4280d47fe67c48510e2174a1579795ef"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/fontawesome-webfont.eot","size":165742,"hash":"7bfcab6db99d5cfbf1705ca0536ddc78585432cc5fa41bbd7ad0f009033b2979"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/fontawesome-webfont.svg","size":444379,"hash":"ad6157926c1622ba4e1d03d478f1541368524bfc46f51e42fe0d945f7ef323e4"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/fontawesome-webfont.ttf","size":165548,"hash":"aa58f33f239a0fb02f5c7a6c45c043d7a9ac9a093335806694ecd6d4edc0d6a8"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/fontawesome-webfont.woff","size":98024,"hash":"ba0c59deb5450f5cb41b3f93609ee2d0d995415877ddfa223e8a8a7533474f07"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/fontawesome-webfont.woff2","size":77160,"hash":"2adefcbc041e7d18fcf2d417879dc5a09997aa64d675b7a3c4b6ce33da13f3fe"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/lato-bold-italic.woff","size":323344,"hash":"980c8592e5488df256192c999e92db8fd302db8cd8909b7fa266a684e37e45f8"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/lato-bold-italic.woff2","size":193308,"hash":"c0916a33340d063f7b05679e08031e729d1888444706f04804705da5966d895d"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/lato-bold.woff","size":309728,"hash":"0e56b17d142eb366c8007031d14e34da48c70b4a9d9a0ca492e696a7bae45e1e"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/lato-bold.woff2","size":184912,"hash":"ae88fc0d7a961832f809527d30bd3983a6866d42f66a56ade23f543681594db6"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/lato-normal-italic.woff","size":328412,"hash":"26318a1467a5e5caf10b04cfa942d079632560cd7a29cec565fd1dc9f7ec5081"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/lato-normal-italic.woff2","size":195704,"hash":"4465765f2f6eddcdad34ffd7cab559e56bc0e75e45e192f85e9562b0771481dc"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/lato-normal.woff","size":309192,"hash":"5b9025dda4d7688e3311b0c17eddc501133b807def33effaef6593843cf5416e"},{"path":"docs/_build/en/esp32/html/_static/css/fonts/lato-normal.woff2","size":182708,"hash":"983b0caf336e8542214fc17019a4fc5e0360864b92806ca14d55c1fc1c2c5a0f"},{"path":".gitlab/ci/build.yml","size":663,"hash":"9a40bf33d42c916f0707294e97e7b754983f1516d77724dc57387945582ff091"},{"path":".gitlab/ci/deploy.yml","size":926,"hash":"8cc0ac9f2a8c9131b7491145e578d2cbd96185a74805e2ebb193e733b4fe45c7"},{"path":".gitlab/ci/docs.yml","size":2482,"hash":"7cf6686cdb78dc0a364bdd9548e21997db4234404d92cf3e49f45588cc8b87c2"},{"path":".gitlab/ci/ignore_build_warnings.txt","size":438,"hash":"0de186cccca179e476bd8078d45979831eb69f53ff7d1c2e0460f4deba39ac36"},{"path":".gitlab/ci/test.yml","size":1407,"hash":"afff3a9d2400dd49a0d1871825e667e21e64c1e5b6881f250a71db75bd962a01"},{"path":".gitlab/ci/utils.sh","size":822,"hash":"e681ea308d973609dac626a781f75f92426a6f5103cdc972f48992ec619e3fd5"}]} \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/CMakeLists.txt deleted file mode 100644 index 8f86e9d25..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -set(srcs mqtt_client.c lib/mqtt_msg.c lib/mqtt_outbox.c lib/platform_esp32_idf.c) - -if(CONFIG_MQTT_PROTOCOL_5) - list(APPEND srcs lib/mqtt5_msg.c mqtt5_client.c) -endif() - -list(TRANSFORM srcs PREPEND ${CMAKE_CURRENT_LIST_DIR}/) -idf_component_register(SRCS "${srcs}" - INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/include - PRIV_INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/lib/include - REQUIRES esp_event tcp_transport - PRIV_REQUIRES esp_timer http_parser esp_hw_support heap - KCONFIG ${CMAKE_CURRENT_LIST_DIR}/Kconfig - ) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/Kconfig b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/Kconfig deleted file mode 100644 index d438858b9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/Kconfig +++ /dev/null @@ -1,190 +0,0 @@ -menu "ESP-MQTT Configurations" - - config MQTT_PROTOCOL_311 - bool "Enable MQTT protocol 3.1.1" - default y - help - If not, this library will use MQTT protocol 3.1 - - config MQTT_PROTOCOL_5 - bool "Enable MQTT protocol 5.0" - default n - help - If not, this library will not support MQTT 5.0 - - config MQTT_TRANSPORT_SSL - bool "Enable MQTT over SSL" - default y - help - Enable MQTT transport over SSL with mbedtls - - config MQTT_TRANSPORT_WEBSOCKET - bool "Enable MQTT over Websocket" - default y - depends on WS_TRANSPORT - help - Enable MQTT transport over Websocket. - - config MQTT_TRANSPORT_WEBSOCKET_SECURE - bool "Enable MQTT over Websocket Secure" - default y - depends on MQTT_TRANSPORT_WEBSOCKET - depends on MQTT_TRANSPORT_SSL - help - Enable MQTT transport over Websocket Secure. - - config MQTT_MSG_ID_INCREMENTAL - bool "Use Incremental Message Id" - default n - help - Set this to true for the message id (2.3.1 Packet Identifier) to be generated - as an incremental number rather then a random value (used by default) - - config MQTT_SKIP_PUBLISH_IF_DISCONNECTED - bool "Skip publish if disconnected" - default n - help - Set this to true to avoid publishing (enqueueing messages) if the client is disconnected. - The MQTT client tries to publish all messages by default, even in the disconnected state - (where the qos1 and qos2 packets are stored in the internal outbox to be published later) - The MQTT_SKIP_PUBLISH_IF_DISCONNECTED option allows applications to override this behaviour - and not enqueue publish packets in the disconnected state. - - config MQTT_REPORT_DELETED_MESSAGES - bool "Report deleted messages" - default n - help - Set this to true to post events for all messages which were deleted from the outbox - before being correctly sent and confirmed. - - config MQTT_USE_CUSTOM_CONFIG - bool "MQTT Using custom configurations" - default n - help - Custom MQTT configurations. - - config MQTT_TCP_DEFAULT_PORT - int "Default MQTT over TCP port" - default 1883 - depends on MQTT_USE_CUSTOM_CONFIG - help - Default MQTT over TCP port - - config MQTT_SSL_DEFAULT_PORT - int "Default MQTT over SSL port" - default 8883 - depends on MQTT_USE_CUSTOM_CONFIG - depends on MQTT_TRANSPORT_SSL - help - Default MQTT over SSL port - - config MQTT_WS_DEFAULT_PORT - int "Default MQTT over Websocket port" - default 80 - depends on MQTT_USE_CUSTOM_CONFIG - depends on MQTT_TRANSPORT_WEBSOCKET - help - Default MQTT over Websocket port - - config MQTT_WSS_DEFAULT_PORT - int "Default MQTT over Websocket Secure port" - default 443 - depends on MQTT_USE_CUSTOM_CONFIG - depends on MQTT_TRANSPORT_WEBSOCKET - depends on MQTT_TRANSPORT_WEBSOCKET_SECURE - help - Default MQTT over Websocket Secure port - - config MQTT_BUFFER_SIZE - int "Default MQTT Buffer Size" - default 1024 - depends on MQTT_USE_CUSTOM_CONFIG - help - This buffer size using for both transmit and receive - - config MQTT_TASK_STACK_SIZE - int "MQTT task stack size" - default 6144 - depends on MQTT_USE_CUSTOM_CONFIG - help - MQTT task stack size - - config MQTT_DISABLE_API_LOCKS - bool "Disable API locks" - default n - depends on MQTT_USE_CUSTOM_CONFIG - help - Default config employs API locks to protect internal structures. It is possible to disable - these locks if the user code doesn't access MQTT API from multiple concurrent tasks - - config MQTT_TASK_PRIORITY - int "MQTT task priority" - default 5 - depends on MQTT_USE_CUSTOM_CONFIG - help - MQTT task priority. Higher number denotes higher priority. - - config MQTT_POLL_READ_TIMEOUT_MS - int "MQTT transport poll read timeut" - default 1000 - depends on MQTT_USE_CUSTOM_CONFIG - help - Timeout when polling underlying transport for read. - - config MQTT_EVENT_QUEUE_SIZE - int "Number of queued events." - default 1 - depends on MQTT_USE_CUSTOM_CONFIG - help - A value higher than 1 enables multiple queued events. - - config MQTT_TASK_CORE_SELECTION_ENABLED - bool "Enable MQTT task core selection" - help - This will enable core selection - - choice MQTT_TASK_CORE_SELECTION - depends on MQTT_TASK_CORE_SELECTION_ENABLED - prompt "Core to use ?" - config MQTT_USE_CORE_0 - bool "Core 0" - config MQTT_USE_CORE_1 - bool "Core 1" - endchoice - - config MQTT_OUTBOX_DATA_ON_EXTERNAL_MEMORY - bool "Use external memory for outbox data" - default n - depends on MQTT_USE_CUSTOM_CONFIG - help - Set to true to use external memory for outbox data. - - config MQTT_CUSTOM_OUTBOX - bool "Enable custom outbox implementation" - default n - help - Set to true if a specific implementation of message outbox is needed (e.g. persistent outbox in NVM or - similar). - Note: Implementation of the custom outbox must be added to the mqtt component. These CMake commands - could be used to append the custom implementation to lib-mqtt sources: - idf_component_get_property(mqtt mqtt COMPONENT_LIB) - set_property(TARGET ${mqtt} PROPERTY SOURCES ${PROJECT_DIR}/custom_outbox.c APPEND) - - config MQTT_OUTBOX_EXPIRED_TIMEOUT_MS - int "Outbox message expired timeout[ms]" - default 30000 - depends on MQTT_USE_CUSTOM_CONFIG - help - Messages which stays in the outbox longer than this value before being published will be discarded. - - config MQTT_TOPIC_PRESENT_ALL_DATA_EVENTS - bool "Enable publish topic in all data events" - default n - depends on MQTT_USE_CUSTOM_CONFIG - help - Set to true to have publish topic in all data events. This changes the behaviour - when the message is bigger than the receive buffer size. The first event of the sequence - always have the topic. - Note: This will allocate memory to store the topic only in case of messge bigger than the buffer size. - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/LICENSE b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/LICENSE deleted file mode 100644 index a623b53ff..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2016 Tuan PM - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/README.md deleted file mode 100644 index f46f80bd5..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/README.md +++ /dev/null @@ -1,52 +0,0 @@ -# ESP32 MQTT Library - -![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/espressif/esp-mqtt/test-examples.yml?branch=master) -![License](https://img.shields.io/github/license/espressif/esp-mqtt) -![GitHub contributors](https://img.shields.io/github/contributors/espressif/esp-mqtt) - -## Features - -- Based on: -- Support MQTT over TCP, SSL with mbedtls, MQTT over Websocket, MQTT over Websocket Secure -- Easy to setup with URI -- Multiple instances (Multiple clients in one application) -- Support subscribing, publishing, authentication, will messages, keep alive pings and all 3 QoS levels (it should be a fully functional client). -- Support for MQTT 3.1.1 and 5.0 - -## How to use - -ESP-MQTT is available through the [ESP-IDF Component Manager](https://components.espressif.com/) and ships as a standard [ESP-IDF](https://github.com/espressif/esp-idf) component. - -- To add it via the Component Manager (recommended), declare the dependency in your project's `idf_component.yml`, for example: - - ```yaml - dependencies: - espressif/mqtt: "*" - ``` - - Replace `*` with the version constraint you want to track, or run `idf.py add-dependency espressif/mqtt`. -- For local development, clone this repository as `mqtt` so the component name matches: - - ```bash - git clone https://github.com/espressif/esp-mqtt.git mqtt - ``` - -## Documentation - -- Documentation of ESP-MQTT API: - -## License - -- Apache License 2.0 -- MQTT package origin: [Stephen Robinson - contiki-mqtt](https://github.com/esar/contiki-mqtt) -- Additional contributions by [@tuanpmt](https://twitter.com/tuanpmt) - -## Older IDF versions - -For [ESP-IDF](https://github.com/espressif/esp-idf) versions prior to IDFv3.2, please clone as a component of [ESP-IDF](https://github.com/espressif/esp-idf): - -``` -git submodule add https://github.com/espressif/esp-mqtt.git components/espmqtt -``` - -and checkout the [ESP-MQTT_FOR_IDF_3.1](https://github.com/espressif/esp-mqtt/tree/ESP-MQTT_FOR_IDF_3.1) tag diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/Doxyfile b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/Doxyfile deleted file mode 100644 index 35dabbc4a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/Doxyfile +++ /dev/null @@ -1,57 +0,0 @@ -# This is Doxygen configuration file -# -# Doxygen provides over 260 configuration statements -# To make this file easier to follow, -# it contains only statements that are non-default -# -# NOTE: -# It is recommended not to change defaults unless specifically required -# Test any changes how they affect generated documentation -# Make sure that correct warnings are generated to flag issues with documented code -# -# For the complete list of configuration statements see: -# http://doxygen.nl/manual/config.html - - -PROJECT_NAME = "ESP-MQTT Programming Guide" - -## The 'INPUT' statement below is used as input by script 'gen-df-input.py' -## to automatically generate API reference list files heder_file.inc -## These files are placed in '_inc' directory -## and used to include in API reference documentation - -INPUT = \ - $(PROJECT_PATH)/include/mqtt_client.h \ - $(PROJECT_PATH)/include/mqtt5_client.h \ - $(PROJECT_PATH)/include/mqtt_supported_features.h - -## Get warnings for functions that have no documentation for their parameters or return value -## -WARN_NO_PARAMDOC = YES - -## Enable preprocessing and remove __attribute__(...) expressions from the INPUT files -## -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = YES -PREDEFINED = \ - $(ENV_DOXYGEN_DEFINES) \ - -## Do not complain about not having dot -## -HAVE_DOT = NO - -## Generate XML that is required for Breathe -## -GENERATE_XML = YES -XML_OUTPUT = xml - -GENERATE_HTML = NO -HAVE_DOT = NO -GENERATE_LATEX = NO -GENERATE_MAN = YES -GENERATE_RTF = NO - -## Skip distracting progress messages -## -QUIET = YES diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/conf_common.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/conf_common.py deleted file mode 100644 index 7e21f2976..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/conf_common.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Common (non-language-specific) configuration for Sphinx -# - -# type: ignore -# pylint: disable=wildcard-import -# pylint: disable=undefined-variable - -from __future__ import print_function, unicode_literals - -from esp_docs.conf_docs import * # noqa: F403,F401 - -# IDF_PATH validation removed - not needed for standalone component docs -# Only required when using ESP-IDF extensions that depend on IDF environment - - -extensions += ['sphinx_copybutton', - # Needed as a trigger for running doxygen - 'esp_docs.esp_extensions.dummy_build_system', - 'esp_docs.esp_extensions.run_doxygen' - ] - -# link roles config -github_repo = 'espressif/esp-mqtt' - -# context used by sphinx_idf_theme -html_context['github_user'] = 'espressif' -html_context['github_repo'] = 'esp-mqtt' - -# Extra options required by sphinx_idf_theme -project_slug = 'esp-mqtt' -versions_url = './_static/mqtt_docs_versions.js' - -idf_targets = [ 'esp32' ] -languages = ['en'] - - - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/doxygen-known-warnings.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/doxygen-known-warnings.txt deleted file mode 100644 index 1ad7d8a06..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/doxygen-known-warnings.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Known doxygen warnings for ESP-MQTT documentation build -# Currently no known doxygen warnings expected \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/en/conf.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/en/conf.py deleted file mode 100644 index be95ec82c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/en/conf.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# -# English Language RTD & Sphinx config file -# -# Uses ../conf_common.py for most non-language-specific settings. - -# Importing conf_common adds all the non-language-specific -# parts to this conf module -try: - from conf_common import * # noqa: F403,F401 -except ImportError: - import os - import sys - sys.path.insert(0, os.path.abspath('../')) - from conf_common import * # noqa: F403,F401 - -import datetime - -current_year = datetime.datetime.now().year - -# General information about the project. -project = u'ESP-MQTT Programming Guide' -copyright = u'2019 - {}, Espressif Systems (Shanghai) Co., Ltd'.format(current_year) - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -language = 'en' diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/en/index.rst b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/en/index.rst deleted file mode 100644 index 52e1a916b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/en/index.rst +++ /dev/null @@ -1,208 +0,0 @@ -ESP-MQTT -======== - -:link_to_translation:`zh_CN:[中文]` - -Overview --------- - -ESP-MQTT is an implementation of `MQTT `__ protocol client, which is a lightweight publish/subscribe messaging protocol. Now ESP-MQTT supports `MQTT v5.0 `__. - - -Features --------- - - * Support MQTT over TCP, SSL with Mbed TLS, MQTT over WebSocket, and MQTT over WebSocket Secure - * Easy to setup with URI - * Multiple instances (multiple clients in one application) - * Support subscribing, publishing, authentication, last will messages, keep alive pings, and all 3 Quality of Service (QoS) levels (it should be a fully functional client) - - -Application Examples --------------------- - - - :example:`tcp` demonstrates how to implement MQTT communication over TCP (default port 1883). - - - :example:`ssl` demonstrates how to use SSL transport to implement MQTT communication over TLS (default port 8883). - - - :example:`ssl_ds` demonstrates how to use digital signature peripheral for authentication to implement MQTT communication over TLS (default port 8883). - - - :example:`ssl_mutual_auth` demonstrates how to use certificates for authentication to implement MQTT communication (default port 8883). - - - :example:`ssl_psk` demonstrates how to use pre-shared keys for authentication to implement MQTT communication over TLS (default port 8883). - - - :example:`ws` demonstrates how to implement MQTT communication over WebSocket (default port 80). - - - :example:`wss` demonstrates how to implement MQTT communication over WebSocket Secure (default port 443). - - - :example:`mqtt5` demonstrates how to use ESP-MQTT library to connect to broker with MQTT v5.0. - - - :example:`custom_outbox` demonstrates how to customize the outbox in the ESP-MQTT library. - -MQTT Message Retransmission ---------------------------- - -A new MQTT message can be created by calling :cpp:func:`esp_mqtt_client_publish ` or its non-blocking counterpart :cpp:func:`esp_mqtt_client_enqueue `. - -Messages with QoS 0 are sent only once. QoS 1 and 2 behave differently since the protocol requires additional steps to complete the process. - -The ESP-MQTT library opts to always retransmit unacknowledged QoS 1 and 2 publish messages to prevent data loss in faulty connections, even though the MQTT specification requires the re-transmission only on reconnect with Clean Session flag been set to 0 (set :cpp:member:`disable_clean_session ` to true for this behavior). - -QoS 1 and 2 messages that may need retransmission are always enqueued, but first transmission try occurs immediately if :cpp:func:`esp_mqtt_client_publish ` is used. A transmission retry for unacknowledged messages will occur after :cpp:member:`message_retransmit_timeout `. After :ref:`CONFIG_MQTT_OUTBOX_EXPIRED_TIMEOUT_MS` messages will expire and be deleted. If :ref:`CONFIG_MQTT_REPORT_DELETED_MESSAGES` is set, an event will be sent to notify the user. - -Configuration -------------- - -The configuration is made by setting fields in :cpp:class:`esp_mqtt_client_config_t` struct. The configuration struct has the following sub structs to configure different aspects of the client operation. - - * :cpp:class:`esp_mqtt_client_config_t::broker_t` - Allow to set address and security verification. - * :cpp:class:`esp_mqtt_client_config_t::credentials_t` - Client credentials for authentication. - * :cpp:class:`esp_mqtt_client_config_t::session_t` - Configuration for MQTT session aspects. - * :cpp:class:`esp_mqtt_client_config_t::network_t` - Networking related configuration. - * :cpp:class:`esp_mqtt_client_config_t::task_t` - Allow to configure FreeRTOS task. - * :cpp:class:`esp_mqtt_client_config_t::buffer_t` - Buffer size for input and output. - -In the following sections, the most common aspects are detailed. - -Broker -^^^^^^^^^^^ - -=========== -Address -=========== - -Broker address can be set by usage of :cpp:class:`address ` struct. The configuration can be made by usage of :cpp:member:`uri ` field or the combination of :cpp:member:`hostname `, :cpp:member:`transport ` and :cpp:member:`port `. Optionally, :cpp:member:`path ` could be set, this field is useful in WebSocket connections. - -The :cpp:member:`uri ` field is used in the format ``scheme://hostname:port/path``. - -- Currently support ``mqtt``, ``mqtts``, ``ws``, ``wss`` schemes -- MQTT over TCP samples: - - - ``mqtt://mqtt.eclipseprojects.io``: MQTT over TCP, default port 1883 - - ``mqtt://mqtt.eclipseprojects.io:1884``: MQTT over TCP, port 1884 - - ``mqtt://username:password@mqtt.eclipseprojects.io:1884``: MQTT over TCP, - port 1884, with username and password - -- MQTT over SSL samples: - - - ``mqtts://mqtt.eclipseprojects.io``: MQTT over SSL, port 8883 - - ``mqtts://mqtt.eclipseprojects.io:8884``: MQTT over SSL, port 8884 - -- MQTT over WebSocket samples: - - - ``ws://mqtt.eclipseprojects.io:80/mqtt`` - -- MQTT over WebSocket Secure samples: - - - ``wss://mqtt.eclipseprojects.io:443/mqtt`` - -- Minimal configurations: - -.. code-block:: c - - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = "mqtt://mqtt.eclipseprojects.io", - }; - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, client); - esp_mqtt_client_start(client); - -.. note:: - - By default MQTT client uses event loop library to post related MQTT events (connected, subscribed, published, etc.). - -============ -Verification -============ - -For secure connections with TLS used, and to guarantee Broker's identity, the :cpp:class:`verification ` struct must be set. -The broker certificate may be set in PEM or DER format. To select DER, the equivalent :cpp:member:`certificate_len ` field must be set. Otherwise, a null-terminated string in PEM format should be provided to :cpp:member:`certificate ` field. - -- Get certificate from server, example: ``mqtt.eclipseprojects.io`` - .. code:: - - openssl s_client -showcerts -connect mqtt.eclipseprojects.io:8883 < /dev/null \ - 2> /dev/null | openssl x509 -outform PEM > mqtt_eclipse_org.pem - -- Check the sample application: :example:`ssl` -- Configuration: - -.. code:: c - - const esp_mqtt_client_config_t mqtt_cfg = { - .broker = { - .address.uri = "mqtts://mqtt.eclipseprojects.io:8883", - .verification.certificate = (const char *)mqtt_eclipse_org_pem_start, - }, - }; - -For details about other fields, please check the `API Reference`_ and :ref:`esp_tls_server_verification`. - -Client Credentials -^^^^^^^^^^^^^^^^^^ - -All client related credentials are under the :cpp:class:`credentials ` field. - - * :cpp:member:`username `: pointer to the username used for connecting to the broker, can also be set by URI - * :cpp:member:`client_id `: pointer to the client ID, defaults to ``ESP32_%CHIPID%`` where ``%CHIPID%`` are the last 3 bytes of MAC address in hex format - -============== -Authentication -============== - -It is possible to set authentication parameters through the :cpp:class:`authentication ` field. The client supports the following authentication methods: - - * :cpp:member:`password `: use a password by setting - * :cpp:member:`certificate ` and :cpp:member:`key `: mutual authentication with TLS, and both can be provided in PEM or DER format - * :cpp:member:`use_secure_element `: use secure element (ATECC608A) interfaced to ESP32 series - * :cpp:member:`ds_data `: use Digital Signature Peripheral available in some Espressif devices - -Session -^^^^^^^^^^^ - -For MQTT session-related configurations, :cpp:class:`session ` fields should be used. - -======================= -Last Will and Testament -======================= - -MQTT allows for a last will and testament (LWT) message to notify other clients when a client ungracefully disconnects. This is configured by the following fields in the :cpp:class:`last_will ` struct. - - * :cpp:member:`topic `: pointer to the LWT message topic - * :cpp:member:`msg `: pointer to the LWT message - * :cpp:member:`msg_len `: length of the LWT message, required if :cpp:member:`msg ` is not null-terminated - * :cpp:member:`qos `: quality of service for the LWT message - * :cpp:member:`retain `: specifies the retain flag of the LWT message - -Change Settings in Project Configuration Menu -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -The settings for MQTT can be found using :code:`idf.py menuconfig`, under ``Component config`` > ``ESP-MQTT Configuration``. - -The following settings are available: - -- :ref:`CONFIG_MQTT_PROTOCOL_311`: enable 3.1.1 version of MQTT protocol - -- :ref:`CONFIG_MQTT_TRANSPORT_SSL` and :ref:`CONFIG_MQTT_TRANSPORT_WEBSOCKET`: enable specific MQTT transport layer, such as SSL, WEBSOCKET, and WEBSOCKET_SECURE - -- :ref:`CONFIG_MQTT_CUSTOM_OUTBOX`: disable default implementation of mqtt_outbox, so a specific implementation can be supplied - - -Events ------- -The following events may be posted by the MQTT client: - -* ``MQTT_EVENT_BEFORE_CONNECT``: The client is initialized and about to start connecting to the broker. -* ``MQTT_EVENT_CONNECTED``: The client has successfully established a connection to the broker. The client is now ready to send and receive data. -* ``MQTT_EVENT_DISCONNECTED``: The client has aborted the connection due to being unable to read or write data, e.g., because the server is unavailable. -* ``MQTT_EVENT_SUBSCRIBED``: The broker has acknowledged the client's subscribe request. The event data contains the message ID of the subscribe message. -* ``MQTT_EVENT_UNSUBSCRIBED``: The broker has acknowledged the client's unsubscribe request. The event data contains the message ID of the unsubscribe message. -* ``MQTT_EVENT_PUBLISHED``: The broker has acknowledged the client's publish message. This is only posted for QoS level 1 and 2, as level 0 does not use acknowledgements. The event data contains the message ID of the publish message. -* ``MQTT_EVENT_DATA``: The client has received a publish message. The event data contains: message ID, name of the topic it was published to, received data and its length. For data that exceeds the internal buffer, multiple ``MQTT_EVENT_DATA`` events are posted and :cpp:member:`current_data_offset ` and :cpp:member:`total_data_len ` from event data updated to keep track of the fragmented message. -* ``MQTT_EVENT_ERROR``: The client has encountered an error. The field :cpp:type:`error_handle ` in the event data contains :cpp:type:`error_type ` that can be used to identify the error. The type of error determines which parts of the :cpp:type:`error_handle ` struct is filled. - -API Reference -------------- - -.. include-build-file:: inc/mqtt_client.inc -.. include-build-file:: inc/mqtt5_client.inc diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/sphinx-known-warnings.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/sphinx-known-warnings.txt deleted file mode 100644 index cff318d32..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/sphinx-known-warnings.txt +++ /dev/null @@ -1,37 +0,0 @@ -mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:type:: struct esp_mqtt_event_t esp_mqtt_event_t'. -mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:type:: struct esp_mqtt_client_config_t esp_mqtt_client_config_t'. -mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enum:: esp_mqtt_event_id_t'. -mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enum:: esp_mqtt_connect_return_code_t'. -mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enum:: esp_mqtt_error_type_t'. -mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enum:: esp_mqtt_transport_t'. -mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enum:: esp_mqtt_protocol_ver_t'. -mqtt5_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enumerator:: __attribute__'. -index.rst:line: CRITICAL: Duplicate ID: "mqtt5__client_8h_1a4504a6557b6b27d66613101e758693f4a8c1dfc1ccf00a08192611433ee7f17b4". -index.rst:line: WARNING: Duplicate explicit target name: "mqtt5__client_8h_1a4504a6557b6b27d66613101e758693f4a8c1dfc1ccf00a08192611433ee7f17b4". -mqtt5_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enumerator:: __attribute__'. -index.rst:line: CRITICAL: Duplicate ID: "mqtt5__client_8h_1a4504a6557b6b27d66613101e758693f4a8c1dfc1ccf00a08192611433ee7f17b4". -index.rst:line: WARNING: Duplicate explicit target name: "mqtt5__client_8h_1a4504a6557b6b27d66613101e758693f4a8c1dfc1ccf00a08192611433ee7f17b4". -mqtt5_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enumerator:: __attribute__'. -index.rst:line: CRITICAL: Duplicate ID: "mqtt5__client_8h_1a4504a6557b6b27d66613101e758693f4a8c1dfc1ccf00a08192611433ee7f17b4". -index.rst:line: WARNING: Duplicate explicit target name: "mqtt5__client_8h_1a4504a6557b6b27d66613101e758693f4a8c1dfc1ccf00a08192611433ee7f17b4". -mqtt5_client.inc:line: WARNING: Duplicate C++ declaration, also defined at index:line. -Declaration is '.. cpp:enumerator:: __attribute__'. -index.rst:line: CRITICAL: Duplicate ID: "mqtt5__client_8h_1a4504a6557b6b27d66613101e758693f4a8c1dfc1ccf00a08192611433ee7f17b4". -index.rst:line: WARNING: Duplicate explicit target name: "mqtt5__client_8h_1a4504a6557b6b27d66613101e758693f4a8c1dfc1ccf00a08192611433ee7f17b4". -index.rst:line: WARNING: undefined label: 'config_mqtt_outbox_expired_timeout_ms' -index.rst:line: WARNING: undefined label: 'config_mqtt_report_deleted_messages' -index.rst:line: WARNING: undefined label: 'esp_tls_server_verification' -index.rst:line: WARNING: undefined label: 'config_mqtt_protocol_311' -index.rst:line: WARNING: undefined label: 'config_mqtt_transport_ssl' -index.rst:line: WARNING: undefined label: 'config_mqtt_transport_websocket' -index.rst:line: WARNING: undefined label: 'config_mqtt_custom_outbox' diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/zh_CN/conf.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/zh_CN/conf.py deleted file mode 100644 index 0eadade5c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/zh_CN/conf.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# -# English Language RTD & Sphinx config file -# -# Uses ../conf_common.py for most non-language-specific settings. - -# Importing conf_common adds all the non-language-specific -# parts to this conf module -try: - from conf_common import * # noqa: F403,F401 -except ImportError: - import os - import sys - sys.path.insert(0, os.path.abspath('../')) - from conf_common import * # noqa: F403,F401 - -import datetime - -current_year = datetime.datetime.now().year - -# General information about the project. -project = u'ESP-MQTT Programming Guide' -copyright = u'2019 - {}, Espressif Systems (Shanghai) Co., Ltd'.format(current_year) - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -language = 'zh_CN' diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/zh_CN/index.rst b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/zh_CN/index.rst deleted file mode 100644 index eca9217c2..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/docs/zh_CN/index.rst +++ /dev/null @@ -1,208 +0,0 @@ -ESP-MQTT -======== - -:link_to_translation:`en:[English]` - -概述 --------- - -ESP-MQTT 是 `MQTT `__ 协议客户端的实现,MQTT 是一种基于发布/订阅模式的轻量级消息传输协议。ESP-MQTT 当前支持 `MQTT v5.0 `__。 - - -特性 --------- - - * 支持基于 TCP 的 MQTT、基于 Mbed TLS 的 SSL、基于 WebSocket 的 MQTT 以及基于 WebSocket Secure 的 MQTT - * 通过 URI 简化配置流程 - * 多个实例(一个应用程序中有多个客户端) - * 支持订阅、发布、认证、遗嘱消息、保持连接心跳机制以及 3 个服务质量 (QoS) 级别(组成全功能客户端) - - -应用示例 -------------------- - - - :example:`tcp` 演示了如何通过 TCP 实现 MQTT 通信(默认端口 1883)。 - - - :example:`ssl` 演示了如何使用 SSL 传输来实现基于 TLS 的 MQTT 通信(默认端口 8883)。 - - - :example:`ssl_ds` 演示了如何使用数字签名外设进行身份验证,以实现基于 TLS 的 MQTT 通信(默认端口 8883)。 - - - :example:`ssl_mutual_auth` 演示了如何使用证书进行身份验证实现 MQTT 通信(默认端口 8883)。 - - - :example:`ssl_psk` 演示了如何使用预共享密钥进行身份验证,以实现基于 TLS 的 MQTT 通信(默认端口 8883)。 - - - :example:`ws` 演示了如何通过 WebSocket 实现 MQTT 通信(默认端口 80)。 - - - :example:`wss` 演示了如何通过 WebSocket Secure 实现 MQTT 通信(默认端口 443)。 - - - :example:`mqtt5` 演示了如何使用 ESP-MQTT 库通过 MQTT v5.0 连接到代理。 - - - :example:`custom_outbox` 演示了如何自定义 ESP-MQTT 库中的 outbox。 - -MQTT 消息重传 --------------------------- - -调用 :cpp:func:`esp_mqtt_client_publish ` 或其非阻塞形式 :cpp:func:`esp_mqtt_client_enqueue `,可以创建新的 MQTT 消息。 - -QoS 0 的消息将只发送一次,QoS 1 和 2 具有不同行为,因为协议需要执行额外步骤来完成该过程。 - -ESP-MQTT 库将始终重新传输未确认的 QoS 1 和 2 发布消息,以避免连接错误导致信息丢失,虽然 MQTT 规范要求仅在重新连接且 Clean Session 标志设置为 0 时重新传输(针对此行为,将 :cpp:member:`disable_clean_session ` 设置为 true)。 - -可能需要重传的 QoS 1 和 2 消息总是处于排队状态,但若使用 :cpp:func:`esp_mqtt_client_publish ` 则会立即进行第一次传输尝试。未确认消息的重传将在 :cpp:member:`message_retransmit_timeout ` 之后进行。在 :ref:`CONFIG_MQTT_OUTBOX_EXPIRED_TIMEOUT_MS` 之后,消息会过期并被删除。如已设置 :ref:`CONFIG_MQTT_REPORT_DELETED_MESSAGES`,则会发送事件来通知用户。 - -配置 -------------- - -通过设置 :cpp:class:`esp_mqtt_client_config_t` 结构体中的字段来进行配置。配置结构体包含以下子结构体,用于配置客户端的多种操作。 - - * :cpp:class:`esp_mqtt_client_config_t::broker_t` - 允许设置地址和安全验证。 - * :cpp:class:`esp_mqtt_client_config_t::credentials_t` - 用于身份验证的客户端凭据。 - * :cpp:class:`esp_mqtt_client_config_t::session_t` - MQTT 会话相关配置。 - * :cpp:class:`esp_mqtt_client_config_t::network_t` - 网络相关配置。 - * :cpp:class:`esp_mqtt_client_config_t::task_t` - 允许配置 FreeRTOS 任务。 - * :cpp:class:`esp_mqtt_client_config_t::buffer_t` - 输入输出的缓冲区大小。 - -下文将详细介绍不同配置。 - -服务器 -^^^^^^^^^^^^ - -=========== -地址 -=========== - -通过 :cpp:class:`address ` 结构体的 :cpp:member:`uri ` 字段或者 :cpp:member:`hostname `、:cpp:member:`transport ` 以及 :cpp:member:`port ` 的组合,可以设置服务器地址。也可以选择设置 :cpp:member:`path `,该字段对 WebSocket 连接而言非常有用。 - -使用 :cpp:member:`uri ` 字段的格式为 ``scheme://hostname:port/path``。 - -- 当前支持 ``mqtt``、``mqtts``、``ws`` 和 ``wss`` 协议 -- 基于 TCP 的 MQTT 示例: - - - ``mqtt://mqtt.eclipseprojects.io``:基于 TCP 的 MQTT,默认端口 1883 - - ``mqtt://mqtt.eclipseprojects.io:1884``:基于 TCP 的 MQTT,端口 1884 - - ``mqtt://username:password@mqtt.eclipseprojects.io:1884``:基于 TCP 的 MQTT, - 端口 1884,带有用户名和密码 - -- 基于 SSL 的 MQTT 示例: - - - ``mqtts://mqtt.eclipseprojects.io``:基于 SSL 的 MQTT,端口 8883 - - ``mqtts://mqtt.eclipseprojects.io:8884``:基于 SSL 的 MQTT,端口 8884 - -- 基于 WebSocket 的 MQTT 示例: - - - ``ws://mqtt.eclipseprojects.io:80/mqtt`` - -- 基于 WebSocket Secure 的 MQTT 示例: - - - ``wss://mqtt.eclipseprojects.io:443/mqtt`` - -- 最简配置: - -.. code-block:: c - - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = "mqtt://mqtt.eclipseprojects.io", - }; - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, client); - esp_mqtt_client_start(client); - -.. note:: - - 默认情况下,MQTT 客户端使用事件循环库来发布相关 MQTT 事件(已连接、已订阅、已发布等)。 - -============= -验证 -============= - -为验证服务器身份,对于使用 TLS 的安全链接,必须设置 :cpp:class:`verification ` 结构体。 -服务器证书可设置为 PEM 或 DER 格式。如要选择 DER 格式,必须设置等效 :cpp:member:`certificate_len ` 字段,否则应在 :cpp:member:`certificate ` 字段传入以空字符结尾的 PEM 格式字符串。 - -- 从服务器获取证书,例如:``mqtt.eclipseprojects.io`` - .. code:: - - openssl s_client -showcerts -connect mqtt.eclipseprojects.io:8883 < /dev/null \ - 2> /dev/null | openssl x509 -outform PEM > mqtt_eclipse_org.pem - -- 检查示例应用程序::example:`ssl` -- 配置: - -.. code:: c - - const esp_mqtt_client_config_t mqtt_cfg = { - .broker = { - .address.uri = "mqtts://mqtt.eclipseprojects.io:8883", - .verification.certificate = (const char *)mqtt_eclipse_org_pem_start, - }, - }; - -了解其他字段的详细信息,请查看 `API 参考`_ 以及 :ref:`esp_tls_server_verification`。 - -客户端凭据 -^^^^^^^^^^^^^^^^^^^^^^^^ - -:cpp:class:`credentials ` 字段下包含所有客户端相关凭据。 - - * :cpp:member:`username `:指向用于连接服务器用户名的指针,也可通过 URI 设置 - * :cpp:member:`client_id `:指向客户端 ID 的指针,默认为 ``ESP32_%CHIPID%``,其中 ``%CHIPID%`` 是十六进制 MAC 地址的最后 3 个字节 - -=============== -认证 -=============== - -可以通过 :cpp:class:`authentication ` 字段设置认证参数。客户端支持以下认证方式: - - * :cpp:member:`password `:使用密码 - * * :cpp:member:`certificate ` 和 :cpp:member:`key `:进行双向 TLS 身份验证,PEM 或 DER 格式均可 - * :cpp:member:`use_secure_element `:使用 ESP32 系列中的安全元素 (ATECC608A) - * :cpp:member:`ds_data `:使用某些乐鑫设备的数字签名外设 - -会话 -^^^^^^^^^^^^ - -使用 :cpp:class:`session ` 字段进行 MQTT 会话相关配置。 - -======================== -遗嘱消息 (LWT) -======================== - -通过设置 :cpp:class:`last_will ` 结构体的以下字段,MQTT 会在一个客户端意外断开连接时通过遗嘱消息通知其他客户端。 - - * :cpp:member:`topic `:指向 LWT 消息主题的指针 - * :cpp:member:`msg `:指向 LWT 消息的指针 - * :cpp:member:`msg_len `:LWT 消息的长度,:cpp:member:`msg ` 不以空字符结尾时需要该字段 - * :cpp:member:`qos `:LWT 消息的服务质量 - * :cpp:member:`retain `:指定 LWT 消息的保留标志 - -在项目配置菜单中设置 MQTT -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -通过 :code:`idf.py menuconfig`,可以在 ``Component config`` > ``ESP-MQTT Configuration`` 中找到 MQTT 设置。 - -相关设置如下: - -- :ref:`CONFIG_MQTT_PROTOCOL_311`:启用 MQTT 协议 3.1.1 版本 - -- :ref:`CONFIG_MQTT_TRANSPORT_SSL` 和 :ref:`CONFIG_MQTT_TRANSPORT_WEBSOCKET`:启用特定 MQTT 传输层,例如 SSL、WEBSOCKET 和 WEBSOCKET_SECURE - -- :ref:`CONFIG_MQTT_CUSTOM_OUTBOX`:禁用 mqtt_outbox 默认实现,因此可以提供特定实现 - - -事件 ------------- -MQTT 客户端可能会发布以下事件: - -* ``MQTT_EVENT_BEFORE_CONNECT``:客户端已初始化并即将开始连接至服务器。 -* ``MQTT_EVENT_CONNECTED``:客户端已成功连接至服务器。客户端已准备好收发数据。 -* ``MQTT_EVENT_DISCONNECTED``:由于无法读取或写入数据,例如因为服务器无法使用,客户端已终止连接。 -* ``MQTT_EVENT_SUBSCRIBED``:服务器已确认客户端的订阅请求。事件数据将包含订阅消息的消息 ID。 -* ``MQTT_EVENT_UNSUBSCRIBED``:服务器已确认客户端的退订请求。事件数据将包含退订消息的消息 ID。 -* ``MQTT_EVENT_PUBLISHED``:服务器已确认客户端的发布消息。消息将仅针对 QoS 级别 1 和 2 发布,因为级别 0 不会进行确认。事件数据将包含发布消息的消息 ID。 -* ``MQTT_EVENT_DATA``:客户端已收到发布消息。事件数据包含:消息 ID、发布消息所属主题名称、收到的数据及其长度。对于超出内部缓冲区的数据,将发布多个 ``MQTT_EVENT_DATA``,并更新事件数据的 :cpp:member:`current_data_offset ` 和 :cpp:member:`total_data_len` 以跟踪碎片化消息。 -* ``MQTT_EVENT_ERROR``:客户端遇到错误。使用事件数据 :cpp:type:`error_handle ` 字段中的 :cpp:type:`error_type `,可以发现错误。错误类型决定 :cpp:type:`error_handle ` 结构体的哪些部分会被填充。 - -API 参考 -------------- - -.. include-build-file:: inc/mqtt_client.inc -.. include-build-file:: inc/mqtt5_client.inc diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/CMakeLists.txt deleted file mode 100644 index 746ab1cb3..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/CMakeLists.txt +++ /dev/null @@ -1,20 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt_tcp_custom_outbox) - -# Add custom outbox implementation to mqtt component -idf_component_get_property(mqtt mqtt COMPONENT_LIB) -target_sources(${mqtt} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/main/custom_outbox.cpp) - -# Our C++ needs an extra dependency to mqtt component, so we add it to mqtt component. -# This is needed because we are adding another source to the mqtt component and the build -# system needs to be aware of it to be able to compile and link the mqtt component. -# First we get our dependency -idf_component_get_property(pthread pthread COMPONENT_LIB) -# And them we link the components -target_link_libraries(${mqtt} ${pthread}) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/README.md deleted file mode 100644 index 5b64bcdba..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/README.md +++ /dev/null @@ -1,100 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT custom outbox sample application -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -This example is a slightly modified version of the tcp example to show how to configure a custom outbox. -This example connects to the broker URI selected using `idf.py menuconfig` (using mqtt tcp transport) and as a demonstration subscribes/unsubscribes and send a message on certain topic. -(Please note that the public broker is maintained by the community so may not be always available, for details please see this [disclaimer](https://iot.eclipse.org/getting-started/#sandboxes)) - -Note: If the URI equals `FROM_STDIN` then the broker address is read from stdin upon application startup (used for testing) - -It uses ESP-MQTT library which implements mqtt client to connect to mqtt broker. - -## Necessary changes to customize the outbox - -To customize the outbox the first step is to enable it in the menuconfig option. - -With this option enabled, the default implementation isn't defined and the function definition needs to be added to mqtt component. -Any extra dependencies needed by the new sources also need to be added to the mqtt component. Refer to the example CMakeLists.txt file -for the details on how to do it. - -## The custom outbox in the example - -For the sake of this example the customized outbox implements the same functionalits of the regular but using C++ as a language. - -The implementation uses [C++ Polymorphic memory resources]() to control memory allocations and limit the usage of the memory. - -## How to use example - -### Hardware Required - -This example can be executed on any ESP32 board, the only required interface is WiFi and connection to internet. - -### Configure the project - -* Open the project configuration menu (`idf.py menuconfig`) -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. - -Note that the mandatory configurations for this example, mqtt custom outbox and C++ exceptions are automatically added by the `sdkconfig.defaults` file. -### Build and Flash - -Build the project and flash it to the board, then run monitor tool to view serial output: - -``` -idf.py -p PORT flash monitor -``` - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (4635) example_common: Connected to example_netif_sta -I (4645) example_common: - IPv4 address: 192.168.33.206, -I (4645) example_common: - IPv6 address: fe80:0000:0000:0000:7e9e:bdff:fecf:00c0, type: ESP_IP6_ADDR_IS_LINK_LOCAL -I (4655) Monotonic: Monotonic: 400 bytes allocated, 400 total bytes in use -I (4665) Monotonic: Monotonic: 1000 bytes allocated, 1400 total bytes in use -I (4675) Monotonic: Monotonic: 128 bytes allocated, 1528 total bytes in use -I (4685) Pool: Pool: 32 bytes allocated, 32 total bytes in use -I (4685) Monotonic: Monotonic: 7688 bytes allocated, 9216 total bytes in use -I (4695) Monotonic: Monotonic: 128 bytes allocated, 9344 total bytes in use -I (4705) Pool: Pool: 480 bytes allocated, 512 total bytes in use -I (4715) Monotonic: Monotonic: 992 bytes allocated, 10336 total bytes in use -I (4715) Monotonic: Monotonic: 128 bytes allocated, 10464 total bytes in use -I (4725) Pool: Pool: 23 bytes allocated, 535 total bytes in use -I (4735) MQTT_EXAMPLE: Enqueued msg_id=14345 -I (4735) Pool: Pool: 29 bytes allocated, 564 total bytes in use -I (4745) MQTT_EXAMPLE: Enqueued msg_id=3507 -I (4745) MQTT_EXAMPLE: Other event id:7 -I (4755) main_task: Returned from app_main() -I (5085) MQTT_EXAMPLE: MQTT_EVENT_CONNECTED -I (5085) Pool: Pool: 23 bytes allocated, 587 total bytes in use -I (5085) MQTT_EXAMPLE: sent publish successful, msg_id=47425 -I (5085) Pool: Pool: 18 bytes allocated, 605 total bytes in use -I (5095) MQTT_EXAMPLE: sent subscribe successful, msg_id=60709 -I (5105) Pool: Pool: 18 bytes allocated, 623 total bytes in use -I (5105) MQTT_EXAMPLE: sent subscribe successful, msg_id=33273 -I (5395) Pool: Pool: 23 bytes deallocated, 623 total bytes in use -I (5395) MQTT_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=47425 -I (6005) Pool: Pool: 18 bytes deallocated, 623 total bytes in use -I (6005) MQTT_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=60709 -I (6005) MQTT_EXAMPLE: sent publish successful, msg_id=0 -I (6015) Pool: Pool: 18 bytes deallocated, 623 total bytes in use -I (6015) MQTT_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=33273 -I (6025) MQTT_EXAMPLE: sent publish successful, msg_id=0 -I (6035) MQTT_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos1 -DATA=data_3 -I (6315) MQTT_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos1 -DATA=data_3 -I (6315) Pool: Pool: 23 bytes deallocated, 623 total bytes in use -I (6315) MQTT_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=14345 -I (6615) MQTT_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -``` diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/CMakeLists.txt deleted file mode 100644 index 7423b6078..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -idf_component_register(SRCS "app_main.c" - INCLUDE_DIRS "." - PRIV_REQUIRES mqtt nvs_flash esp_netif - ) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/Kconfig.projbuild deleted file mode 100644 index c11539fb8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/Kconfig.projbuild +++ /dev/null @@ -1,13 +0,0 @@ -menu "Example Configuration" - - config BROKER_URL - string "Broker URL" - default "mqtt://mqtt.eclipseprojects.io" - help - URL of the broker to connect to - - config BROKER_URL_FROM_STDIN - bool - default y if BROKER_URL = "FROM_STDIN" - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/app_main.c deleted file mode 100644 index b30bc46aa..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/app_main.c +++ /dev/null @@ -1,173 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Unlicense OR CC0-1.0 - */ -/* MQTT (over TCP) Example with custom outbox - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ - -#include -#include -#include -#include -#include "esp_system.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" - -#include "esp_log.h" -#include "mqtt_client.h" - -static const char *TAG = "MQTT_EXAMPLE"; - - -static void log_error_if_nonzero(const char *message, int error_code) -{ - if (error_code != 0) { - ESP_LOGE(TAG, "Last error %s: 0x%x", message, error_code); - } -} - -/* - * @brief Event handler registered to receive MQTT events - * - * This function is called by the MQTT client event loop. - * - * @param handler_args user data registered to the event. - * @param base Event base for the handler(always MQTT Base in this example). - * @param event_id The id for the received event. - * @param event_data The data for the event, esp_mqtt_event_handle_t. - */ -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32 "", base, event_id); - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - int msg_id; - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - msg_id = esp_mqtt_client_publish(client, "/topic/qos1", "data_3", 0, 1, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d", event->msg_id); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - printf("TOPIC=%.*s\r\n", event->topic_len, event->topic); - printf("DATA=%.*s\r\n", event->data_len, event->data); - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - if (event->error_handle->error_type == MQTT_ERROR_TYPE_TCP_TRANSPORT) { - log_error_if_nonzero("reported from esp-tls", event->error_handle->esp_tls_last_esp_err); - log_error_if_nonzero("reported from tls stack", event->error_handle->esp_tls_stack_err); - log_error_if_nonzero("captured as transport's socket errno", event->error_handle->esp_transport_sock_errno); - ESP_LOGI(TAG, "Last errno string (%s)", strerror(event->error_handle->esp_transport_sock_errno)); - - } - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -static void mqtt_app_start(void) -{ - esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = CONFIG_BROKER_URL, - }; -#if CONFIG_BROKER_URL_FROM_STDIN - char line[128]; - - if (strcmp(mqtt_cfg.broker.address.uri, "FROM_STDIN") == 0) { - int count = 0; - printf("Please enter url of mqtt broker\n"); - while (count < 128) { - int c = fgetc(stdin); - if (c == '\n') { - line[count] = '\0'; - break; - } else if (c > 0 && c < 127) { - line[count] = c; - ++count; - } - vTaskDelay(10 / portTICK_PERIOD_MS); - } - mqtt_cfg.broker.address.uri = line; - printf("Broker url: %s\n", line); - } else { - ESP_LOGE(TAG, "Configuration mismatch: wrong broker url"); - abort(); - } -#endif /* CONFIG_BROKER_URL_FROM_STDIN */ - - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - /* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */ - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - - /*Let's enqueue a few messages to the outbox to see the allocations*/ - int msg_id; - msg_id = esp_mqtt_client_enqueue(client, "/topic/qos1", "data_3", 0, 1, 0, true); - ESP_LOGI(TAG, "Enqueued msg_id=%d", msg_id); - msg_id = esp_mqtt_client_enqueue(client, "/topic/qos2", "QoS2 message", 0, 2, 0, true); - ESP_LOGI(TAG, "Enqueued msg_id=%d", msg_id); - - /* Now we start the client and it's possible to see the memory usage for the operations in the outbox. */ - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("MQTT_EXAMPLE", ESP_LOG_VERBOSE); - esp_log_level_set("TRANSPORT_BASE", ESP_LOG_VERBOSE); - esp_log_level_set("esp-tls", ESP_LOG_VERBOSE); - esp_log_level_set("TRANSPORT", ESP_LOG_VERBOSE); - esp_log_level_set("custom_outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/custom_outbox.cpp b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/custom_outbox.cpp deleted file mode 100644 index 2db9d7e49..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/custom_outbox.cpp +++ /dev/null @@ -1,393 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Unlicense OR CC0-1.0 - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "esp_log.h" -#include "mqtt_outbox.h" - -constexpr auto TAG = "custom_outbox"; - -/* - * The trace resource class is created here as an example on how to build a custom memory resource - * The class is only needed to show where we are allocating from and to track allocations and deallocations. - */ -class trace_resource : public std::pmr::memory_resource { -public: - explicit trace_resource(std::string resource_name, std::pmr::memory_resource *upstream_resource = std::pmr::get_default_resource()) : upstream{upstream_resource}, name{std::move(resource_name)} {} - [[nodiscard]] std::string_view get_name() const noexcept - { - return std::string_view(name); - } - [[nodiscard]] auto upstream_resource() const - { - return upstream; - } -private: - void *do_allocate(std::size_t bytes, std::size_t alignment) override - { - auto *allocated = upstream->allocate(bytes, alignment); - allocated_total += bytes; - ESP_LOGI(name.c_str(), "%s: %zu bytes allocated, %zu total bytes in use", name.c_str(), bytes, allocated_total); - return allocated; - } - void do_deallocate(void *ptr, std::size_t bytes, std::size_t alignment) override - { - upstream->deallocate(ptr, bytes, alignment); - ESP_LOGI(name.c_str(), "%s: %zu bytes deallocated, %zu total bytes in use", name.c_str(), bytes, allocated_total); - } - - [[nodiscard]] bool do_is_equal(const std::pmr::memory_resource &other) const noexcept override - { - return this == &other; - } - size_t allocated_total{}; - std::pmr::memory_resource *upstream; - std::string name; -}; - -struct outbox_item { - /* Defining the allocator_type to let compiler know that our type is allocator aware, - * This way the allocator used for the outbox is propagated to the messages*/ - using allocator_type = std::pmr::polymorphic_allocator<>; - - /* Few strong types to diferetiate parameters*/ - enum class id_t : int {}; - enum class type_t : int {}; - enum class qos_t : int {}; - - /* Allocator aware constructors */ - outbox_item( - std::pmr::vector message, - id_t msg_id, - type_t msg_type, - qos_t msg_qos, - outbox_tick_t tick, - pending_state_t pending_state, - allocator_type alloc = {} - ) : message(std::move(message), alloc), id(msg_id), type(msg_type), qos(msg_qos), tick(tick), pending_state(pending_state) {} - - /*Copy and move constructors have an extra allocator parameter, for copy default and allocator aware are the same.*/ - outbox_item(const outbox_item &other, allocator_type alloc = {}) : message(other.message, alloc), id(other.id), type(other.type), qos(other.qos), tick(other.tick), pending_state(other.pending_state) {} - outbox_item(outbox_item &&other, allocator_type alloc) noexcept : message(std::move(other.message), alloc), id(other.id), type(other.type), qos(other.qos), tick(other.tick), pending_state(other.pending_state) - {} - - outbox_item(const outbox_item &) = default; - outbox_item(outbox_item &&other) = default; - outbox_item &operator=(const outbox_item &rhs) = default; - outbox_item &operator=(outbox_item &&other) = default; - ~outbox_item() = default; - - /* Getters to support outbox operation */ - [[nodiscard]] auto state() const noexcept - { - return pending_state; - } - - [[nodiscard]] allocator_type get_allocator() const - { - return message.get_allocator(); - } - - void set(pending_state state) noexcept - { - pending_state = state; - } - - void set(outbox_tick_t n_tick) noexcept - { - tick = n_tick; - } - - [[nodiscard]] auto get_id() const noexcept - { - return id; - } - - [[nodiscard]] auto get_type() const noexcept - { - return type; - } - - [[nodiscard]] auto get_tick() const noexcept - { - return tick; - } - - [[nodiscard]] auto get_data(size_t *len, uint16_t *msg_id, int *msg_type, int *msg_qos) - { - *len = message.size(); - *msg_id = static_cast(id); - *msg_type = static_cast(type); - *msg_qos = static_cast(qos); - return message.data(); - } - - [[nodiscard]] auto get_size() const noexcept - { - return message.size(); - } - -private: - std::pmr::vector message; - id_t id; - type_t type; - qos_t qos; - outbox_tick_t tick; - pending_state_t pending_state; -}; - -/* - * For the outbox_t we let the special member functions as default and - * we don't extend the allocator aware versions for the sake of the simplicity, since the operations are not needed in the usage. - */ -struct outbox_t { - using allocator_type = std::pmr::polymorphic_allocator<>; - explicit outbox_t(allocator_type alloc = {}) : queue(alloc) {} - - outbox_item_handle_t get(outbox_item::id_t msg_id) - { - if (auto item = std::ranges::find_if(queue, [msg_id](auto & item) { - return item.get_id() == msg_id; - }); - item != std::end(queue)) { - return &(*item); - } - return nullptr; - } - - int delete_expired(outbox_tick_t current_tick, outbox_tick_t timeout) - { - return std::erase_if(queue, [current_tick, timeout, this](const outbox_item & item) { - if (current_tick - item.get_tick() > timeout) { - total_size -= item.get_size(); - return true; - } - return false; - }); - } - - outbox_item::id_t delete_single_expired(outbox_tick_t current_tick, outbox_tick_t timeout) - { - if (auto erase = std::ranges::find_if(queue, [current_tick, timeout](auto & item) { - return (current_tick - item.get_tick() > timeout); - }); erase != std::end(queue)) { - auto msg_id = erase->get_id(); - total_size -= erase->get_size(); - queue.erase(erase); - return msg_id; - } - return outbox_item::id_t{-1}; - } - - auto erase(outbox_item_handle_t to_erase) - { - return erase_if([to_erase](auto & item) { - return &item == to_erase; - }); - } - - auto erase(outbox_item::id_t msg_id, outbox_item::type_t msg_type) - { - return erase_if([msg_id, msg_type](auto & item) { - return (item.get_id() == msg_id && (item.get_type() == msg_type)); - }); - } - - [[nodiscard]] auto size() const noexcept - { - return total_size; - } - - void clear() - { - queue.clear(); - } - - outbox_item_handle_t enqueue(outbox_message_handle_t message, outbox_tick_t tick) noexcept - { - try { - auto &item = - queue.emplace_back(std::pmr::vector {message->data, message->data + message->len}, - outbox_item::id_t{message->msg_id}, - outbox_item::type_t{message->msg_type}, - outbox_item::qos_t{message->msg_qos}, - tick, - QUEUED - ); - total_size += item.get_size(); - ESP_LOGD(TAG, "ENQUEUE msgid=%d, msg_type=%d, len=%d, size=%" PRIu64, message->msg_id, message->msg_type, message->len + message->remaining_len, outbox_get_size(this)); - return &item; - } catch (const std::exception &e) { - return nullptr; - } - } - - outbox_item_handle_t dequeue(pending_state_t state, outbox_tick_t *tick) - { - if (auto item = std::ranges::find_if(queue, [state](auto & item) { - return item.state() == state; - }); - item != std::end(queue)) { - if (tick != nullptr) { - *tick = item->get_tick(); - } - return &(*item); - } - return nullptr; - } - [[nodiscard]] allocator_type get_allocator() const - { - return queue.get_allocator(); - } -private: - [[nodiscard]] esp_err_t erase_if(std::predicate auto &&predicate) - { - if (auto to_erase = std::ranges::find_if(queue, predicate); to_erase != std::end(queue)) { - total_size -= to_erase->get_size(); - queue.erase(to_erase); - return ESP_OK; - } - return ESP_FAIL; - } - std::size_t total_size{}; - std::pmr::deque queue ; -}; - -extern "C" { - - outbox_handle_t outbox_init() - { - /* First we create a fixed size memory buffer to be used. */ - static constexpr auto work_memory_size = 16 * 1024; - static std::array resource_buffer{}; - try { - /* - * Since the outbox is managed by a C API we can't rely on C++ automatic cleanup and smart pointers but, on production code it would be better to add the - * memory resources to outbox_t, applying RAII principles, and make only outbox_item allocator aware. For the sake of the example we are keeping them - * separated to explictly show the relations. - * First we create the monotonic buffer and add null_memory_resource as upstream. This way if our working memory is exausted an exception is thrown. - */ - auto *monotonic_resource = new std::pmr::monotonic_buffer_resource{resource_buffer.data(), resource_buffer.size(), std::pmr::null_memory_resource()}; - /*Here we add our custom trace wrapper type to trace allocations and deallocations*/ - auto *trace_monotonic = new trace_resource("Monotonic", monotonic_resource); - - /* We compose monotonic buffer with pool resource, since the monotonic deallocate is a no-op and we need to remove messages to not go out of memory.*/ - auto *pool_resource = new std::pmr::unsynchronized_pool_resource{trace_monotonic}; - auto *trace_pool = new trace_resource("Pool", pool_resource); - /* Our outbox class is created using the trace_pool as memory resource */ - auto *outbox = new outbox_t{trace_pool}; - return outbox; - } catch (const std::exception &e) { - ESP_LOGD(TAG, "Not enough memory to construct the outbox, review the resource_buffer size"); - return nullptr; - - } - } - - outbox_item_handle_t outbox_enqueue(outbox_handle_t outbox, outbox_message_handle_t message, outbox_tick_t tick) - { - return outbox->enqueue(message, tick); - } - - outbox_item_handle_t outbox_get(outbox_handle_t outbox, int msg_id) - { - return outbox->get(outbox_item::id_t{msg_id}); - } - - outbox_item_handle_t outbox_dequeue(outbox_handle_t outbox, pending_state_t pending, outbox_tick_t *tick) - { - return outbox->dequeue(pending, tick); - } -} - -uint8_t *outbox_item_get_data(outbox_item_handle_t item, size_t *len, uint16_t *msg_id, int *msg_type, int *qos) -{ - if (item == nullptr) { - return nullptr; - } - return item->get_data(len, msg_id, msg_type, qos); -} - -esp_err_t outbox_delete_item(outbox_handle_t outbox, outbox_item_handle_t item_to_delete) -{ - return outbox->erase(item_to_delete); - -} - -esp_err_t outbox_delete(outbox_handle_t outbox, int msg_id, int msg_type) -{ - return outbox->erase(outbox_item::id_t{msg_id}, outbox_item::type_t{msg_type}); -} - -int outbox_delete_single_expired(outbox_handle_t outbox, outbox_tick_t current_tick, outbox_tick_t timeout) -{ - return static_cast(outbox->delete_single_expired(current_tick, timeout)); -} - -int outbox_delete_expired(outbox_handle_t outbox, outbox_tick_t current_tick, outbox_tick_t timeout) -{ - return outbox->delete_expired(current_tick, timeout); -} - -esp_err_t outbox_set_pending(outbox_handle_t outbox, int msg_id, pending_state_t pending) -{ - if (auto *item = outbox->get(outbox_item::id_t{msg_id}); item != nullptr) { - item->set(pending); - return ESP_OK; - } - return ESP_FAIL; -} - -pending_state_t outbox_item_get_pending(outbox_item_handle_t item) -{ - if (item != nullptr) { - return item->state(); - } - return QUEUED; -} - -esp_err_t outbox_set_tick(outbox_handle_t outbox, int msg_id, outbox_tick_t tick) -{ - if (auto *item = outbox->get(outbox_item::id_t{msg_id}); item != nullptr) { - item->set(tick); - return ESP_OK; - } - return ESP_FAIL; -} - -uint64_t outbox_get_size(outbox_handle_t outbox) -{ - return outbox->size(); -} - -void outbox_delete_all_items(outbox_handle_t outbox) -{ - outbox->clear(); -} - -void outbox_destroy(outbox_handle_t outbox) -{ - auto *trace_pool = static_cast(outbox->get_allocator().resource()); - auto *pool_resource = static_cast(trace_pool->upstream_resource()); - auto *trace_monotonic = static_cast(pool_resource->upstream_resource()); - auto *monotonic_resource = static_cast(trace_monotonic->upstream_resource()); - - delete monotonic_resource; - delete trace_monotonic; - delete pool_resource; - delete trace_pool; - delete outbox; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/idf_component.yml deleted file mode 100644 index 808c17483..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/main/idf_component.yml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/sdkconfig.ci.esp32c6 b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/sdkconfig.ci.esp32c6 deleted file mode 100644 index 1686559de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/sdkconfig.ci.esp32c6 +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/sdkconfig.defaults deleted file mode 100644 index 11f90ceac..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/custom_outbox/sdkconfig.defaults +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_MQTT_CUSTOM_OUTBOX=y -CONFIG_COMPILER_CXX_EXCEPTIONS=y -CONFIG_COMPILER_OPTIMIZATION_SIZE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/CMakeLists.txt deleted file mode 100644 index fe8bdc9cd..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt5) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/README.md deleted file mode 100644 index 3e6c9c225..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/README.md +++ /dev/null @@ -1,78 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT sample application -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -This example connects to the broker URI selected using `idf.py menuconfig` (using mqtt tcp transport) and as a demonstration subscribes/unsubscribes and send a message on certain topic. -(Please note that the public broker is maintained by the community so may not be always available, for details please see this [disclaimer](https://iot.eclipse.org/getting-started/#sandboxes)) - -Note: If the URI equals `FROM_STDIN` then the broker address is read from stdin upon application startup (used for testing) - -It uses ESP-MQTT library which implements mqtt client to connect to mqtt broker with MQTT version 5. - -The more details about MQTT v5, please refer to [official website](https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html) - -## How to use example - -### Hardware Required - -This example can be executed on any ESP32 board, the only required interface is WiFi and connection to internet. - -### Configure the project - -* Open the project configuration menu (`idf.py menuconfig`) -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. -* MQTT v5 protocol (`CONFIG_MQTT_PROTOCOL_5`) under "ESP-MQTT Configurations" menu is enabled by `sdkconfig.defaults`. - -### Build and Flash - -Build the project and flash it to the board, then run monitor tool to view serial output: - -``` -idf.py -p PORT flash monitor -``` - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (5119) esp_netif_handlers: example_connect: sta ip: 192.168.3.143, mask: 255.255.255.0, gw: 192.168.3.1 -I (5119) example_connect: Got IPv4 event: Interface "example_connect: sta" address: 192.168.3.143 -I (5619) example_connect: Got IPv6 event: Interface "example_connect: sta" address: fe80:0000:0000:0000:c64f:33ff:fe24:6645, type: ESP_IP6_ADDR_IS_LINK_LOCAL -I (5619) example_connect: Connected to example_connect: sta -I (5629) example_connect: - IPv4 address: 192.168.3.143 -I (5629) example_connect: - IPv6 address: fe80:0000:0000:0000:c64f:33ff:fe24:6645, type: ESP_IP6_ADDR_IS_LINK_LOCAL -I (5649) MQTT5_EXAMPLE: Other event id:7 -W (6299) wifi:idx:0 (ifx:0, 34:29:12:43:c5:40), tid:7, ssn:0, winSize:64 -I (7439) MQTT5_EXAMPLE: MQTT_EVENT_CONNECTED -I (7439) MQTT5_EXAMPLE: sent publish successful, msg_id=53118 -I (7439) MQTT5_EXAMPLE: sent subscribe successful, msg_id=41391 -I (7439) MQTT5_EXAMPLE: sent subscribe successful, msg_id=13695 -I (7449) MQTT5_EXAMPLE: sent unsubscribe successful, msg_id=55594 -I (7649) mqtt5_client: MQTT_MSG_TYPE_PUBACK return code is -1 -I (7649) MQTT5_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=53118 -I (8039) mqtt5_client: MQTT_MSG_TYPE_SUBACK return code is 0 -I (8049) MQTT5_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=41391 -I (8049) MQTT5_EXAMPLE: sent publish successful, msg_id=0 -I (8059) mqtt5_client: MQTT_MSG_TYPE_SUBACK return code is 2 -I (8059) MQTT5_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=13695 -I (8069) MQTT5_EXAMPLE: sent publish successful, msg_id=0 -I (8079) MQTT5_EXAMPLE: MQTT_EVENT_DATA -I (8079) MQTT5_EXAMPLE: key is board, value is esp32 -I (8079) MQTT5_EXAMPLE: key is u, value is user -I (8089) MQTT5_EXAMPLE: key is p, value is password -I (8089) MQTT5_EXAMPLE: payload_format_indicator is 1 -I (8099) MQTT5_EXAMPLE: response_topic is /topic/test/response -I (8109) MQTT5_EXAMPLE: correlation_data is 123456 -I (8109) MQTT5_EXAMPLE: content_type is -I (8119) MQTT5_EXAMPLE: TOPIC=/topic/qos1 -I (8119) MQTT5_EXAMPLE: DATA=data_3 -I (8129) mqtt5_client: MQTT_MSG_TYPE_UNSUBACK return code is 0 -I (8129) MQTT5_EXAMPLE: MQTT_EVENT_UNSUBSCRIBED, msg_id=55594 -I (8139) mqtt_client: Client asked to disconnect -I (9159) MQTT5_EXAMPLE: MQTT_EVENT_DISCONNECTED -``` diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/CMakeLists.txt deleted file mode 100644 index 3bf739cf8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRCS "app_main.c" - PRIV_REQUIRES mqtt nvs_flash esp_netif - INCLUDE_DIRS ".") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/Kconfig.projbuild deleted file mode 100644 index c11539fb8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/Kconfig.projbuild +++ /dev/null @@ -1,13 +0,0 @@ -menu "Example Configuration" - - config BROKER_URL - string "Broker URL" - default "mqtt://mqtt.eclipseprojects.io" - help - URL of the broker to connect to - - config BROKER_URL_FROM_STDIN - bool - default y if BROKER_URL = "FROM_STDIN" - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/app_main.c deleted file mode 100644 index e82fd70a9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/app_main.c +++ /dev/null @@ -1,290 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include "esp_system.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" -#include "esp_log.h" -#include "mqtt_client.h" - -static const char *TAG = "mqtt5_example"; - -static void log_error_if_nonzero(const char *message, int error_code) -{ - if (error_code != 0) { - ESP_LOGE(TAG, "Last error %s: 0x%x", message, error_code); - } -} - -static esp_mqtt5_user_property_item_t user_property_arr[] = { - {"board", "esp32"}, - {"u", "user"}, - {"p", "password"} - }; - -#define USE_PROPERTY_ARR_SIZE sizeof(user_property_arr)/sizeof(esp_mqtt5_user_property_item_t) - -static esp_mqtt5_publish_property_config_t publish_property = { - .payload_format_indicator = 1, - .message_expiry_interval = 1000, - .topic_alias = 0, - .response_topic = "/topic/test/response", - .correlation_data = "123456", - .correlation_data_len = 6, -}; - -static esp_mqtt5_subscribe_property_config_t subscribe_property = { - .subscribe_id = 25555, - .no_local_flag = false, - .retain_as_published_flag = false, - .retain_handle = 0, - .is_share_subscribe = true, - .share_name = "group1", -}; - -static esp_mqtt5_subscribe_property_config_t subscribe1_property = { - .subscribe_id = 25555, - .no_local_flag = true, - .retain_as_published_flag = false, - .retain_handle = 0, -}; - -static esp_mqtt5_unsubscribe_property_config_t unsubscribe_property = { - .is_share_subscribe = true, - .share_name = "group1", -}; - -static esp_mqtt5_disconnect_property_config_t disconnect_property = { - .session_expiry_interval = 60, - .disconnect_reason = 0, -}; - -static void print_user_property(mqtt5_user_property_handle_t user_property) -{ - if (user_property) { - uint8_t count = esp_mqtt5_client_get_user_property_count(user_property); - if (count) { - esp_mqtt5_user_property_item_t *item = malloc(count * sizeof(esp_mqtt5_user_property_item_t)); - if (esp_mqtt5_client_get_user_property(user_property, item, &count) == ESP_OK) { - for (int i = 0; i < count; i ++) { - esp_mqtt5_user_property_item_t *t = &item[i]; - ESP_LOGI(TAG, "key is %s, value is %s", t->key, t->value); - free((char *)t->key); - free((char *)t->value); - } - } - free(item); - } - } -} - -/* - * @brief Event handler registered to receive MQTT events - * - * This function is called by the MQTT client event loop. - * - * @param handler_args user data registered to the event. - * @param base Event base for the handler(always MQTT Base in this example). - * @param event_id The id for the received event. - * @param event_data The data for the event, esp_mqtt_event_handle_t. - */ -static void mqtt5_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32, base, event_id); - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - int msg_id; - - ESP_LOGD(TAG, "free heap size is %" PRIu32 ", minimum %" PRIu32, esp_get_free_heap_size(), esp_get_minimum_free_heap_size()); - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - print_user_property(event->property->user_property); - esp_mqtt5_client_set_user_property(&publish_property.user_property, user_property_arr, USE_PROPERTY_ARR_SIZE); - esp_mqtt5_client_set_publish_property(client, &publish_property); - msg_id = esp_mqtt_client_publish(client, "/topic/qos1", "data_3", 0, 1, 1); - esp_mqtt5_client_delete_user_property(publish_property.user_property); - publish_property.user_property = NULL; - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - - esp_mqtt5_client_set_user_property(&subscribe_property.user_property, user_property_arr, USE_PROPERTY_ARR_SIZE); - esp_mqtt5_client_set_subscribe_property(client, &subscribe_property); - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - esp_mqtt5_client_delete_user_property(subscribe_property.user_property); - subscribe_property.user_property = NULL; - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - esp_mqtt5_client_set_user_property(&subscribe1_property.user_property, user_property_arr, USE_PROPERTY_ARR_SIZE); - esp_mqtt5_client_set_subscribe_property(client, &subscribe1_property); - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 2); - esp_mqtt5_client_delete_user_property(subscribe1_property.user_property); - subscribe1_property.user_property = NULL; - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - esp_mqtt5_client_set_user_property(&unsubscribe_property.user_property, user_property_arr, USE_PROPERTY_ARR_SIZE); - esp_mqtt5_client_set_unsubscribe_property(client, &unsubscribe_property); - msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos0"); - ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id); - esp_mqtt5_client_delete_user_property(unsubscribe_property.user_property); - unsubscribe_property.user_property = NULL; - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - print_user_property(event->property->user_property); - break; - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d, reason code=0x%02x ", event->msg_id, (uint8_t)*event->data); - print_user_property(event->property->user_property); - esp_mqtt5_client_set_publish_property(client, &publish_property); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - print_user_property(event->property->user_property); - esp_mqtt5_client_set_user_property(&disconnect_property.user_property, user_property_arr, USE_PROPERTY_ARR_SIZE); - esp_mqtt5_client_set_disconnect_property(client, &disconnect_property); - esp_mqtt5_client_delete_user_property(disconnect_property.user_property); - disconnect_property.user_property = NULL; - esp_mqtt_client_disconnect(client); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - print_user_property(event->property->user_property); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - print_user_property(event->property->user_property); - ESP_LOGI(TAG, "payload_format_indicator is %d", event->property->payload_format_indicator); - ESP_LOGI(TAG, "response_topic is %.*s", event->property->response_topic_len, event->property->response_topic); - ESP_LOGI(TAG, "correlation_data is %.*s", event->property->correlation_data_len, event->property->correlation_data); - ESP_LOGI(TAG, "content_type is %.*s", event->property->content_type_len, event->property->content_type); - ESP_LOGI(TAG, "TOPIC=%.*s", event->topic_len, event->topic); - ESP_LOGI(TAG, "DATA=%.*s", event->data_len, event->data); - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - print_user_property(event->property->user_property); - ESP_LOGI(TAG, "MQTT5 return code is %d", event->error_handle->connect_return_code); - if (event->error_handle->error_type == MQTT_ERROR_TYPE_TCP_TRANSPORT) { - log_error_if_nonzero("reported from esp-tls", event->error_handle->esp_tls_last_esp_err); - log_error_if_nonzero("reported from tls stack", event->error_handle->esp_tls_stack_err); - log_error_if_nonzero("captured as transport's socket errno", event->error_handle->esp_transport_sock_errno); - ESP_LOGI(TAG, "Last errno string (%s)", strerror(event->error_handle->esp_transport_sock_errno)); - } - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -static void mqtt5_app_start(void) -{ - esp_mqtt5_connection_property_config_t connect_property = { - .session_expiry_interval = 10, - .maximum_packet_size = 1024, - .receive_maximum = 65535, - .topic_alias_maximum = 2, - .request_resp_info = true, - .request_problem_info = true, - .will_delay_interval = 10, - .payload_format_indicator = true, - .message_expiry_interval = 10, - .response_topic = "/test/response", - .correlation_data = "123456", - .correlation_data_len = 6, - }; - - esp_mqtt_client_config_t mqtt5_cfg = { - .broker.address.uri = CONFIG_BROKER_URL, - .session.protocol_ver = MQTT_PROTOCOL_V_5, - .network.disable_auto_reconnect = true, - .credentials.username = "123", - .credentials.authentication.password = "456", - .session.last_will.topic = "/topic/will", - .session.last_will.msg = "i will leave", - .session.last_will.msg_len = 12, - .session.last_will.qos = 1, - .session.last_will.retain = true, - }; - -#if CONFIG_BROKER_URL_FROM_STDIN - char line[128]; - - if (strcmp(mqtt5_cfg.uri, "FROM_STDIN") == 0) { - int count = 0; - printf("Please enter url of mqtt broker\n"); - while (count < 128) { - int c = fgetc(stdin); - if (c == '\n') { - line[count] = '\0'; - break; - } else if (c > 0 && c < 127) { - line[count] = c; - ++count; - } - vTaskDelay(10 / portTICK_PERIOD_MS); - } - mqtt5_cfg.broker.address.uri = line; - printf("Broker url: %s\n", line); - } else { - ESP_LOGE(TAG, "Configuration mismatch: wrong broker url"); - abort(); - } -#endif /* CONFIG_BROKER_URL_FROM_STDIN */ - - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt5_cfg); - - /* Set connection properties and user properties */ - esp_mqtt5_client_set_user_property(&connect_property.user_property, user_property_arr, USE_PROPERTY_ARR_SIZE); - esp_mqtt5_client_set_user_property(&connect_property.will_user_property, user_property_arr, USE_PROPERTY_ARR_SIZE); - esp_mqtt5_client_set_connect_property(client, &connect_property); - - /* If you call esp_mqtt5_client_set_user_property to set user properties, DO NOT forget to delete them. - * esp_mqtt5_client_set_connect_property will malloc buffer to store the user_property and you can delete it after - */ - esp_mqtt5_client_delete_user_property(connect_property.user_property); - esp_mqtt5_client_delete_user_property(connect_property.will_user_property); - - /* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */ - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt5_event_handler, NULL); - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("mqtt_example", ESP_LOG_VERBOSE); - esp_log_level_set("transport_base", ESP_LOG_VERBOSE); - esp_log_level_set("esp-tls", ESP_LOG_VERBOSE); - esp_log_level_set("transport", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt5_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/idf_component.yml deleted file mode 100644 index 808c17483..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/main/idf_component.yml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/pytest_mqtt5.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/pytest_mqtt5.py deleted file mode 100644 index dc7063e95..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/pytest_mqtt5.py +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env python -# -# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Apache-2.0 -import logging -import os - -import pytest -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - - -@pytest.mark.ethernet -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_examples_protocol_mqtt5(dut: Dut) -> None: - """ - steps: | - 1. join AP - 2. connect to mqtt://mqtt.eclipseprojects.io - 3. check connection success - """ - # check and log bin size - binary_file = os.path.join(dut.app.binary_path, 'mqtt5.bin') - bin_size = os.path.getsize(binary_file) - logging.info('mqtt5_bin_size : {}KB'.format(bin_size // 1024)) - # check if connected or not - dut.expect_exact('MQTT_EVENT_CONNECTED', timeout=30) - # check log - res = dut.expect(r'sent publish successful, msg_id=(\d+)[^\d]') - msgid_pub1 = res.group(1).decode('utf8') - res = dut.expect(r'sent subscribe successful, msg_id=(\d+)[^\d]') - msgid_sub1 = res.group(1).decode('utf8') - res = dut.expect(r'sent subscribe successful, msg_id=(\d+)[^\d]') - msgid_sub2 = res.group(1).decode('utf8') - res = dut.expect(r'sent unsubscribe successful, msg_id=(\d+)[^\d]') - msgid_unsub = res.group(1).decode('utf8') - res = dut.expect(r'MQTT_EVENT_PUBLISHED, msg_id=(\d+)[^\d]') - msgid_pubd = res.group(1).decode('utf8') - assert msgid_pubd == msgid_pub1 - - res = dut.expect(r'MQTT_EVENT_SUBSCRIBED, msg_id=(\d+)[^\d]') - msgid_subd = res.group(1).decode('utf8') - assert msgid_subd == msgid_sub1 - - dut.expect_exact('sent publish successful, msg_id=0') - res = dut.expect(r'MQTT_EVENT_SUBSCRIBED, msg_id=(\d+)[^\d]') - msgid_subd = res.group(1).decode('utf8') - assert msgid_subd == msgid_sub2 - - dut.expect_exact('sent publish successful, msg_id=0') - dut.expect_exact('MQTT_EVENT_DATA') - dut.expect_exact('key is board, value is esp32') - dut.expect_exact('key is u, value is user') - dut.expect_exact('key is p, value is password') - dut.expect_exact('payload_format_indicator is 1') - dut.expect_exact('response_topic is /topic/test/response') - dut.expect_exact('correlation_data is 123456') - dut.expect_exact('TOPIC=/topic/qos1') - dut.expect_exact('DATA=data_3') - res = dut.expect(r'MQTT_EVENT_UNSUBSCRIBED, msg_id=(\d+)[^\d]') - msgid_unsubd = res.group(1).decode('utf8') - assert msgid_unsubd == msgid_unsub - - dut.expect_exact('MQTT_EVENT_DISCONNECTED') - logging.info('MQTT5 pytest pass') diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/sdkconfig.ci b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/sdkconfig.ci deleted file mode 100644 index f4a0a7e40..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/sdkconfig.ci +++ /dev/null @@ -1,10 +0,0 @@ -CONFIG_EXAMPLE_CONNECT_ETHERNET=y -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y -CONFIG_EXAMPLE_ETH_PHY_IP101=y -CONFIG_EXAMPLE_ETH_MDC_GPIO=23 -CONFIG_EXAMPLE_ETH_MDIO_GPIO=18 -CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5 -CONFIG_EXAMPLE_ETH_PHY_ADDR=1 -CONFIG_MQTT_PROTOCOL_5=y -CONFIG_BROKER_URL="mqtt://${EXAMPLE_MQTTV5_BROKER_TCP}" diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/sdkconfig.defaults deleted file mode 100644 index db60a2ab3..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/mqtt5/sdkconfig.defaults +++ /dev/null @@ -1 +0,0 @@ -CONFIG_MQTT_PROTOCOL_5=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/CMakeLists.txt deleted file mode 100644 index e41e1b8e4..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt_ssl) - -target_add_binary_data(${PROJECT_NAME}.elf "main/mqtt_eclipseprojects_io.pem" TEXT) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/README.md deleted file mode 100644 index 0407edad9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/README.md +++ /dev/null @@ -1,70 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT SSL Sample application - -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -This example connects to the broker mqtt.eclipseprojects.io using ssl transport and as a demonstration subscribes/unsubscribes and send a message on certain topic. -(Please note that the public broker is maintained by the community so may not be always available, for details please see this [disclaimer](https://iot.eclipse.org/getting-started/#sandboxes)) - -It uses ESP-MQTT library which implements mqtt client to connect to mqtt broker. - -## How to use example - -### Hardware Required - -This example can be executed on any ESP32 board, the only required interface is WiFi and connection to internet. - -### Configure the project - -* Open the project configuration menu (`idf.py menuconfig`) -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. - -PEM certificate for this example could be extracted from an openssl `s_client` command connecting to mqtt.eclipseprojects.io. -In case a host operating system has `openssl` and `sed` packages installed, one could execute the following command to download and save the root certificate to a file (Note for Windows users: Both Linux like environment or Windows native packages may be used). -``` -echo "" | openssl s_client -showcerts -connect mqtt.eclipseprojects.io:8883 | sed -n "1,/Root/d; /BEGIN/,/END/p" | openssl x509 -outform PEM >mqtt_eclipse_org.pem -``` -Please note that this is not a general command for downloading a root certificate for an arbitrary host; -this command works with mqtt.eclipseprojects.io as the site provides root certificate in the chain, which then could be extracted -with text operation. - -### Build and Flash - -Build the project and flash it to the board, then run monitor tool to view serial output: - -``` -idf.py -p PORT flash monitor -``` - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (3714) event: sta ip: 192.168.0.139, mask: 255.255.255.0, gw: 192.168.0.2 -I (3714) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE -I (3964) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 -I (4164) MQTTS_EXAMPLE: MQTT_EVENT_CONNECTED -I (4174) MQTTS_EXAMPLE: sent publish successful, msg_id=41464 -I (4174) MQTTS_EXAMPLE: sent subscribe successful, msg_id=17886 -I (4174) MQTTS_EXAMPLE: sent subscribe successful, msg_id=42970 -I (4184) MQTTS_EXAMPLE: sent unsubscribe successful, msg_id=50241 -I (4314) MQTTS_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=41464 -I (4484) MQTTS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=17886 -I (4484) MQTTS_EXAMPLE: sent publish successful, msg_id=0 -I (4684) MQTTS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=42970 -I (4684) MQTTS_EXAMPLE: sent publish successful, msg_id=0 -I (4884) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (4884) MQTTS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -I (5194) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (5194) MQTTS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -``` - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/CMakeLists.txt deleted file mode 100644 index d6ca62dc1..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRCS "app_main.c" - PRIV_REQUIRES mqtt esp_partition nvs_flash esp_netif app_update - INCLUDE_DIRS ".") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/Kconfig.projbuild deleted file mode 100644 index 5e9357d1a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/Kconfig.projbuild +++ /dev/null @@ -1,26 +0,0 @@ -menu "Example Configuration" - - config BROKER_URI - string "Broker URL" - default "mqtts://mqtt.eclipseprojects.io:8883" - help - URL of an mqtt broker which this example connects to. - - config BROKER_CERTIFICATE_OVERRIDE - string "Broker certificate override" - default "" - help - Please leave empty if broker certificate included from a textfile; otherwise fill in a base64 part of PEM - format certificate - - config BROKER_CERTIFICATE_OVERRIDDEN - bool - default y if BROKER_CERTIFICATE_OVERRIDE != "" - - config BROKER_BIN_SIZE_TO_SEND - # This option is not visible and is used only to set parameters for example tests - # Here we configure the data size to send and to be expected in the python script - int - default 20000 - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/app_main.c deleted file mode 100644 index ed5e04f1f..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/app_main.c +++ /dev/null @@ -1,165 +0,0 @@ -/* MQTT over SSL Example - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ - -#include -#include -#include -#include -#include "esp_system.h" -#include "esp_partition.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" - -#include "esp_log.h" -#include "mqtt_client.h" -#include "esp_tls.h" -#include "esp_ota_ops.h" -#include - -static const char *TAG = "mqtts_example"; - - -#if CONFIG_BROKER_CERTIFICATE_OVERRIDDEN == 1 -static const uint8_t mqtt_eclipseprojects_io_pem_start[] = "-----BEGIN CERTIFICATE-----\n" CONFIG_BROKER_CERTIFICATE_OVERRIDE "\n-----END CERTIFICATE-----"; -#else -extern const uint8_t mqtt_eclipseprojects_io_pem_start[] asm("_binary_mqtt_eclipseprojects_io_pem_start"); -#endif -extern const uint8_t mqtt_eclipseprojects_io_pem_end[] asm("_binary_mqtt_eclipseprojects_io_pem_end"); - -// -// Note: this function is for testing purposes only publishing part of the active partition -// (to be checked against the original binary) -// -static void send_binary(esp_mqtt_client_handle_t client) -{ - esp_partition_mmap_handle_t out_handle; - const void *binary_address; - const esp_partition_t *partition = esp_ota_get_running_partition(); - esp_partition_mmap(partition, 0, partition->size, ESP_PARTITION_MMAP_DATA, &binary_address, &out_handle); - // sending only the configured portion of the partition (if it's less than the partition size) - int binary_size = MIN(CONFIG_BROKER_BIN_SIZE_TO_SEND, partition->size); - int msg_id = esp_mqtt_client_publish(client, "/topic/binary", binary_address, binary_size, 0, 0); - ESP_LOGI(TAG, "binary sent with msg_id=%d", msg_id); -} - -/* - * @brief Event handler registered to receive MQTT events - * - * This function is called by the MQTT client event loop. - * - * @param handler_args user data registered to the event. - * @param base Event base for the handler(always MQTT Base in this example). - * @param event_id The id for the received event. - * @param event_data The data for the event, esp_mqtt_event_handle_t. - */ -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32, base, event_id); - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - int msg_id; - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos1"); - ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d, return code=0x%02x ", event->msg_id, (uint8_t)*event->data); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - printf("TOPIC=%.*s\r\n", event->topic_len, event->topic); - printf("DATA=%.*s\r\n", event->data_len, event->data); - if (strncmp(event->data, "send binary please", event->data_len) == 0) { - ESP_LOGI(TAG, "Sending the binary"); - send_binary(client); - } - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - if (event->error_handle->error_type == MQTT_ERROR_TYPE_TCP_TRANSPORT) { - ESP_LOGI(TAG, "Last error code reported from esp-tls: 0x%x", event->error_handle->esp_tls_last_esp_err); - ESP_LOGI(TAG, "Last tls stack error number: 0x%x", event->error_handle->esp_tls_stack_err); - ESP_LOGI(TAG, "Last captured errno : %d (%s)", event->error_handle->esp_transport_sock_errno, - strerror(event->error_handle->esp_transport_sock_errno)); - } else if (event->error_handle->error_type == MQTT_ERROR_TYPE_CONNECTION_REFUSED) { - ESP_LOGI(TAG, "Connection refused error: 0x%x", event->error_handle->connect_return_code); - } else { - ESP_LOGW(TAG, "Unknown error type: 0x%x", event->error_handle->error_type); - } - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -static void mqtt_app_start(void) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker = { - .address.uri = CONFIG_BROKER_URI, - .verification.certificate = (const char *)mqtt_eclipseprojects_io_pem_start - }, - }; - - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - /* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */ - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("esp-tls", ESP_LOG_VERBOSE); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("mqtt_example", ESP_LOG_VERBOSE); - esp_log_level_set("transport_base", ESP_LOG_VERBOSE); - esp_log_level_set("transport", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/idf_component.yml deleted file mode 100644 index 808c17483..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/idf_component.yml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/mqtt_eclipseprojects_io.pem b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/mqtt_eclipseprojects_io.pem deleted file mode 100644 index 43b222a60..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/main/mqtt_eclipseprojects_io.pem +++ /dev/null @@ -1,30 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw -TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh -cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw -WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg -RW5jcnlwdDELMAkGA1UEAxMCUjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK -AoIBAQC7AhUozPaglNMPEuyNVZLD+ILxmaZ6QoinXSaqtSu5xUyxr45r+XXIo9cP -R5QUVTVXjJ6oojkZ9YI8QqlObvU7wy7bjcCwXPNZOOftz2nwWgsbvsCUJCWH+jdx -sxPnHKzhm+/b5DtFUkWWqcFTzjTIUu61ru2P3mBw4qVUq7ZtDpelQDRrK9O8Zutm -NHz6a4uPVymZ+DAXXbpyb/uBxa3Shlg9F8fnCbvxK/eG3MHacV3URuPMrSXBiLxg -Z3Vms/EY96Jc5lP/Ooi2R6X/ExjqmAl3P51T+c8B5fWmcBcUr2Ok/5mzk53cU6cG -/kiFHaFpriV1uxPMUgP17VGhi9sVAgMBAAGjggEIMIIBBDAOBgNVHQ8BAf8EBAMC -AYYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMBIGA1UdEwEB/wQIMAYB -Af8CAQAwHQYDVR0OBBYEFBQusxe3WFbLrlAJQOYfr52LFMLGMB8GA1UdIwQYMBaA -FHm0WeZ7tuXkAXOACIjIGlj26ZtuMDIGCCsGAQUFBwEBBCYwJDAiBggrBgEFBQcw -AoYWaHR0cDovL3gxLmkubGVuY3Iub3JnLzAnBgNVHR8EIDAeMBygGqAYhhZodHRw -Oi8veDEuYy5sZW5jci5vcmcvMCIGA1UdIAQbMBkwCAYGZ4EMAQIBMA0GCysGAQQB -gt8TAQEBMA0GCSqGSIb3DQEBCwUAA4ICAQCFyk5HPqP3hUSFvNVneLKYY611TR6W -PTNlclQtgaDqw+34IL9fzLdwALduO/ZelN7kIJ+m74uyA+eitRY8kc607TkC53wl -ikfmZW4/RvTZ8M6UK+5UzhK8jCdLuMGYL6KvzXGRSgi3yLgjewQtCPkIVz6D2QQz -CkcheAmCJ8MqyJu5zlzyZMjAvnnAT45tRAxekrsu94sQ4egdRCnbWSDtY7kh+BIm -lJNXoB1lBMEKIq4QDUOXoRgffuDghje1WrG9ML+Hbisq/yFOGwXD9RiX8F6sw6W4 -avAuvDszue5L3sz85K+EC4Y/wFVDNvZo4TYXao6Z0f+lQKc0t8DQYzk1OXVu8rp2 -yJMC6alLbBfODALZvYH7n7do1AZls4I9d1P4jnkDrQoxB3UqQ9hVl3LEKQ73xF1O -yK5GhDDX8oVfGKF5u+decIsH4YaTw7mP3GFxJSqv3+0lUFJoi5Lc5da149p90Ids -hCExroL1+7mryIkXPeFM5TgO9r0rvZaBFOvV2z0gp35Z0+L4WPlbuEjN/lxPFin+ -HlUjr8gRsI3qfJOQFy/9rKIJR0Y/8Omwt/8oTWgy1mdeHmmjk7j1nYsvC9JSQ6Zv -MldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX -nLRbwHOoq7hHwg== ------END CERTIFICATE----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/pytest_mqtt_ssl.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/pytest_mqtt_ssl.py deleted file mode 100644 index c34cea6e5..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/pytest_mqtt_ssl.py +++ /dev/null @@ -1,135 +0,0 @@ -# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Unlicense OR CC0-1.0 -import logging -import os -import re -import ssl -import sys -from threading import Event -from threading import Thread - -import paho.mqtt.client as mqtt -import pexpect -import pytest -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - -event_client_connected = Event() -event_stop_client = Event() -event_client_received_correct = Event() -event_client_received_binary = Event() -message_log = '' - - -# The callback for when the client receives a CONNACK response from the server. -def on_connect(client, userdata, flags, rc): # type: (mqtt.Client, str, bool, str) -> None - _ = (userdata, flags) - print('Connected with result code ' + str(rc)) - event_client_connected.set() - client.subscribe('/topic/qos0') - - -def mqtt_client_task(client): # type: (mqtt.Client) -> None - while not event_stop_client.is_set(): - client.loop() - - -# The callback for when a PUBLISH message is received from the server. -def on_message(client, userdata, msg): # type: (mqtt.Client, tuple, mqtt.client.MQTTMessage) -> None - global message_log - global event_client_received_correct - global event_client_received_binary - if msg.topic == '/topic/binary': - binary, bin_size = userdata - print('Receiving binary from esp and comparing with {}, size {}...'.format(binary, bin_size)) - with open(binary, 'rb') as f: - bin = f.read() - if bin[:bin_size] == msg.payload[:bin_size]: - print('...matches!') - event_client_received_binary.set() - return - recv_binary = binary + '.received' - with open(recv_binary, 'w', encoding='utf-8') as fw: - fw.write(msg.payload) - raise ValueError( - 'Received binary (saved as: {}) does not match the original file: {}'.format(recv_binary, binary) - ) - - payload = msg.payload.decode() - if not event_client_received_correct.is_set() and payload == 'data': - client.subscribe('/topic/binary') - client.publish('/topic/qos0', 'send binary please') - if msg.topic == '/topic/qos0' and payload == 'data': - event_client_received_correct.set() - message_log += 'Received data:' + msg.topic + ' ' + payload + '\n' - - -@pytest.mark.ethernet -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_examples_protocol_mqtt_ssl(dut): # type: (Dut) -> None - broker_url = '' - broker_port = 0 - """ - steps: - 1. join AP and connects to ssl broker - 2. Test connects a client to the same broker - 3. Test evaluates python client received correct qos0 message - 4. Test ESP32 client received correct qos0 message - 5. Test python client receives binary data from running partition and compares it with the binary - """ - binary_file = os.path.join(dut.app.binary_path, 'mqtt_ssl.bin') - bin_size = os.path.getsize(binary_file) - logging.info('[Performance][mqtt_ssl_bin_size]: %s KB', bin_size // 1024) - - # Look for host:port in sdkconfig - try: - value = re.search(r'\:\/\/([^:]+)\:([0-9]+)', dut.app.sdkconfig.get('BROKER_URI')) - assert value is not None - broker_url = value.group(1) - broker_port = int(value.group(2)) - bin_size = min(int(dut.app.sdkconfig.get('BROKER_BIN_SIZE_TO_SEND')), bin_size) - except Exception: - print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig') - raise - client = None - # 1. Test connects to a broker - try: - client = mqtt.Client() - client.on_connect = on_connect - client.on_message = on_message - client.user_data_set((binary_file, bin_size)) - client.tls_set(None, None, None, cert_reqs=ssl.CERT_NONE, tls_version=ssl.PROTOCOL_TLSv1_2, ciphers=None) - client.tls_insecure_set(True) - print('Connecting...') - client.connect(broker_url, broker_port, 60) - except Exception: - print( - 'ENV_TEST_FAILURE: Unexpected error while connecting to broker {}: {}:'.format( - broker_url, sys.exc_info()[0] - ) - ) - raise - # Starting a py-client in a separate thread - thread1 = Thread(target=mqtt_client_task, args=(client,)) - thread1.start() - try: - print('Connecting py-client to broker {}:{}...'.format(broker_url, broker_port)) - if not event_client_connected.wait(timeout=30): - raise ValueError('ENV_TEST_FAILURE: Test script cannot connect to broker: {}'.format(broker_url)) - try: - ip_address = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)[0] - print('Connected to AP with IP: {}'.format(ip_address)) - except pexpect.TIMEOUT: - print('ENV_TEST_FAILURE: Cannot connect to AP') - raise - print('Checking py-client received msg published from esp...') - if not event_client_received_correct.wait(timeout=30): - raise ValueError('Wrong data received, msg log: {}'.format(message_log)) - print('Checking esp-client received msg published from py-client...') - dut.expect(r'DATA=send binary please', timeout=30) - print('Receiving binary data from running partition...') - if not event_client_received_binary.wait(timeout=30): - raise ValueError('Binary not received within timeout') - finally: - event_stop_client.set() - thread1.join() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/sdkconfig.ci b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/sdkconfig.ci deleted file mode 100644 index e8d4a52f6..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl/sdkconfig.ci +++ /dev/null @@ -1,22 +0,0 @@ -CONFIG_BROKER_URI="mqtts://${EXAMPLE_MQTT_BROKER_SSL}" -CONFIG_BROKER_CERTIFICATE_OVERRIDE="${EXAMPLE_MQTT_BROKER_CERTIFICATE}" -CONFIG_MQTT_USE_CUSTOM_CONFIG=y -CONFIG_MQTT_TCP_DEFAULT_PORT=1883 -CONFIG_MQTT_SSL_DEFAULT_PORT=8883 -CONFIG_MQTT_WS_DEFAULT_PORT=80 -CONFIG_MQTT_WSS_DEFAULT_PORT=443 -CONFIG_MQTT_BUFFER_SIZE=16384 -CONFIG_MQTT_TASK_STACK_SIZE=6144 -CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y -CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384 -CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096 -CONFIG_EXAMPLE_CONNECT_ETHERNET=y -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y -CONFIG_EXAMPLE_ETH_PHY_IP101=y -CONFIG_EXAMPLE_ETH_MDC_GPIO=23 -CONFIG_EXAMPLE_ETH_MDIO_GPIO=18 -CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5 -CONFIG_EXAMPLE_ETH_PHY_ADDR=1 -CONFIG_EXAMPLE_CONNECT_IPV6=y -CONFIG_LWIP_CHECK_THREAD_SAFETY=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/CMakeLists.txt deleted file mode 100644 index acf7743cb..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt_ssl_ds) - -# Flash the custom partition named `esp_secure_cert`. -set(partition esp_secure_cert) -idf_build_get_property(project_dir PROJECT_DIR) -set(image_file ${project_dir}/esp_secure_cert_data/${partition}.bin) -partition_table_get_partition_info(offset "--partition-name ${partition}" "offset") -esptool_py_flash_target_image(flash "${partition}" "${offset}" "${image_file}") - -target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "main/mosquitto.org.crt" TEXT) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/README.md deleted file mode 100644 index f89d1726e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/README.md +++ /dev/null @@ -1,105 +0,0 @@ -| Supported Targets | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT SSL Mutual Authentication with Digital Signature -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -Espressif's ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6, ESP32-H2 and ESP32-P4 MCU have a built-in Digital Signature (DS) Peripheral, which provides hardware acceleration for RSA signature. More details can be found at [Digital Signature with ESP-TLS](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/protocols/esp_tls.html#digital-signature-with-esp-tls). - -This example connects to the broker test.mosquitto.org using ssl transport with client certificate(RSA) and as a demonstration subscribes/unsubscribes and sends a message on certain topic.The RSA signature operation required in the ssl connection is performed with help of the Digital Signature (DS) peripheral. -(Please note that the public broker is maintained by the community so may not be always available, for details please visit http://test.mosquitto.org) - -It uses ESP-MQTT library which implements mqtt client to connect to mqtt broker. -## How to use example - -### Hardware Required - -This example can be executed on any of the supported ESP32 family board (which has a built-in DS peripheral), the only required interface is WiFi/Ethernet and connection to internet. - -### Configure the project - -#### 1) Selecting the target - -Please select the supported target with the following command: -``` -idf.py set-target /* target */ -``` -More details can be found at [Selecting the target](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#selecting-the-target). - -#### 2) Generate your client key and certificate - -Navigate to the main directory - -``` -cd main -``` - -Generate a client key and a CSR. When you are generating the CSR, do not use the default values. At a minimum, the CSR must include the Country, Organisation and Common Name fields. - -``` -openssl genrsa -out client.key -openssl req -out client.csr -key client.key -new -``` - -Paste the generated CSR in the [Mosquitto test certificate signer](https://test.mosquitto.org/ssl/index.php), click Submit and downloaded the `client.crt`. This `client.crt` file shall be used as the device certificate. - -#### 3) Configure the DS peripheral - -* i) Install the [esp_secure_cert configuration utility](https://github.com/espressif/esp_secure_cert_mgr/tree/main/tools#esp_secure_cert-configuration-tool) with following command: -``` -pip install esp-secure-cert-tool -``` -* ii) The DS peripheral can be configured by executing the following command: - -``` -configure_esp_secure_cert.py -p /* Serial port */ --device-cert /* Device cert */ --private-key /* RSA priv key */ --target_chip /* target chip */ --configure_ds --skip_flash -``` -This command shall generate a partition named `esp_secure_cert.bin` in the `esp_secure_cert_data` directory. This partition would be aumatically detected by the build system and flashed at appropriate offset when `idf.py flash` command is used. For this process, the command must be executed in the current folder only. - -In the command USB COM port is nothing but the serial port to which the ESP chip is connected. see -[check serial port](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/establish-serial-connection.html#check-port-on-windows) for more details. -RSA private key is nothing but the client private key ( RSA ) generated in Step 2. - -> Note: More details about the `esp-secure-cert-tool` utility can be found [here](https://github.com/espressif/esp_secure_cert_mgr/tree/main/tools). - -#### 4) Connection configuration -* Open the project configuration menu (`idf.py menuconfig`) -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. - -### Build and Flash - -Build the project and flash it to the board, then run monitor tool to view serial output: - -``` -idf.py -p PORT flash monitor -``` - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (3714) event: sta ip: 192.168.0.139, mask: 255.255.255.0, gw: 192.168.0.2 -I (3714) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE -I (3964) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 -I (4164) MQTTS_EXAMPLE: MQTT_EVENT_CONNECTED -I (4174) MQTTS_EXAMPLE: sent publish successful, msg_id=41464 -I (4174) MQTTS_EXAMPLE: sent subscribe successful, msg_id=17886 -I (4174) MQTTS_EXAMPLE: sent subscribe successful, msg_id=42970 -I (4184) MQTTS_EXAMPLE: sent unsubscribe successful, msg_id=50241 -I (4314) MQTTS_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=41464 -I (4484) MQTTS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=17886 -I (4484) MQTTS_EXAMPLE: sent publish successful, msg_id=0 -I (4684) MQTTS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=42970 -I (4684) MQTTS_EXAMPLE: sent publish successful, msg_id=0 -I (4884) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (4884) MQTTS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -I (5194) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (5194) MQTTS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -``` diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/CMakeLists.txt deleted file mode 100644 index 055d4c563..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRCS "app_main.c" - PRIV_REQUIRES mqtt esp_netif - INCLUDE_DIRS ".") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/app_main.c deleted file mode 100644 index 7b54cfbf8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/app_main.c +++ /dev/null @@ -1,156 +0,0 @@ -/* MQTT Mutual Authentication Example - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ -#include -#include -#include -#include -#include "esp_system.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" - -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "freertos/semphr.h" -#include "freertos/queue.h" - -#include "lwip/sockets.h" -#include "lwip/dns.h" -#include "lwip/netdb.h" - -#include "esp_log.h" -#include "mqtt_client.h" -#include "rsa_sign_alt.h" -#include "esp_secure_cert_read.h" - -static const char *TAG = "mqtts_example"; - -extern const uint8_t server_cert_pem_start[] asm("_binary_mosquitto_org_crt_start"); -extern const uint8_t server_cert_pem_end[] asm("_binary_mosquitto_org_crt_end"); - -/* - * @brief Event handler registered to receive MQTT events - * - * This function is called by the MQTT client event loop. - * - * @param handler_args user data registered to the event. - * @param base Event base for the handler(always MQTT Base in this example). - * @param event_id The id for the received event. - * @param event_data The data for the event, esp_mqtt_event_handle_t. - */ -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32, base, event_id); - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - int msg_id; - // your_context_t *context = event->context; - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos1"); - ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d, return code=0x%02x ", event->msg_id, (uint8_t)*event->data); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - printf("TOPIC=%.*s\r\n", event->topic_len, event->topic); - printf("DATA=%.*s\r\n", event->data_len, event->data); - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -static void mqtt_app_start(void) -{ - /* The context is used by the DS peripheral, should not be freed */ - esp_ds_data_ctx_t *ds_data = esp_secure_cert_get_ds_ctx(); - if (ds_data == NULL) { - ESP_LOGE(TAG, "Error in reading DS data from NVS"); - vTaskDelete(NULL); - } - char *device_cert = NULL; - esp_err_t ret; - uint32_t len; - ret = esp_secure_cert_get_device_cert(&device_cert, &len); - if (ret != ESP_OK) { - ESP_LOGE(TAG, "Failed to obtain the device certificate"); - vTaskDelete(NULL); - } - - const esp_mqtt_client_config_t mqtt_cfg = { - .broker = { - .address.uri = "mqtts://test.mosquitto.org:8884", - .verification.certificate = (const char *)server_cert_pem_start, - }, - .credentials = { - .authentication = { - .certificate = (const char *)device_cert, - .key = NULL, - .ds_data = (void *)ds_data - }, - }, - }; - - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("transport_base", ESP_LOG_VERBOSE); - esp_log_level_set("transport", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/idf_component.yml deleted file mode 100644 index 1a3b32d7e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/idf_component.yml +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: - espressif/esp_secure_cert_mgr: ^2.0.2 - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/mosquitto.org.crt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/mosquitto.org.crt deleted file mode 100644 index 8a3d44f57..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/main/mosquitto.org.crt +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIEAzCCAuugAwIBAgIUBY1hlCGvdj4NhBXkZ/uLUZNILAwwDQYJKoZIhvcNAQEL -BQAwgZAxCzAJBgNVBAYTAkdCMRcwFQYDVQQIDA5Vbml0ZWQgS2luZ2RvbTEOMAwG -A1UEBwwFRGVyYnkxEjAQBgNVBAoMCU1vc3F1aXR0bzELMAkGA1UECwwCQ0ExFjAU -BgNVBAMMDW1vc3F1aXR0by5vcmcxHzAdBgkqhkiG9w0BCQEWEHJvZ2VyQGF0Y2hv -by5vcmcwHhcNMjAwNjA5MTEwNjM5WhcNMzAwNjA3MTEwNjM5WjCBkDELMAkGA1UE -BhMCR0IxFzAVBgNVBAgMDlVuaXRlZCBLaW5nZG9tMQ4wDAYDVQQHDAVEZXJieTES -MBAGA1UECgwJTW9zcXVpdHRvMQswCQYDVQQLDAJDQTEWMBQGA1UEAwwNbW9zcXVp -dHRvLm9yZzEfMB0GCSqGSIb3DQEJARYQcm9nZXJAYXRjaG9vLm9yZzCCASIwDQYJ -KoZIhvcNAQEBBQADggEPADCCAQoCggEBAME0HKmIzfTOwkKLT3THHe+ObdizamPg -UZmD64Tf3zJdNeYGYn4CEXbyP6fy3tWc8S2boW6dzrH8SdFf9uo320GJA9B7U1FW -Te3xda/Lm3JFfaHjkWw7jBwcauQZjpGINHapHRlpiCZsquAthOgxW9SgDgYlGzEA -s06pkEFiMw+qDfLo/sxFKB6vQlFekMeCymjLCbNwPJyqyhFmPWwio/PDMruBTzPH -3cioBnrJWKXc3OjXdLGFJOfj7pP0j/dr2LH72eSvv3PQQFl90CZPFhrCUcRHSSxo -E6yjGOdnz7f6PveLIB574kQORwt8ePn0yidrTC1ictikED3nHYhMUOUCAwEAAaNT -MFEwHQYDVR0OBBYEFPVV6xBUFPiGKDyo5V3+Hbh4N9YSMB8GA1UdIwQYMBaAFPVV -6xBUFPiGKDyo5V3+Hbh4N9YSMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL -BQADggEBAGa9kS21N70ThM6/Hj9D7mbVxKLBjVWe2TPsGfbl3rEDfZ+OKRZ2j6AC -6r7jb4TZO3dzF2p6dgbrlU71Y/4K0TdzIjRj3cQ3KSm41JvUQ0hZ/c04iGDg/xWf -+pp58nfPAYwuerruPNWmlStWAXf0UTqRtg4hQDWBuUFDJTuWuuBvEXudz74eh/wK -sMwfu1HFvjy5Z0iMDU8PUDepjVolOCue9ashlS4EB5IECdSR2TItnAIiIwimx839 -LdUdRudafMu5T5Xma182OC0/u/xRlEm+tvKGGmfFcN0piqVl8OrSPBgIlb+1IKJE -m/XriWr/Cq4h/JfB7NTsezVslgkBaoU= ------END CERTIFICATE----- ---- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/partitions.csv b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/partitions.csv deleted file mode 100644 index 1423949dc..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/partitions.csv +++ /dev/null @@ -1,6 +0,0 @@ -# ESP-IDF Partition Table -# Name, Type, SubType, Offset, Size, Flags -esp_secure_cert,0x3F,,,0x2000, -nvs,data,nvs,,24K, -phy_init,data,phy,,4K, -factory,app,factory,0x20000,1500K, diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/sdkconfig.defaults deleted file mode 100644 index 94e282f1d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/sdkconfig.defaults +++ /dev/null @@ -1,7 +0,0 @@ -CONFIG_PARTITION_TABLE_CUSTOM=y -# Setting partition table offset to 0xC000 would make the address of -# `esp_secure_cert` partition as 0xD000 (comes next in the sequence). -# Modules that are programmed with Espressif Secure Pre Provisioining service -# uses this offset for `esp_secure_cert` and hence this change aligns this example -# to work on those modules. -CONFIG_PARTITION_TABLE_OFFSET=0xC000 diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/sdkconfig.defaults.esp32h2 b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/sdkconfig.defaults.esp32h2 deleted file mode 100644 index dcbc3a5a7..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_ds/sdkconfig.defaults.esp32h2 +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_EXAMPLE_CONNECT_ETHERNET=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/CMakeLists.txt deleted file mode 100644 index 67ec43b37..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt_ssl_mutual_auth) - -target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "main/client.crt" TEXT) -target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "main/client.key" TEXT) -target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "main/mosquitto.org.crt" TEXT) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/README.md deleted file mode 100644 index 4750ff1ff..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/README.md +++ /dev/null @@ -1,82 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT SSL Sample application (mutual authentication) - -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -This example connects to the broker test.mosquitto.org using ssl transport with client certificate and as a demonstration subscribes/unsubscribes and send a message on certain topic. -(Please note that the public broker is maintained by the community so may not be always available, for details please visit http://test.mosquitto.org) - -It uses ESP-MQTT library which implements mqtt client to connect to mqtt broker. - -## How to use example - -### Hardware Required - -This example can be executed on any ESP32 board, the only required interface is WiFi and connection to internet. - -### Configure the project - -* Open the project configuration menu (`idf.py menuconfig`) -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. - -* Generate your client keys and certificate - -Navigate to the main directory - -``` -cd main -``` - -Generate a client key and a CSR. When you are generating the CSR, do not use the default values. At a minimum, the CSR must include the Country, Organisation and Common Name fields. - -``` -openssl genrsa -out client.key -openssl req -out client.csr -key client.key -new -``` - -Paste the generated CSR in the [Mosquitto test certificate signer](https://test.mosquitto.org/ssl/index.php), click Submit and copy the downloaded `client.crt` in the `main` directory. - -Please note, that the supplied files `client.crt` and `client.key` in the `main` directory are only placeholders for your client certificate and key (i.e. the example "as is" would compile but would not connect to the broker) - -The server certificate `mosquitto.org.crt` can be downloaded in pem format from [mosquitto.org.crt](https://test.mosquitto.org/ssl/mosquitto.org.crt). - -### Build and Flash - -Build the project and flash it to the board, then run monitor tool to view serial output: - -``` -idf.py -p PORT flash monitor -``` - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (3714) event: sta ip: 192.168.0.139, mask: 255.255.255.0, gw: 192.168.0.2 -I (3714) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE -I (3964) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 -I (4164) MQTTS_EXAMPLE: MQTT_EVENT_CONNECTED -I (4174) MQTTS_EXAMPLE: sent publish successful, msg_id=41464 -I (4174) MQTTS_EXAMPLE: sent subscribe successful, msg_id=17886 -I (4174) MQTTS_EXAMPLE: sent subscribe successful, msg_id=42970 -I (4184) MQTTS_EXAMPLE: sent unsubscribe successful, msg_id=50241 -I (4314) MQTTS_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=41464 -I (4484) MQTTS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=17886 -I (4484) MQTTS_EXAMPLE: sent publish successful, msg_id=0 -I (4684) MQTTS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=42970 -I (4684) MQTTS_EXAMPLE: sent publish successful, msg_id=0 -I (4884) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (4884) MQTTS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -I (5194) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (5194) MQTTS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -``` - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/CMakeLists.txt deleted file mode 100644 index 31650f39d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRCS "app_main.c" - PRIV_REQUIRES mqtt esp_wifi nvs_flash - INCLUDE_DIRS ".") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/app_main.c deleted file mode 100644 index 90ba71c51..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/app_main.c +++ /dev/null @@ -1,155 +0,0 @@ -/* MQTT Mutual Authentication Example - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ -#include -#include -#include -#include -#include "esp_wifi.h" -#include "esp_system.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" - -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "freertos/semphr.h" -#include "freertos/queue.h" - -#include "lwip/sockets.h" -#include "lwip/dns.h" -#include "lwip/netdb.h" - -#include "esp_log.h" -#include "mqtt_client.h" - -static const char *TAG = "mqtts_example"; - -extern const uint8_t client_cert_pem_start[] asm("_binary_client_crt_start"); -extern const uint8_t client_cert_pem_end[] asm("_binary_client_crt_end"); -extern const uint8_t client_key_pem_start[] asm("_binary_client_key_start"); -extern const uint8_t client_key_pem_end[] asm("_binary_client_key_end"); -extern const uint8_t server_cert_pem_start[] asm("_binary_mosquitto_org_crt_start"); -extern const uint8_t server_cert_pem_end[] asm("_binary_mosquitto_org_crt_end"); - -static void log_error_if_nonzero(const char *message, int error_code) -{ - if (error_code != 0) { - ESP_LOGE(TAG, "Last error %s: 0x%x", message, error_code); - } -} - -/* - * @brief Event handler registered to receive MQTT events - * - * This function is called by the MQTT client event loop. - * - * @param handler_args user data registered to the event. - * @param base Event base for the handler(always MQTT Base in this example). - * @param event_id The id for the received event. - * @param event_data The data for the event, esp_mqtt_event_handle_t. - */ -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32, base, event_id); - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - int msg_id; - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos1"); - ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d, return code=0x%02x ", event->msg_id, (uint8_t)*event->data); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - printf("TOPIC=%.*s\r\n", event->topic_len, event->topic); - printf("DATA=%.*s\r\n", event->data_len, event->data); - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - if (event->error_handle->error_type == MQTT_ERROR_TYPE_TCP_TRANSPORT) { - log_error_if_nonzero("reported from esp-tls", event->error_handle->esp_tls_last_esp_err); - log_error_if_nonzero("reported from tls stack", event->error_handle->esp_tls_stack_err); - log_error_if_nonzero("captured as transport's socket errno", event->error_handle->esp_transport_sock_errno); - ESP_LOGI(TAG, "Last errno string (%s)", strerror(event->error_handle->esp_transport_sock_errno)); - - } - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -static void mqtt_app_start(void) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = "mqtts://test.mosquitto.org:8884", - .broker.verification.certificate = (const char *)server_cert_pem_start, - .credentials = { - .authentication = { - .certificate = (const char *)client_cert_pem_start, - .key = (const char *)client_key_pem_start, - }, - } - }; - - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - /* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */ - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("transport_base", ESP_LOG_VERBOSE); - esp_log_level_set("transport", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/client.crt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/client.crt deleted file mode 100644 index 7a3074b90..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/client.crt +++ /dev/null @@ -1 +0,0 @@ -Please paste your client certificate here (follow instructions in README.md) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/client.key b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/client.key deleted file mode 100644 index a956f850c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/client.key +++ /dev/null @@ -1 +0,0 @@ -Please paste here your client key (follow instructions in README.md) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/idf_component.yml deleted file mode 100644 index 808c17483..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/idf_component.yml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/mosquitto.org.crt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/mosquitto.org.crt deleted file mode 100644 index e76dbd855..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/main/mosquitto.org.crt +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIEAzCCAuugAwIBAgIUBY1hlCGvdj4NhBXkZ/uLUZNILAwwDQYJKoZIhvcNAQEL -BQAwgZAxCzAJBgNVBAYTAkdCMRcwFQYDVQQIDA5Vbml0ZWQgS2luZ2RvbTEOMAwG -A1UEBwwFRGVyYnkxEjAQBgNVBAoMCU1vc3F1aXR0bzELMAkGA1UECwwCQ0ExFjAU -BgNVBAMMDW1vc3F1aXR0by5vcmcxHzAdBgkqhkiG9w0BCQEWEHJvZ2VyQGF0Y2hv -by5vcmcwHhcNMjAwNjA5MTEwNjM5WhcNMzAwNjA3MTEwNjM5WjCBkDELMAkGA1UE -BhMCR0IxFzAVBgNVBAgMDlVuaXRlZCBLaW5nZG9tMQ4wDAYDVQQHDAVEZXJieTES -MBAGA1UECgwJTW9zcXVpdHRvMQswCQYDVQQLDAJDQTEWMBQGA1UEAwwNbW9zcXVp -dHRvLm9yZzEfMB0GCSqGSIb3DQEJARYQcm9nZXJAYXRjaG9vLm9yZzCCASIwDQYJ -KoZIhvcNAQEBBQADggEPADCCAQoCggEBAME0HKmIzfTOwkKLT3THHe+ObdizamPg -UZmD64Tf3zJdNeYGYn4CEXbyP6fy3tWc8S2boW6dzrH8SdFf9uo320GJA9B7U1FW -Te3xda/Lm3JFfaHjkWw7jBwcauQZjpGINHapHRlpiCZsquAthOgxW9SgDgYlGzEA -s06pkEFiMw+qDfLo/sxFKB6vQlFekMeCymjLCbNwPJyqyhFmPWwio/PDMruBTzPH -3cioBnrJWKXc3OjXdLGFJOfj7pP0j/dr2LH72eSvv3PQQFl90CZPFhrCUcRHSSxo -E6yjGOdnz7f6PveLIB574kQORwt8ePn0yidrTC1ictikED3nHYhMUOUCAwEAAaNT -MFEwHQYDVR0OBBYEFPVV6xBUFPiGKDyo5V3+Hbh4N9YSMB8GA1UdIwQYMBaAFPVV -6xBUFPiGKDyo5V3+Hbh4N9YSMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL -BQADggEBAGa9kS21N70ThM6/Hj9D7mbVxKLBjVWe2TPsGfbl3rEDfZ+OKRZ2j6AC -6r7jb4TZO3dzF2p6dgbrlU71Y/4K0TdzIjRj3cQ3KSm41JvUQ0hZ/c04iGDg/xWf -+pp58nfPAYwuerruPNWmlStWAXf0UTqRtg4hQDWBuUFDJTuWuuBvEXudz74eh/wK -sMwfu1HFvjy5Z0iMDU8PUDepjVolOCue9ashlS4EB5IECdSR2TItnAIiIwimx839 -LdUdRudafMu5T5Xma182OC0/u/xRlEm+tvKGGmfFcN0piqVl8OrSPBgIlb+1IKJE -m/XriWr/Cq4h/JfB7NTsezVslgkBaoU= ------END CERTIFICATE----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults deleted file mode 100644 index 99d317837..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults +++ /dev/null @@ -1 +0,0 @@ -# Empty file to trigger idf-ci to use esp32c6 specific file. diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c5 b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c5 deleted file mode 100644 index 1686559de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c5 +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c6 b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c6 deleted file mode 100644 index 1686559de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c6 +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c61 b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c61 deleted file mode 100644 index 1686559de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_mutual_auth/sdkconfig.defaults.esp32c61 +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/CMakeLists.txt deleted file mode 100644 index d30f79616..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt_ssl_psk) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/README.md deleted file mode 100644 index d5dbb1b48..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/README.md +++ /dev/null @@ -1,78 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT SSL example with PSK verification - -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -This example connects to a local broker configured to PSK authentication - -## How to use example - -### Hardware Required - -This example can be executed on any ESP32 board, the only required interface is WiFi (or ethernet) to connect to a MQTT -broker with preconfigured PSK verification method. - -#### Mosquitto settings -In case of using mosquitto broker, here is how to enable PSK authentication in `mosquitto.config`, -``` -psk_hint hint -psk_file path_to_your_psk_file -allow_anonymous true -``` -Note: Last line enables anonymous mode, as this example does not use mqtt username and password. - -PSK file then has to contain pairs of hints and keys, as shown below: -``` -hint:BAD123 -``` - -Important note: Keys are stored as text hexadecimal values in PSK file, while the example code stores key as plain binary -as required by MQTT API. (See the example source for details: `"BAD123" -> 0xBA, 0xD1, 0x23`) - -### Configure the project - -* Run `idf.py menuconfig` -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. - -### Build and Flash - - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (2160) example_connect: Ethernet Link Up -I (4650) example_connect: Connected to Ethernet -I (4650) example_connect: IPv4 address: 192.168.0.1 -I (4650) MQTTS_EXAMPLE: [APP] Free memory: 244792 bytes -I (4660) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE -D (4670) MQTT_CLIENT: MQTT client_id=ESP32_c6B4F8 -D (4680) MQTT_CLIENT: Core selection disabled -I (4680) MQTTS_EXAMPLE: Other event id:7 -D (4680) esp-tls: host:192.168.0.2: strlen 13 -D (4700) esp-tls: ssl psk authentication -D (4700) esp-tls: handshake in progress... -D (4720) MQTT_CLIENT: Transport connected to mqtts://192.168.0.2:8883 -I (4720) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 -D (4720) MQTT_CLIENT: mqtt_message_receive: first byte: 0x20 -D (4730) MQTT_CLIENT: mqtt_message_receive: read "remaining length" byte: 0x2 -D (4730) MQTT_CLIENT: mqtt_message_receive: total message length: 4 (already read: 2) -D (4740) MQTT_CLIENT: mqtt_message_receive: read_len=2 -D (4750) MQTT_CLIENT: mqtt_message_receive: transport_read():4 4 -D (4750) MQTT_CLIENT: Connected -I (4760) MQTTS_EXAMPLE: MQTT_EVENT_CONNECTED -D (4760) MQTT_CLIENT: mqtt_enqueue id: 4837, type=8 successful -D (4770) OUTBOX: ENQUEUE msgid=4837, msg_type=8, len=18, size=18 -D (4770) MQTT_CLIENT: Sent subscribe topic=/topic/qos0, id: 4837, type=8 successful -I (4780) MQTTS_EXAMPLE: sent subscribe successful, msg_id=4837 -D (4790) MQTT_CLIENT: mqtt_enqueue id: 58982, type=8 successful -D (4790) OUTBOX: ENQUEUE msgid=58982, msg_type=8, len=18, size=36 -D (4800) MQTT_CLIENT: Sent subscribe topic=/topic/qos1, id: 58982, type=8 successful -I (4810) MQTTS_EXAMPLE: sent subscribe successful, msg_id=58982 -``` - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/CMakeLists.txt deleted file mode 100644 index 31650f39d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRCS "app_main.c" - PRIV_REQUIRES mqtt esp_wifi nvs_flash - INCLUDE_DIRS ".") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/app_main.c deleted file mode 100644 index ee9e81859..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/app_main.c +++ /dev/null @@ -1,151 +0,0 @@ -/* MQTT over SSL Example - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ - -#include -#include -#include -#include -#include "esp_wifi.h" -#include "esp_system.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" - -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "freertos/semphr.h" -#include "freertos/queue.h" - -#include "lwip/sockets.h" -#include "lwip/dns.h" -#include "lwip/netdb.h" - -#include "esp_log.h" -#include "mqtt_client.h" -#include "esp_tls.h" - -/* - * Add here URI of mqtt broker which supports PSK authentication - */ -#define EXAMPLE_BROKER_URI "mqtts://192.168.0.2" - -static const char *TAG = "mqtts_example"; - -/* - * Define psk key and hint as defined in mqtt broker - * example for mosquitto server, content of psk_file: - * hint:BAD123 - * - */ -static const uint8_t s_key[] = { 0xBA, 0xD1, 0x23 }; - -static const psk_hint_key_t psk_hint_key = { - .key = s_key, - .key_size = sizeof(s_key), - .hint = "hint" - }; - -/* - * @brief Event handler registered to receive MQTT events - * - * This function is called by the MQTT client event loop. - * - * @param handler_args user data registered to the event. - * @param base Event base for the handler(always MQTT Base in this example). - * @param event_id The id for the received event. - * @param event_data The data for the event, esp_mqtt_event_handle_t. - */ -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32 "", base, event_id); - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - int msg_id; - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos1"); - ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d, return code=0x%02x ", event->msg_id, (uint8_t)*event->data); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - printf("TOPIC=%.*s\r\n", event->topic_len, event->topic); - printf("DATA=%.*s\r\n", event->data_len, event->data); - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - - -static void mqtt_app_start(void) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = EXAMPLE_BROKER_URI, - .broker.verification.psk_hint_key = &psk_hint_key, - }; - - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - /* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */ - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("transport_base", ESP_LOG_VERBOSE); - esp_log_level_set("esp-tls", ESP_LOG_VERBOSE); - esp_log_level_set("transport", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/idf_component.yml deleted file mode 100644 index 808c17483..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/main/idf_component.yml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults deleted file mode 100644 index 1df83e8f3..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults +++ /dev/null @@ -1 +0,0 @@ -CONFIG_ESP_TLS_PSK_VERIFICATION=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c5 b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c5 deleted file mode 100644 index 1686559de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c5 +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c6 b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c6 deleted file mode 100644 index 1686559de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c6 +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c61 b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c61 deleted file mode 100644 index 1686559de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ssl_psk/sdkconfig.defaults.esp32c61 +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/CMakeLists.txt deleted file mode 100644 index d6f01d8da..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt_tcp) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/README.md deleted file mode 100644 index cb9f2cca0..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/README.md +++ /dev/null @@ -1,375 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT sample application -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -This example connects to the broker URI selected using `idf.py menuconfig` (using mqtt tcp transport) and as a demonstration subscribes/unsubscribes and send a message on certain topic. -(Please note that the public broker is maintained by the community so may not be always available, for details please see this [disclaimer](https://iot.eclipse.org/getting-started/#sandboxes)) - -Note: If the URI equals `FROM_STDIN` then the broker address is read from stdin upon application startup (used for testing) - -It uses ESP-MQTT library which implements mqtt client to connect to mqtt broker. - -## How to use example - -### Hardware Required - -This example can be executed on any ESP32 board, the only required interface is WiFi and connection to internet. - -### Configure the project - -* Open the project configuration menu (`idf.py menuconfig`) -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. - -### Build and Flash - -Build the project and flash it to the board, then run monitor tool to view serial output: - -``` -idf.py -p PORT flash monitor -``` - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (3714) event: sta ip: 192.168.0.139, mask: 255.255.255.0, gw: 192.168.0.2 -I (3714) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE -I (3964) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 -I (4164) MQTT_EXAMPLE: MQTT_EVENT_CONNECTED -I (4174) MQTT_EXAMPLE: sent publish successful, msg_id=41464 -I (4174) MQTT_EXAMPLE: sent subscribe successful, msg_id=17886 -I (4174) MQTT_EXAMPLE: sent subscribe successful, msg_id=42970 -I (4184) MQTT_EXAMPLE: sent unsubscribe successful, msg_id=50241 -I (4314) MQTT_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=41464 -I (4484) MQTT_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=17886 -I (4484) MQTT_EXAMPLE: sent publish successful, msg_id=0 -I (4684) MQTT_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=42970 -I (4684) MQTT_EXAMPLE: sent publish successful, msg_id=0 -I (4884) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (4884) MQTT_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -I (5194) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (5194) MQTT_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -``` - -## Using Wi-Fi connection with ESP32P4 - -It is possible to use Wi-Fi connection on targets that do not support native Wi-Fi peripheral. This example demonstrates using `esp_wifi_remote` on ESP32P4 in the test configuration defined as `sdkconfig.ci.p4_wifi`. This configuration requires another ESP target with native Wi-Fi support physically connected to the ESP32-P4. - -This uses [esp_hosted](https://components.espressif.com/components/espressif/esp_hosted) project by default, please refer to its documentation for more details. -Note, that `esp_hosted` library currently transmits Wi-Fi credentials in plain text. In case this is a concern, please choose the `eppp` option in `esp_wifi_remote` configuration menu (`CONFIG_ESP_WIFI_REMOTE_LIBRARY_EPPP=y`) and setup master-slave verification (please see [eppp: Configure master-slave verification](#eppp)). - -### esp-hosted: Configure the slave project - -You first need to build and flash the slave project. It's possible to perform this action directly from the host project, these commands can be used to set the slave target device (for example ESP32C6), build and flash the slave project. You will have to hold the RST button to keep the host device (ESP32-P4) in reset while flashing the slave device. -``` -idf.py -C managed_components/espressif__esp_hosted/slave/ -B build_slave set-target esp32c6 -idf.py -C managed_components/espressif__esp_hosted/slave/ -B build_slave build flash monitor -``` - -### esp-hosted: Example Output of the slave device - -``` -I (348) cpu_start: Unicore app -I (357) cpu_start: Pro cpu start user code -I (357) cpu_start: cpu freq: 160000000 Hz -I (357) app_init: Application information: -I (360) app_init: Project name: network_adapter -I (365) app_init: App version: qa-test-full-master-esp32c5-202 -I (372) app_init: Compile time: Aug 30 2024 08:10:15 -I (378) app_init: ELF file SHA256: 6220fafe8... -I (383) app_init: ESP-IDF: v5.4-dev-2600-g1157a27964c-dirt -I (390) efuse_init: Min chip rev: v0.0 -I (395) efuse_init: Max chip rev: v0.99 -I (400) efuse_init: Chip rev: v0.1 -I (405) heap_init: Initializing. RAM available for dynamic allocation: -I (412) heap_init: At 4082FCD0 len 0004C940 (306 KiB): RAM -I (418) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM -I (424) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM -I (432) spi_flash: detected chip: generic -I (435) spi_flash: flash io: dio -I (440) sleep_gpio: Configure to isolate all GPIO pins in sleep state -I (447) sleep_gpio: Enable automatic switching of GPIO sleep configuration -I (454) coexist: coex firmware version: 8da3f50af -I (481) coexist: coexist rom version 5b8dcfa -I (481) main_task: Started on CPU0 -I (481) main_task: Calling app_main() -I (482) fg_mcu_slave: ********************************************************************* -I (491) fg_mcu_slave: ESP-Hosted-MCU Slave FW version :: 0.0.6 -I (501) fg_mcu_slave: Transport used :: SDIO only -I (510) fg_mcu_slave: ********************************************************************* -I (519) fg_mcu_slave: Supported features are: -I (524) fg_mcu_slave: - WLAN over SDIO -I (528) h_bt: - BT/BLE -I (531) h_bt: - HCI Over SDIO -I (535) h_bt: - BLE only -I (539) fg_mcu_slave: capabilities: 0xd -I (543) fg_mcu_slave: Supported extended features are: -I (549) h_bt: - BT/BLE (extended) -I (553) fg_mcu_slave: extended capabilities: 0x0 -I (563) h_bt: ESP Bluetooth MAC addr: 40:4c:ca:5b:a0:8a -I (564) BLE_INIT: Using main XTAL as clock source -I (574) BLE_INIT: ble controller commit:[7491a85] -I (575) BLE_INIT: Bluetooth MAC: 40:4c:ca:5b:a0:8a -I (581) phy_init: phy_version 310,dde1ba9,Jun 4 2024,16:38:11 -I (641) phy: libbtbb version: 04952fd, Jun 4 2024, 16:38:26 -I (642) SDIO_SLAVE: Using SDIO interface -I (642) SDIO_SLAVE: sdio_init: sending mode: SDIO_SLAVE_SEND_STREAM -I (648) SDIO_SLAVE: sdio_init: ESP32-C6 SDIO RxQ[20] timing[0] - -I (1155) fg_mcu_slave: Start Data Path -I (1165) fg_mcu_slave: Initial set up done -I (1165) slave_ctrl: event ESPInit -``` - -### esp_hosted: Example Output of the master device (ESP32-P4) - -``` -I (1833) sdio_wrapper: Function 0 Blocksize: 512 -I (1843) sdio_wrapper: Function 1 Blocksize: 512 -I (1843) H_SDIO_DRV: SDIO Host operating in STREAMING MODE -I (1853) H_SDIO_DRV: generate slave intr -I (1863) transport: Received INIT event from ESP32 peripheral -I (1873) transport: EVENT: 12 -I (1873) transport: EVENT: 11 -I (1873) transport: capabilities: 0xd -I (1873) transport: Features supported are: -I (1883) transport: * WLAN -I (1883) transport: - HCI over SDIO -I (1893) transport: - BLE only -I (1893) transport: EVENT: 13 -I (1893) transport: ESP board type is : 13 - -I (1903) transport: Base transport is set-up - -I (1903) transport: Slave chip Id[12] -I (1913) hci_stub_drv: Host BT Support: Disabled -I (1913) H_SDIO_DRV: Received INIT event -I (1923) rpc_evt: EVENT: ESP INIT - -I (1923) rpc_wrap: Received Slave ESP Init -I (2703) rpc_core: <-- RPC_Req [0x116], uid 1 -I (2823) rpc_rsp: --> RPC_Resp [0x216], uid 1 -I (2823) rpc_core: <-- RPC_Req [0x139], uid 2 -I (2833) rpc_rsp: --> RPC_Resp [0x239], uid 2 -I (2833) rpc_core: <-- RPC_Req [0x104], uid 3 -I (2843) rpc_rsp: --> RPC_Resp [0x204], uid 3 -I (2843) rpc_core: <-- RPC_Req [0x118], uid 4 -I (2933) rpc_rsp: --> RPC_Resp [0x218], uid 4 -I (2933) example_connect: Connecting to Cermakowifi... -I (2933) rpc_core: <-- RPC_Req [0x11c], uid 5 -I (2943) rpc_evt: Event [0x2b] received -I (2943) rpc_evt: Event [0x2] received -I (2953) rpc_evt: EVT rcvd: Wi-Fi Start -I (2953) rpc_core: <-- RPC_Req [0x101], uid 6 -I (2973) rpc_rsp: --> RPC_Resp [0x21c], uid 5 -I (2973) H_API: esp_wifi_remote_connect -I (2973) rpc_core: <-- RPC_Req [0x11a], uid 7 -I (2983) rpc_rsp: --> RPC_Resp [0x201], uid 6 -I (3003) rpc_rsp: --> RPC_Resp [0x21a], uid 7 -I (3003) example_connect: Waiting for IP(s) -I (5723) rpc_evt: Event [0x2b] received -I (5943) esp_wifi_remote: esp_wifi_internal_reg_rxcb: sta: 0x400309fe -0x400309fe: wifi_sta_receive at /home/david/esp/idf/components/esp_wifi/src/wifi_netif.c:38 - -I (7573) example_connect: Got IPv6 event: Interface "example_netif_sta" address: fe80:0000:0000:0000:424c:caff:fe5b:a088, type: ESP_IP6_ADDR_IS_LINK_LOCAL -I (9943) esp_netif_handlers: example_netif_sta ip: 192.168.0.29, mask: 255.255.255.0, gw: 192.168.0.1 -I (9943) example_connect: Got IPv4 event: Interface "example_netif_sta" address: 192.168.0.29 -I (9943) example_common: Connected to example_netif_sta -I (9953) example_common: - IPv4 address: 192.168.0.29, -I (9963) example_common: - IPv6 address: fe80:0000:0000:0000:424c:caff:fe5b:a088, type: ESP_IP6_ADDR_IS_LINK_LOCAL -I (9973) mqtt_example: Other event id:7 -I (9973) main_task: Returned from app_main() -I (10253) mqtt_example: MQTT_EVENT_CONNECTED -I (10253) mqtt_example: sent publish successful, msg_id=45053 -I (10253) mqtt_example: sent subscribe successful, msg_id=34643 -I (10263) mqtt_example: sent subscribe successful, msg_id=2358 -I (10263) mqtt_example: sent unsubscribe successful, msg_id=57769 -I (10453) mqtt_example: MQTT_EVENT_PUBLISHED, msg_id=45053 -I (10603) mqtt_example: MQTT_EVENT_SUBSCRIBED, msg_id=34643 -I (10603) mqtt_example: sent publish successful, msg_id=0 -I (10603) mqtt_example: MQTT_EVENT_SUBSCRIBED, msg_id=2358 -I (10613) mqtt_example: sent publish successful, msg_id=0 -I (10613) mqtt_example: MQTT_EVENT_UNSUBSCRIBED, msg_id=57769 -I (10713) mqtt_example: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -I (10863) mqtt_example: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -``` - -### eppp: Configure master-slave verification - -In order to secure the physical connection between the ESP32-P4 (master) and the slave device, it is necessary to set certificates and keys for each side. -To bootstrap this step, you can use one-time generated self-signed RSA keys and certificates running: -``` -./managed_components/espressif__esp_wifi_remote/examples/test_certs/generate_test_certs.sh espressif.local -``` - -#### eppp: Configure the slave project - -It is recommended to create a new project from `esp_wifi_remote` component's example with -``` -idf.py create-project-from-example "espressif/esp_wifi_remote:server" -``` -but you can also build and flash the slave project directly from the `managed_components` directory using: -``` -idf.py -C managed_components/espressif__esp_wifi_remote/examples/server/ -B build_slave -``` - -Please follow these steps to setup the slave application: -* `idf.py set-target` -- choose the slave target (must support Wi-Fi) -* `idf.py menuconfig` -- configure the physical connection and verification details: - - `CONFIG_ESP_WIFI_REMOTE_EPPP_CLIENT_CA` -- CA for verifying ESP32-P4 application - - `CONFIG_ESP_WIFI_REMOTE_EPPP_SERVER_CRT` -- slave's certificate - - `CONFIG_ESP_WIFI_REMOTE_EPPP_SERVER_KEY` -- slave's private key -* `idf.py build flash monitor` - -#### eppp: Configure the master project (ESP32-P4) - -similarly to the slave project, we have to configure -* the physical connection -* the verification - - `CONFIG_ESP_WIFI_REMOTE_EPPP_SERVER_CA` -- CA for verifying the slave application - - `CONFIG_ESP_WIFI_REMOTE_EPPP_CLIENT_CRT` -- our own certificate - - `CONFIG_ESP_WIFI_REMOTE_EPPP_CLIENT_KEY` -- our own private key - -After project configuration, you build and flash the board with -``` -idf.py build flash monitor -``` - -### eppp: Example Output of the slave device - -``` -I (7982) main_task: Returned from app_main() -I (8242) rpc_server: Received header id 2 -I (8242) pp: pp rom version: 5b8dcfa -I (8242) net80211: net80211 rom version: 5b8dcfa -I (8252) wifi:wifi driver task: 4082be8c, prio:23, stack:6656, core=0 -I (8252) wifi:wifi firmware version: feaf82d -I (8252) wifi:wifi certification version: v7.0 -I (8252) wifi:config NVS flash: enabled -I (8262) wifi:config nano formatting: disabled -I (8262) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N, band:0x1 -I (8272) wifi:Init data frame dynamic rx buffer num: 32 -I (8272) wifi:Init static rx mgmt buffer num: 5 -I (8282) wifi:Init management short buffer num: 32 -I (8282) wifi:Init dynamic tx buffer num: 32 -I (8292) wifi:Init static tx FG buffer num: 2 -I (8292) wifi:Init static rx buffer size: 1700 (rxctrl:92, csi:512) -I (8302) wifi:Init static rx buffer num: 10 -I (8302) wifi:Init dynamic rx buffer num: 32 -I (8302) wifi_init: rx ba win: 6 -I (8312) wifi_init: accept mbox: 6 -I (8312) wifi_init: tcpip mbox: 32 -I (8322) wifi_init: udp mbox: 6 -I (8322) wifi_init: tcp mbox: 6 -I (8322) wifi_init: tcp tx win: 5760 -I (8332) wifi_init: tcp rx win: 5760 -I (8332) wifi_init: tcp mss: 1440 -I (8342) wifi_init: WiFi IRAM OP enabled -I (8342) wifi_init: WiFi RX IRAM OP enabled -I (8352) wifi_init: WiFi SLP IRAM OP enabled -I (8362) rpc_server: Received header id 11 -I (8362) rpc_server: Received header id 4 -I (8372) rpc_server: Received header id 6 -I (8372) phy_init: phy_version 270,339aa07,Apr 3 2024,16:36:11 -I (8492) wifi:enable tsf -I (8492) rpc_server: Received WIFI event 41 -I (8502) rpc_server: Received WIFI event 2 -I (8732) rpc_server: Received header id 10 -I (8742) rpc_server: Received header id 5 -I (8752) rpc_server: Received header id 8 -I (11452) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1, snd_ch_cfg:0x0 -I (11452) wifi:(connect)dot11_authmode:0x3, pairwise_cipher:0x3, group_cipher:0x1 -I (11452) wifi:state: init -> auth (0xb0) -I (11462) rpc_server: Received WIFI event 41 -I (11462) wifi:state: auth -> assoc (0x0) -I (11472) wifi:(assoc)RESP, Extended Capabilities length:8, operating_mode_notification:0 -I (11472) wifi:(assoc)RESP, Extended Capabilities, MBSSID:0, TWT Responder:0, OBSS Narrow Bandwidth RU In OFDMA Tolerance:0 -I (11482) wifi:Extended Capabilities length:8, operating_mode_notification:1 -I (11492) wifi:state: assoc -> run (0x10) -I (11492) wifi:(trc)phytype:CBW20-SGI, snr:50, maxRate:144, highestRateIdx:0 -W (11502) wifi:(trc)band:2G, phymode:3, highestRateIdx:0, lowestRateIdx:11, dataSchedTableSize:14 -I (11512) wifi:(trc)band:2G, rate(S-MCS7, rateIdx:0), ampdu(rate:S-MCS7, schedIdx(0, stop:8)), snr:50, ampduState:wait operational -I (11522) wifi:ifidx:0, rssi:-45, nf:-95, phytype(0x3, CBW20-SGI), phymode(0x3, 11bgn), max_rate:144, he:0, vht:0, ht:1 -I (11532) wifi:(ht)max.RxAMPDULenExponent:3(65535 bytes), MMSS:6(8 us) -W (11542) wifi:idx:0, ifx:0, tid:0, TAHI:0x1002cb4, TALO:0x1b942980, (ssn:0, win:64, cur_ssn:0), CONF:0xc0000005 -I (11572) wifi:connected with Cermakowifi, aid = 2, channel 6, BW20, bssid = 80:29:94:1b:b4:2c -I (11572) wifi:cipher(pairwise:0x3, group:0x1), pmf:0, security:WPA2-PSK, phy:11bgn, rssi:-45 -I (11582) wifi:pm start, type: 1, twt_start:0 - -I (11582) wifi:pm start, type:1, aid:0x2, trans-BSSID:80:29:94:1b:b4:2c, BSSID[5]:0x2c, mbssid(max-indicator:0, index:0), he:0 -I (11592) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us -I (11602) wifi:set rx beacon pti, rx_bcn_pti: 10, bcn_timeout: 25000, mt_pti: 10, mt_time: 10000 -I (11612) wifi:[ADDBA]TX addba request, tid:0, dialogtoken:1, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x0) -I (11622) wifi:[ADDBA]TX addba request, tid:7, dialogtoken:2, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x20) -I (11632) wifi:[ADDBA]TX addba request, tid:5, dialogtoken:3, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x0) -I (11642) wifi:[ADDBA]RX addba response, status:0, tid:7/tb:0(0x1), bufsize:64, batimeout:0, txa_wnd:64 -I (11652) wifi:[ADDBA]RX addba response, status:0, tid:5/tb:0(0x1), bufsize:64, batimeout:0, txa_wnd:64 -I (11662) wifi:[ADDBA]RX addba response, status:0, tid:0/tb:1(0x1), bufsize:64, batimeout:0, txa_wnd:64 -I (11672) wifi:AP's beacon interval = 102400 us, DTIM period = 1 -I (11682) rpc_server: Received WIFI event 4 -I (15682) esp_netif_handlers: sta ip: 192.168.0.33, mask: 255.255.255.0, gw: 192.168.0.1 -I (15682) rpc_server: Received IP event 0 -I (15682) rpc_server: Main DNS:185.162.24.55 -I (15682) rpc_server: IP address:192.168.0.33 -``` - -### eppp: Example Output of the master device (ESP32-P4) - -``` -I (445) example_connect: Start example_connect. -I (455) uart: queue free spaces: 16 -I (455) eppp_link: Waiting for IP address 0 -I (3195) esp-netif_lwip-ppp: Connected -I (3195) eppp_link: Got IPv4 event: Interface "pppos_client(EPPP0)" address: 192.168.11.2 -I (3195) esp-netif_lwip-ppp: Connected -I (3195) eppp_link: Connected! 0 -I (5475) example_connect: Waiting for IP(s) -I (8405) esp_wifi_remote: esp_wifi_internal_reg_rxcb: sta: 0x4001c68a -I (9445) example_connect: Got IPv6 event: Interface "pppos_client" address: fe80:0000:0000:0000:5632:04ff:fe08:5054, type: ESP_IP6_ADDR_IS_LINK_LOCAL -I (12415) rpc_client: Main DNS:185.162.24.55 -I (12415) esp_netif_handlers: pppos_client ip: 192.168.11.2, mask: 255.255.255.255, gw: 192.168.11.1 -I (12415) rpc_client: EPPP IP:192.168.11.1 -I (12415) example_connect: Got IPv4 event: Interface "pppos_client" address: 192.168.11.2 -I (12425) rpc_client: WIFI IP:192.168.0.33 -I (12435) example_common: Connected to pppos_client -I (12445) rpc_client: WIFI GW:192.168.0.1 -I (12455) example_common: - IPv6 address: fe80:0000:0000:0000:5632:04ff:fe08:5054, type: ESP_IP6_ADDR_IS_LINK_LOCAL -I (12455) rpc_client: WIFI mask:255.255.255.0 -I (12465) example_common: Connected to pppos_client -I (12475) example_common: - IPv4 address: 192.168.11.2, -I (12475) example_common: - IPv6 address: fe80:0000:0000:0000:5c3b:1291:05ca:6dc8, type: ESP_IP6_ADDR_IS_LINK_LOCAL -I (12495) mqtt_example: Other event id:7 -I (12495) main_task: Returned from app_main() -I (12905) mqtt_example: MQTT_EVENT_CONNECTED -I (12905) mqtt_example: sent publish successful, msg_id=36013 -I (12905) mqtt_example: sent subscribe successful, msg_id=44233 -I (12905) mqtt_example: sent subscribe successful, msg_id=36633 -I (12915) mqtt_example: sent unsubscribe successful, msg_id=15480 -I (13115) mqtt_example: MQTT_EVENT_PUBLISHED, msg_id=36013 -I (13415) mqtt_example: MQTT_EVENT_SUBSCRIBED, msg_id=44233 -I (13415) mqtt_example: sent publish successful, msg_id=0 -I (13415) mqtt_example: MQTT_EVENT_SUBSCRIBED, msg_id=36633 -I (13415) mqtt_example: sent publish successful, msg_id=0 -I (13425) mqtt_example: MQTT_EVENT_DATA -TOPIC=/topic/qos1 -DATA=data_3 -I (13435) mqtt_example: MQTT_EVENT_UNSUBSCRIBED, msg_id=15480 -I (13615) mqtt_example: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -I (13925) mqtt_example: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -``` diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/CMakeLists.txt deleted file mode 100644 index 3bf739cf8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRCS "app_main.c" - PRIV_REQUIRES mqtt nvs_flash esp_netif - INCLUDE_DIRS ".") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/Kconfig.projbuild deleted file mode 100644 index c11539fb8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/Kconfig.projbuild +++ /dev/null @@ -1,13 +0,0 @@ -menu "Example Configuration" - - config BROKER_URL - string "Broker URL" - default "mqtt://mqtt.eclipseprojects.io" - help - URL of the broker to connect to - - config BROKER_URL_FROM_STDIN - bool - default y if BROKER_URL = "FROM_STDIN" - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/app_main.c deleted file mode 100644 index 396aca669..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/app_main.c +++ /dev/null @@ -1,162 +0,0 @@ -/* MQTT (over TCP) Example - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ - -#include -#include -#include -#include -#include -#include "esp_system.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" - -#include "esp_log.h" -#include "mqtt_client.h" - -static const char *TAG = "mqtt_example"; - - -static void log_error_if_nonzero(const char *message, int error_code) -{ - if (error_code != 0) { - ESP_LOGE(TAG, "Last error %s: 0x%x", message, error_code); - } -} - -/* - * @brief Event handler registered to receive MQTT events - * - * This function is called by the MQTT client event loop. - * - * @param handler_args user data registered to the event. - * @param base Event base for the handler(always MQTT Base in this example). - * @param event_id The id for the received event. - * @param event_data The data for the event, esp_mqtt_event_handle_t. - */ -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32 "", base, event_id); - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - int msg_id; - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - msg_id = esp_mqtt_client_publish(client, "/topic/qos1", "data_3", 0, 1, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos1"); - ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d, return code=0x%02x ", event->msg_id, (uint8_t)*event->data); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - printf("TOPIC=%.*s\r\n", event->topic_len, event->topic); - printf("DATA=%.*s\r\n", event->data_len, event->data); - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - if (event->error_handle->error_type == MQTT_ERROR_TYPE_TCP_TRANSPORT) { - log_error_if_nonzero("reported from esp-tls", event->error_handle->esp_tls_last_esp_err); - log_error_if_nonzero("reported from tls stack", event->error_handle->esp_tls_stack_err); - log_error_if_nonzero("captured as transport's socket errno", event->error_handle->esp_transport_sock_errno); - ESP_LOGI(TAG, "Last errno string (%s)", strerror(event->error_handle->esp_transport_sock_errno)); - - } - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -static void mqtt_app_start(void) -{ - esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = CONFIG_BROKER_URL, - }; -#if CONFIG_BROKER_URL_FROM_STDIN - char line[128]; - - if (strcmp(mqtt_cfg.broker.address.uri, "FROM_STDIN") == 0) { - int count = 0; - printf("Please enter url of mqtt broker\n"); - while (count < 128) { - int c = fgetc(stdin); - if (c == '\n') { - line[count] = '\0'; - break; - } else if (c > 0 && c < 127) { - line[count] = c; - ++count; - } - vTaskDelay(10 / portTICK_PERIOD_MS); - } - mqtt_cfg.broker.address.uri = line; - printf("Broker url: %s\n", line); - } else { - ESP_LOGE(TAG, "Configuration mismatch: wrong broker url"); - abort(); - } -#endif /* CONFIG_BROKER_URL_FROM_STDIN */ - - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - /* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */ - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("mqtt_example", ESP_LOG_VERBOSE); - esp_log_level_set("transport_base", ESP_LOG_VERBOSE); - esp_log_level_set("esp-tls", ESP_LOG_VERBOSE); - esp_log_level_set("transport", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/idf_component.yml deleted file mode 100644 index 7c166832e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/main/idf_component.yml +++ /dev/null @@ -1,13 +0,0 @@ -dependencies: - espressif/esp_hosted: - rules: - - if: target in [esp32p4, esp32h2] - version: 2.5.1 - espressif/esp_wifi_remote: - rules: - - if: target in [esp32p4, esp32h2] - version: '>=0.10,<2.0' - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/pytest_mqtt_tcp.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/pytest_mqtt_tcp.py deleted file mode 100644 index f8deb23ff..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/pytest_mqtt_tcp.py +++ /dev/null @@ -1,97 +0,0 @@ -# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Unlicense OR CC0-1.0 -import logging -import os -import socket -import struct -import sys -import time -from threading import Thread - -import pexpect -import pytest -from common_test_methods import get_host_ip4_by_dest_ip -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - -msgid = -1 - - -def mqqt_server_sketch(my_ip, port): # type: (str, str) -> None - global msgid - print('Starting the server on {}'.format(my_ip)) - s = None - try: - s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - s.settimeout(60) - s.bind((my_ip, port)) - s.listen(1) - q, addr = s.accept() - q.settimeout(30) - print('connection accepted') - except Exception: - print( - 'Local server on {}:{} listening/accepting failure: {}' - 'Possibly check permissions or firewall settings' - 'to accept connections on this address'.format(my_ip, port, sys.exc_info()[0]) - ) - raise - data = q.recv(1024) - # check if received initial empty message - print('received from client {!r}'.format(data)) - data = bytearray([0x20, 0x02, 0x00, 0x00]) - q.send(data) - # try to receive qos1 - data = q.recv(1024) - msgid = struct.unpack('>H', data[15:17])[0] - print('received from client {!r}, msgid: {}'.format(data, msgid)) - data = bytearray([0x40, 0x02, data[15], data[16]]) - q.send(data) - time.sleep(5) - s.close() - print('server closed') - - -@pytest.mark.ethernet -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_examples_protocol_mqtt_qos1(dut: Dut) -> None: - global msgid - """ - steps: (QoS1: Happy flow) - 1. start the broker broker (with correctly sending ACK) - 2. DUT client connects to a broker and publishes qos1 message - 3. Test evaluates that qos1 message is queued and removed from queued after ACK received - 4. Test the broker received the same message id evaluated in step 3 - """ - # check and log bin size - binary_file = os.path.join(dut.app.binary_path, 'mqtt_tcp.bin') - bin_size = os.path.getsize(binary_file) - logging.info('[Performance][mqtt_tcp_bin_size]: %s KB', bin_size // 1024) - # waiting for getting the IP address - try: - ip_address = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)', timeout=30).group(1).decode() - print('Connected to AP/Ethernet with IP: {}'.format(ip_address)) - except pexpect.TIMEOUT: - raise ValueError('ENV_TEST_FAILURE: Cannot connect to AP/Ethernet') - - # 2. start mqtt broker sketch - host_ip = get_host_ip4_by_dest_ip(ip_address) - thread1 = Thread(target=mqqt_server_sketch, args=(host_ip, 1883)) - thread1.start() - - data_write = 'mqtt://' + host_ip - print('writing to device: {}'.format(data_write)) - dut.write(data_write) - thread1.join() - print('Message id received from server: {}'.format(msgid)) - # 3. check the message id was enqueued and then deleted - msgid_enqueued = dut.expect(b'outbox: ENQUEUE msgid=([0-9]+)', timeout=30).group(1).decode() - msgid_deleted = dut.expect(b'outbox: DELETED msgid=([0-9]+)', timeout=30).group(1).decode() - # 4. check the msgid of received data are the same as that of enqueued and deleted from outbox - if msgid_enqueued == str(msgid) and msgid_deleted == str(msgid): - print('PASS: Received correct msg id') - else: - print('Failure!') - raise ValueError( - 'Mismatch of msgid: received: {}, enqueued {}, deleted {}'.format(msgid, msgid_enqueued, msgid_deleted) - ) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci deleted file mode 100644 index acf084a9e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci +++ /dev/null @@ -1,13 +0,0 @@ -CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y -CONFIG_BROKER_URL="FROM_STDIN" -CONFIG_EXAMPLE_CONNECT_ETHERNET=y -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y -CONFIG_EXAMPLE_ETH_PHY_IP101=y -CONFIG_EXAMPLE_ETH_MDC_GPIO=23 -CONFIG_EXAMPLE_ETH_MDIO_GPIO=18 -CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5 -CONFIG_EXAMPLE_ETH_PHY_ADDR=1 -CONFIG_EXAMPLE_CONNECT_IPV6=y -CONFIG_LWIP_TCPIP_CORE_LOCKING=y -CONFIG_LWIP_CHECK_THREAD_SAFETY=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.p4_eppp b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.p4_eppp deleted file mode 100644 index 8d423df47..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.p4_eppp +++ /dev/null @@ -1,5 +0,0 @@ -CONFIG_IDF_TARGET="esp32p4" -CONFIG_EXAMPLE_CONNECT_WIFI=y -CONFIG_ESP_WIFI_REMOTE_LIBRARY_EPPP=y -CONFIG_ESP_WIFI_REMOTE_EPPP_UART_TX_PIN=17 -CONFIG_ESP_WIFI_REMOTE_EPPP_UART_RX_PIN=16 diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.p4_wifi b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.p4_wifi deleted file mode 100644 index a2ea93a35..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.p4_wifi +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_IDF_TARGET="esp32p4" -CONFIG_EXAMPLE_CONNECT_WIFI=y -CONFIG_ESP_WIFI_REMOTE_LIBRARY_HOSTED=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.ppp_connect b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.ppp_connect deleted file mode 100644 index 7366a909e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/tcp/sdkconfig.ci.ppp_connect +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_EXAMPLE_CONNECT_PPP=y -CONFIG_EXAMPLE_CONNECT_PPP_DEVICE_UART=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/CMakeLists.txt deleted file mode 100644 index bc5e2f109..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt_websocket) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/README.md deleted file mode 100644 index 5d1724fd3..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/README.md +++ /dev/null @@ -1,61 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT MQTT over Websocket - -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -This example connects to the broker mqtt.eclipseprojects.io over web sockets as a demonstration subscribes/unsubscribes and send a message on certain topic. -(Please note that the public broker is maintained by the community so may not be always available, for details please see this [disclaimer](https://iot.eclipse.org/getting-started/#sandboxes)) - -It uses ESP-MQTT library which implements mqtt client to connect to mqtt broker. - -## How to use example - -### Hardware Required - -This example can be executed on any ESP32 board, the only required interface is WiFi and connection to internet. - -### Configure the project - -* Open the project configuration menu (`idf.py menuconfig`) -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. - -### Build and Flash - -Build the project and flash it to the board, then run monitor tool to view serial output: - -``` -idf.py -p PORT flash monitor -``` - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (3714) event: sta ip: 192.168.0.139, mask: 255.255.255.0, gw: 192.168.0.2 -I (3714) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE -I (3964) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 -I (4164) MQTTWS_EXAMPLE: MQTT_EVENT_CONNECTED -I (4174) MQTTWS_EXAMPLE: sent publish successful, msg_id=41464 -I (4174) MQTTWS_EXAMPLE: sent subscribe successful, msg_id=17886 -I (4174) MQTTWS_EXAMPLE: sent subscribe successful, msg_id=42970 -I (4184) MQTTWS_EXAMPLE: sent unsubscribe successful, msg_id=50241 -I (4314) MQTTWS_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=41464 -I (4484) MQTTWS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=17886 -I (4484) MQTTWS_EXAMPLE: sent publish successful, msg_id=0 -I (4684) MQTTWS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=42970 -I (4684) MQTTWS_EXAMPLE: sent publish successful, msg_id=0 -I (4884) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (4884) MQTTWS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -I (5194) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (5194) MQTTWS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -``` - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/CMakeLists.txt deleted file mode 100644 index 31650f39d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRCS "app_main.c" - PRIV_REQUIRES mqtt esp_wifi nvs_flash - INCLUDE_DIRS ".") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/Kconfig.projbuild deleted file mode 100644 index e547a5156..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/Kconfig.projbuild +++ /dev/null @@ -1,9 +0,0 @@ -menu "Example Configuration" - - config BROKER_URI - string "Broker URL" - default "ws://mqtt.eclipseprojects.io:80/mqtt" - help - URL of an mqtt broker which this example connects to. - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/app_main.c deleted file mode 100644 index f518fdfac..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/app_main.c +++ /dev/null @@ -1,144 +0,0 @@ -/* MQTT over Websockets Example - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ -#include -#include -#include -#include -#include "esp_wifi.h" -#include "esp_system.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" - -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "freertos/semphr.h" -#include "freertos/queue.h" - -#include "lwip/sockets.h" -#include "lwip/dns.h" -#include "lwip/netdb.h" - -#include "esp_log.h" -#include "mqtt_client.h" - -static const char *TAG = "mqttws_example"; - -static void log_error_if_nonzero(const char *message, int error_code) -{ - if (error_code != 0) { - ESP_LOGE(TAG, "Last error %s: 0x%x", message, error_code); - } -} - -/* - * @brief Event handler registered to receive MQTT events - * - * This function is called by the MQTT client event loop. - * - * @param handler_args user data registered to the event. - * @param base Event base for the handler(always MQTT Base in this example). - * @param event_id The id for the received event. - * @param event_data The data for the event, esp_mqtt_event_handle_t. - */ -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32, base, event_id); - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - int msg_id; - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - msg_id = esp_mqtt_client_publish(client, "/topic/qos1", "data_3", 0, 1, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos1"); - ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d, return code=0x%02x ", event->msg_id, (uint8_t)*event->data); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - printf("TOPIC=%.*s\r\n", event->topic_len, event->topic); - printf("DATA=%.*s\r\n", event->data_len, event->data); - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - if (event->error_handle->error_type == MQTT_ERROR_TYPE_TCP_TRANSPORT) { - log_error_if_nonzero("reported from esp-tls", event->error_handle->esp_tls_last_esp_err); - log_error_if_nonzero("reported from tls stack", event->error_handle->esp_tls_stack_err); - log_error_if_nonzero("captured as transport's socket errno", event->error_handle->esp_transport_sock_errno); - ESP_LOGI(TAG, "Last errno string (%s)", strerror(event->error_handle->esp_transport_sock_errno)); - - } - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -static void mqtt_app_start(void) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = CONFIG_BROKER_URI, - }; - - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - /* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */ - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("mqtt_example", ESP_LOG_VERBOSE); - esp_log_level_set("transport_base", ESP_LOG_VERBOSE); - esp_log_level_set("transport_ws", ESP_LOG_VERBOSE); - esp_log_level_set("transport", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/idf_component.yml deleted file mode 100644 index 808c17483..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/main/idf_component.yml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/pytest_mqtt_ws_example.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/pytest_mqtt_ws_example.py deleted file mode 100644 index 3ad6bd742..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/pytest_mqtt_ws_example.py +++ /dev/null @@ -1,108 +0,0 @@ -#!/usr/bin/env python -# -# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Unlicense OR CC0-1.0 -import logging -import os -import re -import sys -from threading import Event -from threading import Thread - -import paho.mqtt.client as mqtt -import pytest -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - -event_client_connected = Event() -event_stop_client = Event() -event_client_received_correct = Event() -message_log = '' - - -# The callback for when the client receives a CONNACK response from the server. -def on_connect(client, userdata, flags, rc): # type: (mqtt.Client, tuple, bool, str) -> None - _ = (userdata, flags) - print('Connected with result code ' + str(rc)) - event_client_connected.set() - client.subscribe('/topic/qos0') - - -def mqtt_client_task(client): # type: (mqtt.Client) -> None - while not event_stop_client.is_set(): - client.loop() - - -# The callback for when a PUBLISH message is received from the server. -def on_message(client, userdata, msg): # type: (mqtt.Client, tuple, mqtt.client.MQTTMessage) -> None - _ = userdata - global message_log - payload = msg.payload.decode() - if not event_client_received_correct.is_set() and payload == 'data': - client.publish('/topic/qos0', 'data_to_esp32') - if msg.topic == '/topic/qos0' and payload == 'data': - event_client_received_correct.set() - message_log += 'Received data:' + msg.topic + ' ' + payload + '\n' - - -@pytest.mark.ethernet -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_examples_protocol_mqtt_ws(dut): # type: (Dut) -> None - broker_url = '' - broker_port = 0 - """ - steps: | - 1. join AP and connects to ws broker - 2. Test connects a client to the same broker - 3. Test evaluates it received correct qos0 message - 4. Test ESP32 client received correct qos0 message - """ - # check and log bin size - binary_file = os.path.join(dut.app.binary_path, 'mqtt_websocket.bin') - bin_size = os.path.getsize(binary_file) - logging.info('[Performance][mqtt_websocket_bin_size]: %s KB', bin_size // 1024) - # Look for host:port in sdkconfig - try: - value = re.search(r'\:\/\/([^:]+)\:([0-9]+)', dut.app.sdkconfig.get('BROKER_URI')) - assert value is not None - broker_url = value.group(1) - broker_port = int(value.group(2)) - except Exception: - print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig') - raise - client = None - # 1. Test connects to a broker - try: - client = mqtt.Client(transport='websockets') - client.on_connect = on_connect - client.on_message = on_message - print('Connecting...') - client.connect(broker_url, broker_port, 60) - except Exception: - print( - 'ENV_TEST_FAILURE: Unexpected error while connecting to broker {}: {}:'.format( - broker_url, sys.exc_info()[0] - ) - ) - raise - # Starting a py-client in a separate thread - thread1 = Thread(target=mqtt_client_task, args=(client,)) - thread1.start() - try: - print('Connecting py-client to broker {}:{}...'.format(broker_url, broker_port)) - if not event_client_connected.wait(timeout=30): - raise ValueError('ENV_TEST_FAILURE: Test script cannot connect to broker: {}'.format(broker_url)) - try: - ip_address = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)[0] - print('Connected to AP with IP: {}'.format(ip_address)) - except Dut.ExpectTimeout: - print('ENV_TEST_FAILURE: Cannot connect to AP') - raise - print('Checking py-client received msg published from esp...') - if not event_client_received_correct.wait(timeout=30): - raise ValueError('Wrong data received, msg log: {}'.format(message_log)) - print('Checking esp-client received msg published from py-client...') - dut.expect(r'DATA=data_to_esp32', timeout=30) - finally: - event_stop_client.set() - thread1.join() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/sdkconfig.ci b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/sdkconfig.ci deleted file mode 100644 index eebcafdea..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/ws/sdkconfig.ci +++ /dev/null @@ -1,11 +0,0 @@ -CONFIG_BROKER_URI="ws://${EXAMPLE_MQTT_BROKER_WS}/ws" -CONFIG_EXAMPLE_CONNECT_ETHERNET=y -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y -CONFIG_EXAMPLE_ETH_PHY_IP101=y -CONFIG_EXAMPLE_ETH_MDC_GPIO=23 -CONFIG_EXAMPLE_ETH_MDIO_GPIO=18 -CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5 -CONFIG_EXAMPLE_ETH_PHY_ADDR=1 -CONFIG_EXAMPLE_CONNECT_IPV6=y -CONFIG_LWIP_CHECK_THREAD_SAFETY=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/CMakeLists.txt deleted file mode 100644 index e62d88e13..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -idf_build_set_property(MINIMAL_BUILD ON) -project(mqtt_websocket_secure) - -target_add_binary_data(${PROJECT_NAME}.elf "main/mqtt_eclipseprojects_io.pem" TEXT) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/README.md deleted file mode 100644 index b401d3191..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/README.md +++ /dev/null @@ -1,73 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | - -# ESP-MQTT MQTT over WSS Sample application -(See the README.md file in the upper level 'examples' directory for more information about examples.) - -This example connects to the broker mqtt.eclipseprojects.io over secure websockets and as a demonstration subscribes/unsubscribes and send a message on certain topic. -(Please note that the public broker is maintained by the community so may not be always available, for details please see this [disclaimer](https://iot.eclipse.org/getting-started/#sandboxes)) - -It uses ESP-MQTT library which implements mqtt client to connect to mqtt broker. - -## How to use example - -### Hardware Required - -This example can be executed on any ESP32 board, the only required interface is WiFi and connection to internet. - -### Configure the project - -* Open the project configuration menu (`idf.py menuconfig`) -* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details. - -Note how to create a PEM certificate for mqtt.eclipseprojects.io: - -PEM certificate for this example could be extracted from an openssl `s_client` command connecting to mqtt.eclipseprojects.io. -In case a host operating system has `openssl` and `sed` packages installed, one could execute the following command to download and save the root certificate to a file (Note for Windows users: Both Linux like environment or Windows native packages may be used). -``` -echo "" | openssl s_client -showcerts -connect mqtt.eclipseprojects.io:443 | sed -n "1,/Root/d; /BEGIN/,/END/p" | openssl x509 -outform PEM >mqtt_eclipse_org.pem -``` -Please note that this is not a general command for downloading a root certificate for an arbitrary host; -this command works with mqtt.eclipseprojects.io as the site provides root certificate in the chain, which then could be extracted -with text operation. - -### Build and Flash - -Build the project and flash it to the board, then run monitor tool to view serial output: - -``` -idf.py -p PORT flash monitor -``` - -(To exit the serial monitor, type ``Ctrl-]``.) - -See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. - -## Example Output - -``` -I (3714) event: sta ip: 192.168.0.139, mask: 255.255.255.0, gw: 192.168.0.2 -I (3714) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE -I (3964) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 -I (4164) MQTTWSS_EXAMPLE: MQTT_EVENT_CONNECTED -I (4174) MQTTWSS_EXAMPLE: sent publish successful, msg_id=41464 -I (4174) MQTTWSS_EXAMPLE: sent subscribe successful, msg_id=17886 -I (4174) MQTTWSS_EXAMPLE: sent subscribe successful, msg_id=42970 -I (4184) MQTTWSS_EXAMPLE: sent unsubscribe successful, msg_id=50241 -I (4314) MQTTWSS_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=41464 -I (4484) MQTTWSS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=17886 -I (4484) MQTTWSS_EXAMPLE: sent publish successful, msg_id=0 -I (4684) MQTTWSS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=42970 -I (4684) MQTTWSS_EXAMPLE: sent publish successful, msg_id=0 -I (4884) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (4884) MQTTWSS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -I (5194) MQTT_CLIENT: deliver_publish, message_length_read=19, message_length=19 -I (5194) MQTTWSS_EXAMPLE: MQTT_EVENT_DATA -TOPIC=/topic/qos0 -DATA=data -``` - - - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/CMakeLists.txt deleted file mode 100644 index 31650f39d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -idf_component_register(SRCS "app_main.c" - PRIV_REQUIRES mqtt esp_wifi nvs_flash - INCLUDE_DIRS ".") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/Kconfig.projbuild deleted file mode 100644 index b6d1f593d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/Kconfig.projbuild +++ /dev/null @@ -1,20 +0,0 @@ -menu "Example Configuration" - - config BROKER_URI - string "Broker URL" - default "wss://mqtt.eclipseprojects.io:443/mqtt" - help - URL of an mqtt broker which this example connects to. - - config BROKER_CERTIFICATE_OVERRIDE - string "Server certificate override" - default "" - help - Please leave empty if server certificate included from a textfile; otherwise fill in a base64 part of PEM - format certificate - - config BROKER_CERTIFICATE_OVERRIDDEN - bool - default y if BROKER_CERTIFICATE_OVERRIDE != "" - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/app_main.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/app_main.c deleted file mode 100644 index 3de96c0b9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/app_main.c +++ /dev/null @@ -1,135 +0,0 @@ -/* MQTT over Secure Websockets Example - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ -#include -#include -#include -#include -#include "esp_wifi.h" -#include "esp_system.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" - -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "freertos/semphr.h" -#include "freertos/queue.h" - -#include "lwip/sockets.h" -#include "lwip/dns.h" -#include "lwip/netdb.h" - -#include "esp_log.h" -#include "mqtt_client.h" - -static const char *TAG = "mqttwss_example"; - - -#if CONFIG_BROKER_CERTIFICATE_OVERRIDDEN == 1 -static const uint8_t mqtt_eclipseprojects_io_pem_start[] = "-----BEGIN CERTIFICATE-----\n" CONFIG_BROKER_CERTIFICATE_OVERRIDE "\n-----END CERTIFICATE-----"; -#else -extern const uint8_t mqtt_eclipseprojects_io_pem_start[] asm("_binary_mqtt_eclipseprojects_io_pem_start"); -#endif -extern const uint8_t mqtt_eclipseprojects_io_pem_end[] asm("_binary_mqtt_eclipseprojects_io_pem_end"); - -static esp_err_t mqtt_event_handler_cb(esp_mqtt_event_handle_t event) -{ - esp_mqtt_client_handle_t client = event->client; - int msg_id; - // your_context_t *context = event->context; - switch (event->event_id) { - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1); - ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id); - - msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos1"); - ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d, return code=0x%02x ", event->msg_id, (uint8_t)*event->data); - msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0); - ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - printf("TOPIC=%.*s\r\n", event->topic_len, event->topic); - printf("DATA=%.*s\r\n", event->data_len, event->data); - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR"); - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } - return ESP_OK; -} - -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - /* The argument passed to esp_mqtt_client_register_event can de accessed as handler_args*/ - ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%" PRIi32, base, event_id); - mqtt_event_handler_cb(event_data); -} - -static void mqtt_app_start(void) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = CONFIG_BROKER_URI, - .broker.verification.certificate = (const char *)mqtt_eclipseprojects_io_pem_start, - }; - - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - /* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */ - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - - esp_mqtt_client_start(client); -} - -void app_main(void) -{ - ESP_LOGI(TAG, "[APP] Startup.."); - ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("mqtt_example", ESP_LOG_VERBOSE); - esp_log_level_set("transport_base", ESP_LOG_VERBOSE); - esp_log_level_set("transport", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); - - /* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig. - * Read "Establishing Wi-Fi or Ethernet Connection" section in - * examples/protocols/README.md for more information about this function. - */ - ESP_ERROR_CHECK(example_connect()); - - mqtt_app_start(); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/idf_component.yml deleted file mode 100644 index 808c17483..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/idf_component.yml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: - espressif/mqtt: - version: '*' - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/mqtt_eclipseprojects_io.pem b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/mqtt_eclipseprojects_io.pem deleted file mode 100644 index 43b222a60..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/main/mqtt_eclipseprojects_io.pem +++ /dev/null @@ -1,30 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw -TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh -cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw -WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg -RW5jcnlwdDELMAkGA1UEAxMCUjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK -AoIBAQC7AhUozPaglNMPEuyNVZLD+ILxmaZ6QoinXSaqtSu5xUyxr45r+XXIo9cP -R5QUVTVXjJ6oojkZ9YI8QqlObvU7wy7bjcCwXPNZOOftz2nwWgsbvsCUJCWH+jdx -sxPnHKzhm+/b5DtFUkWWqcFTzjTIUu61ru2P3mBw4qVUq7ZtDpelQDRrK9O8Zutm -NHz6a4uPVymZ+DAXXbpyb/uBxa3Shlg9F8fnCbvxK/eG3MHacV3URuPMrSXBiLxg -Z3Vms/EY96Jc5lP/Ooi2R6X/ExjqmAl3P51T+c8B5fWmcBcUr2Ok/5mzk53cU6cG -/kiFHaFpriV1uxPMUgP17VGhi9sVAgMBAAGjggEIMIIBBDAOBgNVHQ8BAf8EBAMC -AYYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMBIGA1UdEwEB/wQIMAYB -Af8CAQAwHQYDVR0OBBYEFBQusxe3WFbLrlAJQOYfr52LFMLGMB8GA1UdIwQYMBaA -FHm0WeZ7tuXkAXOACIjIGlj26ZtuMDIGCCsGAQUFBwEBBCYwJDAiBggrBgEFBQcw -AoYWaHR0cDovL3gxLmkubGVuY3Iub3JnLzAnBgNVHR8EIDAeMBygGqAYhhZodHRw -Oi8veDEuYy5sZW5jci5vcmcvMCIGA1UdIAQbMBkwCAYGZ4EMAQIBMA0GCysGAQQB -gt8TAQEBMA0GCSqGSIb3DQEBCwUAA4ICAQCFyk5HPqP3hUSFvNVneLKYY611TR6W -PTNlclQtgaDqw+34IL9fzLdwALduO/ZelN7kIJ+m74uyA+eitRY8kc607TkC53wl -ikfmZW4/RvTZ8M6UK+5UzhK8jCdLuMGYL6KvzXGRSgi3yLgjewQtCPkIVz6D2QQz -CkcheAmCJ8MqyJu5zlzyZMjAvnnAT45tRAxekrsu94sQ4egdRCnbWSDtY7kh+BIm -lJNXoB1lBMEKIq4QDUOXoRgffuDghje1WrG9ML+Hbisq/yFOGwXD9RiX8F6sw6W4 -avAuvDszue5L3sz85K+EC4Y/wFVDNvZo4TYXao6Z0f+lQKc0t8DQYzk1OXVu8rp2 -yJMC6alLbBfODALZvYH7n7do1AZls4I9d1P4jnkDrQoxB3UqQ9hVl3LEKQ73xF1O -yK5GhDDX8oVfGKF5u+decIsH4YaTw7mP3GFxJSqv3+0lUFJoi5Lc5da149p90Ids -hCExroL1+7mryIkXPeFM5TgO9r0rvZaBFOvV2z0gp35Z0+L4WPlbuEjN/lxPFin+ -HlUjr8gRsI3qfJOQFy/9rKIJR0Y/8Omwt/8oTWgy1mdeHmmjk7j1nYsvC9JSQ6Zv -MldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX -nLRbwHOoq7hHwg== ------END CERTIFICATE----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/pytest_mqtt_wss_example.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/pytest_mqtt_wss_example.py deleted file mode 100644 index cb4a22e37..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/pytest_mqtt_wss_example.py +++ /dev/null @@ -1,111 +0,0 @@ -#!/usr/bin/env python -# -# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Unlicense OR CC0-1.0 -import logging -import os -import re -import ssl -import sys -from threading import Event -from threading import Thread - -import paho.mqtt.client as mqtt -import pexpect -import pytest -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - -event_client_connected = Event() -event_stop_client = Event() -event_client_received_correct = Event() -message_log = '' - - -# The callback for when the client receives a CONNACK response from the server. -def on_connect(client, userdata, flags, rc): # type: (mqtt.Client, tuple, bool, str) -> None - _ = (userdata, flags) - print('Connected with result code ' + str(rc)) - event_client_connected.set() - client.subscribe('/topic/qos0') - - -def mqtt_client_task(client): # type: (mqtt.Client) -> None - while not event_stop_client.is_set(): - client.loop() - - -# The callback for when a PUBLISH message is received from the server. -def on_message(client, userdata, msg): # type: (mqtt.Client, tuple, mqtt.client.MQTTMessage) -> None - _ = userdata - global message_log - payload = msg.payload.decode() - if not event_client_received_correct.is_set() and payload == 'data': - client.publish('/topic/qos0', 'data_to_esp32') - if msg.topic == '/topic/qos0' and payload == 'data': - event_client_received_correct.set() - message_log += 'Received data:' + msg.topic + ' ' + payload + '\n' - - -@pytest.mark.ethernet -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_examples_protocol_mqtt_wss(dut): # type: (Dut) -> None - broker_url = '' - broker_port = 0 - """ - steps: | - 1. join AP and connects to wss broker - 2. Test connects a client to the same broker - 3. Test evaluates it received correct qos0 message - 4. Test ESP32 client received correct qos0 message - """ - # check and log bin size - binary_file = os.path.join(dut.app.binary_path, 'mqtt_websocket_secure.bin') - bin_size = os.path.getsize(binary_file) - logging.info('[Performance][mqtt_websocket_secure_bin_size]: %s KB', bin_size // 1024) - # Look for host:port in sdkconfig - try: - value = re.search(r'\:\/\/([^:]+)\:([0-9]+)', dut.app.sdkconfig.get('BROKER_URI')) - assert value is not None - broker_url = value.group(1) - broker_port = int(value.group(2)) - except Exception: - print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig') - raise - client = None - # 1. Test connects to a broker - try: - client = mqtt.Client(transport='websockets') - client.on_connect = on_connect - client.on_message = on_message - client.tls_set(None, None, None, cert_reqs=ssl.CERT_NONE, tls_version=ssl.PROTOCOL_TLSv1_2, ciphers=None) - print('Connecting...') - client.connect(broker_url, broker_port, 60) - except Exception: - print( - 'ENV_TEST_FAILURE: Unexpected error while connecting to broker {}: {}:'.format( - broker_url, sys.exc_info()[0] - ) - ) - raise - # Starting a py-client in a separate thread - thread1 = Thread(target=mqtt_client_task, args=(client,)) - thread1.start() - try: - print('Connecting py-client to broker {}:{}...'.format(broker_url, broker_port)) - if not event_client_connected.wait(timeout=30): - raise ValueError('ENV_TEST_FAILURE: Test script cannot connect to broker: {}'.format(broker_url)) - try: - ip_address = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)[0] - print('Connected to AP with IP: {}'.format(ip_address)) - except pexpect.TIMEOUT: - print('ENV_TEST_FAILURE: Cannot connect to AP') - raise - print('Checking py-client received msg published from esp...') - if not event_client_received_correct.wait(timeout=30): - raise ValueError('Wrong data received, msg log: {}'.format(message_log)) - print('Checking esp-client received msg published from py-client...') - dut.expect(r'DATA=data_to_esp32', timeout=30) - finally: - event_stop_client.set() - thread1.join() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/sdkconfig.ci b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/sdkconfig.ci deleted file mode 100644 index c8e8ef94a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/examples/wss/sdkconfig.ci +++ /dev/null @@ -1,13 +0,0 @@ -CONFIG_BROKER_URI="wss://${EXAMPLE_MQTT_BROKER_WSS}/ws" -CONFIG_BROKER_CERTIFICATE_OVERRIDE="${EXAMPLE_MQTT_BROKER_CERTIFICATE}" -CONFIG_EXAMPLE_CONNECT_ETHERNET=y -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y -CONFIG_EXAMPLE_ETH_PHY_IP101=y -CONFIG_EXAMPLE_ETH_MDC_GPIO=23 -CONFIG_EXAMPLE_ETH_MDIO_GPIO=18 -CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5 -CONFIG_EXAMPLE_ETH_PHY_ADDR=1 -CONFIG_EXAMPLE_CONNECT_IPV6=y -CONFIG_LWIP_TCPIP_CORE_LOCKING=y -CONFIG_LWIP_CHECK_THREAD_SAFETY=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/idf_component.yml deleted file mode 100644 index 9bcfaee62..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/idf_component.yml +++ /dev/null @@ -1,18 +0,0 @@ -dependencies: - idf: - version: '>=5.3' -description: ESP-MQTT - A robust MQTT client library for ESP32 microcontrollers supporting - MQTT 3.1.1 and 5.0 protocols with multiple transport layers -documentation: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/mqtt.html -issues: https://github.com/espressif/esp-mqtt/issues -license: Apache-2.0 -maintainers: -- Espressif Systems -repository: https://github.com/espressif/esp-mqtt -tags: -- mqtt -- mqtt5 -- protocol -- networking -url: https://github.com/espressif/esp-mqtt -version: 1.0.0 diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt5_client.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt5_client.h deleted file mode 100644 index 25254c410..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt5_client.h +++ /dev/null @@ -1,286 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifndef _MQTT5_CLIENT_H_ -#define _MQTT5_CLIENT_H_ - -#include "mqtt_client.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct esp_mqtt_client *esp_mqtt5_client_handle_t; - -/** - * MQTT5 protocol error reason code, more details refer to MQTT5 protocol document section 2.4 - */ -typedef enum mqtt5_error_reason_code_t { - MQTT5_UNSPECIFIED_ERROR = 0x80, - MQTT5_MALFORMED_PACKET = 0x81, - MQTT5_PROTOCOL_ERROR = 0x82, - MQTT5_IMPLEMENT_SPECIFIC_ERROR = 0x83, - MQTT5_UNSUPPORTED_PROTOCOL_VER = 0x84, - MQTT5_INVAILD_CLIENT_ID __attribute__((deprecated)) = 0x85, - MQTT5_INVALID_CLIENT_ID = 0x85, - MQTT5_BAD_USERNAME_OR_PWD = 0x86, - MQTT5_NOT_AUTHORIZED = 0x87, - MQTT5_SERVER_UNAVAILABLE = 0x88, - MQTT5_SERVER_BUSY = 0x89, - MQTT5_BANNED = 0x8A, - MQTT5_SERVER_SHUTTING_DOWN = 0x8B, - MQTT5_BAD_AUTH_METHOD = 0x8C, - MQTT5_KEEP_ALIVE_TIMEOUT = 0x8D, - MQTT5_SESSION_TAKEN_OVER = 0x8E, - MQTT5_TOPIC_FILTER_INVAILD __attribute__((deprecated)) = 0x8F, - MQTT5_TOPIC_FILTER_INVALID = 0x8F, - MQTT5_TOPIC_NAME_INVAILD __attribute__((deprecated)) = 0x90, - MQTT5_TOPIC_NAME_INVALID = 0x90, - MQTT5_PACKET_IDENTIFIER_IN_USE = 0x91, - MQTT5_PACKET_IDENTIFIER_NOT_FOUND = 0x92, - MQTT5_RECEIVE_MAXIMUM_EXCEEDED = 0x93, - MQTT5_TOPIC_ALIAS_INVAILD __attribute__((deprecated)) = 0x94, - MQTT5_TOPIC_ALIAS_INVALID = 0x94, - MQTT5_PACKET_TOO_LARGE = 0x95, - MQTT5_MESSAGE_RATE_TOO_HIGH = 0x96, - MQTT5_QUOTA_EXCEEDED = 0x97, - MQTT5_ADMINISTRATIVE_ACTION = 0x98, - MQTT5_PAYLOAD_FORMAT_INVAILD __attribute__((deprecated)) = 0x99, - MQTT5_PAYLOAD_FORMAT_INVALID = 0x99, - MQTT5_RETAIN_NOT_SUPPORT = 0x9A, - MQTT5_QOS_NOT_SUPPORT = 0x9B, - MQTT5_USE_ANOTHER_SERVER = 0x9C, - MQTT5_SERVER_MOVED = 0x9D, - MQTT5_SHARED_SUBSCR_NOT_SUPPORTED = 0x9E, - MQTT5_CONNECTION_RATE_EXCEEDED = 0x9F, - MQTT5_MAXIMUM_CONNECT_TIME = 0xA0, - MQTT5_SUBSCRIBE_IDENTIFIER_NOT_SUPPORT = 0xA1, - MQTT5_WILDCARD_SUBSCRIBE_NOT_SUPPORT = 0xA2, -} esp_mqtt5_error_reason_code_t; - -/** - * MQTT5 user property handle - */ -typedef struct mqtt5_user_property_list_t *mqtt5_user_property_handle_t; - -/** - * MQTT5 protocol connect properties and will properties configuration, more details refer to MQTT5 protocol document section 3.1.2.11 and 3.3.2.3 - */ -typedef struct { - uint32_t session_expiry_interval; /*!< The interval time of session expiry */ - uint32_t maximum_packet_size; /*!< The maximum packet size that we can receive */ - uint16_t receive_maximum; /*!< The maximum pakcket count that we process concurrently */ - uint16_t topic_alias_maximum; /*!< The maximum topic alias that we support */ - bool request_resp_info; /*!< This value to request Server to return Response information */ - bool request_problem_info; /*!< This value to indicate whether the reason string or user properties are sent in case of failures */ - mqtt5_user_property_handle_t user_property; /*!< The handle for user property, call function esp_mqtt5_client_set_user_property to set it */ - uint32_t will_delay_interval; /*!< The time interval that server delays publishing will message */ - uint32_t message_expiry_interval; /*!< The time interval that message expiry */ - bool payload_format_indicator; /*!< This value is to indicator will message payload format */ - const char *content_type; /*!< This value is to indicator will message content type, use a MIME content type string */ - const char *response_topic; /*!< Topic name for a response message */ - const char *correlation_data; /*!< Binary data for receiver to match the response message */ - uint16_t correlation_data_len; /*!< The length of correlation data */ - mqtt5_user_property_handle_t will_user_property; /*!< The handle for will message user property, call function esp_mqtt5_client_set_user_property to set it */ -} esp_mqtt5_connection_property_config_t; - -/** - * MQTT5 protocol publish properties configuration, more details refer to MQTT5 protocol document section 3.3.2.3 - */ -typedef struct { - bool payload_format_indicator; /*!< This value is to indicator publish message payload format */ - uint32_t message_expiry_interval; /*!< The time interval that message expiry */ - uint16_t topic_alias; /*!< An interger value to identify the topic instead of using topic name string */ - const char *response_topic; /*!< Topic name for a response message */ - const char *correlation_data; /*!< Binary data for receiver to match the response message */ - uint16_t correlation_data_len; /*!< The length of correlation data */ - const char *content_type; /*!< This value is to indicator publish message content type, use a MIME content type string */ - mqtt5_user_property_handle_t user_property; /*!< The handle for user property, call function esp_mqtt5_client_set_user_property to set it */ -} esp_mqtt5_publish_property_config_t; - -/** - * MQTT5 protocol subscribe properties configuration, more details refer to MQTT5 protocol document section 3.8.2.1 - */ -typedef struct { - uint16_t subscribe_id; /*!< A variable byte represents the identifier of the subscription */ - bool no_local_flag; /*!< Subscription Option to allow that server publish message that client sent */ - bool retain_as_published_flag; /*!< Subscription Option to keep the retain flag as published option */ - uint8_t retain_handle; /*!< Subscription Option to handle retain option */ - bool is_share_subscribe; /*!< Whether subscribe is a shared subscription */ - const char *share_name; /*!< The name of shared subscription which is a part of $share/{share_name}/{topic} */ - mqtt5_user_property_handle_t user_property; /*!< The handle for user property, call function esp_mqtt5_client_set_user_property to set it */ -} esp_mqtt5_subscribe_property_config_t; - -/** - * MQTT5 protocol unsubscribe properties configuration, more details refer to MQTT5 protocol document section 3.10.2.1 - */ -typedef struct { - bool is_share_subscribe; /*!< Whether subscribe is a shared subscription */ - const char *share_name; /*!< The name of shared subscription which is a part of $share/{share_name}/{topic} */ - mqtt5_user_property_handle_t user_property; /*!< The handle for user property, call function esp_mqtt5_client_set_user_property to set it */ -} esp_mqtt5_unsubscribe_property_config_t; - -/** - * MQTT5 protocol disconnect properties configuration, more details refer to MQTT5 protocol document section 3.14.2.2 - */ -typedef struct { - uint32_t session_expiry_interval; /*!< The interval time of session expiry */ - uint8_t disconnect_reason; /*!< The reason that connection disconnet, refer to mqtt5_error_reason_code */ - mqtt5_user_property_handle_t user_property; /*!< The handle for user property, call function esp_mqtt5_client_set_user_property to set it */ -} esp_mqtt5_disconnect_property_config_t; - -/** - * MQTT5 protocol for event properties - */ -typedef struct { - bool payload_format_indicator; /*!< Payload format of the message */ - char *response_topic; /*!< Response topic of the message */ - int response_topic_len; /*!< Response topic length of the message */ - char *correlation_data; /*!< Correlation data of the message */ - uint16_t correlation_data_len; /*!< Correlation data length of the message */ - char *content_type; /*!< Content type of the message */ - int content_type_len; /*!< Content type length of the message */ - uint16_t subscribe_id; /*!< Subscription identifier of the message */ - mqtt5_user_property_handle_t user_property; /*!< The handle for user property, call function esp_mqtt5_client_delete_user_property to free the memory */ -} esp_mqtt5_event_property_t; - -/** - * MQTT5 protocol for user property - */ -typedef struct { - const char *key; /*!< Item key name */ - const char *value; /*!< Item value string */ -} esp_mqtt5_user_property_item_t; - -/** - * @brief Set MQTT5 client connect property configuration - * - * @param client mqtt client handle - * @param connect_property connect property - * - * @return ESP_ERR_NO_MEM if failed to allocate - * ESP_ERR_INVALID_ARG on wrong initialization - * ESP_FAIL on fail - * ESP_OK on success - */ -esp_err_t esp_mqtt5_client_set_connect_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_connection_property_config_t *connect_property); - -/** - * @brief Set MQTT5 client publish property configuration - * - * This API will not store the publish property, it is one-time configuration. - * Before call `esp_mqtt_client_publish` to publish data, call this API to set publish property if have - * - * @param client mqtt client handle - * @param property publish property - * - * @return ESP_ERR_INVALID_ARG on wrong initialization - * ESP_FAIL on fail - * ESP_OK on success - */ -esp_err_t esp_mqtt5_client_set_publish_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_publish_property_config_t *property); - -/** - * @brief Set MQTT5 client subscribe property configuration - * - * This API will not store the subscribe property, it is one-time configuration. - * Before call `esp_mqtt_client_subscribe` to subscribe topic, call this API to set subscribe property if have - * - * @param client mqtt client handle - * @param property subscribe property - * - * @return ESP_ERR_INVALID_ARG on wrong initialization - * ESP_FAIL on fail - * ESP_OK on success - */ -esp_err_t esp_mqtt5_client_set_subscribe_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_subscribe_property_config_t *property); - -/** - * @brief Set MQTT5 client unsubscribe property configuration - * - * This API will not store the unsubscribe property, it is one-time configuration. - * Before call `esp_mqtt_client_unsubscribe` to unsubscribe topic, call this API to set unsubscribe property if have - * - * @param client mqtt client handle - * @param property unsubscribe property - * - * @return ESP_ERR_INVALID_ARG on wrong initialization - * ESP_FAIL on fail - * ESP_OK on success - */ -esp_err_t esp_mqtt5_client_set_unsubscribe_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_unsubscribe_property_config_t *property); - -/** - * @brief Set MQTT5 client disconnect property configuration - * - * This API will not store the disconnect property, it is one-time configuration. - * Before call `esp_mqtt_client_disconnect` to disconnect connection, call this API to set disconnect property if have - * - * @param client mqtt client handle - * @param property disconnect property - * - * @return ESP_ERR_NO_MEM if failed to allocate - * ESP_ERR_INVALID_ARG on wrong initialization - * ESP_FAIL on fail - * ESP_OK on success - */ -esp_err_t esp_mqtt5_client_set_disconnect_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_disconnect_property_config_t *property); - -/** - * @brief Set MQTT5 client user property configuration - * - * This API will allocate memory for user_property, please DO NOT forget `call esp_mqtt5_client_delete_user_property` - * after you use it. - * Before publish data, subscribe topic, unsubscribe, etc, call this API to set user property if have - * - * @param user_property user_property handle - * @param item array of user property data (eg. {{"var","val"},{"other","2"}}) - * @param item_num number of items in user property data - * - * @return ESP_ERR_NO_MEM if failed to allocate - * ESP_FAIL on fail - * ESP_OK on success - */ -esp_err_t esp_mqtt5_client_set_user_property(mqtt5_user_property_handle_t *user_property, esp_mqtt5_user_property_item_t item[], uint8_t item_num); - -/** - * @brief Get MQTT5 client user property - * - * @param user_property user_property handle - * @param item point that store user property data - * @param item_num number of items in user property data - * - * This API can use with `esp_mqtt5_client_get_user_property_count` to get list count of user property. - * And malloc number of count item array memory to store the user property data. - * Please DO NOT forget the item memory, key and value point in item memory when get user property data successfully. - * - * @return ESP_ERR_NO_MEM if failed to allocate - * ESP_FAIL on fail - * ESP_OK on success - */ -esp_err_t esp_mqtt5_client_get_user_property(mqtt5_user_property_handle_t user_property, esp_mqtt5_user_property_item_t *item, uint8_t *item_num); - -/** - * @brief Get MQTT5 client user property list count - * - * @param user_property user_property handle - * @return user property list count - */ -uint8_t esp_mqtt5_client_get_user_property_count(mqtt5_user_property_handle_t user_property); - -/** - * @brief Free the user property list - * - * @param user_property user_property handle - * - * This API will free the memory in user property list and free user_property itself - */ -void esp_mqtt5_client_delete_user_property(mqtt5_user_property_handle_t user_property); -#ifdef __cplusplus -} -#endif //__cplusplus - -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt_client.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt_client.h deleted file mode 100644 index 4627585bc..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt_client.h +++ /dev/null @@ -1,704 +0,0 @@ -/* - * This file is subject to the terms and conditions defined in - * file 'LICENSE', which is part of this source code package. - * Tuan PM - */ - -#ifndef _MQTT_CLIENT_H_ -#define _MQTT_CLIENT_H_ - -#include -#include -#include -#include "esp_err.h" -#include "esp_event.h" -#include "esp_transport.h" -#ifdef CONFIG_MQTT_PROTOCOL_5 -#include "mqtt5_client.h" -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef ESP_EVENT_DECLARE_BASE -// Define event loop types if macros not available -typedef void *esp_event_loop_handle_t; -typedef void *esp_event_handler_t; -#endif - -typedef struct esp_mqtt_client *esp_mqtt_client_handle_t; - -#define MQTT_OVER_TCP_SCHEME "mqtt" -#define MQTT_OVER_SSL_SCHEME "mqtts" -#define MQTT_OVER_WS_SCHEME "ws" -#define MQTT_OVER_WSS_SCHEME "wss" - -/** - * @brief *MQTT* event types. - * - * User event handler receives context data in `esp_mqtt_event_t` structure with - * - client - *MQTT* client handle - * - various other data depending on event type - * - */ -typedef enum esp_mqtt_event_id_t { - MQTT_EVENT_ANY = -1, - MQTT_EVENT_ERROR = - 0, /*!< on error event, additional context: connection return code, error - handle from esp_tls (if supported) */ - MQTT_EVENT_CONNECTED, /*!< connected event, additional context: - session_present flag */ - MQTT_EVENT_DISCONNECTED, /*!< disconnected event */ - MQTT_EVENT_SUBSCRIBED, /*!< subscribed event, additional context: - - msg_id message id - - error_handle `error_type` in case subscribing failed - - data pointer to broker response, check for errors. - - data_len length of the data for this - event - */ - MQTT_EVENT_UNSUBSCRIBED, /*!< unsubscribed event, additional context: msg_id */ - MQTT_EVENT_PUBLISHED, /*!< published event, additional context: msg_id */ - MQTT_EVENT_DATA, /*!< data event, additional context: - - msg_id message id - - topic pointer to the received topic - - topic_len length of the topic - - data pointer to the received data - - data_len length of the data for this event - - current_data_offset offset of the current data for - this event - - total_data_len total length of the data received - - retain retain flag of the message - - qos QoS level of the message - - dup dup flag of the message - Note: Multiple MQTT_EVENT_DATA could be fired for one - message, if it is longer than internal buffer. In that - case only first event contains topic pointer and length, - other contain data only with current data length and - current data offset updating. - */ - MQTT_EVENT_BEFORE_CONNECT, /*!< The event occurs before connecting */ - MQTT_EVENT_DELETED, /*!< Notification on delete of one message from the - internal outbox, if the message couldn't have been sent - or acknowledged before expiring defined in - OUTBOX_EXPIRED_TIMEOUT_MS. (events are not posted upon - deletion of successfully acknowledged messages) - - This event id is posted only if - MQTT_REPORT_DELETED_MESSAGES==1 - - Additional context: msg_id (id of the deleted - message, always 0 for QoS = 0 messages). - */ - MQTT_USER_EVENT, /*!< Custom event used to queue tasks into mqtt event handler - All fields from the esp_mqtt_event_t type could be used to pass - an additional context data to the handler. - */ -} esp_mqtt_event_id_t; - -/** - * *MQTT* connection error codes propagated via ERROR event - */ -typedef enum esp_mqtt_connect_return_code_t { - MQTT_CONNECTION_ACCEPTED = 0, /*!< Connection accepted */ - MQTT_CONNECTION_REFUSE_PROTOCOL, /*!< *MQTT* connection refused reason: Wrong - protocol */ - MQTT_CONNECTION_REFUSE_ID_REJECTED, /*!< *MQTT* connection refused reason: ID - rejected */ - MQTT_CONNECTION_REFUSE_SERVER_UNAVAILABLE, /*!< *MQTT* connection refused - reason: Server unavailable */ - MQTT_CONNECTION_REFUSE_BAD_USERNAME, /*!< *MQTT* connection refused reason: - Wrong user */ - MQTT_CONNECTION_REFUSE_NOT_AUTHORIZED /*!< *MQTT* connection refused reason: - Wrong username or password */ -} esp_mqtt_connect_return_code_t; - -/** - * *MQTT* connection error codes propagated via ERROR event - */ -typedef enum esp_mqtt_error_type_t { - MQTT_ERROR_TYPE_NONE = 0, - MQTT_ERROR_TYPE_TCP_TRANSPORT, - MQTT_ERROR_TYPE_CONNECTION_REFUSED, - MQTT_ERROR_TYPE_SUBSCRIBE_FAILED -} esp_mqtt_error_type_t; - -/** - * MQTT_ERROR_TYPE_TCP_TRANSPORT error type hold all sorts of transport layer - * errors, including ESP-TLS error, but in the past only the errors from - * MQTT_ERROR_TYPE_ESP_TLS layer were reported, so the ESP-TLS error type is - * re-defined here for backward compatibility - */ -#define MQTT_ERROR_TYPE_ESP_TLS MQTT_ERROR_TYPE_TCP_TRANSPORT - -typedef enum esp_mqtt_transport_t { - MQTT_TRANSPORT_UNKNOWN = 0x0, - MQTT_TRANSPORT_OVER_TCP, /*!< *MQTT* over TCP, using scheme: ``MQTT`` */ - MQTT_TRANSPORT_OVER_SSL, /*!< *MQTT* over SSL, using scheme: ``MQTTS`` */ - MQTT_TRANSPORT_OVER_WS, /*!< *MQTT* over Websocket, using scheme:: ``ws`` */ - MQTT_TRANSPORT_OVER_WSS /*!< *MQTT* over Websocket Secure, using scheme: - ``wss`` */ -} esp_mqtt_transport_t; - -/** - * *MQTT* protocol version used for connection - */ -typedef enum esp_mqtt_protocol_ver_t { - MQTT_PROTOCOL_UNDEFINED = 0, - MQTT_PROTOCOL_V_3_1, - MQTT_PROTOCOL_V_3_1_1, - MQTT_PROTOCOL_V_5, -} esp_mqtt_protocol_ver_t; - -/** - * @brief *MQTT* error code structure to be passed as a contextual information - * into ERROR event - * - * Important: This structure extends `esp_tls_last_error` error structure and is - * backward compatible with it (so might be down-casted and treated as - * `esp_tls_last_error` error, but recommended to update applications if used - * this way previously) - * - * Use this structure directly checking error_type first and then appropriate - * error code depending on the source of the error: - * - * | error_type | related member variables | note | - * | MQTT_ERROR_TYPE_TCP_TRANSPORT | esp_tls_last_esp_err, esp_tls_stack_err, - * esp_tls_cert_verify_flags, sock_errno | Error reported from - * tcp_transport/esp-tls | | MQTT_ERROR_TYPE_CONNECTION_REFUSED | - * connect_return_code | Internal error reported from *MQTT* broker on - * connection | - */ -typedef struct esp_mqtt_error_codes { - /* compatible portion of the struct corresponding to struct esp_tls_last_error - */ - esp_err_t esp_tls_last_esp_err; /*!< last esp_err code reported from esp-tls - component */ - int esp_tls_stack_err; /*!< tls specific error code reported from underlying - tls stack */ - int esp_tls_cert_verify_flags; /*!< tls flags reported from underlying tls - stack during certificate verification */ - /* esp-mqtt specific structure extension */ - esp_mqtt_error_type_t - error_type; /*!< error type referring to the source of the error */ - esp_mqtt_connect_return_code_t - connect_return_code; /*!< connection refused error code reported from - *MQTT* broker on connection */ -#ifdef CONFIG_MQTT_PROTOCOL_5 - esp_mqtt5_error_reason_code_t - disconnect_return_code; /*!< disconnection reason code reported from - *MQTT* broker on disconnection */ -#endif - /* tcp_transport extension */ - int esp_transport_sock_errno; /*!< errno from the underlying socket */ - -} esp_mqtt_error_codes_t; - -/** - * *MQTT* event configuration structure - */ -typedef struct esp_mqtt_event_t { - esp_mqtt_event_id_t event_id; /*!< *MQTT* event type */ - esp_mqtt_client_handle_t client; /*!< *MQTT* client handle for this event */ - char *data; /*!< Data associated with this event */ - int data_len; /*!< Length of the data for this event */ - int total_data_len; /*!< Total length of the data (longer data are supplied - with multiple events) */ - int current_data_offset; /*!< Actual offset for the data associated with this - event */ - char *topic; /*!< Topic associated with this event */ - int topic_len; /*!< Length of the topic for this event associated with this - event */ - int msg_id; /*!< *MQTT* messaged id of message */ - int session_present; /*!< *MQTT* session_present flag for connection event */ - esp_mqtt_error_codes_t - *error_handle; /*!< esp-mqtt error handle including esp-tls errors as well - as internal *MQTT* errors */ - bool retain; /*!< Retained flag of the message associated with this event */ - int qos; /*!< QoS of the messages associated with this event */ - bool dup; /*!< dup flag of the message associated with this event */ - esp_mqtt_protocol_ver_t protocol_ver; /*!< MQTT protocol version used for connection, defaults to value from menuconfig*/ -#ifdef CONFIG_MQTT_PROTOCOL_5 - esp_mqtt5_event_property_t *property; /*!< MQTT 5 property associated with this event */ -#endif - -} esp_mqtt_event_t; - -typedef esp_mqtt_event_t *esp_mqtt_event_handle_t; - -/** - * *MQTT* client configuration structure - * - * - Default values can be set via menuconfig - * - All certificates and key data could be passed in PEM or DER format. PEM format must have a terminating NULL - * character and the related len field set to 0. DER format requires a related len field set to the correct length. - */ -typedef struct esp_mqtt_client_config_t { - /** - * Broker related configuration - */ - struct broker_t { - /** - * Broker address - * - * - uri have precedence over other fields - * - If uri isn't set at least hostname, transport and port should. - */ - struct address_t { - const char *uri; /*!< Complete *MQTT* broker URI */ - const char *hostname; /*!< Hostname, to set ipv4 pass it as string) */ - esp_mqtt_transport_t transport; /*!< Selects transport*/ - const char *path; /*!< Path in the URI*/ - uint32_t port; /*!< *MQTT* server port */ - } address; /*!< Broker address configuration */ - /** - * Broker identity verification - * - * If fields are not set broker's identity isn't verified. it's recommended - * to set the options in this struct for security reasons. - */ - struct verification_t { - bool use_global_ca_store; /*!< Use a global ca_store, look esp-tls - documentation for details. */ - esp_err_t (*crt_bundle_attach)(void *conf); /*!< Pointer to ESP x509 Certificate Bundle attach function for - the usage of certificate bundles. Client only attach the bundle, the clean up must be done by the user. */ - const char *certificate; /*!< Certificate data, default is NULL. It's not copied nor freed by the client, user needs to clean up.*/ - size_t certificate_len; /*!< Length of the buffer pointed to by certificate. */ - const struct psk_key_hint *psk_hint_key; /*!< Pointer to PSK struct defined in esp_tls.h to enable PSK - authentication (as alternative to certificate verification). - PSK is enabled only if there are no other ways to - verify broker. It's not copied nor freed by the client, user needs to clean up.*/ - bool skip_cert_common_name_check; /*!< Skip any validation of server certificate CN field, this reduces the - security of TLS and makes the *MQTT* client susceptible to MITM attacks */ - const char **alpn_protos; /*!< NULL-terminated list of supported application protocols to be used for ALPN.*/ - const char *common_name; /*!< Pointer to the string containing server certificate common name. - If non-NULL, server certificate CN must match this name, - If NULL, server certificate CN must match hostname. - This is ignored if skip_cert_common_name_check=true. - It's not copied nor freed by the client, user needs to clean up.*/ - const int *ciphersuites_list; /*!< Pointer to a zero-terminated array of IANA identifiers of TLS cipher suites. - Please ensure the validity of the list, and note that it is not copied or freed by the client. */ - } verification; /*!< Security verification of the broker */ - } broker; /*!< Broker address and security verification */ - /** - * Client related credentials for authentication. - */ - struct credentials_t { - const char *username; /*!< *MQTT* username */ - const char *client_id; /*!< Set *MQTT* client identifier. Ignored if set_null_client_id == true If NULL set - the default client id. Default client id is ``ESP32_%CHIPID%`` where `%CHIPID%` are - last 3 bytes of MAC address in hex format */ - bool set_null_client_id; /*!< Selects a NULL client id */ - /** - * Client authentication - * - * Fields related to client authentication by broker - * - * For mutual authentication using TLS, user could select certificate and key, - * secure element or digital signature peripheral if available. - * - */ - struct authentication_t { - const char *password; /*!< *MQTT* password */ - const char *certificate; /*!< Certificate for ssl mutual authentication, not required if mutual - authentication is not needed. Must be provided with `key`. It's not copied nor freed by the client, user needs to clean up.*/ - size_t certificate_len; /*!< Length of the buffer pointed to by certificate.*/ - const char *key; /*!< Private key for SSL mutual authentication, not required if mutual authentication - is not needed. If it is not NULL, also `certificate` has to be provided. It's not copied nor freed by the client, user needs to clean up.*/ - size_t key_len; /*!< Length of the buffer pointed to by key.*/ - const char *key_password; /*!< Client key decryption password, not PEM nor DER, if provided - `key_password_len` must be correctly set.*/ - int key_password_len; /*!< Length of the password pointed to by `key_password` */ - bool use_secure_element; /*!< Enable secure element, available in ESP32-ROOM-32SE, for SSL connection */ - void *ds_data; /*!< Carrier of handle for digital signature parameters, digital signature peripheral is - available in some Espressif devices. It's not copied nor freed by the client, user needs to clean up.*/ - bool use_ecdsa_peripheral; /*!< Enable ECDSA peripheral, available in some Espressif devices. */ - uint8_t ecdsa_key_efuse_blk; /*!< ECDSA key block number from efuse, available in some Espressif devices. */ - } authentication; /*!< Client authentication */ - } credentials; /*!< User credentials for broker */ - /** - * *MQTT* Session related configuration - */ - struct session_t { - /** - * Last Will and Testament message configuration. - */ - struct last_will_t { - const char *topic; /*!< LWT (Last Will and Testament) message topic */ - const char *msg; /*!< LWT message, may be NULL terminated*/ - int msg_len; /*!< LWT message length, if msg isn't NULL terminated must have the correct length */ - int qos; /*!< LWT message QoS */ - int retain; /*!< LWT retained message flag */ - } last_will; /*!< Last will configuration */ - bool disable_clean_session; /*!< *MQTT* clean session, default clean_session is true */ - int keepalive; /*!< *MQTT* keepalive, default is 120 seconds - When configuring this value, keep in mind that the client attempts - to communicate with the broker at half the interval that is actually set. - This conservative approach allows for more attempts before the broker's timeout occurs */ - bool disable_keepalive; /*!< Set `disable_keepalive=true` to turn off keep-alive mechanism, keepalive is active - by default. Note: setting the config value `keepalive` to `0` doesn't disable - keepalive feature, but uses a default keepalive period */ - esp_mqtt_protocol_ver_t protocol_ver; /*!< *MQTT* protocol version used for connection.*/ - int message_retransmit_timeout; /*!< timeout for retransmitting of failed packet */ - } session; /*!< *MQTT* session configuration. */ - /** - * Network related configuration - */ - struct network_t { - int reconnect_timeout_ms; /*!< Reconnect to the broker after this value in miliseconds if auto reconnect is not - disabled (defaults to 10s) */ - int timeout_ms; /*!< Abort network operation if it is not completed after this value, in milliseconds - (defaults to 10s). */ - int refresh_connection_after_ms; /*!< Refresh connection after this value (in milliseconds) */ - bool disable_auto_reconnect; /*!< Client will reconnect to server (when errors/disconnect). Set - `disable_auto_reconnect=true` to disable */ - esp_transport_keep_alive_t tcp_keep_alive_cfg; /*!< Transport keep-alive config*/ - esp_transport_handle_t transport; /*!< Custom transport handle to use, leave it NULL to allow MQTT client create or recreate its own. Warning: The transport should be valid during the client lifetime and is destroyed when esp_mqtt_client_destroy is called. */ - struct ifreq * if_name; /*!< The name of interface for data to go through. Use the default interface without setting */ - } network; /*!< Network configuration */ - /** - * Client task configuration - */ - struct task_t { - int priority; /*!< *MQTT* task priority*/ - int stack_size; /*!< *MQTT* task stack size*/ - } task; /*!< FreeRTOS task configuration.*/ - /** - * Client buffer size configuration - * - * Client have two buffers for input and output respectivelly. - */ - struct buffer_t { - int size; /*!< size of *MQTT* send/receive buffer*/ - int out_size; /*!< size of *MQTT* output buffer. If not defined, defaults to the size defined by - ``buffer_size`` */ - } buffer; /*!< Buffer size configuration.*/ - - /** - * Client outbox configuration options. - */ - struct outbox_config_t { - uint64_t limit; /*!< Size limit for the outbox in bytes.*/ - } outbox; /*!< Outbox configuration. */ -} esp_mqtt_client_config_t; - -/** - * Topic definition struct - */ -typedef struct topic_t { - const char *filter; /*!< Topic filter to subscribe */ - int qos; /*!< Max QoS level of the subscription */ -} esp_mqtt_topic_t; - -/** - * @brief Creates *MQTT* client handle based on the configuration - * - * @param config *MQTT* configuration structure - * - * @return mqtt_client_handle if successfully created, NULL on error - */ -esp_mqtt_client_handle_t -esp_mqtt_client_init(const esp_mqtt_client_config_t *config); - -/** - * @brief Sets *MQTT* connection URI. This API is usually used to overrides the - * URI configured in esp_mqtt_client_init - * - * @param client *MQTT* client handle - * @param uri - * - * @return ESP_FAIL if URI parse error, ESP_OK on success - */ -esp_err_t esp_mqtt_client_set_uri(esp_mqtt_client_handle_t client, - const char *uri); - -/** - * @brief Starts *MQTT* client with already created client handle - * - * @param client *MQTT* client handle - * - * @return ESP_OK on success - * ESP_ERR_INVALID_ARG on wrong initialization - * ESP_FAIL on other error - */ -esp_err_t esp_mqtt_client_start(esp_mqtt_client_handle_t client); - -/** - * @brief This api is typically used to force reconnection upon a specific event - * - * @param client *MQTT* client handle - * - * @return ESP_OK on success - * ESP_ERR_INVALID_ARG on wrong initialization - * ESP_FAIL if client is in invalid state - */ -esp_err_t esp_mqtt_client_reconnect(esp_mqtt_client_handle_t client); - -/** - * @brief This api is typically used to force disconnection from the broker - * - * @param client *MQTT* client handle - * - * @return ESP_OK on success - * ESP_ERR_INVALID_ARG on wrong initialization - */ -esp_err_t esp_mqtt_client_disconnect(esp_mqtt_client_handle_t client); - -/** - * @brief Stops *MQTT* client tasks - * - * * Notes: - * - Cannot be called from the *MQTT* event handler - * - * @param client *MQTT* client handle - * - * @return ESP_OK on success - * ESP_ERR_INVALID_ARG on wrong initialization - * ESP_FAIL if client is in invalid state - */ -esp_err_t esp_mqtt_client_stop(esp_mqtt_client_handle_t client); - -#ifdef __cplusplus - -#define esp_mqtt_client_subscribe esp_mqtt_client_subscribe_single - -#else -/** - * @brief Convenience macro to select subscribe function to use. - * - * Notes: - * - Usage of `esp_mqtt_client_subscribe_single` is the same as previous - * esp_mqtt_client_subscribe, refer to it for details. - * - * @param client_handle *MQTT* client handle - * @param topic_type Needs to be char* for single subscription or `esp_mqtt_topic_t` for multiple topics - * @param qos_or_size It's either a qos when subscribing to a single topic or the size of the subscription array when subscribing to multiple topics. - * - * @return message_id of the subscribe message on success - * -1 on failure - * -2 in case of full outbox. - */ -#define esp_mqtt_client_subscribe(client_handle, topic_type, qos_or_size) _Generic((topic_type), \ - char *: esp_mqtt_client_subscribe_single, \ - const char *: esp_mqtt_client_subscribe_single, \ - esp_mqtt_topic_t*: esp_mqtt_client_subscribe_multiple \ - )(client_handle, topic_type, qos_or_size) - -#endif /* __cplusplus*/ -/** - * @brief Subscribe the client to defined topic with defined qos - * - * Notes: - * - Client must be connected to send subscribe message - * - This API is could be executed from a user task or - * from a *MQTT* event callback i.e. internal *MQTT* task - * (API is protected by internal mutex, so it might block - * if a longer data receive operation is in progress. - * - `esp_mqtt_client_subscribe` could be used to call this function. - * - * @param client *MQTT* client handle - * @param topic topic filter to subscribe - * @param qos Max qos level of the subscription - * - * @return message_id of the subscribe message on success - * -1 on failure - * -2 in case of full outbox. - */ -int esp_mqtt_client_subscribe_single(esp_mqtt_client_handle_t client, - const char *topic, int qos); -/** - * @brief Subscribe the client to a list of defined topics with defined qos - * - * Notes: - * - Client must be connected to send subscribe message - * - This API is could be executed from a user task or - * from a *MQTT* event callback i.e. internal *MQTT* task - * (API is protected by internal mutex, so it might block - * if a longer data receive operation is in progress. - * - `esp_mqtt_client_subscribe` could be used to call this function. - * - * @param client *MQTT* client handle - * @param topic_list List of topics to subscribe - * @param size size of topic_list - * - * @return message_id of the subscribe message on success - * -1 on failure - * -2 in case of full outbox. - */ -int esp_mqtt_client_subscribe_multiple(esp_mqtt_client_handle_t client, - const esp_mqtt_topic_t *topic_list, int size); - -/** - * @brief Unsubscribe the client from defined topic - * - * Notes: - * - Client must be connected to send unsubscribe message - * - It is thread safe, please refer to `esp_mqtt_client_subscribe_single` for details - * - * @param client *MQTT* client handle - * @param topic - * - * @return message_id of the subscribe message on success - * -1 on failure - */ -int esp_mqtt_client_unsubscribe(esp_mqtt_client_handle_t client, - const char *topic); - -/** - * @brief Client to send a publish message to the broker - * - * Notes: - * - This API might block for several seconds, either due to network timeout - * (10s) or if publishing payloads longer than internal buffer (due to message - * fragmentation) - * - Client doesn't have to be connected for this API to work, enqueueing the - * messages with qos>1 (returning -1 for all the qos=0 messages if - * disconnected). If MQTT_SKIP_PUBLISH_IF_DISCONNECTED is enabled, this API will - * not attempt to publish when the client is not connected and will always - * return -1. - * - It is thread safe, please refer to `esp_mqtt_client_subscribe` for details - * - * @param client *MQTT* client handle - * @param topic topic string - * @param data payload string (set to NULL, sending empty payload message) - * @param len data length, if set to 0, length is calculated from payload - * string - * @param qos QoS of publish message - * @param retain retain flag - * - * @return message_id of the publish message (for QoS 0 message_id will always - * be zero) on success. -1 on failure, -2 in case of full outbox. - */ -int esp_mqtt_client_publish(esp_mqtt_client_handle_t client, const char *topic, - const char *data, int len, int qos, int retain); - -/** - * @brief Enqueue a message to the outbox, to be sent later. Typically used for - * messages with qos>0, but could be also used for qos=0 messages if store=true. - * - * This API generates and stores the publish message into the internal outbox - * and the actual sending to the network is performed in the mqtt-task context - * (in contrast to the esp_mqtt_client_publish() which sends the publish message - * immediately in the user task's context). Thus, it could be used as a non - * blocking version of esp_mqtt_client_publish(). - * - * @param client *MQTT* client handle - * @param topic topic string - * @param data payload string (set to NULL, sending empty payload message) - * @param len data length, if set to 0, length is calculated from payload - * string - * @param qos QoS of publish message - * @param retain retain flag - * @param store if true, all messages are enqueued; otherwise only QoS 1 and - * QoS 2 are enqueued - * - * @return message_id if queued successfully, -1 on failure, -2 in case of full outbox. - */ -int esp_mqtt_client_enqueue(esp_mqtt_client_handle_t client, const char *topic, - const char *data, int len, int qos, int retain, - bool store); - -/** - * @brief Destroys the client handle - * - * Notes: - * - Cannot be called from the *MQTT* event handler - * - * @param client *MQTT* client handle - * - * @return ESP_OK - * ESP_ERR_INVALID_ARG on wrong initialization - */ -esp_err_t esp_mqtt_client_destroy(esp_mqtt_client_handle_t client); - -/** - * @brief Set configuration structure, typically used when updating the config - * (i.e. on "before_connect" event - * - * Notes: - * - When calling this function make sure to have all the intendend configurations - * set, otherwise default values are set. - * @param client *MQTT* client handle - * - * @param config *MQTT* configuration structure - * - * @return ESP_ERR_NO_MEM if failed to allocate - * ESP_ERR_INVALID_ARG if conflicts on transport configuration. - * ESP_OK on success - */ -esp_err_t esp_mqtt_set_config(esp_mqtt_client_handle_t client, - const esp_mqtt_client_config_t *config); - -/** - * @brief Registers *MQTT* event - * - * @param client *MQTT* client handle - * @param event event type - * @param event_handler handler callback - * @param event_handler_arg handlers context - * - * @return ESP_ERR_NO_MEM if failed to allocate - * ESP_ERR_INVALID_ARG on wrong initialization - * ESP_OK on success - */ -esp_err_t esp_mqtt_client_register_event(esp_mqtt_client_handle_t client, - esp_mqtt_event_id_t event, - esp_event_handler_t event_handler, - void *event_handler_arg); - -/** - * @brief Unregisters mqtt event - * - * @param client mqtt client handle - * @param event event ID - * @param event_handler handler to unregister - * - * @return ESP_ERR_NO_MEM if failed to allocate - * ESP_ERR_INVALID_ARG on invalid event ID - * ESP_OK on success - */ -esp_err_t esp_mqtt_client_unregister_event(esp_mqtt_client_handle_t client, esp_mqtt_event_id_t event, esp_event_handler_t event_handler); - -/** - * @brief Get outbox size - * - * @param client *MQTT* client handle - * @return outbox size - * 0 on wrong initialization - */ -int esp_mqtt_client_get_outbox_size(esp_mqtt_client_handle_t client); - -/** - * @brief Dispatch user event to the mqtt internal event loop - * - * @param client *MQTT* client handle - * @param event *MQTT* event handle structure - * @return ESP_OK on success - * ESP_ERR_TIMEOUT if the event couldn't be queued (ref also CONFIG_MQTT_EVENT_QUEUE_SIZE) - */ -esp_err_t esp_mqtt_dispatch_custom_event(esp_mqtt_client_handle_t client, esp_mqtt_event_t *event); - -/** - * @brief Get a transport from the scheme - * - * Allows extra settings to be made on the selected transport, - * for convenience the scheme used by the mqtt client are defined as - * MQTT_OVER_TCP_SCHEME, MQTT_OVER_SSL_SCHEME, MQTT_OVER_WS_SCHEME and MQTT_OVER_WSS_SCHEME - * If the transport_scheme is NULL and the client was set with a custom transport the custom transport will be returned. - * - * Notes: - * - This function should be called only on MQTT_EVENT_BEFORE_CONNECT. - * - The intetion is to provide a way to set different configurations than the ones available from client config. - * - If esp_mqtt_client_destroy is called the returned pointer will be invalidated. - * - All the required settings should be made in the MQTT_EVENT_BEFORE_CONNECT event handler - * - * @param client *MQTT* client handle - * @param transport_scheme Transport handle to search for. - * @return the transport handle - * NULL in case of error - * -*/ -esp_transport_handle_t esp_mqtt_client_get_transport(esp_mqtt_client_handle_t client, char *transport_scheme); -#ifdef __cplusplus -} -#endif //__cplusplus - -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt_supported_features.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt_supported_features.h deleted file mode 100644 index 6036e5f90..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/include/mqtt_supported_features.h +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef _MQTT_SUPPORTED_FEATURES_H_ -#define _MQTT_SUPPORTED_FEATURES_H_ - -#if __has_include("esp_idf_version.h") -#include "esp_idf_version.h" -#endif - -/** - * @brief This header defines supported features of IDF which mqtt module - * could use depending on specific version of ESP-IDF. - * In case "esp_idf_version.h" were not found, all additional - * features would be disabled - */ - -#ifdef ESP_IDF_VERSION - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(3, 3, 0) -// Features supported from 3.3 -#define MQTT_SUPPORTED_FEATURE_EVENT_LOOP -#define MQTT_SUPPORTED_FEATURE_SKIP_CRT_CMN_NAME_CHECK -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 0, 0) -// Features supported in 4.0 -#define MQTT_SUPPORTED_FEATURE_WS_SUBPROTOCOL -#define MQTT_SUPPORTED_FEATURE_TRANSPORT_ERR_REPORTING -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 1, 0) -// Features supported in 4.1 -#define MQTT_SUPPORTED_FEATURE_PSK_AUTHENTICATION -#define MQTT_SUPPORTED_FEATURE_DER_CERTIFICATES -#define MQTT_SUPPORTED_FEATURE_ALPN -#define MQTT_SUPPORTED_FEATURE_CLIENT_KEY_PASSWORD -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0) -// Features supported in 4.2 -#define MQTT_SUPPORTED_FEATURE_SECURE_ELEMENT -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 3, 0) -// Features supported in 4.3 -#define MQTT_SUPPORTED_FEATURE_DIGITAL_SIGNATURE -#define MQTT_SUPPORTED_FEATURE_TRANSPORT_SOCK_ERRNO_REPORTING -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0) -// Features supported in 4.4 -#define MQTT_SUPPORTED_FEATURE_CERTIFICATE_BUNDLE -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0) -// Features supported in 5.1.0 -#define MQTT_SUPPORTED_FEATURE_CRT_CMN_NAME -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 2, 0) -// Features supported in 5.2.0 -#define MQTT_SUPPORTED_FEATURE_ECDSA_PERIPHERAL -#endif - -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0) -// Features supported in 5.5.0 -#define MQTT_SUPPORTED_FEATURE_CIPHERSUITES_LIST -#endif - -#endif /* ESP_IDF_VERSION */ -#endif // _MQTT_SUPPORTED_FEATURES_H_ diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt5_client_priv.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt5_client_priv.h deleted file mode 100644 index 1b5f04bec..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt5_client_priv.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifndef _MQTT5_CLIENT_PRIV_H_ -#define _MQTT5_CLIENT_PRIV_H_ - -#include "mqtt5_client.h" -#include "mqtt_client_priv.h" -#include "mqtt5_msg.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct mqtt5_topic_alias { - char *topic; - uint16_t topic_len; - uint16_t topic_alias; - STAILQ_ENTRY(mqtt5_topic_alias) next; -} mqtt5_topic_alias_t; -STAILQ_HEAD(mqtt5_topic_alias_list_t, mqtt5_topic_alias); -typedef struct mqtt5_topic_alias_list_t *mqtt5_topic_alias_handle_t; -typedef struct mqtt5_topic_alias *mqtt5_topic_alias_item_t; - -typedef struct { - esp_mqtt5_connection_property_storage_t connect_property_info; - esp_mqtt5_connection_will_property_storage_t will_property_info; - esp_mqtt5_connection_server_resp_property_t server_resp_property_info; - esp_mqtt5_disconnect_property_config_t disconnect_property_info; - const esp_mqtt5_publish_property_config_t *publish_property_info; - const esp_mqtt5_subscribe_property_config_t *subscribe_property_info; - const esp_mqtt5_unsubscribe_property_config_t *unsubscribe_property_info; - mqtt5_topic_alias_handle_t peer_topic_alias; -} mqtt5_config_storage_t; - -void esp_mqtt5_increment_packet_counter(esp_mqtt5_client_handle_t client); -void esp_mqtt5_decrement_packet_counter(esp_mqtt5_client_handle_t client); -void esp_mqtt5_parse_pubcomp(esp_mqtt5_client_handle_t client); -void esp_mqtt5_parse_puback(esp_mqtt5_client_handle_t client); -void esp_mqtt5_parse_unsuback(esp_mqtt5_client_handle_t client); -void esp_mqtt5_parse_suback(esp_mqtt5_client_handle_t client); -void esp_mqtt5_parse_disconnect(esp_mqtt5_client_handle_t client, int *disconnect_rsp_code); -esp_err_t esp_mqtt5_parse_connack(esp_mqtt5_client_handle_t client, int *connect_rsp_code); -void esp_mqtt5_client_destory(esp_mqtt5_client_handle_t client); -esp_err_t esp_mqtt5_client_publish_check(esp_mqtt5_client_handle_t client, int qos, int retain); -esp_err_t esp_mqtt5_client_subscribe_check(esp_mqtt5_client_handle_t client, int qos); -esp_err_t esp_mqtt5_create_default_config(esp_mqtt5_client_handle_t client); -esp_err_t esp_mqtt5_get_publish_data(esp_mqtt5_client_handle_t client, uint8_t *msg_buf, size_t msg_read_len, char **msg_topic, size_t *msg_topic_len, char **msg_data, size_t *msg_data_len); -#ifdef __cplusplus -} -#endif //__cplusplus - -#endif \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt5_msg.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt5_msg.h deleted file mode 100644 index 6c2a036c8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt5_msg.h +++ /dev/null @@ -1,142 +0,0 @@ -#ifndef MQTT5_MSG_H -#define MQTT5_MSG_H -#include -#include -#include "sys/queue.h" -#include "mqtt_config.h" -#include "mqtt_msg.h" -#include "mqtt_client.h" -#ifdef __cplusplus -extern "C" { -#endif - -enum mqtt_properties_type { - MQTT5_PROPERTY_PAYLOAD_FORMAT_INDICATOR = 0x01, - MQTT5_PROPERTY_MESSAGE_EXPIRY_INTERVAL = 0x02, - MQTT5_PROPERTY_CONTENT_TYPE = 0x03, - MQTT5_PROPERTY_RESPONSE_TOPIC = 0x08, - MQTT5_PROPERTY_CORRELATION_DATA = 0x09, - MQTT5_PROPERTY_SUBSCRIBE_IDENTIFIER = 0x0B, - MQTT5_PROPERTY_SESSION_EXPIRY_INTERVAL = 0x11, - MQTT5_PROPERTY_ASSIGNED_CLIENT_IDENTIFIER = 0x12, - MQTT5_PROPERTY_SERVER_KEEP_ALIVE = 0x13, - MQTT5_PROPERTY_AUTHENTICATION_METHOD = 0x15, - MQTT5_PROPERTY_AUTHENTICATION_DATA = 0x16, - MQTT5_PROPERTY_REQUEST_PROBLEM_INFO = 0x17, - MQTT5_PROPERTY_WILL_DELAY_INTERVAL = 0x18, - MQTT5_PROPERTY_REQUEST_RESP_INFO = 0x19, - MQTT5_PROPERTY_RESP_INFO = 0x1A, - MQTT5_PROPERTY_SERVER_REFERENCE = 0x1C, - MQTT5_PROPERTY_REASON_STRING = 0x1F, - MQTT5_PROPERTY_RECEIVE_MAXIMUM = 0x21, - MQTT5_PROPERTY_TOPIC_ALIAS_MAXIMIM = 0x22, - MQTT5_PROPERTY_TOPIC_ALIAS = 0x23, - MQTT5_PROPERTY_MAXIMUM_QOS = 0x24, - MQTT5_PROPERTY_RETAIN_AVAILABLE = 0x25, - MQTT5_PROPERTY_USER_PROPERTY = 0x26, - MQTT5_PROPERTY_MAXIMUM_PACKET_SIZE = 0x27, - MQTT5_PROPERTY_WILDCARD_SUBSCR_AVAILABLE = 0x28, - MQTT5_PROPERTY_SUBSCR_IDENTIFIER_AVAILABLE = 0x29, - MQTT5_PROPERTY_SHARED_SUBSCR_AVAILABLE = 0x2A, -}; - -typedef struct mqtt5_user_property { - char *key; - char *value; - STAILQ_ENTRY(mqtt5_user_property) next; -} mqtt5_user_property_t; -STAILQ_HEAD(mqtt5_user_property_list_t, mqtt5_user_property); -typedef struct mqtt5_user_property *mqtt5_user_property_item_t; - -typedef struct { - uint32_t maximum_packet_size; - uint16_t receive_maximum; - uint16_t topic_alias_maximum; - uint8_t max_qos; - bool retain_available; - bool wildcard_subscribe_available; - bool subscribe_identifiers_available; - bool shared_subscribe_available; - char *response_info; -} esp_mqtt5_connection_server_resp_property_t; - -typedef struct { - bool payload_format_indicator; - uint32_t message_expiry_interval; - uint16_t topic_alias; - char *response_topic; - int response_topic_len; - char *correlation_data; - uint16_t correlation_data_len; - char *content_type; - int content_type_len; - uint16_t subscribe_id; -} esp_mqtt5_publish_resp_property_t; - -typedef struct { - uint32_t session_expiry_interval; - uint32_t maximum_packet_size; - uint16_t receive_maximum; - uint16_t topic_alias_maximum; - bool request_resp_info; - bool request_problem_info; - mqtt5_user_property_handle_t user_property; -} esp_mqtt5_connection_property_storage_t; - -typedef struct { - uint32_t will_delay_interval; - uint32_t message_expiry_interval; - bool payload_format_indicator; - char *content_type; - char *response_topic; - char *correlation_data; - uint16_t correlation_data_len; - mqtt5_user_property_handle_t user_property; -} esp_mqtt5_connection_will_property_storage_t; - -#define mqtt5_get_type mqtt_get_type - -#define mqtt5_get_dup mqtt_get_dup - -#define mqtt5_set_dup mqtt_set_dup - -#define mqtt5_get_qos mqtt_get_qos - -#define mqtt5_get_retain mqtt_get_retain - -#define mqtt5_msg_init mqtt_msg_init - -#define mqtt5_get_total_length mqtt_get_total_length - -#define mqtt5_has_valid_msg_hdr mqtt_has_valid_msg_hdr - -#define mqtt5_msg_pingreq mqtt_msg_pingreq - -#define mqtt5_msg_pingresp mqtt_msg_pingresp - -#define mqtt5_get_unsuback_data mqtt5_get_suback_data - -#define mqtt5_get_pubcomp_data mqtt5_get_puback_data - -uint16_t mqtt5_get_id(uint8_t *buffer, size_t length); -char *mqtt5_get_publish_property_payload(uint8_t *buffer, size_t buffer_length, char **msg_topic, size_t *msg_topic_len, esp_mqtt5_publish_resp_property_t *resp_property, uint16_t *property_len, size_t *payload_len, mqtt5_user_property_handle_t *user_property); -char *mqtt5_get_suback_data(uint8_t *buffer, size_t *length, mqtt5_user_property_handle_t *user_property); -char *mqtt5_get_puback_data(uint8_t *buffer, size_t *length, mqtt5_user_property_handle_t *user_property); -mqtt_message_t *mqtt5_msg_connect(mqtt_connection_t *connection, mqtt_connect_info_t *info, esp_mqtt5_connection_property_storage_t *property, esp_mqtt5_connection_will_property_storage_t *will_property); -mqtt_message_t *mqtt5_msg_publish(mqtt_connection_t *connection, const char *topic, const char *data, int data_length, int qos, int retain, uint16_t *message_id, const esp_mqtt5_publish_property_config_t *property, const char *resp_info); -esp_err_t mqtt5_msg_parse_connack_property(uint8_t *buffer, size_t buffer_len, mqtt_connect_info_t *connection_info, esp_mqtt5_connection_property_storage_t *connection_property, esp_mqtt5_connection_server_resp_property_t *resp_property, int *reason_code, uint8_t *ack_flag, mqtt5_user_property_handle_t *user_property); -int mqtt5_msg_get_reason_code(uint8_t *buffer, size_t length); -mqtt_message_t *mqtt5_msg_subscribe(mqtt_connection_t *connection, const esp_mqtt_topic_t *topic, int size, uint16_t *message_id, const esp_mqtt5_subscribe_property_config_t *property); -mqtt_message_t *mqtt5_msg_unsubscribe(mqtt_connection_t *connection, const char *topic, uint16_t *message_id, const esp_mqtt5_unsubscribe_property_config_t *property); -mqtt_message_t *mqtt5_msg_disconnect(mqtt_connection_t *connection, esp_mqtt5_disconnect_property_config_t *disconnect_property_info); -mqtt_message_t *mqtt5_msg_pubcomp(mqtt_connection_t *connection, uint16_t message_id); -mqtt_message_t *mqtt5_msg_pubrel(mqtt_connection_t *connection, uint16_t message_id); -mqtt_message_t *mqtt5_msg_pubrec(mqtt_connection_t *connection, uint16_t message_id); -mqtt_message_t *mqtt5_msg_puback(mqtt_connection_t *connection, uint16_t message_id); - -#ifdef __cplusplus -} -#endif - -#endif /* MQTT5_MSG_H */ - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_client_priv.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_client_priv.h deleted file mode 100644 index c1ed03884..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_client_priv.h +++ /dev/null @@ -1,150 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifndef _MQTT_CLIENT_PRIV_H_ -#define _MQTT_CLIENT_PRIV_H_ - -#include -#include -#include -#include -#include "esp_err.h" -#include "platform.h" - -#include "esp_event.h" -#include "mqtt_client.h" -#include "mqtt_msg.h" -#ifdef MQTT_PROTOCOL_5 -#include "mqtt5_client_priv.h" -#endif -#include "esp_transport.h" -#include "esp_transport_tcp.h" -#include "esp_transport_ssl.h" -#include "esp_transport_ws.h" -#include "esp_log.h" -#include "mqtt_outbox.h" -#include "freertos/event_groups.h" -#include -#include - -#include "mqtt_supported_features.h" - -/* using uri parser */ -#include "http_parser.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#if CONFIG_LIBC_NEWLIB_NANO_FORMAT -#define NEWLIB_NANO_COMPAT_FORMAT PRIu32 -#define NEWLIB_NANO_COMPAT_CAST(size_t_var) (uint32_t)size_t_var -#else -#define NEWLIB_NANO_COMPAT_FORMAT "zu" -#define NEWLIB_NANO_COMPAT_CAST(size_t_var) size_t_var -#endif - -#ifdef MQTT_DISABLE_API_LOCKS -# define MQTT_API_LOCK(c) -# define MQTT_API_UNLOCK(c) -#else -# define MQTT_API_LOCK(c) xSemaphoreTakeRecursive(c->api_lock, portMAX_DELAY) -# define MQTT_API_UNLOCK(c) xSemaphoreGiveRecursive(c->api_lock) -#endif /* MQTT_USE_API_LOCKS */ - -typedef struct mqtt_state { - uint8_t *in_buffer; - int in_buffer_length; - size_t message_length; - size_t in_buffer_read_len; - mqtt_connection_t connection; - uint16_t pending_msg_id; - int pending_msg_type; - int pending_publish_qos; -} mqtt_state_t; - -typedef struct { - esp_event_loop_handle_t event_loop_handle; - int task_stack; - int task_prio; - char *uri; - char *host; - char *path; - char *scheme; - int port; - bool auto_reconnect; - int network_timeout_ms; - int refresh_connection_after_ms; - int reconnect_timeout_ms; - char **alpn_protos; - int num_alpn_protos; - char *clientkey_password; - int clientkey_password_len; - bool use_global_ca_store; - esp_err_t ((*crt_bundle_attach)(void *conf)); - const int *ciphersuites_list; - const char *cacert_buf; - size_t cacert_bytes; - const char *clientcert_buf; - size_t clientcert_bytes; - const char *clientkey_buf; - size_t clientkey_bytes; - const struct psk_key_hint *psk_hint_key; - bool skip_cert_common_name_check; - const char *common_name; - bool use_secure_element; - void *ds_data; - bool use_ecdsa_peripheral; - uint8_t ecdsa_key_efuse_blk; - int message_retransmit_timeout; - uint64_t outbox_limit; - esp_transport_handle_t transport; - struct ifreq * if_name; - esp_transport_keep_alive_t tcp_keep_alive_cfg; -} mqtt_config_storage_t; - -typedef enum { - MQTT_STATE_INIT = 0, - MQTT_STATE_DISCONNECTED, - MQTT_STATE_CONNECTED, - MQTT_STATE_WAIT_RECONNECT, -} mqtt_client_state_t; - -struct esp_mqtt_client { - esp_transport_list_handle_t transport_list; - esp_transport_handle_t transport; - mqtt_config_storage_t *config; - mqtt_state_t mqtt_state; - _Atomic mqtt_client_state_t state; - uint64_t refresh_connection_tick; - int64_t keepalive_tick; - uint64_t reconnect_tick; -#ifdef MQTT_PROTOCOL_5 - mqtt5_config_storage_t *mqtt5_config; - uint16_t send_publish_packet_count; // This is for MQTT v5.0 flow control -#endif - int wait_timeout_ms; - int auto_reconnect; - esp_mqtt_event_t event; - bool run; - bool wait_for_ping_resp; - outbox_handle_t outbox; - EventGroupHandle_t status_bits; - SemaphoreHandle_t api_lock; - TaskHandle_t task_handle; -#if MQTT_EVENT_QUEUE_SIZE > 1 - atomic_int queued_events; -#endif -}; - -bool esp_mqtt_set_if_config(char const *const new_config, char **old_config); -void esp_mqtt_destroy_config(esp_mqtt_client_handle_t client); - -#ifdef __cplusplus -} -#endif //__cplusplus - -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_config.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_config.h deleted file mode 100644 index d96e2ad41..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_config.h +++ /dev/null @@ -1,118 +0,0 @@ -/* - * This file is subject to the terms and conditions defined in - * file 'LICENSE', which is part of this source code package. - * Tuan PM - */ -#ifndef _MQTT_CONFIG_H_ -#define _MQTT_CONFIG_H_ - -#include "sdkconfig.h" - -#ifdef CONFIG_MQTT_PROTOCOL_311 -#define MQTT_PROTOCOL_311 -#endif - -#ifdef CONFIG_MQTT_PROTOCOL_5 -#define MQTT_PROTOCOL_5 -#endif - -#define MQTT_RECON_DEFAULT_MS (10*1000) - -#ifdef CONFIG_MQTT_POLL_READ_TIMEOUT_MS -#define MQTT_POLL_READ_TIMEOUT_MS CONFIG_MQTT_POLL_READ_TIMEOUT_MS -#else -#define MQTT_POLL_READ_TIMEOUT_MS (1000) -#endif - -#define MQTT_MSG_ID_INCREMENTAL CONFIG_MQTT_MSG_ID_INCREMENTAL - -#define MQTT_SKIP_PUBLISH_IF_DISCONNECTED CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED - -#define MQTT_REPORT_DELETED_MESSAGES CONFIG_MQTT_REPORT_DELETED_MESSAGES - -#if CONFIG_MQTT_BUFFER_SIZE -#define MQTT_BUFFER_SIZE_BYTE CONFIG_MQTT_BUFFER_SIZE -#else -#define MQTT_BUFFER_SIZE_BYTE 1024 -#endif - -#if CONFIG_MQTT_TASK_PRIORITY -#define MQTT_TASK_PRIORITY CONFIG_MQTT_TASK_PRIORITY -#else -#define MQTT_TASK_PRIORITY 5 -#endif - -#if CONFIG_MQTT_TASK_STACK_SIZE -#define MQTT_TASK_STACK CONFIG_MQTT_TASK_STACK_SIZE -#else -#define MQTT_TASK_STACK (6*1024) -#endif - -#define MQTT_KEEPALIVE_TICK (120) -#define MQTT_NETWORK_TIMEOUT_MS (10000) - -#ifdef CONFIG_MQTT_TCP_DEFAULT_PORT -#define MQTT_TCP_DEFAULT_PORT CONFIG_MQTT_TCP_DEFAULT_PORT -#else -#define MQTT_TCP_DEFAULT_PORT 1883 -#endif - -#ifdef CONFIG_MQTT_SSL_DEFAULT_PORT -#define MQTT_SSL_DEFAULT_PORT CONFIG_MQTT_SSL_DEFAULT_PORT -#else -#define MQTT_SSL_DEFAULT_PORT 8883 -#endif - -#ifdef CONFIG_MQTT_WS_DEFAULT_PORT -#define MQTT_WS_DEFAULT_PORT CONFIG_MQTT_WS_DEFAULT_PORT -#else -#define MQTT_WS_DEFAULT_PORT 80 -#endif - -#ifdef CONFIG_MQTT_WSS_DEFAULT_PORT -#define MQTT_WSS_DEFAULT_PORT CONFIG_MQTT_WSS_DEFAULT_PORT -#else -#define MQTT_WSS_DEFAULT_PORT 443 -#endif - -#define MQTT_CORE_SELECTION_ENABLED CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED - -#ifdef CONFIG_MQTT_DISABLE_API_LOCKS -#define MQTT_DISABLE_API_LOCKS CONFIG_MQTT_DISABLE_API_LOCKS -#endif - -#ifdef CONFIG_MQTT_USE_CORE_0 -#define MQTT_TASK_CORE 0 -#else -#ifdef CONFIG_MQTT_USE_CORE_1 -#define MQTT_TASK_CORE 1 -#else -#define MQTT_TASK_CORE 0 -#endif -#endif - -#ifdef CONFIG_MQTT_OUTBOX_EXPIRED_TIMEOUT_MS -#define OUTBOX_EXPIRED_TIMEOUT_MS CONFIG_MQTT_OUTBOX_EXPIRED_TIMEOUT_MS -#else -#define OUTBOX_EXPIRED_TIMEOUT_MS (30*1000) -#endif - -#define MQTT_ENABLE_SSL CONFIG_MQTT_TRANSPORT_SSL -#define MQTT_ENABLE_WS CONFIG_MQTT_TRANSPORT_WEBSOCKET -#define MQTT_ENABLE_WSS CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE -#define MQTT_DEFAULT_RETRANSMIT_TIMEOUT_MS 1000 - -#ifdef CONFIG_MQTT_EVENT_QUEUE_SIZE -#define MQTT_EVENT_QUEUE_SIZE CONFIG_MQTT_EVENT_QUEUE_SIZE -#else -#define MQTT_EVENT_QUEUE_SIZE 1 -#endif - -#ifdef CONFIG_MQTT_OUTBOX_DATA_ON_EXTERNAL_MEMORY -#define MQTT_OUTBOX_MEMORY MALLOC_CAP_SPIRAM -#else -#define MQTT_OUTBOX_MEMORY MALLOC_CAP_DEFAULT -#endif - -#define OUTBOX_MAX_SIZE (4*1024) -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_msg.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_msg.h deleted file mode 100644 index f09590dc9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_msg.h +++ /dev/null @@ -1,152 +0,0 @@ -#ifndef MQTT_MSG_H -#define MQTT_MSG_H -#include -#include - -#include "mqtt_config.h" -#include "mqtt_client.h" -#ifdef __cplusplus -extern "C" { -#endif - -/* -* Copyright (c) 2014, Stephen Robinson -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. Neither the name of the copyright holder nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -* POSSIBILITY OF SUCH DAMAGE. -* -*/ -/* 7 6 5 4 3 2 1 0 */ -/*| --- Message Type---- | DUP Flag | QoS Level | Retain | */ -/* Remaining Length */ - - -enum mqtt_message_type { - MQTT_MSG_TYPE_CONNECT = 1, - MQTT_MSG_TYPE_CONNACK = 2, - MQTT_MSG_TYPE_PUBLISH = 3, - MQTT_MSG_TYPE_PUBACK = 4, - MQTT_MSG_TYPE_PUBREC = 5, - MQTT_MSG_TYPE_PUBREL = 6, - MQTT_MSG_TYPE_PUBCOMP = 7, - MQTT_MSG_TYPE_SUBSCRIBE = 8, - MQTT_MSG_TYPE_SUBACK = 9, - MQTT_MSG_TYPE_UNSUBSCRIBE = 10, - MQTT_MSG_TYPE_UNSUBACK = 11, - MQTT_MSG_TYPE_PINGREQ = 12, - MQTT_MSG_TYPE_PINGRESP = 13, - MQTT_MSG_TYPE_DISCONNECT = 14 -}; - -typedef struct mqtt_message { - uint8_t *data; - size_t length; - size_t fragmented_msg_total_length; /*!< total len of fragmented messages (zero for all other messages) */ - size_t fragmented_msg_data_offset; /*!< data offset of fragmented messages (zero for all other messages) */ -} mqtt_message_t; - -typedef struct mqtt_connect_info { - char *client_id; - char *username; - char *password; - char *will_topic; - char *will_message; - int64_t keepalive; /*!< keepalive=0 -> keepalive is disabled */ - int will_length; - int will_qos; - int will_retain; - int clean_session; - esp_mqtt_protocol_ver_t protocol_ver; -} mqtt_connect_info_t; - -typedef struct mqtt_connection { - mqtt_message_t outbound_message; -#if MQTT_MSG_ID_INCREMENTAL - uint16_t last_message_id; /*!< last used id if incremental message id configured */ -#endif - uint8_t *buffer; - size_t buffer_length; - mqtt_connect_info_t information; - -} mqtt_connection_t; - -static inline int mqtt_get_type(const uint8_t *buffer) -{ - return (buffer[0] & 0xf0) >> 4; -} -static inline int mqtt_get_connect_session_present(const uint8_t *buffer) -{ - return buffer[2] & 0x01; -} -static inline int mqtt_get_connect_return_code(const uint8_t *buffer) -{ - return buffer[3]; -} -static inline int mqtt_get_dup(const uint8_t *buffer) -{ - return (buffer[0] & 0x08) >> 3; -} -static inline void mqtt_set_dup(uint8_t *buffer) -{ - buffer[0] |= 0x08; -} -static inline int mqtt_get_qos(const uint8_t *buffer) -{ - return (buffer[0] & 0x06) >> 1; -} -static inline int mqtt_get_retain(const uint8_t *buffer) -{ - return (buffer[0] & 0x01); -} - -bool mqtt_header_complete(uint8_t *buffer, size_t buffer_length); -size_t mqtt_get_total_length(const uint8_t *buffer, size_t length, int *fixed_size_len); -char *mqtt_get_publish_topic(uint8_t *buffer, size_t *length); -char *mqtt_get_publish_data(uint8_t *buffer, size_t *length); -char *mqtt_get_suback_data(uint8_t *buffer, size_t *length); -uint16_t mqtt_get_id(uint8_t *buffer, size_t length); -int mqtt_has_valid_msg_hdr(uint8_t *buffer, size_t length); - -esp_err_t mqtt_msg_buffer_init(mqtt_connection_t *connection, int buffer_size); -void mqtt_msg_buffer_destroy(mqtt_connection_t *connection); - -mqtt_message_t *mqtt_msg_connect(mqtt_connection_t *connection, mqtt_connect_info_t *info); -mqtt_message_t *mqtt_msg_publish(mqtt_connection_t *connection, const char *topic, const char *data, int data_length, int qos, int retain, uint16_t *message_id); -mqtt_message_t *mqtt_msg_puback(mqtt_connection_t *connection, uint16_t message_id); -mqtt_message_t *mqtt_msg_pubrec(mqtt_connection_t *connection, uint16_t message_id); -mqtt_message_t *mqtt_msg_pubrel(mqtt_connection_t *connection, uint16_t message_id); -mqtt_message_t *mqtt_msg_pubcomp(mqtt_connection_t *connection, uint16_t message_id); -mqtt_message_t *mqtt_msg_subscribe(mqtt_connection_t *connection, const esp_mqtt_topic_t topic_list[], int size, uint16_t *message_id) __attribute__((nonnull)); -mqtt_message_t *mqtt_msg_unsubscribe(mqtt_connection_t *connection, const char *topic, uint16_t *message_id); -mqtt_message_t *mqtt_msg_pingreq(mqtt_connection_t *connection); -mqtt_message_t *mqtt_msg_pingresp(mqtt_connection_t *connection); -mqtt_message_t *mqtt_msg_disconnect(mqtt_connection_t *connection); -#ifdef __cplusplus -} -#endif - -#endif /* MQTT_MSG_H */ - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_outbox.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_outbox.h deleted file mode 100644 index 241b33525..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/mqtt_outbox.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * This file is subject to the terms and conditions defined in - * file 'LICENSE', which is part of this source code package. - * Tuan PM - */ -#ifndef _MQTT_OUTOBX_H_ -#define _MQTT_OUTOBX_H_ -#include "platform.h" -#include "esp_err.h" - -#ifdef __cplusplus -extern "C" { -#endif - -struct outbox_item; - -typedef struct outbox_t *outbox_handle_t; -typedef struct outbox_item *outbox_item_handle_t; -typedef struct outbox_message *outbox_message_handle_t; -typedef long long outbox_tick_t; - -typedef struct outbox_message { - uint8_t *data; - int len; - int msg_id; - int msg_qos; - int msg_type; - uint8_t *remaining_data; - int remaining_len; -} outbox_message_t; - -typedef enum pending_state { - QUEUED, - TRANSMITTED, - ACKNOWLEDGED, - CONFIRMED -} pending_state_t; - -outbox_handle_t outbox_init(void); -outbox_item_handle_t outbox_enqueue(outbox_handle_t outbox, outbox_message_handle_t message, outbox_tick_t tick); -outbox_item_handle_t outbox_dequeue(outbox_handle_t outbox, pending_state_t pending, outbox_tick_t *tick); -outbox_item_handle_t outbox_get(outbox_handle_t outbox, int msg_id); -uint8_t *outbox_item_get_data(outbox_item_handle_t item, size_t *len, uint16_t *msg_id, int *msg_type, int *qos); -esp_err_t outbox_delete(outbox_handle_t outbox, int msg_id, int msg_type); -esp_err_t outbox_delete_item(outbox_handle_t outbox, outbox_item_handle_t item); -int outbox_delete_expired(outbox_handle_t outbox, outbox_tick_t current_tick, outbox_tick_t timeout); -/** - * @brief Deletes single expired message returning it's message id - * - * @return msg id of the deleted message, -1 if no expired message in the outbox - */ -int outbox_delete_single_expired(outbox_handle_t outbox, outbox_tick_t current_tick, outbox_tick_t timeout); - -esp_err_t outbox_set_pending(outbox_handle_t outbox, int msg_id, pending_state_t pending); -pending_state_t outbox_item_get_pending(outbox_item_handle_t item); -esp_err_t outbox_set_tick(outbox_handle_t outbox, int msg_id, outbox_tick_t tick); -uint64_t outbox_get_size(outbox_handle_t outbox); -void outbox_destroy(outbox_handle_t outbox); -void outbox_delete_all_items(outbox_handle_t outbox); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/platform.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/platform.h deleted file mode 100644 index b3358b9fe..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/platform.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * This file is subject to the terms and conditions defined in - * file 'LICENSE', which is part of this source code package. - * Tuan PM - */ -#ifndef _PLATFORM_H__ -#define _PLATFORM_H__ - -//Support ESP32 -#ifdef ESP_PLATFORM -#include "platform_esp32_idf.h" -#endif - -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/platform_esp32_idf.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/platform_esp32_idf.h deleted file mode 100644 index 98f5fe14f..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/include/platform_esp32_idf.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * This file is subject to the terms and conditions defined in - * file 'LICENSE', which is part of this source code package. - * Tuan PM - */ -#ifndef _ESP_PLATFORM_H__ -#define _ESP_PLATFORM_H__ - -#include "freertos/FreeRTOS.h" -#include "freertos/event_groups.h" - -#include -#include - -char *platform_create_id_string(void); -int platform_random(int max); -uint64_t platform_tick_get_ms(void); - -#define ESP_MEM_CHECK(TAG, a, action) if (!(a)) { \ - ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Memory exhausted"); \ - action; \ - } - -#define ESP_OK_CHECK(TAG, a, action) if ((a) != ESP_OK) { \ - ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Failed"); \ - action; \ - } - -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt5_msg.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt5_msg.c deleted file mode 100644 index 32ff92950..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt5_msg.c +++ /dev/null @@ -1,1047 +0,0 @@ -#include -#include "mqtt5_msg.h" -#include "mqtt_client.h" -#include "mqtt_config.h" -#include "platform.h" -#include "esp_log.h" - -#define MQTT5_MAX_FIXED_HEADER_SIZE 5 - -static const char *TAG = "mqtt5_msg"; - -#define APPEND_CHECK(a, ret) if(a == -1) { \ - ESP_LOGE(TAG,"%s(%d) fail",__FUNCTION__, __LINE__); \ - return (ret); \ - } -#define MQTT5_SHARED_SUB "$share/%s/%s" -#define MQTT5_CONVERT_ONE_BYTE_TO_FOUR(i, a, b, c, d) i = (a << 24); \ - i |= (b << 16); \ - i |= (c << 8); \ - i |= d; - -#define MQTT5_CONVERT_ONE_BYTE_TO_TWO(i, a, b) i = (a << 8); \ - i |= b; - -#define MQTT5_CONVERT_TWO_BYTE(i, a) i = (a >> 8) & 0xff; \ - i = a & 0xff; - -enum mqtt5_connect_flag { - MQTT5_CONNECT_FLAG_USERNAME = 1 << 7, - MQTT5_CONNECT_FLAG_PASSWORD = 1 << 6, - MQTT5_CONNECT_FLAG_WILL_RETAIN = 1 << 5, - MQTT5_CONNECT_FLAG_WILL = 1 << 2, - MQTT5_CONNECT_FLAG_CLEAN_SESSION = 1 << 1 -}; - -static void generate_variable_len(size_t len, uint8_t *len_bytes, uint8_t *encoded_lens) -{ - uint8_t bytes = 0; - do { - uint8_t i = len % 128; - len /= 128; - if (len > 0) { - i |= 0x80; - } - encoded_lens[bytes ++] = i; - } while (len > 0); - *len_bytes = bytes; -} - -static size_t get_variable_len(uint8_t *buffer, size_t offset, size_t buffer_length, uint8_t *len_bytes) -{ - *len_bytes = 0; - size_t len = 0, i = 0; - for (i = offset; i < buffer_length; i ++) { - len += (buffer[i] & 0x7f) << (7 * (i - offset)); - if ((buffer[i] & 0x80) == 0) { - i ++; - break; - } - } - *len_bytes = i - offset; - return len; -} - -static int update_property_len_value(mqtt_connection_t *connection, size_t property_len, int property_offset) -{ - uint8_t encoded_lens[4] = {0}, len_bytes = 0; - size_t len = property_len, message_offset = property_offset + property_len; - generate_variable_len(len, &len_bytes, encoded_lens); - int offset = len_bytes - 1; - - connection->outbound_message.length += offset; - if (connection->outbound_message.length > connection->buffer_length) { - return -1; - } - - if (offset > 0) { - for (int i = 0; i < property_len; i ++) { - connection->buffer[message_offset + offset] = connection->buffer[message_offset]; - message_offset --; - } - } - - for (int i = 0; i < len_bytes; i ++) { - connection->buffer[property_offset ++] = encoded_lens[i]; - } - return offset; -} - -static int append_property(mqtt_connection_t *connection, uint8_t property_type, uint8_t len_occupy, const char *data, size_t data_len) -{ - if ((connection->outbound_message.length + len_occupy + (data ? data_len : 0) + (property_type ? 1 : 0)) > connection->buffer_length) { - return -1; - } - - size_t origin_message_len = connection->outbound_message.length; - if (property_type) { - connection->buffer[connection->outbound_message.length ++] = property_type; - } - - if (len_occupy == 0) { - uint8_t encoded_lens[4] = {0}, len_bytes = 0; - generate_variable_len(data_len, &len_bytes, encoded_lens); - for (int j = 0; j < len_bytes; j ++) { - connection->buffer[connection->outbound_message.length ++] = encoded_lens[j]; - } - } else { - for (int i = 1; i <= len_occupy; i ++) { - connection->buffer[connection->outbound_message.length ++] = (data_len >> (8 * (len_occupy - i))) & 0xff; - } - } - - if (data) { - memcpy(connection->buffer + connection->outbound_message.length, data, data_len); - connection->outbound_message.length += data_len; - } - - return connection->outbound_message.length - origin_message_len; -} - -static uint16_t append_message_id(mqtt_connection_t *connection, uint16_t message_id) -{ - // If message_id is zero then we should assign one, otherwise - // we'll use the one supplied by the caller - while (message_id == 0) { -#if MQTT_MSG_ID_INCREMENTAL - message_id = ++ connection->last_message_id; -#else - message_id = platform_random(65535); -#endif - } - - if (connection->outbound_message.length + 2 > connection->buffer_length) { - return 0; - } - - MQTT5_CONVERT_TWO_BYTE(connection->buffer[connection->outbound_message.length ++], message_id) - - return message_id; -} - -static int init_message(mqtt_connection_t *connection) -{ - connection->outbound_message.length = MQTT5_MAX_FIXED_HEADER_SIZE; - return MQTT5_MAX_FIXED_HEADER_SIZE; -} - -static mqtt_message_t *fail_message(mqtt_connection_t *connection) -{ - connection->outbound_message.data = connection->buffer; - connection->outbound_message.length = 0; - return &connection->outbound_message; -} - -static mqtt_message_t *fini_message(mqtt_connection_t *connection, int type, int dup, int qos, int retain) -{ - int message_length = connection->outbound_message.length - MQTT5_MAX_FIXED_HEADER_SIZE; - int total_length = message_length; - uint8_t encoded_lens[4] = {0}, len_bytes = 0; - // Check if we have fragmented message and update total_len - if (connection->outbound_message.fragmented_msg_total_length) { - total_length = connection->outbound_message.fragmented_msg_total_length - MQTT5_MAX_FIXED_HEADER_SIZE; - } - - // Encode MQTT message length - generate_variable_len(total_length, &len_bytes, encoded_lens); - - // Sanity check for MQTT header - if (len_bytes + 1 > MQTT5_MAX_FIXED_HEADER_SIZE) { - return fail_message(connection); - } - - // Save the header bytes - connection->outbound_message.length = message_length + len_bytes + 1; // msg len + encoded_size len + type (1 byte) - int offs = MQTT5_MAX_FIXED_HEADER_SIZE - 1 - len_bytes; - connection->outbound_message.data = connection->buffer + offs; - connection->outbound_message.fragmented_msg_data_offset -= offs; - // type byte - connection->buffer[offs ++] = ((type & 0x0f) << 4) | ((dup & 1) << 3) | ((qos & 3) << 1) | (retain & 1); - // length bytes - for (int j = 0; j < len_bytes; j ++) { - connection->buffer[offs ++] = encoded_lens[j]; - } - - return &connection->outbound_message; -} - -static esp_err_t mqtt5_msg_set_user_property(mqtt5_user_property_handle_t *user_property, char *key, size_t key_len, char *value, size_t value_len) -{ - if (!*user_property) { - *user_property = calloc(1, sizeof(struct mqtt5_user_property_list_t)); - ESP_MEM_CHECK(TAG, *user_property, return ESP_FAIL); - STAILQ_INIT(*user_property); - } - - mqtt5_user_property_item_t user_property_item = calloc(1, sizeof(mqtt5_user_property_t)); - ESP_MEM_CHECK(TAG, user_property_item, return ESP_FAIL;); - user_property_item->key = calloc(1, key_len + 1); - ESP_MEM_CHECK(TAG, user_property_item->key, { - free(user_property_item); - return ESP_FAIL; - }); - memcpy(user_property_item->key, key, key_len); - user_property_item->key[key_len] = '\0'; - - user_property_item->value = calloc(1, value_len + 1); - ESP_MEM_CHECK(TAG, user_property_item->value, { - free(user_property_item->key); - free(user_property_item); - return ESP_FAIL; - }); - memcpy(user_property_item->value, value, value_len); - user_property_item->value[value_len] = '\0'; - - STAILQ_INSERT_TAIL(*user_property, user_property_item, next); - return ESP_OK; -} - -static mqtt5_user_property_handle_t mqtt5_msg_get_user_property(uint8_t *buffer, size_t buffer_length) -{ - mqtt5_user_property_handle_t user_porperty = NULL; - uint8_t *property = buffer; - uint16_t property_offset = 0, len = 0; - while (property_offset < buffer_length) { - uint8_t property_id = property[property_offset ++]; - switch (property_id) { - case MQTT5_PROPERTY_REASON_STRING: //only print now - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_REASON_STRING %.*s", len, &property[property_offset]); - property_offset += len; - continue; - case MQTT5_PROPERTY_USER_PROPERTY: { - uint8_t *key = NULL, *value = NULL; - size_t key_len = 0, value_len = 0; - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - key = &property[property_offset]; - key_len = len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_USER_PROPERTY key: %.*s", key_len, (char *)key); - property_offset += len; - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - value = &property[property_offset]; - value_len = len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_USER_PROPERTY value: %.*s", value_len, (char *)value); - property_offset += len; - if (mqtt5_msg_set_user_property(&user_porperty, (char *)key, key_len, (char *)value, value_len) != ESP_OK) { - ESP_LOGE(TAG, "mqtt5_msg_set_user_property fail"); - goto err; - } - continue; - } - default: - ESP_LOGW(TAG, "Unknow property id 0x%02x", property_id); - goto err; - } - } - return user_porperty; -err: - esp_mqtt5_client_delete_user_property(user_porperty); - return NULL; -} - -uint16_t mqtt5_get_id(uint8_t *buffer, size_t length) -{ - int topiclen = 0; - uint8_t len_bytes = 0; - size_t offset = 1; - size_t totlen = get_variable_len(buffer, offset, length, &len_bytes); - offset += len_bytes; - totlen += offset; - - if (offset + 2 > length) { - return 0; - } - - switch (mqtt5_get_type(buffer)) { - case MQTT_MSG_TYPE_PUBLISH: { - MQTT5_CONVERT_ONE_BYTE_TO_TWO(topiclen, buffer[offset++], buffer[offset++]) - offset += topiclen; - if (offset + 2 > length) { - return 0; - } - if (mqtt_get_qos(buffer) == 0) { - return 0; - } - return (buffer[offset] << 8) | buffer[offset + 1]; - } - case MQTT_MSG_TYPE_PUBACK: - case MQTT_MSG_TYPE_PUBREC: - case MQTT_MSG_TYPE_PUBREL: - case MQTT_MSG_TYPE_PUBCOMP: - case MQTT_MSG_TYPE_SUBACK: - case MQTT_MSG_TYPE_UNSUBACK: - case MQTT_MSG_TYPE_SUBSCRIBE: - case MQTT_MSG_TYPE_UNSUBSCRIBE: { - return (buffer[offset] << 8) | buffer[offset + 1]; - } - default: - return 0; - } -} - -char *mqtt5_get_publish_property_payload(uint8_t *buffer, size_t buffer_length, char **msg_topic, size_t *msg_topic_len, esp_mqtt5_publish_resp_property_t *resp_property, uint16_t *property_len, size_t *payload_len, mqtt5_user_property_handle_t *user_property) -{ - *user_property = NULL; - uint8_t len_bytes = 0; - size_t offset = 1; - size_t totlen = get_variable_len(buffer, offset, buffer_length, &len_bytes); - offset += len_bytes; - totlen += offset; - - size_t topic_len = buffer[offset ++] << 8; - topic_len |= buffer[offset ++] & 0xff; - *msg_topic = (char *)(buffer + offset); - *msg_topic_len = topic_len; - offset += topic_len; - - if (offset >= buffer_length) { - return NULL; - } - - if (mqtt5_get_qos(buffer) > 0) { - if (offset + 2 >= buffer_length) { - return NULL; - } - offset += 2; // skip the message id - } - - *property_len = get_variable_len(buffer, offset, buffer_length, &len_bytes); - offset += len_bytes; - - uint16_t len = 0, property_offset = 0; - uint8_t *property = (buffer + offset); - while (property_offset < *property_len) { - uint8_t property_id = property[property_offset ++]; - switch (property_id) { - case MQTT5_PROPERTY_PAYLOAD_FORMAT_INDICATOR: - resp_property->payload_format_indicator = property[property_offset ++]; - ESP_LOGD(TAG, "MQTT5_PROPERTY_PAYLOAD_FORMAT_INDICATOR %d", resp_property->payload_format_indicator); - continue; - case MQTT5_PROPERTY_MESSAGE_EXPIRY_INTERVAL: - MQTT5_CONVERT_ONE_BYTE_TO_FOUR(resp_property->message_expiry_interval, property[property_offset ++], property[property_offset ++], property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_MESSAGE_EXPIRY_INTERVAL %"PRIu32, resp_property->message_expiry_interval); - continue; - case MQTT5_PROPERTY_TOPIC_ALIAS: - MQTT5_CONVERT_ONE_BYTE_TO_TWO(resp_property->topic_alias, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_TOPIC_ALIAS %d", resp_property->topic_alias); - continue; - case MQTT5_PROPERTY_RESPONSE_TOPIC: - MQTT5_CONVERT_ONE_BYTE_TO_TWO(resp_property->response_topic_len, property[property_offset ++], property[property_offset ++]) - resp_property->response_topic = (char *)(property + property_offset); - property_offset += resp_property->response_topic_len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_RESPONSE_TOPIC %.*s", resp_property->response_topic_len, resp_property->response_topic); - continue; - case MQTT5_PROPERTY_CORRELATION_DATA: - MQTT5_CONVERT_ONE_BYTE_TO_TWO(resp_property->correlation_data_len, property[property_offset ++], property[property_offset ++]) - resp_property->correlation_data = (char *)(property + property_offset); - property_offset += resp_property->correlation_data_len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_CORRELATION_DATA length %d", resp_property->correlation_data_len); - continue; - case MQTT5_PROPERTY_SUBSCRIBE_IDENTIFIER: - resp_property->subscribe_id = get_variable_len(property, property_offset, buffer_length, &len_bytes); - property_offset += len_bytes; - ESP_LOGD(TAG, "MQTT5_PROPERTY_SUBSCRIBE_IDENTIFIER %d", resp_property->subscribe_id); - continue; - case MQTT5_PROPERTY_CONTENT_TYPE: - MQTT5_CONVERT_ONE_BYTE_TO_TWO(resp_property->content_type_len, property[property_offset ++], property[property_offset ++]) - resp_property->content_type = (char *)(property + property_offset); - property_offset += resp_property->content_type_len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_CONTENT_TYPE %.*s", resp_property->content_type_len, resp_property->content_type); - continue; - case MQTT5_PROPERTY_USER_PROPERTY: { - uint8_t *key = NULL, *value = NULL; - size_t key_len = 0, value_len = 0; - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - key = &property[property_offset]; - key_len = len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_USER_PROPERTY key: %.*s", key_len, (char *)key); - property_offset += len; - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - value = &property[property_offset]; - value_len = len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_USER_PROPERTY value: %.*s", value_len, (char *)value); - property_offset += len; - if (mqtt5_msg_set_user_property(user_property, (char *)key, key_len, (char *)value, value_len) != ESP_OK) { - esp_mqtt5_client_delete_user_property(*user_property); - *user_property = NULL; - ESP_LOGE(TAG, "mqtt5_msg_set_user_property fail"); - return NULL; - } - continue; - } - case MQTT5_PROPERTY_REASON_STRING: //only print now - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_REASON_STRING %.*s", len, &property[property_offset]); - property_offset += len; - continue; - default: - ESP_LOGW(TAG, "Unknow publish property id 0x%02x", property_id); - return NULL; - } - } - - offset += property_offset; - if (totlen <= buffer_length) { - *payload_len = totlen - offset; - } else { - *payload_len = buffer_length - offset; - } - return (char *)(buffer + offset); -} - -char *mqtt5_get_suback_data(uint8_t *buffer, size_t *length, mqtt5_user_property_handle_t *user_property) -{ - uint8_t len_bytes = 0; - size_t offset = 1; - size_t totlen = get_variable_len(buffer, offset, *length, &len_bytes); - offset += len_bytes; - totlen += offset; - - if (totlen > *length) { - goto err; - } - offset += 2; // skip the message id - if (offset < totlen) { - size_t property_len = get_variable_len(buffer, offset, totlen, &len_bytes); - offset += len_bytes; - *user_property = mqtt5_msg_get_user_property(buffer + offset, property_len); - offset += property_len; - if (offset < totlen) { - *length = totlen - offset; - return (char *)(buffer + offset); - } - } -err: - *user_property = NULL; - *length = 0; - return NULL; -} - -char *mqtt5_get_puback_data(uint8_t *buffer, size_t *length, mqtt5_user_property_handle_t *user_property) -{ - uint8_t len_bytes = 0; - size_t offset = 1; - size_t totlen = get_variable_len(buffer, offset, *length, &len_bytes); - offset += len_bytes; - totlen += offset; - - offset += 2; // skip the message id - if (offset < totlen) { - *length = 1; - char *data = (char *)(buffer + offset); - offset ++; - if (offset < totlen) { - size_t property_len = get_variable_len(buffer, offset, totlen, &len_bytes); - offset += len_bytes; - *user_property = mqtt5_msg_get_user_property(buffer + offset, property_len); - } - return data; - } else { - *length = 0; - return NULL; - } -} - -mqtt_message_t *mqtt5_msg_connect(mqtt_connection_t *connection, mqtt_connect_info_t *info, esp_mqtt5_connection_property_storage_t *property, esp_mqtt5_connection_will_property_storage_t *will_property) -{ - init_message(connection); - connection->buffer[connection->outbound_message.length ++] = 0; // Variable header length MSB - /* Defaults to protocol version 5 values */ - connection->buffer[connection->outbound_message.length ++] = 4; // Variable header length LSB - memcpy(&connection->buffer[connection->outbound_message.length], "MQTT", 4); // Protocol name - connection->outbound_message.length += 4; - connection->buffer[connection->outbound_message.length ++] = 5; // Protocol version - - int flags_offset = connection->outbound_message.length; - connection->buffer[connection->outbound_message.length ++] = 0; // Flags - MQTT5_CONVERT_TWO_BYTE(connection->buffer[connection->outbound_message.length ++], info->keepalive) // Keep-alive - - if (info->clean_session) { - connection->buffer[flags_offset] |= MQTT5_CONNECT_FLAG_CLEAN_SESSION; - } - - //Add properties - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - if (property->session_expiry_interval) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_SESSION_EXPIRY_INTERVAL, 4, NULL, property->session_expiry_interval), fail_message(connection)); - } - if (property->maximum_packet_size) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_MAXIMUM_PACKET_SIZE, 4, NULL, property->maximum_packet_size), fail_message(connection)); - } - if (property->receive_maximum) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_RECEIVE_MAXIMUM, 2, NULL, property->receive_maximum), fail_message(connection)); - } - if (property->topic_alias_maximum) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_TOPIC_ALIAS_MAXIMIM, 2, NULL, property->topic_alias_maximum), fail_message(connection)); - } - if (property->request_resp_info) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_REQUEST_RESP_INFO, 1, NULL, 1), fail_message(connection)); - } - if (property->request_problem_info) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_REQUEST_PROBLEM_INFO, 1, NULL, 1), fail_message(connection)); - } - if (property->user_property) { - mqtt5_user_property_item_t item; - STAILQ_FOREACH(item, property->user_property, next) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_USER_PROPERTY, 2, item->key, strlen(item->key)), fail_message(connection)); - APPEND_CHECK(append_property(connection, 0, 2, item->value, strlen(item->value)), fail_message(connection)); - } - } - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - - if (info->client_id != NULL && info->client_id[0] != '\0') { - APPEND_CHECK(append_property(connection, 0, 2, info->client_id, strlen(info->client_id)), fail_message(connection)); - } else { - APPEND_CHECK(append_property(connection, 0, 2, NULL, 0), fail_message(connection)); - } - - //Add will properties - if (info->will_topic != NULL && info->will_topic[0] != '\0') { - properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - if (will_property->will_delay_interval) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_WILL_DELAY_INTERVAL, 4, NULL, will_property->will_delay_interval), fail_message(connection)); - } - if (will_property->payload_format_indicator) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_PAYLOAD_FORMAT_INDICATOR, 1, NULL, 1), fail_message(connection)); - } - if (will_property->message_expiry_interval) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_MESSAGE_EXPIRY_INTERVAL, 4, NULL, will_property->message_expiry_interval), fail_message(connection)); - } - if (will_property->content_type) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_CONTENT_TYPE, 2, will_property->content_type, strlen(will_property->content_type)), fail_message(connection)); - } - if (will_property->response_topic) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_RESPONSE_TOPIC, 2, will_property->response_topic, strlen(will_property->response_topic)), fail_message(connection)); - } - if (will_property->correlation_data && will_property->correlation_data_len) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_CORRELATION_DATA, 2, will_property->correlation_data, will_property->correlation_data_len), fail_message(connection)); - } - if (will_property->user_property) { - mqtt5_user_property_item_t item; - STAILQ_FOREACH(item, will_property->user_property, next) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_USER_PROPERTY, 2, item->key, strlen(item->key)), fail_message(connection)); - APPEND_CHECK(append_property(connection, 0, 2, item->value, strlen(item->value)), fail_message(connection)); - } - } - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - - APPEND_CHECK(append_property(connection, 0, 2, info->will_topic, strlen(info->will_topic)), fail_message(connection)); - APPEND_CHECK(append_property(connection, 0, 2, info->will_message, info->will_length), fail_message(connection)); - - connection->buffer[flags_offset] |= MQTT5_CONNECT_FLAG_WILL; - if (info->will_retain) { - connection->buffer[flags_offset] |= MQTT5_CONNECT_FLAG_WILL_RETAIN; - } - connection->buffer[flags_offset] |= (info->will_qos & 3) << 3; - } - - if (info->username != NULL && info->username[0] != '\0') { - APPEND_CHECK(append_property(connection, 0, 2, info->username, strlen(info->username)), fail_message(connection)); - connection->buffer[flags_offset] |= MQTT5_CONNECT_FLAG_USERNAME; - } - - if (info->password != NULL && info->password[0] != '\0') { - if (info->username == NULL || info->username[0] == '\0') { - /* In case if password is set without username, we need to set a zero length username. - * (otherwise we violate: MQTT-3.1.2-22: If the User Name Flag is set to 0 then the Password Flag MUST be set to 0.) - */ - APPEND_CHECK(append_property(connection, 0, 2, NULL, 0), fail_message(connection)); - connection->buffer[flags_offset] |= MQTT5_CONNECT_FLAG_USERNAME; - } - APPEND_CHECK(append_property(connection, 0, 2, info->password, strlen(info->password)), fail_message(connection)); - connection->buffer[flags_offset] |= MQTT5_CONNECT_FLAG_PASSWORD; - } - - return fini_message(connection, MQTT_MSG_TYPE_CONNECT, 0, 0, 0); -} - -esp_err_t mqtt5_msg_parse_connack_property(uint8_t *buffer, size_t buffer_len, mqtt_connect_info_t *connection_info, esp_mqtt5_connection_property_storage_t *connection_property, esp_mqtt5_connection_server_resp_property_t *resp_property, int *reason_code, uint8_t *ack_flag, mqtt5_user_property_handle_t *user_property) -{ - *reason_code = 0; - *user_property = NULL; - uint8_t len_bytes = 0; - size_t offset = 1; - size_t totlen = get_variable_len(buffer, offset, buffer_len, &len_bytes); - offset += len_bytes; - totlen += offset; - - if (totlen > buffer_len) { - ESP_LOGE(TAG, "Total length %d is over read len %d", totlen, buffer_len); - return ESP_FAIL; - } - - *ack_flag = buffer[offset ++]; //acknowledge flags - *reason_code = buffer[offset ++]; //reason code - size_t property_len = get_variable_len(buffer, offset, buffer_len, &len_bytes); - offset += len_bytes; - uint16_t property_offset = 0, len = 0; - uint8_t *property = (buffer + offset); - while (property_offset < property_len) { - uint8_t property_id = property[property_offset ++]; - switch (property_id) { - case MQTT5_PROPERTY_SESSION_EXPIRY_INTERVAL: - MQTT5_CONVERT_ONE_BYTE_TO_FOUR(connection_property->session_expiry_interval, property[property_offset ++], property[property_offset ++], property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_SESSION_EXPIRY_INTERVAL %"PRIu32, connection_property->session_expiry_interval); - continue; - case MQTT5_PROPERTY_RECEIVE_MAXIMUM: - MQTT5_CONVERT_ONE_BYTE_TO_TWO(resp_property->receive_maximum, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_RECEIVE_MAXIMUM %d", resp_property->receive_maximum); - continue; - case MQTT5_PROPERTY_MAXIMUM_QOS: - resp_property->max_qos = property[property_offset ++]; - ESP_LOGD(TAG, "MQTT5_PROPERTY_MAXIMUM_QOS %d", resp_property->max_qos); - continue; - case MQTT5_PROPERTY_RETAIN_AVAILABLE: - resp_property->retain_available = property[property_offset ++]; - ESP_LOGD(TAG, "MQTT5_PROPERTY_RETAIN_AVAILABLE %d", resp_property->retain_available); - continue; - case MQTT5_PROPERTY_MAXIMUM_PACKET_SIZE: - MQTT5_CONVERT_ONE_BYTE_TO_FOUR(resp_property->maximum_packet_size, property[property_offset ++], property[property_offset ++], property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_MAXIMUM_PACKET_SIZE %"PRIu32, resp_property->maximum_packet_size); - continue; - case MQTT5_PROPERTY_ASSIGNED_CLIENT_IDENTIFIER: - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - if (connection_info->client_id) { - free(connection_info->client_id); - } - connection_info->client_id = calloc(1, len + 1); - if (!connection_info->client_id) { - ESP_LOGE(TAG, "Failed to calloc %d data", len); - return ESP_FAIL; - } - memcpy(connection_info->client_id, &property[property_offset], len); - connection_info->client_id[len] = '\0'; - property_offset += len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_ASSIGNED_CLIENT_IDENTIFIER %s", connection_info->client_id); - continue; - case MQTT5_PROPERTY_TOPIC_ALIAS_MAXIMIM: - MQTT5_CONVERT_ONE_BYTE_TO_TWO(resp_property->topic_alias_maximum, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_TOPIC_ALIAS_MAXIMIM %d", resp_property->topic_alias_maximum); - continue; - case MQTT5_PROPERTY_REASON_STRING: //only print now - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_REASON_STRING %.*s", len, &property[property_offset]); - property_offset += len; - continue; - case MQTT5_PROPERTY_USER_PROPERTY: { - uint8_t *key = NULL, *value = NULL; - size_t key_len = 0, value_len = 0; - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - key = &property[property_offset]; - key_len = len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_USER_PROPERTY key: %.*s", key_len, (char *)key); - property_offset += len; - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - value = &property[property_offset]; - value_len = len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_USER_PROPERTY value: %.*s", value_len, (char *)value); - property_offset += len; - if (mqtt5_msg_set_user_property(user_property, (char *)key, key_len, (char *)value, value_len) != ESP_OK) { - esp_mqtt5_client_delete_user_property(*user_property); - *user_property = NULL; - ESP_LOGE(TAG, "mqtt5_msg_set_user_property fail"); - return ESP_FAIL; - } - continue; - } - case MQTT5_PROPERTY_WILDCARD_SUBSCR_AVAILABLE: - resp_property->wildcard_subscribe_available = property[property_offset++]; - ESP_LOGD(TAG, "MQTT5_PROPERTY_WILDCARD_SUBSCR_AVAILABLE %d", resp_property->wildcard_subscribe_available); - continue; - case MQTT5_PROPERTY_SUBSCR_IDENTIFIER_AVAILABLE: - resp_property->subscribe_identifiers_available = property[property_offset++]; - ESP_LOGD(TAG, "MQTT5_PROPERTY_SUBSCR_IDENTIFIER_AVAILABLE %d", resp_property->subscribe_identifiers_available); - continue; - case MQTT5_PROPERTY_SHARED_SUBSCR_AVAILABLE: - resp_property->shared_subscribe_available = property[property_offset++]; - ESP_LOGD(TAG, "MQTT5_PROPERTY_SHARED_SUBSCR_AVAILABLE %d", resp_property->shared_subscribe_available); - continue; - case MQTT5_PROPERTY_SERVER_KEEP_ALIVE: - MQTT5_CONVERT_ONE_BYTE_TO_TWO(connection_info->keepalive, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_SERVER_KEEP_ALIVE %lld", connection_info->keepalive); - continue; - case MQTT5_PROPERTY_RESP_INFO: - if (resp_property->response_info) { - free(resp_property->response_info); - } - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - resp_property->response_info = calloc(1, len + 1); - if (!resp_property->response_info) { - ESP_LOGE(TAG, "Failed to calloc %d data", len); - return ESP_FAIL; - } - memcpy(resp_property->response_info, &property[property_offset], len); - resp_property->response_info[len] = '\0'; - property_offset += len; - ESP_LOGD(TAG, "MQTT5_PROPERTY_RESP_INFO %s", resp_property->response_info); - continue; - case MQTT5_PROPERTY_SERVER_REFERENCE: //only print now - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_SERVER_REFERENCE %.*s", len, &property[property_offset]); - property_offset += len; - continue; - case MQTT5_PROPERTY_AUTHENTICATION_METHOD: //only print now - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_AUTHENTICATION_METHOD %.*s", len, &property[property_offset]); - property_offset += len; - continue; - case MQTT5_PROPERTY_AUTHENTICATION_DATA: //only print now - MQTT5_CONVERT_ONE_BYTE_TO_TWO(len, property[property_offset ++], property[property_offset ++]) - ESP_LOGD(TAG, "MQTT5_PROPERTY_AUTHENTICATION_DATA length %d", len); - property_offset += len; - continue; - default: - ESP_LOGW(TAG, "Unknow connack property id 0x%02x", property_id); - return ESP_FAIL; - } - } - return ESP_OK; -} - -mqtt_message_t *mqtt5_msg_publish(mqtt_connection_t *connection, const char *topic, const char *data, int data_length, int qos, int retain, uint16_t *message_id, const esp_mqtt5_publish_property_config_t *property, const char *resp_info) -{ - init_message(connection); - - if ((topic == NULL || topic[0] == '\0') && (!property || !property->topic_alias)){ - ESP_LOGE(TAG, "Message must have a topic filter or a topic alias set"); - return fail_message(connection); - } - int topic_len = (topic == NULL || topic[0] == '\0') ? 0 : strlen(topic); - APPEND_CHECK(append_property(connection, 0, 2, topic, topic_len), fail_message(connection)); - - if (data == NULL && data_length > 0) { - return fail_message(connection); - } - - if (qos > 0) { - if ((*message_id = append_message_id(connection, 0)) == 0) { - return fail_message(connection); - } - } else { - *message_id = 0; - } - - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - - if (property) { - if (property->payload_format_indicator) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_PAYLOAD_FORMAT_INDICATOR, 1, NULL, 1), fail_message(connection)); - } - if (property->message_expiry_interval) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_MESSAGE_EXPIRY_INTERVAL, 4, NULL, property->message_expiry_interval), fail_message(connection)); - } - if (property->topic_alias) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_TOPIC_ALIAS, 2, NULL, property->topic_alias), fail_message(connection)); - } - if (property->response_topic) { - if (resp_info && strlen(resp_info)) { - uint16_t response_topic_size = strlen(property->response_topic) + strlen(resp_info) + 1; - char *response_topic = calloc(1, response_topic_size); - if (!response_topic) { - ESP_LOGE(TAG, "Failed to calloc %d memory", response_topic_size); - return fail_message(connection); - } - snprintf(response_topic, response_topic_size, "%s/%s", property->response_topic, resp_info); - if (append_property(connection, MQTT5_PROPERTY_RESPONSE_TOPIC, 2, response_topic, response_topic_size) == -1) { - ESP_LOGE(TAG, "%s(%d) fail", __FUNCTION__, __LINE__); - free(response_topic); - return fail_message(connection); - } - free(response_topic); - } else { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_RESPONSE_TOPIC, 2, property->response_topic, strlen(property->response_topic)), fail_message(connection)); - } - } - if (property->correlation_data && property->correlation_data_len) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_CORRELATION_DATA, 2, property->correlation_data, property->correlation_data_len), fail_message(connection)); - } - if (property->user_property) { - mqtt5_user_property_item_t item; - STAILQ_FOREACH(item, property->user_property, next) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_USER_PROPERTY, 2, item->key, strlen(item->key)), fail_message(connection)); - APPEND_CHECK(append_property(connection, 0, 2, item->value, strlen(item->value)), fail_message(connection)); - } - } - if (property->content_type) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_CONTENT_TYPE, 2, property->content_type, strlen(property->content_type)), fail_message(connection)); - } - } - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - - if (connection->outbound_message.length + data_length > connection->buffer_length) { - // Not enough size in buffer -> fragment this message - connection->outbound_message.fragmented_msg_data_offset = connection->outbound_message.length; - memcpy(connection->buffer + connection->outbound_message.length, data, connection->buffer_length - connection->outbound_message.length); - connection->outbound_message.length = connection->buffer_length; - connection->outbound_message.fragmented_msg_total_length = data_length + connection->outbound_message.fragmented_msg_data_offset; - } else { - if (data != NULL) { - memcpy(connection->buffer + connection->outbound_message.length, data, data_length); - connection->outbound_message.length += data_length; - } - connection->outbound_message.fragmented_msg_total_length = 0; - } - return fini_message(connection, MQTT_MSG_TYPE_PUBLISH, 0, qos, retain); -} - -int mqtt5_msg_get_reason_code(uint8_t *buffer, size_t length) -{ - uint8_t len_bytes = 0; - size_t offset = 1; // Message type - size_t variable_len = get_variable_len(buffer, offset, length, &len_bytes); - offset += len_bytes; - - switch (mqtt5_get_type(buffer)) { - case MQTT_MSG_TYPE_PUBACK: - case MQTT_MSG_TYPE_PUBREC: - case MQTT_MSG_TYPE_PUBREL: - case MQTT_MSG_TYPE_PUBCOMP: - if(variable_len == 2) { - return 0; - } - offset += 2; //skip the message id - if (offset >= length) { - ESP_LOGE(TAG, "Invalid control packet, reason code is absent"); - return -1; - } - return buffer[offset]; - case MQTT_MSG_TYPE_SUBACK: - case MQTT_MSG_TYPE_UNSUBACK: { - offset += 2; //skip the message id - if (offset >= length) { - return -1; - } - size_t property_len = get_variable_len(buffer, offset, length, &len_bytes); - offset = offset + len_bytes + property_len; - if (offset >= length) { - ESP_LOGE(TAG, "Invalid control packet, reason code is absent"); - return -1; - } - return buffer[offset]; - } - case MQTT_MSG_TYPE_DISCONNECT: - if (offset >= length) { - return -1; - } else { - return buffer[offset]; - } - default: - break; - } - return -1; -} - -mqtt_message_t *mqtt5_msg_subscribe(mqtt_connection_t *connection, const esp_mqtt_topic_t *topic_list, int size, uint16_t *message_id, const esp_mqtt5_subscribe_property_config_t *property) -{ - init_message(connection); - - if ((*message_id = append_message_id(connection, 0)) == 0) { - return fail_message(connection); - } - - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - - if (property) { - if (property->subscribe_id) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_SUBSCRIBE_IDENTIFIER, 0, NULL, property->subscribe_id), fail_message(connection)); - } - if (property->user_property) { - mqtt5_user_property_item_t item; - STAILQ_FOREACH(item, property->user_property, next) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_USER_PROPERTY, 2, item->key, strlen(item->key)), fail_message(connection)); - APPEND_CHECK(append_property(connection, 0, 2, item->value, strlen(item->value)), fail_message(connection)); - } - } - } - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - - for (int topic_number = 0; topic_number < size; ++topic_number) { - if (topic_list[topic_number].filter[0] == '\0') { - return fail_message(connection); - } - if (property && property->is_share_subscribe) { - uint16_t shared_topic_size = strlen(topic_list[topic_number].filter) + strlen(MQTT5_SHARED_SUB) + strlen(property->share_name); - char *shared_topic = calloc(1, shared_topic_size); - if (!shared_topic) { - ESP_LOGE(TAG, "Failed to calloc %d memory", shared_topic_size); - fail_message(connection); - } - snprintf(shared_topic, shared_topic_size, MQTT5_SHARED_SUB, property->share_name, topic_list[topic_number].filter); - if (append_property(connection, 0, 2, shared_topic, strlen(shared_topic)) == -1) { - ESP_LOGE(TAG, "%s(%d) fail", __FUNCTION__, __LINE__); - free(shared_topic); - return fail_message(connection); - } - free(shared_topic); - } else { - APPEND_CHECK(append_property(connection, 0, 2, topic_list[topic_number].filter, strlen(topic_list[topic_number].filter)), fail_message(connection)); - } - - if (connection->outbound_message.length + 1 > connection->buffer_length) { - return fail_message(connection); - } - connection->buffer[connection->outbound_message.length] = 0; - if (property) { - if (property->retain_handle > 0 && property->retain_handle < 3) { - connection->buffer[connection->outbound_message.length] |= (property->retain_handle & 3) << 4; - } - if (property->no_local_flag) { - connection->buffer[connection->outbound_message.length] |= (property->no_local_flag << 2); - } - if (property->retain_as_published_flag) { - connection->buffer[connection->outbound_message.length] |= (property->retain_as_published_flag << 3); - } - } - connection->buffer[connection->outbound_message.length] |= (topic_list[topic_number].qos & 3); - connection->outbound_message.length ++; - } - return fini_message(connection, MQTT_MSG_TYPE_SUBSCRIBE, 0, 1, 0); -} - -mqtt_message_t *mqtt5_msg_disconnect(mqtt_connection_t *connection, esp_mqtt5_disconnect_property_config_t *disconnect_property_info) -{ - init_message(connection); - int reason_offset = connection->outbound_message.length; - connection->buffer[connection->outbound_message.length ++] = 0; - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - if (disconnect_property_info) { - if (disconnect_property_info->session_expiry_interval) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_SESSION_EXPIRY_INTERVAL, 4, NULL, disconnect_property_info->session_expiry_interval), fail_message(connection)); - } - if (disconnect_property_info->user_property) { - mqtt5_user_property_item_t item; - STAILQ_FOREACH(item, disconnect_property_info->user_property, next) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_USER_PROPERTY, 2, item->key, strlen(item->key)), fail_message(connection)); - APPEND_CHECK(append_property(connection, 0, 2, item->value, strlen(item->value)), fail_message(connection)); - } - } - if (disconnect_property_info->disconnect_reason) { - connection->buffer[reason_offset] = disconnect_property_info->disconnect_reason; - } - } - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - return fini_message(connection, MQTT_MSG_TYPE_DISCONNECT, 0, 0, 0); -} - -mqtt_message_t *mqtt5_msg_unsubscribe(mqtt_connection_t *connection, const char *topic, uint16_t *message_id, const esp_mqtt5_unsubscribe_property_config_t *property) -{ - init_message(connection); - - if (topic == NULL || topic[0] == '\0') { - return fail_message(connection); - } - - if ((*message_id = append_message_id(connection, 0)) == 0) { - return fail_message(connection); - } - - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - if (property) { - if (property->user_property) { - mqtt5_user_property_item_t item; - STAILQ_FOREACH(item, property->user_property, next) { - APPEND_CHECK(append_property(connection, MQTT5_PROPERTY_USER_PROPERTY, 2, item->key, strlen(item->key)), fail_message(connection)); - APPEND_CHECK(append_property(connection, 0, 2, item->value, strlen(item->value)), fail_message(connection)); - } - } - } - - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - if (property && property->is_share_subscribe) { - uint16_t shared_topic_size = strlen(topic) + strlen(MQTT5_SHARED_SUB) + strlen(property->share_name); - char *shared_topic = calloc(1, shared_topic_size); - if (!shared_topic) { - ESP_LOGE(TAG, "Failed to calloc %d memory", shared_topic_size); - fail_message(connection); - } - snprintf(shared_topic, shared_topic_size, MQTT5_SHARED_SUB, property->share_name, topic); - if (append_property(connection, 0, 2, shared_topic, strlen(shared_topic)) == -1) { - ESP_LOGE(TAG, "%s(%d) fail", __FUNCTION__, __LINE__); - free(shared_topic); - return fail_message(connection); - } - free(shared_topic); - } else { - APPEND_CHECK(append_property(connection, 0, 2, topic, strlen(topic)), fail_message(connection)); - } - - return fini_message(connection, MQTT_MSG_TYPE_UNSUBSCRIBE, 0, 1, 0); -} - -mqtt_message_t *mqtt5_msg_puback(mqtt_connection_t *connection, uint16_t message_id) -{ - init_message(connection); - if (append_message_id(connection, message_id) == 0) { - return fail_message(connection); - } - connection->buffer[connection->outbound_message.length ++] = 0; // Regard it is success - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - return fini_message(connection, MQTT_MSG_TYPE_PUBACK, 0, 0, 0); -} - -mqtt_message_t *mqtt5_msg_pubrec(mqtt_connection_t *connection, uint16_t message_id) -{ - init_message(connection); - if (append_message_id(connection, message_id) == 0) { - return fail_message(connection); - } - connection->buffer[connection->outbound_message.length ++] = 0; // Regard it is success - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - return fini_message(connection, MQTT_MSG_TYPE_PUBREC, 0, 0, 0); -} - -mqtt_message_t *mqtt5_msg_pubrel(mqtt_connection_t *connection, uint16_t message_id) -{ - init_message(connection); - if (append_message_id(connection, message_id) == 0) { - return fail_message(connection); - } - connection->buffer[connection->outbound_message.length ++] = 0; // Regard it is success - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - return fini_message(connection, MQTT_MSG_TYPE_PUBREL, 0, 1, 0); -} - -mqtt_message_t *mqtt5_msg_pubcomp(mqtt_connection_t *connection, uint16_t message_id) -{ - init_message(connection); - if (append_message_id(connection, message_id) == 0) { - return fail_message(connection); - } - connection->buffer[connection->outbound_message.length ++] = 0; // Regard it is success - int properties_offset = connection->outbound_message.length; - connection->outbound_message.length ++; - APPEND_CHECK(update_property_len_value(connection, connection->outbound_message.length - properties_offset - 1, properties_offset), fail_message(connection)); - return fini_message(connection, MQTT_MSG_TYPE_PUBCOMP, 0, 0, 0); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt_msg.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt_msg.c deleted file mode 100644 index 582fc92d8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt_msg.c +++ /dev/null @@ -1,637 +0,0 @@ -/* -* Copyright (c) 2014, Stephen Robinson -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. Neither the name of the copyright holder nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -* POSSIBILITY OF SUCH DAMAGE. -* -*/ -#include -#include "mqtt_client.h" -#include "mqtt_msg.h" -#include "mqtt_config.h" -#include "platform.h" - -#define MQTT_MAX_FIXED_HEADER_SIZE 5 -#define MQTT_3_1_VARIABLE_HEADER_SIZE 12 -#define MQTT_3_1_1_VARIABLE_HEADER_SIZE 10 - -enum mqtt_connect_flag { - MQTT_CONNECT_FLAG_USERNAME = 1 << 7, - MQTT_CONNECT_FLAG_PASSWORD = 1 << 6, - MQTT_CONNECT_FLAG_WILL_RETAIN = 1 << 5, - MQTT_CONNECT_FLAG_WILL = 1 << 2, - MQTT_CONNECT_FLAG_CLEAN_SESSION = 1 << 1 -}; - -static int append_string(mqtt_connection_t *connection, const char *string, int len) -{ - if (connection->outbound_message.length + len + 2 > connection->buffer_length) { - return -1; - } - - connection->buffer[connection->outbound_message.length++] = len >> 8; - connection->buffer[connection->outbound_message.length++] = len & 0xff; - memcpy(connection->buffer + connection->outbound_message.length, string, len); - connection->outbound_message.length += len; - - return len + 2; -} - -static uint16_t append_message_id(mqtt_connection_t *connection, uint16_t message_id) -{ - // If message_id is zero then we should assign one, otherwise - // we'll use the one supplied by the caller - while (message_id == 0) { -#if MQTT_MSG_ID_INCREMENTAL - message_id = ++connection->last_message_id; -#else - message_id = platform_random(65535); -#endif - } - - if (connection->outbound_message.length + 2 > connection->buffer_length) { - return 0; - } - - connection->buffer[connection->outbound_message.length++] = message_id >> 8; - connection->buffer[connection->outbound_message.length++] = message_id & 0xff; - - return message_id; -} - -static int set_message_header_size(mqtt_connection_t *connection) -{ - connection->outbound_message.length = MQTT_MAX_FIXED_HEADER_SIZE; - return MQTT_MAX_FIXED_HEADER_SIZE; -} - -static mqtt_message_t *fail_message(mqtt_connection_t *connection) -{ - connection->outbound_message.data = connection->buffer; - connection->outbound_message.length = 0; - return &connection->outbound_message; -} - -static mqtt_message_t *fini_message(mqtt_connection_t *connection, int type, int dup, int qos, int retain) -{ - int message_length = connection->outbound_message.length - MQTT_MAX_FIXED_HEADER_SIZE; - int total_length = message_length; - int encoded_length = 0; - uint8_t encoded_lens[4] = {0}; - // Check if we have fragmented message and update total_len - if (connection->outbound_message.fragmented_msg_total_length) { - total_length = connection->outbound_message.fragmented_msg_total_length - MQTT_MAX_FIXED_HEADER_SIZE; - } - - // Encode MQTT message length - int len_bytes = 0; // size of encoded message length - do { - encoded_length = total_length % 128; - total_length /= 128; - if (total_length > 0) { - encoded_length |= 0x80; - } - encoded_lens[len_bytes] = encoded_length; - len_bytes++; - } while (total_length > 0); - - // Sanity check for MQTT header - if (len_bytes + 1 > MQTT_MAX_FIXED_HEADER_SIZE) { - return fail_message(connection); - } - - // Save the header bytes - connection->outbound_message.length = message_length + len_bytes + 1; // msg len + encoded_size len + type (1 byte) - int offs = MQTT_MAX_FIXED_HEADER_SIZE - 1 - len_bytes; - connection->outbound_message.data = connection->buffer + offs; - connection->outbound_message.fragmented_msg_data_offset -= offs; - // type byte - connection->buffer[offs++] = ((type & 0x0f) << 4) | ((dup & 1) << 3) | ((qos & 3) << 1) | (retain & 1); - // length bytes - for (int j = 0; j < len_bytes; j++) { - connection->buffer[offs++] = encoded_lens[j]; - } - - return &connection->outbound_message; -} - -size_t mqtt_get_total_length(const uint8_t *buffer, size_t length, int *fixed_size_len) -{ - int i; - size_t totlen = 0; - - for (i = 1; i < length; ++i) { - totlen += (buffer[i] & 0x7f) << (7 * (i - 1)); - if ((buffer[i] & 0x80) == 0) { - ++i; - break; - } - } - totlen += i; - if (fixed_size_len) { - *fixed_size_len = i; - } - - return totlen; -} - -bool mqtt_header_complete(uint8_t *buffer, size_t buffer_length) -{ - uint16_t i; - uint16_t topiclen; - - for (i = 1; i < MQTT_MAX_FIXED_HEADER_SIZE; ++i) { - if (i >= buffer_length) { - return false; - } - if ((buffer[i] & 0x80) == 0) { - ++i; - break; - } - } - // i is now the length of the fixed header - - if (i + 2 >= buffer_length) { - return false; - } - topiclen = buffer[i++] << 8; - topiclen |= buffer[i++]; - - i += topiclen; - - if (mqtt_get_qos(buffer) > 0) { - i += 2; - } - // i is now the length of the fixed + variable header - return buffer_length >= i; -} - -char *mqtt_get_publish_topic(uint8_t *buffer, size_t *length) -{ - int i; - int topiclen; - - for (i = 1; i < *length; ++i) { - if ((buffer[i] & 0x80) == 0) { - ++i; - break; - } - } - - if (i + 2 >= *length) { - return NULL; - } - topiclen = buffer[i++] << 8; - topiclen |= buffer[i++]; - - if (i + topiclen > *length) { - return NULL; - } - - *length = topiclen; - return (char *)(buffer + i); -} - -char *mqtt_get_publish_data(uint8_t *buffer, size_t *length) -{ - int i; - int totlen = 0; - int topiclen; - int blength = *length; - *length = 0; - - for (i = 1; i < blength; ++i) { - totlen += (buffer[i] & 0x7f) << (7 * (i - 1)); - if ((buffer[i] & 0x80) == 0) { - ++i; - break; - } - } - totlen += i; - - if (i + 2 >= blength) { - return NULL; - } - topiclen = buffer[i++] << 8; - topiclen |= buffer[i++]; - - if (i + topiclen >= blength) { - return NULL; - } - - i += topiclen; - - if (mqtt_get_qos(buffer) > 0) { - if (i + 2 >= blength) { - return NULL; - } - i += 2; - } - - if (totlen < i) { - return NULL; - } - - if (totlen <= blength) { - *length = totlen - i; - } else { - *length = blength - i; - } - return (char *)(buffer + i); -} - -char *mqtt_get_suback_data(uint8_t *buffer, size_t *length) -{ - // SUBACK payload length = total length - (fixed header (2 bytes) + variable header (2 bytes)) - // This requires the remaining length to be encoded in 1 byte. - if (*length > 4) { - *length -= 4; - return (char *)(buffer + 4); - } - *length = 0; - return NULL; -} - -uint16_t mqtt_get_id(uint8_t *buffer, size_t length) -{ - if (length < 1) { - return 0; - } - - switch (mqtt_get_type(buffer)) { - case MQTT_MSG_TYPE_PUBLISH: { - int i; - int topiclen; - - for (i = 1; i < length; ++i) { - if ((buffer[i] & 0x80) == 0) { - ++i; - break; - } - } - - if (i + 2 >= length) { - return 0; - } - topiclen = buffer[i++] << 8; - topiclen |= buffer[i++]; - - if (i + topiclen > length) { - return 0; - } - i += topiclen; - - if (mqtt_get_qos(buffer) > 0) { - if (i + 2 > length) { - return 0; - } - //i += 2; - } else { - return 0; - } - - return (buffer[i] << 8) | buffer[i + 1]; - } - case MQTT_MSG_TYPE_PUBACK: - case MQTT_MSG_TYPE_PUBREC: - case MQTT_MSG_TYPE_PUBREL: - case MQTT_MSG_TYPE_PUBCOMP: - case MQTT_MSG_TYPE_SUBACK: - case MQTT_MSG_TYPE_UNSUBACK: - case MQTT_MSG_TYPE_SUBSCRIBE: - case MQTT_MSG_TYPE_UNSUBSCRIBE: { - // This requires the remaining length to be encoded in 1 byte, - // which it should be. - if (length >= 4 && (buffer[1] & 0x80) == 0) { - return (buffer[2] << 8) | buffer[3]; - } else { - return 0; - } - } - - default: - return 0; - } -} - -mqtt_message_t *mqtt_msg_connect(mqtt_connection_t *connection, mqtt_connect_info_t *info) -{ - - set_message_header_size(connection); - - int header_len; - if (info->protocol_ver == MQTT_PROTOCOL_V_3_1) { - header_len = MQTT_3_1_VARIABLE_HEADER_SIZE; - } else { - header_len = MQTT_3_1_1_VARIABLE_HEADER_SIZE; - } - - if (connection->outbound_message.length + header_len > connection->buffer_length) { - return fail_message(connection); - } - char *variable_header = (char *)(connection->buffer + connection->outbound_message.length); - connection->outbound_message.length += header_len; - - int header_idx = 0; - variable_header[header_idx++] = 0; // Variable header length MSB - - if (info->protocol_ver == MQTT_PROTOCOL_V_3_1) { - variable_header[header_idx++] = 6; // Variable header length LSB - memcpy(&variable_header[header_idx], "MQIsdp", 6); // Protocol name - header_idx = header_idx + 6; - variable_header[header_idx++] = 3; // Protocol version - } else { - /* Defaults to protocol version 3.1.1 values */ - variable_header[header_idx++] = 4; // Variable header length LSB - memcpy(&variable_header[header_idx], "MQTT", 4); // Protocol name - header_idx = header_idx + 4; - variable_header[header_idx++] = 4; // Protocol version - } - - int flags_offset = header_idx; - variable_header[header_idx++] = 0; // Flags - variable_header[header_idx++] = info->keepalive >> 8; // Keep-alive MSB - variable_header[header_idx] = info->keepalive & 0xff; // Keep-alive LSB - - if (info->clean_session) { - variable_header[flags_offset] |= MQTT_CONNECT_FLAG_CLEAN_SESSION; - } - - if (info->client_id != NULL && info->client_id[0] != '\0') { - if (append_string(connection, info->client_id, strlen(info->client_id)) < 0) { - return fail_message(connection); - } - } else { - if (append_string(connection, "", 0) < 0) { - return fail_message(connection); - } - } - - if (info->will_topic != NULL && info->will_topic[0] != '\0') { - if (append_string(connection, info->will_topic, strlen(info->will_topic)) < 0) { - return fail_message(connection); - } - - if (append_string(connection, info->will_message, info->will_length) < 0) { - return fail_message(connection); - } - - variable_header[flags_offset] |= MQTT_CONNECT_FLAG_WILL; - if (info->will_retain) { - variable_header[flags_offset] |= MQTT_CONNECT_FLAG_WILL_RETAIN; - } - variable_header[flags_offset] |= (info->will_qos & 3) << 3; - } - - if (info->username != NULL && info->username[0] != '\0') { - if (append_string(connection, info->username, strlen(info->username)) < 0) { - return fail_message(connection); - } - - variable_header[flags_offset] |= MQTT_CONNECT_FLAG_USERNAME; - } - - if (info->password != NULL && info->password[0] != '\0') { - if (info->username == NULL || info->username[0] == '\0') { - /* In case if password is set without username, we need to set a zero length username. - * (otherwise we violate: MQTT-3.1.2-22: If the User Name Flag is set to 0 then the Password Flag MUST be set to 0.) - */ - if (append_string(connection, "", 0) < 0) { - return fail_message(connection); - } - - variable_header[flags_offset] |= MQTT_CONNECT_FLAG_USERNAME; - } - - if (append_string(connection, info->password, strlen(info->password)) < 0) { - return fail_message(connection); - } - - variable_header[flags_offset] |= MQTT_CONNECT_FLAG_PASSWORD; - } - - return fini_message(connection, MQTT_MSG_TYPE_CONNECT, 0, 0, 0); -} - -mqtt_message_t *mqtt_msg_publish(mqtt_connection_t *connection, const char *topic, const char *data, int data_length, int qos, int retain, uint16_t *message_id) -{ - set_message_header_size(connection); - - if (topic == NULL || topic[0] == '\0') { - return fail_message(connection); - } - - if (append_string(connection, topic, strlen(topic)) < 0) { - return fail_message(connection); - } - - if (data == NULL && data_length > 0) { - return fail_message(connection); - } - - if (qos > 0) { - if ((*message_id = append_message_id(connection, 0)) == 0) { - return fail_message(connection); - } - } else { - *message_id = 0; - } - - if (data != NULL) { - if (connection->outbound_message.length + data_length > connection->buffer_length) { - // Not enough size in buffer -> fragment this message - connection->outbound_message.fragmented_msg_data_offset = connection->outbound_message.length; - memcpy(connection->buffer + connection->outbound_message.length, data, connection->buffer_length - connection->outbound_message.length); - connection->outbound_message.length = connection->buffer_length; - connection->outbound_message.fragmented_msg_total_length = data_length + connection->outbound_message.fragmented_msg_data_offset; - } else { - memcpy(connection->buffer + connection->outbound_message.length, data, data_length); - connection->outbound_message.length += data_length; - connection->outbound_message.fragmented_msg_total_length = 0; - } - } - return fini_message(connection, MQTT_MSG_TYPE_PUBLISH, 0, qos, retain); -} - -mqtt_message_t *mqtt_msg_puback(mqtt_connection_t *connection, uint16_t message_id) -{ - set_message_header_size(connection); - if (append_message_id(connection, message_id) == 0) { - return fail_message(connection); - } - return fini_message(connection, MQTT_MSG_TYPE_PUBACK, 0, 0, 0); -} - -mqtt_message_t *mqtt_msg_pubrec(mqtt_connection_t *connection, uint16_t message_id) -{ - set_message_header_size(connection); - if (append_message_id(connection, message_id) == 0) { - return fail_message(connection); - } - return fini_message(connection, MQTT_MSG_TYPE_PUBREC, 0, 0, 0); -} - -mqtt_message_t *mqtt_msg_pubrel(mqtt_connection_t *connection, uint16_t message_id) -{ - set_message_header_size(connection); - if (append_message_id(connection, message_id) == 0) { - return fail_message(connection); - } - return fini_message(connection, MQTT_MSG_TYPE_PUBREL, 0, 1, 0); -} - -mqtt_message_t *mqtt_msg_pubcomp(mqtt_connection_t *connection, uint16_t message_id) -{ - set_message_header_size(connection); - if (append_message_id(connection, message_id) == 0) { - return fail_message(connection); - } - return fini_message(connection, MQTT_MSG_TYPE_PUBCOMP, 0, 0, 0); -} - -mqtt_message_t *mqtt_msg_subscribe(mqtt_connection_t *connection, const esp_mqtt_topic_t topic_list[], int size, uint16_t *message_id) -{ - set_message_header_size(connection); - - if ((*message_id = append_message_id(connection, 0)) == 0) { - return fail_message(connection); - } - - for (int topic_number = 0; topic_number < size; ++topic_number) { - if (topic_list[topic_number].filter[0] == '\0') { - return fail_message(connection); - } - - if (append_string(connection, topic_list[topic_number].filter, strlen(topic_list[topic_number].filter)) < 0) { - return fail_message(connection); - } - - if (connection->outbound_message.length + 1 > connection->buffer_length) { - return fail_message(connection); - } - connection->buffer[connection->outbound_message.length] = topic_list[topic_number].qos; - connection->outbound_message.length ++; - } - - return fini_message(connection, MQTT_MSG_TYPE_SUBSCRIBE, 0, 1, 0); -} - -mqtt_message_t *mqtt_msg_unsubscribe(mqtt_connection_t *connection, const char *topic, uint16_t *message_id) -{ - set_message_header_size(connection); - - if (topic == NULL || topic[0] == '\0') { - return fail_message(connection); - } - - if ((*message_id = append_message_id(connection, 0)) == 0) { - return fail_message(connection); - } - - if (append_string(connection, topic, strlen(topic)) < 0) { - return fail_message(connection); - } - - return fini_message(connection, MQTT_MSG_TYPE_UNSUBSCRIBE, 0, 1, 0); -} - -mqtt_message_t *mqtt_msg_pingreq(mqtt_connection_t *connection) -{ - set_message_header_size(connection); - return fini_message(connection, MQTT_MSG_TYPE_PINGREQ, 0, 0, 0); -} - -mqtt_message_t *mqtt_msg_pingresp(mqtt_connection_t *connection) -{ - set_message_header_size(connection); - return fini_message(connection, MQTT_MSG_TYPE_PINGRESP, 0, 0, 0); -} - -mqtt_message_t *mqtt_msg_disconnect(mqtt_connection_t *connection) -{ - set_message_header_size(connection); - return fini_message(connection, MQTT_MSG_TYPE_DISCONNECT, 0, 0, 0); -} - -/* - * check flags: [MQTT-2.2.2-1], [MQTT-2.2.2-2] - * returns 0 if flags are invalid, otherwise returns 1 - */ -int mqtt_has_valid_msg_hdr(uint8_t *buffer, size_t length) -{ - int qos, dup; - - if (length < 1) { - return 0; - } - switch (mqtt_get_type(buffer)) { - case MQTT_MSG_TYPE_CONNECT: - case MQTT_MSG_TYPE_CONNACK: - case MQTT_MSG_TYPE_PUBACK: - case MQTT_MSG_TYPE_PUBREC: - case MQTT_MSG_TYPE_PUBCOMP: - case MQTT_MSG_TYPE_SUBACK: - case MQTT_MSG_TYPE_UNSUBACK: - case MQTT_MSG_TYPE_PINGREQ: - case MQTT_MSG_TYPE_PINGRESP: - case MQTT_MSG_TYPE_DISCONNECT: - return (buffer[0] & 0x0f) == 0; /* all flag bits are 0 */ - case MQTT_MSG_TYPE_PUBREL: - case MQTT_MSG_TYPE_SUBSCRIBE: - case MQTT_MSG_TYPE_UNSUBSCRIBE: - return (buffer[0] & 0x0f) == 0x02; /* only bit 1 is set */ - case MQTT_MSG_TYPE_PUBLISH: - qos = mqtt_get_qos(buffer); - dup = mqtt_get_dup(buffer); - /* - * there is no qos=3 [MQTT-3.3.1-4] - * dup flag must be set to 0 for all qos=0 messages [MQTT-3.3.1-2] - */ - return (qos < 3) && ((qos > 0) || (dup == 0)); - default: - return 0; - } -} - -esp_err_t mqtt_msg_buffer_init(mqtt_connection_t *connection, int buffer_size) -{ - memset(&connection->outbound_message, 0, sizeof(mqtt_message_t)); - connection->buffer = (uint8_t *)calloc(buffer_size, sizeof(uint8_t)); - if (!connection->buffer) { - return ESP_ERR_NO_MEM; - } - connection->buffer_length = buffer_size; - return ESP_OK; -} - -void mqtt_msg_buffer_destroy(mqtt_connection_t *connection) -{ - if (connection) { - free(connection->buffer); - } -} - - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt_outbox.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt_outbox.c deleted file mode 100644 index 6e63b198e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/mqtt_outbox.c +++ /dev/null @@ -1,225 +0,0 @@ -#include "mqtt_outbox.h" -#include -#include -#include -#include "mqtt_config.h" -#include "sys/queue.h" -#include "esp_heap_caps.h" -#include "esp_log.h" - -#ifndef CONFIG_MQTT_CUSTOM_OUTBOX -static const char *TAG = "outbox"; - -typedef struct outbox_item { - char *buffer; - int len; - int msg_id; - int msg_type; - int msg_qos; - outbox_tick_t tick; - pending_state_t pending; - STAILQ_ENTRY(outbox_item) next; -} outbox_item_t; - -STAILQ_HEAD(outbox_list_t, outbox_item); - -struct outbox_t { - _Atomic uint64_t size; - struct outbox_list_t *list; -}; - -outbox_handle_t outbox_init(void) -{ - outbox_handle_t outbox = calloc(1, sizeof(struct outbox_t)); - ESP_MEM_CHECK(TAG, outbox, return NULL); - outbox->list = calloc(1, sizeof(struct outbox_list_t)); - ESP_MEM_CHECK(TAG, outbox->list, {free(outbox); return NULL;}); - outbox->size = 0; - STAILQ_INIT(outbox->list); - return outbox; -} - -outbox_item_handle_t outbox_enqueue(outbox_handle_t outbox, outbox_message_handle_t message, outbox_tick_t tick) -{ - outbox_item_handle_t item = calloc(1, sizeof(outbox_item_t)); - ESP_MEM_CHECK(TAG, item, return NULL); - item->msg_id = message->msg_id; - item->msg_type = message->msg_type; - item->msg_qos = message->msg_qos; - item->tick = tick; - item->len = message->len + message->remaining_len; - item->pending = QUEUED; - item->buffer = heap_caps_malloc(message->len + message->remaining_len, MQTT_OUTBOX_MEMORY); - ESP_MEM_CHECK(TAG, item->buffer, { - free(item); - return NULL; - }); - memcpy(item->buffer, message->data, message->len); - if (message->remaining_data) { - memcpy(item->buffer + message->len, message->remaining_data, message->remaining_len); - } - STAILQ_INSERT_TAIL(outbox->list, item, next); - outbox->size += item->len; - ESP_LOGD(TAG, "ENQUEUE msgid=%d, msg_type=%d, len=%d, size=%"PRIu64, message->msg_id, message->msg_type, message->len + message->remaining_len, outbox_get_size(outbox)); - return item; -} - -outbox_item_handle_t outbox_get(outbox_handle_t outbox, int msg_id) -{ - outbox_item_handle_t item; - STAILQ_FOREACH(item, outbox->list, next) { - if (item->msg_id == msg_id) { - return item; - } - } - return NULL; -} - -outbox_item_handle_t outbox_dequeue(outbox_handle_t outbox, pending_state_t pending, outbox_tick_t *tick) -{ - outbox_item_handle_t item; - STAILQ_FOREACH(item, outbox->list, next) { - if (item->pending == pending) { - if (tick) { - *tick = item->tick; - } - return item; - } - } - return NULL; -} - -esp_err_t outbox_delete_item(outbox_handle_t outbox, outbox_item_handle_t item_to_delete) -{ - outbox_item_handle_t item; - STAILQ_FOREACH(item, outbox->list, next) { - if (item == item_to_delete) { - STAILQ_REMOVE(outbox->list, item, outbox_item, next); - outbox->size -= item->len; - ESP_LOGD(TAG, "DELETE_ITEM msgid=%d, msg_type=%d, remain size=%"PRIu64, item_to_delete->msg_id, item_to_delete->msg_type, outbox_get_size(outbox)); - free(item->buffer); - free(item); - return ESP_OK; - } - } - return ESP_FAIL; -} - -uint8_t *outbox_item_get_data(outbox_item_handle_t item, size_t *len, uint16_t *msg_id, int *msg_type, int *qos) -{ - if (item) { - *len = item->len; - *msg_id = item->msg_id; - *msg_type = item->msg_type; - *qos = item->msg_qos; - return (uint8_t *)item->buffer; - } - return NULL; -} - -esp_err_t outbox_delete(outbox_handle_t outbox, int msg_id, int msg_type) -{ - outbox_item_handle_t item, tmp; - STAILQ_FOREACH_SAFE(item, outbox->list, next, tmp) { - if (item->msg_id == msg_id && (0xFF & (item->msg_type)) == msg_type) { - STAILQ_REMOVE(outbox->list, item, outbox_item, next); - outbox->size -= item->len; - ESP_LOGD(TAG, "DELETE msgid=%d, msg_type=%d, remain size=%"PRIu64, msg_id, msg_type, outbox_get_size(outbox)); - free(item->buffer); - free(item); - return ESP_OK; - } - - } - return ESP_FAIL; -} - -esp_err_t outbox_set_pending(outbox_handle_t outbox, int msg_id, pending_state_t pending) -{ - outbox_item_handle_t item = outbox_get(outbox, msg_id); - if (item) { - item->pending = pending; - return ESP_OK; - } - return ESP_FAIL; -} - -pending_state_t outbox_item_get_pending(outbox_item_handle_t item) -{ - if (item) { - return item->pending; - } - return QUEUED; -} - -esp_err_t outbox_set_tick(outbox_handle_t outbox, int msg_id, outbox_tick_t tick) -{ - outbox_item_handle_t item = outbox_get(outbox, msg_id); - if (item) { - item->tick = tick; - return ESP_OK; - } - return ESP_FAIL; -} - -int outbox_delete_single_expired(outbox_handle_t outbox, outbox_tick_t current_tick, outbox_tick_t timeout) -{ - int msg_id = -1; - outbox_item_handle_t item; - STAILQ_FOREACH(item, outbox->list, next) { - if (current_tick - item->tick > timeout) { - STAILQ_REMOVE(outbox->list, item, outbox_item, next); - free(item->buffer); - outbox->size -= item->len; - msg_id = item->msg_id; - free(item); - ESP_LOGD(TAG, "DELETE_SINGLE_EXPIRED msgid=%d, remain size=%"PRIu64, msg_id, outbox_get_size(outbox)); - return msg_id; - } - - } - return msg_id; -} - -int outbox_delete_expired(outbox_handle_t outbox, outbox_tick_t current_tick, outbox_tick_t timeout) -{ - int deleted_items = 0; - outbox_item_handle_t item, tmp; - STAILQ_FOREACH_SAFE(item, outbox->list, next, tmp) { - if (current_tick - item->tick > timeout) { - STAILQ_REMOVE(outbox->list, item, outbox_item, next); - free(item->buffer); - outbox->size -= item->len; - ESP_LOGD(TAG, "DELETE_EXPIRED msgid=%d, remain size=%"PRIu64, item->msg_id, outbox_get_size(outbox)); - free(item); - deleted_items ++; - } - - } - return deleted_items; -} - -uint64_t outbox_get_size(outbox_handle_t outbox) -{ - return outbox->size; -} - -void outbox_delete_all_items(outbox_handle_t outbox) -{ - outbox_item_handle_t item, tmp; - STAILQ_FOREACH_SAFE(item, outbox->list, next, tmp) { - STAILQ_REMOVE(outbox->list, item, outbox_item, next); - outbox->size -= item->len; - ESP_LOGD(TAG, "DELETE_ALL_ITEMS msgid=%d, msg_type=%d, remain size=%"PRIu64, item->msg_id, item->msg_type, outbox_get_size(outbox)); - free(item->buffer); - free(item); - } -} -void outbox_destroy(outbox_handle_t outbox) -{ - outbox_delete_all_items(outbox); - free(outbox->list); - free(outbox); -} - -#endif /* CONFIG_MQTT_CUSTOM_OUTBOX */ diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/platform_esp32_idf.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/platform_esp32_idf.c deleted file mode 100644 index a84e6fbf6..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/lib/platform_esp32_idf.c +++ /dev/null @@ -1,48 +0,0 @@ -#include "platform.h" - -#ifdef ESP_PLATFORM -#include "esp_log.h" -#include "esp_mac.h" -#include "soc/soc_caps.h" -#include "esp_timer.h" -#include "esp_random.h" -#include -#include - -static const char *TAG = "platform"; - -#define MAX_ID_STRING (32) - -#if defined SOC_WIFI_SUPPORTED -#define MAC_TYPE ESP_MAC_WIFI_STA -#elif defined SOC_EMAC_SUPPORTED -#define MAC_TYPE ESP_MAC_ETH -#elif defined SOC_IEEE802154_SUPPORTED -#define MAC_TYPE ESP_MAC_IEEE802154 -#endif -char *platform_create_id_string(void) -{ - char *id_string = calloc(1, MAX_ID_STRING); - ESP_MEM_CHECK(TAG, id_string, return NULL); - #ifndef MAC_TYPE - ESP_LOGW(TAG, "Soc doesn't provide MAC, client could be disconnected in case of device with same name in the broker."); - sprintf(id_string, "esp_mqtt_client_id"); - #else - uint8_t mac[6]; - esp_read_mac(mac, MAC_TYPE); - sprintf(id_string, "ESP32_%02x%02X%02X", mac[3], mac[4], mac[5]); - #endif - return id_string; -} - -int platform_random(int max) -{ - return esp_random() % max; -} - -uint64_t platform_tick_get_ms(void) -{ - return esp_timer_get_time()/(int64_t)1000; -} - -#endif diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/mqtt5_client.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/mqtt5_client.c deleted file mode 100644 index 060dfed55..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/mqtt5_client.c +++ /dev/null @@ -1,768 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include "mqtt_client_priv.h" -#include "esp_log.h" -#include - -static const char *TAG = "mqtt5_client"; - -static void esp_mqtt5_print_error_code(esp_mqtt5_client_handle_t client, int code); -static esp_err_t esp_mqtt5_client_update_topic_alias(mqtt5_topic_alias_handle_t topic_alias_handle, uint16_t topic_alias, char *topic, size_t topic_len); -static char *esp_mqtt5_client_get_topic_alias(mqtt5_topic_alias_handle_t topic_alias_handle, uint16_t topic_alias, size_t *topic_length); -static void esp_mqtt5_client_delete_topic_alias(mqtt5_topic_alias_handle_t topic_alias_handle); -static esp_err_t esp_mqtt5_user_property_copy(mqtt5_user_property_handle_t user_property_new, const mqtt5_user_property_handle_t user_property_old); - -void esp_mqtt5_increment_packet_counter(esp_mqtt5_client_handle_t client) -{ - bool msg_dup = mqtt5_get_dup(client->mqtt_state.connection.outbound_message.data); - if (msg_dup == false) { - client->send_publish_packet_count ++; - ESP_LOGD(TAG, "Sent (%d) qos > 0 publish packet without ack", client->send_publish_packet_count); - } -} - -void esp_mqtt5_decrement_packet_counter(esp_mqtt5_client_handle_t client) -{ - if (client->send_publish_packet_count > 0) { - client->send_publish_packet_count --; - ESP_LOGD(TAG, "Receive (%d) qos > 0 publish packet with ack", client->send_publish_packet_count); - } -} - -void esp_mqtt5_parse_pubcomp(esp_mqtt5_client_handle_t client) -{ - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - ESP_LOGD(TAG, "MQTT_MSG_TYPE_PUBCOMP return code is %d", mqtt5_msg_get_reason_code(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len)); - size_t msg_data_len = client->mqtt_state.in_buffer_read_len; - client->event.data = mqtt5_get_pubcomp_data(client->mqtt_state.in_buffer, &msg_data_len, &client->event.property->user_property); - client->event.data_len = msg_data_len; - client->event.total_data_len = msg_data_len; - client->event.current_data_offset = 0; - } -} - -void esp_mqtt5_parse_puback(esp_mqtt5_client_handle_t client) -{ - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - ESP_LOGD(TAG, "MQTT_MSG_TYPE_PUBACK return code is %d", mqtt5_msg_get_reason_code(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len)); - size_t msg_data_len = client->mqtt_state.in_buffer_read_len; - client->event.data = mqtt5_get_puback_data(client->mqtt_state.in_buffer, &msg_data_len, &client->event.property->user_property); - client->event.data_len = msg_data_len; - client->event.total_data_len = msg_data_len; - client->event.current_data_offset = 0; - } -} - -void esp_mqtt5_parse_unsuback(esp_mqtt5_client_handle_t client) -{ - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - ESP_LOGD(TAG, "MQTT_MSG_TYPE_UNSUBACK return code is %d", mqtt5_msg_get_reason_code(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len)); - size_t msg_data_len = client->mqtt_state.in_buffer_read_len; - client->event.data = mqtt5_get_unsuback_data(client->mqtt_state.in_buffer, &msg_data_len, &client->event.property->user_property); - client->event.data_len = msg_data_len; - client->event.total_data_len = msg_data_len; - client->event.current_data_offset = 0; - } -} - -void esp_mqtt5_parse_suback(esp_mqtt5_client_handle_t client) -{ - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - ESP_LOGD(TAG, "MQTT_MSG_TYPE_SUBACK return code is %d", mqtt5_msg_get_reason_code(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len)); - } -} - -void esp_mqtt5_parse_disconnect(esp_mqtt5_client_handle_t client, int *disconnect_rsp_code) -{ - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - *disconnect_rsp_code = mqtt5_msg_get_reason_code(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len); - ESP_LOGD(TAG, "MQTT_MSG_TYPE_DISCONNECT return code is %d", *disconnect_rsp_code); - } -} - -esp_err_t esp_mqtt5_parse_connack(esp_mqtt5_client_handle_t client, int *connect_rsp_code) -{ - size_t len = client->mqtt_state.in_buffer_read_len; - client->mqtt_state.in_buffer_read_len = 0; - uint8_t ack_flag = 0; - if (mqtt5_msg_parse_connack_property(client->mqtt_state.in_buffer, len, &client->mqtt_state. - connection.information, &client->mqtt5_config->connect_property_info, &client->mqtt5_config->server_resp_property_info, connect_rsp_code, &ack_flag, &client->event.property->user_property) != ESP_OK) { - ESP_LOGE(TAG, "Failed to parse CONNACK packet"); - return ESP_FAIL; - } - if (*connect_rsp_code == MQTT_CONNECTION_ACCEPTED) { - ESP_LOGD(TAG, "Connected"); - client->event.session_present = ack_flag & 0x01; - return ESP_OK; - } - esp_mqtt5_print_error_code(client, *connect_rsp_code); - return ESP_FAIL; -} - -esp_err_t esp_mqtt5_get_publish_data(esp_mqtt5_client_handle_t client, uint8_t *msg_buf, size_t msg_read_len, char **msg_topic, size_t *msg_topic_len, char **msg_data, size_t *msg_data_len) -{ - // get property - uint16_t property_len = 0; - esp_mqtt5_publish_resp_property_t property = {0}; - *msg_data = mqtt5_get_publish_property_payload(msg_buf, msg_read_len, msg_topic, msg_topic_len, &property, &property_len, msg_data_len, &client->event.property->user_property); - if (*msg_data == NULL) { - ESP_LOGE(TAG, "%s: mqtt5_get_publish_property_payload() failed", __func__); - return ESP_FAIL; - } - - if (property.topic_alias > client->mqtt5_config->connect_property_info.topic_alias_maximum) { - ESP_LOGE(TAG, "%s: Broker response topic alias %d is over the max topic alias %d", __func__, property.topic_alias, client->mqtt5_config->connect_property_info.topic_alias_maximum); - return ESP_FAIL; - } - - if (property.topic_alias) { - if (*msg_topic_len == 0) { - *msg_topic = esp_mqtt5_client_get_topic_alias(client->mqtt5_config->peer_topic_alias, property.topic_alias, msg_topic_len); - if (!*msg_topic) { - ESP_LOGE(TAG, "%s: esp_mqtt5_client_get_topic_alias() failed", __func__); - return ESP_FAIL; - } - } else { - if (esp_mqtt5_client_update_topic_alias(client->mqtt5_config->peer_topic_alias, property.topic_alias, *msg_topic, *msg_topic_len) != ESP_OK) { - ESP_LOGE(TAG, "%s: esp_mqtt5_client_update_topic_alias() failed", __func__); - return ESP_FAIL; - } - } - } - - client->event.property->payload_format_indicator = property.payload_format_indicator; - client->event.property->response_topic = property.response_topic; - client->event.property->response_topic_len = property.response_topic_len; - client->event.property->correlation_data = property.correlation_data; - client->event.property->correlation_data_len = property.correlation_data_len; - client->event.property->content_type = property.content_type; - client->event.property->content_type_len = property.content_type_len; - client->event.property->subscribe_id = property.subscribe_id; - return ESP_OK; -} - -esp_err_t esp_mqtt5_create_default_config(esp_mqtt5_client_handle_t client) -{ - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - client->event.property = calloc(1, sizeof(esp_mqtt5_event_property_t)); - ESP_MEM_CHECK(TAG, client->event.property, return ESP_FAIL) - client->mqtt5_config = calloc(1, sizeof(mqtt5_config_storage_t)); - ESP_MEM_CHECK(TAG, client->mqtt5_config, return ESP_FAIL) - client->mqtt5_config->server_resp_property_info.max_qos = 2; - client->mqtt5_config->server_resp_property_info.retain_available = true; - client->mqtt5_config->server_resp_property_info.wildcard_subscribe_available = true; - client->mqtt5_config->server_resp_property_info.subscribe_identifiers_available = true; - client->mqtt5_config->server_resp_property_info.shared_subscribe_available = true; - client->mqtt5_config->server_resp_property_info.receive_maximum = 65535; - } - return ESP_OK; -} - -static void esp_mqtt5_print_error_code(esp_mqtt5_client_handle_t client, int code) -{ - switch (code) { - case MQTT5_UNSPECIFIED_ERROR: - ESP_LOGW(TAG, "Unspecified error"); - break; - case MQTT5_MALFORMED_PACKET: - ESP_LOGW(TAG, "Malformed Packet"); - break; - case MQTT5_PROTOCOL_ERROR: - ESP_LOGW(TAG, "Protocol Error"); - break; - case MQTT5_IMPLEMENT_SPECIFIC_ERROR: - ESP_LOGW(TAG, "Implementation specific error"); - break; - case MQTT5_UNSUPPORTED_PROTOCOL_VER: - ESP_LOGW(TAG, "Unsupported Protocol Version"); - break; - case MQTT5_INVALID_CLIENT_ID: - ESP_LOGW(TAG, "Client Identifier not valid"); - break; - case MQTT5_BAD_USERNAME_OR_PWD: - ESP_LOGW(TAG, "Bad User Name or Password"); - break; - case MQTT5_NOT_AUTHORIZED: - ESP_LOGW(TAG, "Not authorized"); - break; - case MQTT5_SERVER_UNAVAILABLE: - ESP_LOGW(TAG, "Server unavailable"); - break; - case MQTT5_SERVER_BUSY: - ESP_LOGW(TAG, "Server busy"); - break; - case MQTT5_BANNED: - ESP_LOGW(TAG, "Banned"); - break; - case MQTT5_SERVER_SHUTTING_DOWN: - ESP_LOGW(TAG, "Server shutting down"); - break; - case MQTT5_BAD_AUTH_METHOD: - ESP_LOGW(TAG, "Bad authentication method"); - break; - case MQTT5_KEEP_ALIVE_TIMEOUT: - ESP_LOGW(TAG, "Keep Alive timeout"); - break; - case MQTT5_SESSION_TAKEN_OVER: - ESP_LOGW(TAG, "Session taken over"); - break; - case MQTT5_TOPIC_FILTER_INVALID: - ESP_LOGW(TAG, "Topic Filter invalid"); - break; - case MQTT5_TOPIC_NAME_INVALID: - ESP_LOGW(TAG, "Topic Name invalid"); - break; - case MQTT5_PACKET_IDENTIFIER_IN_USE: - ESP_LOGW(TAG, "Packet Identifier in use"); - break; - case MQTT5_PACKET_IDENTIFIER_NOT_FOUND: - ESP_LOGW(TAG, "Packet Identifier not found"); - break; - case MQTT5_RECEIVE_MAXIMUM_EXCEEDED: - ESP_LOGW(TAG, "Receive Maximum exceeded"); - break; - case MQTT5_TOPIC_ALIAS_INVALID: - ESP_LOGW(TAG, "Topic Alias invalid"); - break; - case MQTT5_PACKET_TOO_LARGE: - ESP_LOGW(TAG, "Packet too large"); - break; - case MQTT5_MESSAGE_RATE_TOO_HIGH: - ESP_LOGW(TAG, "Message rate too high"); - break; - case MQTT5_QUOTA_EXCEEDED: - ESP_LOGW(TAG, "Quota exceeded"); - break; - case MQTT5_ADMINISTRATIVE_ACTION: - ESP_LOGW(TAG, "Administrative action"); - break; - case MQTT5_PAYLOAD_FORMAT_INVALID: - ESP_LOGW(TAG, "Payload format invalid"); - break; - case MQTT5_RETAIN_NOT_SUPPORT: - ESP_LOGW(TAG, "Retain not supported"); - break; - case MQTT5_QOS_NOT_SUPPORT: - ESP_LOGW(TAG, "QoS not supported"); - break; - case MQTT5_USE_ANOTHER_SERVER: - ESP_LOGW(TAG, "Use another server"); - break; - case MQTT5_SERVER_MOVED: - ESP_LOGW(TAG, "Server moved"); - break; - case MQTT5_SHARED_SUBSCR_NOT_SUPPORTED: - ESP_LOGW(TAG, "Shared Subscriptions not supported"); - break; - case MQTT5_CONNECTION_RATE_EXCEEDED: - ESP_LOGW(TAG, "Connection rate exceeded"); - break; - case MQTT5_MAXIMUM_CONNECT_TIME: - ESP_LOGW(TAG, "Maximum connect time"); - break; - case MQTT5_SUBSCRIBE_IDENTIFIER_NOT_SUPPORT: - ESP_LOGW(TAG, "Subscription Identifiers not supported"); - break; - case MQTT5_WILDCARD_SUBSCRIBE_NOT_SUPPORT: - ESP_LOGW(TAG, "Wildcard Subscriptions not supported"); - break; - default: - ESP_LOGW(TAG, "Connection refused, Unknow reason"); - break; - } -} - -esp_err_t esp_mqtt5_client_subscribe_check(esp_mqtt5_client_handle_t client, int qos) -{ - /* Check Server support QoS level */ - if (client->mqtt5_config->server_resp_property_info.max_qos < qos) { - ESP_LOGE(TAG, "Server only support max QoS level %d", client->mqtt5_config->server_resp_property_info.max_qos); - return ESP_FAIL; - } - - return ESP_OK; -} - -esp_err_t esp_mqtt5_client_publish_check(esp_mqtt5_client_handle_t client, int qos, int retain) -{ - /* Check Server support QoS level */ - if (client->mqtt5_config->server_resp_property_info.max_qos < qos) { - ESP_LOGE(TAG, "Server only support max QoS level %d", client->mqtt5_config->server_resp_property_info.max_qos); - return ESP_FAIL; - } - - /* Check Server support RETAIN */ - if (!client->mqtt5_config->server_resp_property_info.retain_available && retain) { - ESP_LOGE(TAG, "Server not support retain"); - return ESP_FAIL; - } - - /* Flow control to check PUBLISH(No PUBACK or PUBCOMP received) packet sent count(Only record QoS1 and QoS2)*/ - if (client->send_publish_packet_count > client->mqtt5_config->server_resp_property_info.receive_maximum) { - ESP_LOGE(TAG, "Client send more than %d QoS1 and QoS2 PUBLISH packet without no ack", client->mqtt5_config->server_resp_property_info.receive_maximum); - return ESP_FAIL; - } - - return ESP_OK; -} - -void esp_mqtt5_client_destory(esp_mqtt5_client_handle_t client) -{ - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - if (client->mqtt5_config) { - free(client->mqtt5_config->will_property_info.content_type); - free(client->mqtt5_config->will_property_info.response_topic); - free(client->mqtt5_config->will_property_info.correlation_data); - free(client->mqtt5_config->server_resp_property_info.response_info); - esp_mqtt5_client_delete_topic_alias(client->mqtt5_config->peer_topic_alias); - esp_mqtt5_client_delete_user_property(client->mqtt5_config->connect_property_info.user_property); - esp_mqtt5_client_delete_user_property(client->mqtt5_config->will_property_info.user_property); - esp_mqtt5_client_delete_user_property(client->mqtt5_config->disconnect_property_info.user_property); - free(client->mqtt5_config); - } - free(client->event.property); - } -} - -static void esp_mqtt5_client_delete_topic_alias(mqtt5_topic_alias_handle_t topic_alias_handle) -{ - if (topic_alias_handle) { - mqtt5_topic_alias_item_t item, tmp; - STAILQ_FOREACH_SAFE(item, topic_alias_handle, next, tmp) { - STAILQ_REMOVE(topic_alias_handle, item, mqtt5_topic_alias, next); - free(item->topic); - free(item); - } - free(topic_alias_handle); - } -} - -static esp_err_t esp_mqtt5_client_update_topic_alias(mqtt5_topic_alias_handle_t topic_alias_handle, uint16_t topic_alias, char *topic, size_t topic_len) -{ - mqtt5_topic_alias_item_t item; - bool found = false; - STAILQ_FOREACH(item, topic_alias_handle, next) { - if (item->topic_alias == topic_alias) { - found = true; - break; - } - } - if (found) { - if ((item->topic_len != topic_len) || strncmp(topic, item->topic, topic_len)) { - free(item->topic); - item->topic = calloc(1, topic_len); - ESP_MEM_CHECK(TAG, item->topic, return ESP_FAIL); - memcpy(item->topic, topic, topic_len); - item->topic_len = topic_len; - } - } else { - item = calloc(1, sizeof(mqtt5_topic_alias_t)); - ESP_MEM_CHECK(TAG, item, return ESP_FAIL); - item->topic_alias = topic_alias; - item->topic_len = topic_len; - item->topic = calloc(1, topic_len); - ESP_MEM_CHECK(TAG, item->topic, { - free(item); - return ESP_FAIL; - }); - memcpy(item->topic, topic, topic_len); - STAILQ_INSERT_TAIL(topic_alias_handle, item, next); - } - return ESP_OK; -} - -static char *esp_mqtt5_client_get_topic_alias(mqtt5_topic_alias_handle_t topic_alias_handle, uint16_t topic_alias, size_t *topic_length) -{ - mqtt5_topic_alias_item_t item; - STAILQ_FOREACH(item, topic_alias_handle, next) { - if (item->topic_alias == topic_alias) { - *topic_length = item->topic_len; - return item->topic; - } - } - *topic_length = 0; - return NULL; -} - -static esp_err_t esp_mqtt5_user_property_copy(mqtt5_user_property_handle_t user_property_new, const mqtt5_user_property_handle_t user_property_old) -{ - if (!user_property_new || !user_property_old) { - ESP_LOGE(TAG, "Input is NULL"); - return ESP_FAIL; - } - - mqtt5_user_property_item_t old_item, new_item; - STAILQ_FOREACH(old_item, user_property_old, next) { - new_item = calloc(1, sizeof(mqtt5_user_property_t)); - ESP_MEM_CHECK(TAG, new_item, return ESP_FAIL); - new_item->key = strdup(old_item->key); - ESP_MEM_CHECK(TAG, new_item->key, { - free(new_item); - return ESP_FAIL; - }); - new_item->value = strdup(old_item->value); - ESP_MEM_CHECK(TAG, new_item->value, { - free(new_item->key); - free(new_item); - return ESP_FAIL; - }); - STAILQ_INSERT_TAIL(user_property_new, new_item, next); - } - return ESP_OK; -} - -esp_err_t esp_mqtt5_client_set_publish_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_publish_property_config_t *property) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - MQTT_API_LOCK(client); - - /* Check protocol version */ - if (client->mqtt_state.connection.information.protocol_ver != MQTT_PROTOCOL_V_5) { - ESP_LOGE(TAG, "MQTT protocol version is not v5"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - /* Check topic alias less than server maximum topic alias */ - if (property->topic_alias > client->mqtt5_config->server_resp_property_info.topic_alias_maximum) { - ESP_LOGE(TAG, "Topic alias %d is bigger than server support %d", property->topic_alias, client->mqtt5_config->server_resp_property_info.topic_alias_maximum); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - client->mqtt5_config->publish_property_info = property; - MQTT_API_UNLOCK(client); - return ESP_OK; -} - -esp_err_t esp_mqtt5_client_set_subscribe_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_subscribe_property_config_t *property) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - if (property->retain_handle > 2) { - ESP_LOGE(TAG, "retain_handle only support 0, 1, 2"); - return -1; - } - MQTT_API_LOCK(client); - - /* Check protocol version */ - if (client->mqtt_state.connection.information.protocol_ver != MQTT_PROTOCOL_V_5) { - ESP_LOGE(TAG, "MQTT protocol version is not v5"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - if (property->is_share_subscribe) { - if (property->no_local_flag) { - // MQTT-3.8.3-4 not allow that No Local bit to 1 on a Shared Subscription - ESP_LOGE(TAG, "Protocol error that no local flag set on shared subscription"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - if (!client->mqtt5_config->server_resp_property_info.shared_subscribe_available) { - ESP_LOGE(TAG, "MQTT broker not support shared subscribe"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - if (!property->share_name || !strlen(property->share_name)) { - ESP_LOGE(TAG, "Share name can't be empty for shared subscribe"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - } - client->mqtt5_config->subscribe_property_info = property; - MQTT_API_UNLOCK(client); - return ESP_OK; -} - -esp_err_t esp_mqtt5_client_set_unsubscribe_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_unsubscribe_property_config_t *property) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - MQTT_API_LOCK(client); - - /* Check protocol version */ - if (client->mqtt_state.connection.information.protocol_ver != MQTT_PROTOCOL_V_5) { - ESP_LOGE(TAG, "MQTT protocol version is not v5"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - if (property->is_share_subscribe) { - if (!client->mqtt5_config->server_resp_property_info.shared_subscribe_available) { - ESP_LOGE(TAG, "MQTT broker not support shared subscribe"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - if (!property->share_name || !strlen(property->share_name)) { - ESP_LOGE(TAG, "Share name can't be empty for shared subscribe"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - } - client->mqtt5_config->unsubscribe_property_info = property; - MQTT_API_UNLOCK(client); - return ESP_OK; -} - -esp_err_t esp_mqtt5_client_set_disconnect_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_disconnect_property_config_t *property) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - MQTT_API_LOCK(client); - - /* Check protocol version */ - if (client->mqtt_state.connection.information.protocol_ver != MQTT_PROTOCOL_V_5) { - ESP_LOGE(TAG, "MQTT protocol version is not v5"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - if (property) { - if (property->session_expiry_interval) { - client->mqtt5_config->disconnect_property_info.session_expiry_interval = property->session_expiry_interval; - } - if (property->disconnect_reason) { - client->mqtt5_config->disconnect_property_info.disconnect_reason = property->disconnect_reason; - } - if (property->user_property) { - esp_mqtt5_client_delete_user_property(client->mqtt5_config->disconnect_property_info.user_property); - client->mqtt5_config->disconnect_property_info.user_property = calloc(1, sizeof(struct mqtt5_user_property_list_t)); - ESP_MEM_CHECK(TAG, client->mqtt5_config->disconnect_property_info.user_property, { - MQTT_API_UNLOCK(client); - return ESP_ERR_NO_MEM; - }); - STAILQ_INIT(client->mqtt5_config->disconnect_property_info.user_property); - if (esp_mqtt5_user_property_copy(client->mqtt5_config->disconnect_property_info.user_property, property->user_property) != ESP_OK) { - ESP_LOGE(TAG, "esp_mqtt5_user_property_copy fail"); - free(client->mqtt5_config->disconnect_property_info.user_property); - client->mqtt5_config->disconnect_property_info.user_property = NULL; - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - } - } - - MQTT_API_UNLOCK(client); - return ESP_OK; -} - -esp_err_t esp_mqtt5_client_set_connect_property(esp_mqtt5_client_handle_t client, const esp_mqtt5_connection_property_config_t *connect_property) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - MQTT_API_LOCK(client); - - /* Check protocol version */ - if (client->mqtt_state.connection.information.protocol_ver != MQTT_PROTOCOL_V_5) { - ESP_LOGE(TAG, "MQTT protocol version is not v5"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - if (connect_property) { - if (connect_property->session_expiry_interval) { - client->mqtt5_config->connect_property_info.session_expiry_interval = connect_property->session_expiry_interval; - } - if (connect_property->maximum_packet_size) { - if (connect_property->maximum_packet_size > client->mqtt_state.in_buffer_length) { - ESP_LOGW(TAG, "Connect maximum_packet_size property is over buffer_size(%d), Please first change it", client->mqtt_state.in_buffer_length); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } else { - client->mqtt5_config->connect_property_info.maximum_packet_size = connect_property->maximum_packet_size; - } - } else { - client->mqtt5_config->connect_property_info.maximum_packet_size = client->mqtt_state.in_buffer_length; - } - if (connect_property->receive_maximum) { - client->mqtt5_config->connect_property_info.receive_maximum = connect_property->receive_maximum; - } - if (connect_property->topic_alias_maximum) { - client->mqtt5_config->connect_property_info.topic_alias_maximum = connect_property->topic_alias_maximum; - if (!client->mqtt5_config->peer_topic_alias) { - client->mqtt5_config->peer_topic_alias = calloc(1, sizeof(struct mqtt5_topic_alias_list_t)); - ESP_MEM_CHECK(TAG, client->mqtt5_config->peer_topic_alias, goto _mqtt_set_config_failed); - STAILQ_INIT(client->mqtt5_config->peer_topic_alias); - } - } - if (connect_property->request_resp_info) { - client->mqtt5_config->connect_property_info.request_resp_info = connect_property->request_resp_info; - } - if (connect_property->request_problem_info) { - client->mqtt5_config->connect_property_info.request_problem_info = connect_property->request_problem_info; - } - if (connect_property->user_property) { - esp_mqtt5_client_delete_user_property(client->mqtt5_config->connect_property_info.user_property); - client->mqtt5_config->connect_property_info.user_property = calloc(1, sizeof(struct mqtt5_user_property_list_t)); - ESP_MEM_CHECK(TAG, client->mqtt5_config->connect_property_info.user_property, goto _mqtt_set_config_failed); - STAILQ_INIT(client->mqtt5_config->connect_property_info.user_property); - if (esp_mqtt5_user_property_copy(client->mqtt5_config->connect_property_info.user_property, connect_property->user_property) != ESP_OK) { - ESP_LOGE(TAG, "esp_mqtt5_user_property_copy fail"); - goto _mqtt_set_config_failed; - } - } - if (connect_property->payload_format_indicator) { - client->mqtt5_config->will_property_info.payload_format_indicator = connect_property->payload_format_indicator; - } - if (connect_property->will_delay_interval) { - client->mqtt5_config->will_property_info.will_delay_interval = connect_property->will_delay_interval; - } - if (connect_property->message_expiry_interval) { - client->mqtt5_config->will_property_info.message_expiry_interval = connect_property->message_expiry_interval; - } - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(connect_property->content_type, &client->mqtt5_config->will_property_info.content_type), goto _mqtt_set_config_failed); - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(connect_property->response_topic, &client->mqtt5_config->will_property_info.response_topic), goto _mqtt_set_config_failed); - if (connect_property->correlation_data && connect_property->correlation_data_len) { - free(client->mqtt5_config->will_property_info.correlation_data); - client->mqtt5_config->will_property_info.correlation_data = malloc(connect_property->correlation_data_len); - ESP_MEM_CHECK(TAG, client->mqtt5_config->will_property_info.correlation_data, goto _mqtt_set_config_failed); - memcpy(client->mqtt5_config->will_property_info.correlation_data, connect_property->correlation_data, connect_property->correlation_data_len); - client->mqtt5_config->will_property_info.correlation_data_len = connect_property->correlation_data_len; - } - if (connect_property->will_user_property) { - esp_mqtt5_client_delete_user_property(client->mqtt5_config->will_property_info.user_property); - client->mqtt5_config->will_property_info.user_property = calloc(1, sizeof(struct mqtt5_user_property_list_t)); - ESP_MEM_CHECK(TAG, client->mqtt5_config->will_property_info.user_property, goto _mqtt_set_config_failed); - STAILQ_INIT(client->mqtt5_config->will_property_info.user_property); - if (esp_mqtt5_user_property_copy(client->mqtt5_config->will_property_info.user_property, connect_property->will_user_property) != ESP_OK) { - ESP_LOGE(TAG, "esp_mqtt5_user_property_copy fail"); - goto _mqtt_set_config_failed; - } - } - } - MQTT_API_UNLOCK(client); - return ESP_OK; -_mqtt_set_config_failed: - esp_mqtt_destroy_config(client); - MQTT_API_UNLOCK(client); - return ESP_ERR_NO_MEM; -} - -esp_err_t esp_mqtt5_client_set_user_property(mqtt5_user_property_handle_t *user_property, esp_mqtt5_user_property_item_t item[], uint8_t item_num) -{ - if (!item_num || !item) { - ESP_LOGE(TAG, "Input value is NULL"); - return ESP_FAIL; - } - - if (!*user_property) { - *user_property = calloc(1, sizeof(struct mqtt5_user_property_list_t)); - ESP_MEM_CHECK(TAG, *user_property, return ESP_ERR_NO_MEM); - STAILQ_INIT(*user_property); - } - - for (int i = 0; i < item_num; i ++) { - if (item[i].key && item[i].value) { - mqtt5_user_property_item_t user_property_item = calloc(1, sizeof(mqtt5_user_property_t)); - ESP_MEM_CHECK(TAG, user_property_item, goto err); - size_t key_len = strlen(item[i].key); - size_t value_len = strlen(item[i].value); - - user_property_item->key = calloc(1, key_len + 1); - ESP_MEM_CHECK(TAG, user_property_item->key, { - free(user_property_item); - goto err; - }); - memcpy(user_property_item->key, item[i].key, key_len); - user_property_item->key[key_len] = '\0'; - - user_property_item->value = calloc(1, value_len + 1); - ESP_MEM_CHECK(TAG, user_property_item->value, { - free(user_property_item->key); - free(user_property_item); - goto err; - }); - memcpy(user_property_item->value, item[i].value, value_len); - user_property_item->value[value_len] = '\0'; - - STAILQ_INSERT_TAIL(*user_property, user_property_item, next); - } - } - return ESP_OK; -err: - esp_mqtt5_client_delete_user_property(*user_property); - *user_property = NULL; - return ESP_ERR_NO_MEM; -} - -esp_err_t esp_mqtt5_client_get_user_property(mqtt5_user_property_handle_t user_property, esp_mqtt5_user_property_item_t *item, uint8_t *item_num) -{ - int i = 0, j = 0; - if (user_property && item && *item_num) { - mqtt5_user_property_item_t user_property_item; - uint8_t num = *item_num; - STAILQ_FOREACH(user_property_item, user_property, next) { - if (i < num) { - size_t item_key_len = strlen(user_property_item->key); - size_t item_value_len = strlen(user_property_item->value); - char *key = calloc(1, item_key_len + 1); - ESP_MEM_CHECK(TAG, key, goto err); - memcpy(key, user_property_item->key, item_key_len); - key[item_key_len] = '\0'; - char *value = calloc(1, item_value_len + 1); - ESP_MEM_CHECK(TAG, value, { - free(key); - goto err; - }); - memcpy(value, user_property_item->value, item_value_len); - value[item_value_len] = '\0'; - item[i].key = key; - item[i].value = value; - i ++; - } else { - break; - } - } - *item_num = i; - return ESP_OK; - } else { - ESP_LOGE(TAG, "Input value is NULL or item_num is 0"); - return ESP_FAIL; - } -err: - for (j = 0; j < i; j ++) { - if (item[j].key) { - free((char *)item[j].key); - } - if (item[j].value) { - free((char *)item[j].value); - } - } - return ESP_ERR_NO_MEM; -} - -uint8_t esp_mqtt5_client_get_user_property_count(mqtt5_user_property_handle_t user_property) -{ - uint8_t count = 0; - if (user_property) { - mqtt5_user_property_item_t item; - STAILQ_FOREACH(item, user_property, next) { - count ++; - } - } - return count; -} - -void esp_mqtt5_client_delete_user_property(mqtt5_user_property_handle_t user_property) -{ - if (user_property) { - mqtt5_user_property_item_t item, tmp; - STAILQ_FOREACH_SAFE(item, user_property, next, tmp) { - STAILQ_REMOVE(user_property, item, mqtt5_user_property, next); - free(item->key); - free(item->value); - free(item); - } - } - free(user_property); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/mqtt_client.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/mqtt_client.c deleted file mode 100644 index dd0ca7f21..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/mqtt_client.c +++ /dev/null @@ -1,2392 +0,0 @@ -#include -#include -#include -#include "esp_err.h" -#include "esp_log.h" -#include "esp_heap_caps.h" -#include "esp_transport.h" -#include "mqtt_client.h" -#include "mqtt_client_priv.h" -#include "mqtt_msg.h" -#include "mqtt_outbox.h" - -_Static_assert(sizeof(uint64_t) == sizeof(outbox_tick_t), "mqtt-client tick type size different from outbox tick type"); -#ifdef ESP_EVENT_ANY_ID -_Static_assert(MQTT_EVENT_ANY == ESP_EVENT_ANY_ID, "mqtt-client event enum does not match the global EVENT_ANY_ID"); -#endif - -static const char *TAG = "mqtt_client"; - -#ifdef MQTT_SUPPORTED_FEATURE_EVENT_LOOP -/** - * @brief Define of MQTT Event base - * - */ -ESP_EVENT_DEFINE_BASE(MQTT_EVENTS); -#endif - -const static int STOPPED_BIT = (1 << 0); -const static int RECONNECT_BIT = (1 << 1); -const static int DISCONNECT_BIT = (1 << 2); - -static esp_err_t esp_mqtt_dispatch_event(esp_mqtt_client_handle_t client); -static esp_err_t esp_mqtt_dispatch_event_with_msgid(esp_mqtt_client_handle_t client); -static esp_err_t esp_mqtt_connect(esp_mqtt_client_handle_t client, int timeout_ms); -static void esp_mqtt_abort_connection(esp_mqtt_client_handle_t client); -static esp_err_t esp_mqtt_client_ping(esp_mqtt_client_handle_t client); -static char *create_string(const char *ptr, int len); -static int mqtt_message_receive(esp_mqtt_client_handle_t client, int read_poll_timeout_ms); -static void esp_mqtt_client_dispatch_transport_error(esp_mqtt_client_handle_t client); -static esp_err_t send_disconnect_msg(esp_mqtt_client_handle_t client); - -/** - * @brief Processes error reported from transport layer (considering the message read status) - * - * @param err: Error reported from TCP transport - * @param client: MQTT client handle - * @param mid_message: True if the error occured when reading incomplete message - * - * @return - 0 on Timeout - * - -1 on Timeout with incomplete message - * - -2 on Error or EOF - */ -static int esp_mqtt_handle_transport_read_error(int err, esp_mqtt_client_handle_t client, bool mid_message) -{ - if (err == ERR_TCP_TRANSPORT_CONNECTION_TIMEOUT) { - if (mid_message) { - // No error message, because we could've read with timeout 0 (caller will decide) - return -1; - } - // Not an error, continue - ESP_LOGV(TAG, "%s: transport_read(): call timed out before data was ready!", __func__); - return 0; - } - - if (err == ERR_TCP_TRANSPORT_CONNECTION_CLOSED_BY_FIN) { - ESP_LOGE(TAG, "%s: transport_read(): EOF", __func__); - } - - ESP_LOGE(TAG, "%s: transport_read() error: errno=%d", __func__, errno); - esp_mqtt_client_dispatch_transport_error(client); - return -2; -} - -#if MQTT_ENABLE_SSL -enum esp_mqtt_ssl_cert_key_api { - MQTT_SSL_DATA_API_CA_CERT, - MQTT_SSL_DATA_API_CLIENT_CERT, - MQTT_SSL_DATA_API_CLIENT_KEY, - MQTT_SSL_DATA_API_MAX, -}; - -static esp_err_t esp_mqtt_set_cert_key_data(esp_transport_handle_t ssl, enum esp_mqtt_ssl_cert_key_api what, const char *cert_key_data, int cert_key_len) -{ - char *data = (char *)cert_key_data; - int ssl_transport_api_id = what; - int len = cert_key_len; - - if (!data) { - return ESP_OK; - } - - if (len == 0) { - // if length not specified, expect 0-terminated PEM string - // and the original transport_api_id (by convention after the last api_id in the enum) - ssl_transport_api_id += MQTT_SSL_DATA_API_MAX; - len = strlen(data); - } -#ifndef MQTT_SUPPORTED_FEATURE_DER_CERTIFICATES - else { - ESP_LOGE(TAG, "Explicit cert-/key-len is not available in IDF version %s", IDF_VER); - return ESP_ERR_NOT_SUPPORTED; - } -#endif - - // option to force the cert/key config to null (i.e. skip validation) when existing config updates - if (0 == strcmp(data, "NULL")) { - data = NULL; - len = 0; - } - - switch (ssl_transport_api_id) { -#ifdef MQTT_SUPPORTED_FEATURE_DER_CERTIFICATES - case MQTT_SSL_DATA_API_CA_CERT: - esp_transport_ssl_set_cert_data_der(ssl, data, len); - break; - case MQTT_SSL_DATA_API_CLIENT_CERT: - esp_transport_ssl_set_client_cert_data_der(ssl, data, len); - break; - case MQTT_SSL_DATA_API_CLIENT_KEY: - esp_transport_ssl_set_client_key_data_der(ssl, data, len); - break; -#endif - case MQTT_SSL_DATA_API_CA_CERT + MQTT_SSL_DATA_API_MAX: - esp_transport_ssl_set_cert_data(ssl, data, len); - break; - case MQTT_SSL_DATA_API_CLIENT_CERT + MQTT_SSL_DATA_API_MAX: - esp_transport_ssl_set_client_cert_data(ssl, data, len); - break; - case MQTT_SSL_DATA_API_CLIENT_KEY + MQTT_SSL_DATA_API_MAX: - esp_transport_ssl_set_client_key_data(ssl, data, len); - break; - default: - return ESP_ERR_INVALID_ARG; - } - return ESP_OK; -} - -static esp_err_t esp_mqtt_set_ssl_transport_properties(esp_transport_list_handle_t transport_list, mqtt_config_storage_t *cfg) -{ - esp_transport_handle_t ssl = esp_transport_list_get_transport(transport_list, MQTT_OVER_SSL_SCHEME); - - if (cfg->use_global_ca_store == true) { - esp_transport_ssl_enable_global_ca_store(ssl); - } else if (cfg->crt_bundle_attach != NULL) { -#ifdef MQTT_SUPPORTED_FEATURE_CERTIFICATE_BUNDLE -#ifdef CONFIG_MBEDTLS_CERTIFICATE_BUNDLE - esp_transport_ssl_crt_bundle_attach(ssl, cfg->crt_bundle_attach); -#else - ESP_LOGE(TAG, "Certificate bundle is not enabled for mbedTLS in menuconfig"); - goto esp_mqtt_set_transport_failed; -#endif /* CONFIG_MBEDTLS_CERTIFICATE_BUNDLE */ -#else - ESP_LOGE(TAG, "Certificate bundle feature is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif /* MQTT_SUPPORTED_FEATURE_CERTIFICATE_BUNDLE */ - } else { - ESP_OK_CHECK(TAG, esp_mqtt_set_cert_key_data(ssl, MQTT_SSL_DATA_API_CA_CERT, cfg->cacert_buf, cfg->cacert_bytes), - goto esp_mqtt_set_transport_failed); - - } - if(cfg->ciphersuites_list) - { -#if defined(MQTT_SUPPORTED_FEATURE_CIPHERSUITES_LIST) - esp_transport_ssl_set_ciphersuites_list(ssl,cfg->ciphersuites_list); -#else - ESP_LOGE(TAG, "Cipher suites list feature is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif /* MQTT_SUPPORTED_FEATURE_CIPHERSUITES_LIST */ - } - - if (cfg->psk_hint_key) { -#if defined(MQTT_SUPPORTED_FEATURE_PSK_AUTHENTICATION) && MQTT_ENABLE_SSL -#ifdef CONFIG_ESP_TLS_PSK_VERIFICATION - esp_transport_ssl_set_psk_key_hint(ssl, cfg->psk_hint_key); -#else - ESP_LOGE(TAG, "PSK authentication configured but not enabled in menuconfig: Please enable ESP_TLS_PSK_VERIFICATION option"); - goto esp_mqtt_set_transport_failed; -#endif -#else - ESP_LOGE(TAG, "PSK authentication is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif - } - - if (cfg->alpn_protos) { -#if defined(MQTT_SUPPORTED_FEATURE_ALPN) && MQTT_ENABLE_SSL -#if defined(CONFIG_MBEDTLS_SSL_ALPN) || defined(CONFIG_WOLFSSL_HAVE_ALPN) - esp_transport_ssl_set_alpn_protocol(ssl, (const char **)cfg->alpn_protos); -#else - ESP_LOGE(TAG, "APLN configured but not enabled in menuconfig: Please enable MBEDTLS_SSL_ALPN or WOLFSSL_HAVE_ALPN option"); - goto esp_mqtt_set_transport_failed; -#endif -#else - ESP_LOGE(TAG, "APLN is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif - } - - - if (cfg->skip_cert_common_name_check) { -#if defined(MQTT_SUPPORTED_FEATURE_SKIP_CRT_CMN_NAME_CHECK) && MQTT_ENABLE_SSL - esp_transport_ssl_skip_common_name_check(ssl); -#else - ESP_LOGE(TAG, "Skip certificate common name check is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif - } - - if (cfg->common_name) { -#if defined(MQTT_SUPPORTED_FEATURE_CRT_CMN_NAME) && MQTT_ENABLE_SSL - esp_transport_ssl_set_common_name(ssl, cfg->common_name); -#else - ESP_LOGE(TAG, "Setting expected certificate common name is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif - } - - if (cfg->use_secure_element) { -#ifdef MQTT_SUPPORTED_FEATURE_SECURE_ELEMENT -#ifdef CONFIG_ESP_TLS_USE_SECURE_ELEMENT - esp_transport_ssl_use_secure_element(ssl); -#else - ESP_LOGE(TAG, "Secure element not enabled for esp-tls in menuconfig"); - goto esp_mqtt_set_transport_failed; -#endif /* CONFIG_ESP_TLS_USE_SECURE_ELEMENT */ -#else - ESP_LOGE(TAG, "Secure element feature is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif /* MQTT_SUPPORTED_FEATURE_SECURE_ELEMENT */ - } - - if (cfg->ds_data != NULL) { -#ifdef MQTT_SUPPORTED_FEATURE_DIGITAL_SIGNATURE -#ifdef CONFIG_ESP_TLS_USE_DS_PERIPHERAL - esp_transport_ssl_set_ds_data(ssl, cfg->ds_data); -#else - ESP_LOGE(TAG, "Digital Signature not enabled for esp-tls in menuconfig"); - goto esp_mqtt_set_transport_failed; -#endif /* CONFIG_ESP_TLS_USE_DS_PERIPHERAL */ -#else - ESP_LOGE(TAG, "Digital Signature feature is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif - } - - if (cfg->use_ecdsa_peripheral) { -#ifdef MQTT_SUPPORTED_FEATURE_ECDSA_PERIPHERAL -#ifdef CONFIG_MBEDTLS_HARDWARE_ECDSA_SIGN - esp_transport_ssl_set_client_key_ecdsa_peripheral(ssl, cfg->ecdsa_key_efuse_blk); -#else - ESP_LOGE(TAG, "ECDSA peripheral not enabled for esp-tls in menuconfig"); - goto esp_mqtt_set_transport_failed; -#endif /* CONFIG_MBEDTLS_HARDWARE_ECDSA_SIGN */ -#else - ESP_LOGE(TAG, "ECDSA peripheral feature is not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif /* MQTT_SUPPORTED_FEATURE_ECDSA_PERIPHERAL */ - } - - ESP_OK_CHECK(TAG, esp_mqtt_set_cert_key_data(ssl, MQTT_SSL_DATA_API_CLIENT_CERT, cfg->clientcert_buf, cfg->clientcert_bytes), - goto esp_mqtt_set_transport_failed); - ESP_OK_CHECK(TAG, esp_mqtt_set_cert_key_data(ssl, MQTT_SSL_DATA_API_CLIENT_KEY, cfg->clientkey_buf, cfg->clientkey_bytes), - goto esp_mqtt_set_transport_failed); - - if (cfg->clientkey_password && cfg->clientkey_password_len) { -#if defined(MQTT_SUPPORTED_FEATURE_CLIENT_KEY_PASSWORD) && MQTT_ENABLE_SSL - esp_transport_ssl_set_client_key_password(ssl, - cfg->clientkey_password, - cfg->clientkey_password_len); -#else - ESP_LOGE(TAG, "Password protected keys are not available in IDF version %s", IDF_VER); - goto esp_mqtt_set_transport_failed; -#endif - } - - - return ESP_OK; - -esp_mqtt_set_transport_failed: - return ESP_FAIL; -} -#endif // MQTT_ENABLE_SSL - -/* Checks if the user supplied config values are internally consistent */ -static esp_err_t esp_mqtt_check_cfg_conflict(const mqtt_config_storage_t *cfg, const esp_mqtt_client_config_t *user_cfg) -{ - if (cfg == NULL || user_cfg == NULL) { - ESP_LOGE(TAG, "Invalid configuration"); - return ESP_ERR_INVALID_ARG; - } - esp_err_t ret = ESP_OK; - - bool ssl_cfg_enabled = cfg->use_global_ca_store || cfg->cacert_buf || cfg->clientcert_buf || cfg->psk_hint_key || cfg->alpn_protos; - bool is_ssl_scheme = false; - if (cfg->scheme) { - is_ssl_scheme = (strncasecmp(cfg->scheme, MQTT_OVER_SSL_SCHEME, sizeof(MQTT_OVER_SSL_SCHEME)) == 0) || (strncasecmp(cfg->scheme, MQTT_OVER_WSS_SCHEME, sizeof(MQTT_OVER_WSS_SCHEME)) == 0); - } - - if (!is_ssl_scheme && ssl_cfg_enabled) { - if (cfg->uri) { - ESP_LOGW(TAG, "SSL related configs set, but the URI scheme specifies a non-SSL scheme, scheme = %s", cfg->scheme); - } else { - ESP_LOGW(TAG, "SSL related configs set, but the transport protocol is a non-SSL scheme, transport = %d", user_cfg->broker.address.transport); - } - ret = ESP_ERR_INVALID_ARG; - } - - if (cfg->uri && user_cfg->broker.address.transport) { - ESP_LOGW(TAG, "Transport config set, but overridden by scheme from URI: transport = %d, uri scheme = %s", user_cfg->broker.address.transport, cfg->scheme); - ret = ESP_ERR_INVALID_ARG; - } - - return ret; -} - -bool esp_mqtt_set_if_config(char const *const new_config, char **old_config) -{ - if (new_config) { - free(*old_config); - *old_config = strdup(new_config); - if (*old_config == NULL) { - return false; - } - } - return true; -} - -static esp_err_t esp_mqtt_client_create_transport(esp_mqtt_client_handle_t client) -{ - esp_err_t ret = ESP_OK; - if (client->transport_list) { - esp_transport_list_destroy(client->transport_list); - client->transport_list = NULL; - } - if (client->config->scheme) { - client->transport_list = esp_transport_list_init(); - ESP_MEM_CHECK(TAG, client->transport_list, return ESP_ERR_NO_MEM); - - if ((strncasecmp(client->config->scheme, MQTT_OVER_TCP_SCHEME, sizeof(MQTT_OVER_TCP_SCHEME)) == 0) || (strncasecmp(client->config->scheme, MQTT_OVER_WS_SCHEME, sizeof(MQTT_OVER_WS_SCHEME)) == 0)) { - esp_transport_handle_t tcp = esp_transport_tcp_init(); - ESP_MEM_CHECK(TAG, tcp, return ESP_ERR_NO_MEM); - esp_transport_set_default_port(tcp, MQTT_TCP_DEFAULT_PORT); - if (client->config->if_name) { - esp_transport_tcp_set_interface_name(tcp, client->config->if_name); - } - esp_transport_list_add(client->transport_list, tcp, MQTT_OVER_TCP_SCHEME); - if (strncasecmp(client->config->scheme, MQTT_OVER_WS_SCHEME, sizeof(MQTT_OVER_WS_SCHEME)) == 0) { -#if MQTT_ENABLE_WS - esp_transport_handle_t ws = esp_transport_ws_init(tcp); - ESP_MEM_CHECK(TAG, ws, return ESP_ERR_NO_MEM); - esp_transport_set_default_port(ws, MQTT_WS_DEFAULT_PORT); - if (client->config->path) { - esp_transport_ws_set_path(ws, client->config->path); - } -#ifdef MQTT_SUPPORTED_FEATURE_WS_SUBPROTOCOL - esp_transport_ws_set_subprotocol(ws, MQTT_OVER_TCP_SCHEME); -#endif - esp_transport_list_add(client->transport_list, ws, MQTT_OVER_WS_SCHEME); -#else - ESP_LOGE(TAG, "Please enable MQTT_ENABLE_WS to use %s", client->config->scheme); - ret = ESP_FAIL; -#endif - } - } else if ((strncasecmp(client->config->scheme, MQTT_OVER_SSL_SCHEME, sizeof(MQTT_OVER_SSL_SCHEME)) == 0) || (strncasecmp(client->config->scheme, MQTT_OVER_WSS_SCHEME, sizeof(MQTT_OVER_WSS_SCHEME)) == 0)) { -#if MQTT_ENABLE_SSL - esp_transport_handle_t ssl = esp_transport_ssl_init(); - ESP_MEM_CHECK(TAG, ssl, return ESP_ERR_NO_MEM); - esp_transport_set_default_port(ssl, MQTT_SSL_DEFAULT_PORT); - if (client->config->if_name) { - esp_transport_ssl_set_interface_name(ssl, client->config->if_name); - } - esp_transport_list_add(client->transport_list, ssl, MQTT_OVER_SSL_SCHEME); - if (strncasecmp(client->config->scheme, MQTT_OVER_WSS_SCHEME, sizeof(MQTT_OVER_WSS_SCHEME)) == 0) { -#if MQTT_ENABLE_WS - esp_transport_handle_t wss = esp_transport_ws_init(ssl); - ESP_MEM_CHECK(TAG, wss, return ESP_ERR_NO_MEM); - esp_transport_set_default_port(wss, MQTT_WSS_DEFAULT_PORT); - if (client->config->path) { - esp_transport_ws_set_path(wss, client->config->path); - } -#ifdef MQTT_SUPPORTED_FEATURE_WS_SUBPROTOCOL - esp_transport_ws_set_subprotocol(wss, MQTT_OVER_TCP_SCHEME); -#endif - esp_transport_list_add(client->transport_list, wss, MQTT_OVER_WSS_SCHEME); -#else - ESP_LOGE(TAG, "Please enable MQTT_ENABLE_WS to use %s", client->config->scheme); - ret = ESP_FAIL; -#endif - } -#else - ESP_LOGE(TAG, "Please enable MQTT_ENABLE_SSL to use %s", client->config->scheme); - ret = ESP_FAIL; -#endif - } else { - ESP_LOGE(TAG, "Not support this mqtt scheme %s", client->config->scheme); - ret = ESP_FAIL; - } - } else { - ESP_LOGE(TAG, "No scheme found"); - ret = ESP_FAIL; - } - return ret; -} - -esp_err_t esp_mqtt_set_config(esp_mqtt_client_handle_t client, const esp_mqtt_client_config_t *config) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - MQTT_API_LOCK(client); - //Copy user configurations to client context - esp_err_t err = ESP_OK; - if (!client->config) { - client->config = calloc(1, sizeof(mqtt_config_storage_t)); - ESP_MEM_CHECK(TAG, client->config, { - MQTT_API_UNLOCK(client); - return ESP_ERR_NO_MEM; - }); - } - - mqtt_msg_buffer_destroy(&client->mqtt_state.connection); - int buffer_size = config->buffer.size; - if (buffer_size <= 0) { - buffer_size = MQTT_BUFFER_SIZE_BYTE; - } - - // use separate value for output buffer size if configured - int out_buffer_size = config->buffer.out_size > 0 ? config->buffer.out_size : buffer_size; - if (mqtt_msg_buffer_init(&client->mqtt_state.connection, out_buffer_size) != ESP_OK) { - goto _mqtt_set_config_failed; - } - - free(client->mqtt_state.in_buffer); - client->mqtt_state.in_buffer = (uint8_t *)malloc(buffer_size); - ESP_MEM_CHECK(TAG, client->mqtt_state.in_buffer, goto _mqtt_set_config_failed); - client->mqtt_state.in_buffer_length = buffer_size; - - client->config->message_retransmit_timeout = config->session.message_retransmit_timeout; - if (config->session.message_retransmit_timeout <= 0) { - client->config->message_retransmit_timeout = MQTT_DEFAULT_RETRANSMIT_TIMEOUT_MS; - } - - client->config->task_prio = config->task.priority; - if (client->config->task_prio <= 0) { - client->config->task_prio = MQTT_TASK_PRIORITY; - } - - client->config->task_stack = config->task.stack_size; - if (client->config->task_stack <= 0) { - client->config->task_stack = MQTT_TASK_STACK; - } - - if (config->broker.address.port) { - client->config->port = config->broker.address.port; - } - - if (config->network.tcp_keep_alive_cfg.keep_alive_enable) { - client->config->tcp_keep_alive_cfg = config->network.tcp_keep_alive_cfg; - } - - err = ESP_ERR_NO_MEM; - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(config->broker.address.hostname, &client->config->host), goto _mqtt_set_config_failed); - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(config->broker.address.path, &client->config->path), goto _mqtt_set_config_failed); - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(config->credentials.username, &client->mqtt_state.connection.information.username), goto _mqtt_set_config_failed); - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(config->credentials.authentication.password, &client->mqtt_state.connection.information.password), goto _mqtt_set_config_failed); - - if (!config->credentials.set_null_client_id) { - if (config->credentials.client_id) { - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(config->credentials.client_id, &client->mqtt_state.connection.information.client_id), goto _mqtt_set_config_failed); - } else if (client->mqtt_state.connection.information.client_id == NULL) { - client->mqtt_state.connection.information.client_id = platform_create_id_string(); - } - ESP_MEM_CHECK(TAG, client->mqtt_state.connection.information.client_id, goto _mqtt_set_config_failed); - ESP_LOGD(TAG, "MQTT client_id=%s", client->mqtt_state.connection.information.client_id); - } - - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(config->broker.address.uri, &client->config->uri), goto _mqtt_set_config_failed); - ESP_MEM_CHECK(TAG, esp_mqtt_set_if_config(config->session.last_will.topic, &client->mqtt_state.connection.information.will_topic), goto _mqtt_set_config_failed); - - if (config->session.last_will.msg_len && config->session.last_will.msg) { - free(client->mqtt_state.connection.information.will_message); - client->mqtt_state.connection.information.will_message = malloc(config->session.last_will.msg_len); - ESP_MEM_CHECK(TAG, client->mqtt_state.connection.information.will_message, goto _mqtt_set_config_failed); - memcpy(client->mqtt_state.connection.information.will_message, config->session.last_will.msg, config->session.last_will.msg_len); - client->mqtt_state.connection.information.will_length = config->session.last_will.msg_len; - } else if (config->session.last_will.msg) { - free(client->mqtt_state.connection.information.will_message); - client->mqtt_state.connection.information.will_message = strdup(config->session.last_will.msg); - ESP_MEM_CHECK(TAG, client->mqtt_state.connection.information.will_message, goto _mqtt_set_config_failed); - client->mqtt_state.connection.information.will_length = strlen(config->session.last_will.msg); - } - if (config->session.last_will.qos) { - client->mqtt_state.connection.information.will_qos = config->session.last_will.qos; - } - if (config->session.last_will.retain) { - client->mqtt_state.connection.information.will_retain = config->session.last_will.retain; - } - - if (config->session.disable_clean_session == client->mqtt_state.connection.information.clean_session) { - client->mqtt_state.connection.information.clean_session = !config->session.disable_clean_session; - if (!client->mqtt_state.connection.information.clean_session && config->credentials.set_null_client_id) { - ESP_LOGE(TAG, "Clean Session flag must be true if client has a null id"); - } - } - if (config->session.keepalive) { - client->mqtt_state.connection.information.keepalive = config->session.keepalive; - } - if (client->mqtt_state.connection.information.keepalive == 0) { - client->mqtt_state.connection.information.keepalive = MQTT_KEEPALIVE_TICK; - } - if (config->session.disable_keepalive) { - // internal `keepalive` value (in connect_info) is in line with 3.1.2.10 Keep Alive from mqtt spec: - // * keepalive=0: Keep alive mechanism disabled (server not to disconnect the client on its inactivity) - // * period in seconds to send a Control packet if inactive - client->mqtt_state.connection.information.keepalive = 0; - } - - if (config->session.protocol_ver) { - client->mqtt_state.connection.information.protocol_ver = config->session.protocol_ver; - } - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_UNDEFINED) { -#ifdef MQTT_PROTOCOL_311 - client->mqtt_state.connection.information.protocol_ver = MQTT_PROTOCOL_V_3_1_1; -#else - client->mqtt_state.connection.information.protocol_ver = MQTT_PROTOCOL_V_3_1; -#endif - } else if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifndef MQTT_PROTOCOL_5 - ESP_LOGE(TAG, "Please first enable MQTT_PROTOCOL_5 feature in menuconfig"); - goto _mqtt_set_config_failed; -#endif - } - - client->config->network_timeout_ms = config->network.timeout_ms; - if (client->config->network_timeout_ms <= 0) { - client->config->network_timeout_ms = MQTT_NETWORK_TIMEOUT_MS; - } - - if (config->network.refresh_connection_after_ms) { - client->config->refresh_connection_after_ms = config->network.refresh_connection_after_ms; - } - - client->config->auto_reconnect = true; - if (config->network.disable_auto_reconnect == client->config->auto_reconnect) { - client->config->auto_reconnect = !config->network.disable_auto_reconnect; - } - - if (config->network.reconnect_timeout_ms) { - client->config->reconnect_timeout_ms = config->network.reconnect_timeout_ms; - } else { - client->config->reconnect_timeout_ms = MQTT_RECON_DEFAULT_MS; - } - - client->config->transport = config->network.transport; - - if (config->network.if_name) { - client->config->if_name = calloc(1, sizeof(struct ifreq) + 1); - ESP_MEM_CHECK(TAG, client->config->if_name, goto _mqtt_set_config_failed); - memcpy(client->config->if_name, config->network.if_name, sizeof(struct ifreq)); - } - - if (config->broker.verification.alpn_protos) { - for (int i = 0; i < client->config->num_alpn_protos; i++) { - free(client->config->alpn_protos[i]); - } - free(client->config->alpn_protos); - client->config->num_alpn_protos = 0; - - const char **p; - - for (p = config->broker.verification.alpn_protos; *p != NULL; p++ ) { - client->config->num_alpn_protos++; - } - // mbedTLS expects the list to be null-terminated - client->config->alpn_protos = calloc(client->config->num_alpn_protos + 1, sizeof(*config->broker.verification.alpn_protos)); - ESP_MEM_CHECK(TAG, client->config->alpn_protos, goto _mqtt_set_config_failed); - - for (int i = 0; i < client->config->num_alpn_protos; i++) { - client->config->alpn_protos[i] = strdup(config->broker.verification.alpn_protos[i]); - ESP_MEM_CHECK(TAG, client->config->alpn_protos[i], goto _mqtt_set_config_failed); - } - } - - // configure ssl related parameters - client->config->use_global_ca_store = config->broker.verification.use_global_ca_store; - client->config->cacert_buf = config->broker.verification.certificate; - client->config->cacert_bytes = config->broker.verification.certificate_len; - client->config->psk_hint_key = config->broker.verification.psk_hint_key; - client->config->crt_bundle_attach = config->broker.verification.crt_bundle_attach; - client->config->ciphersuites_list = config->broker.verification.ciphersuites_list; - client->config->clientcert_buf = config->credentials.authentication.certificate; - client->config->clientcert_bytes = config->credentials.authentication.certificate_len; - client->config->clientkey_buf = config->credentials.authentication.key; - client->config->clientkey_bytes = config->credentials.authentication.key_len; - client->config->skip_cert_common_name_check = config->broker.verification.skip_cert_common_name_check; - client->config->common_name = config->broker.verification.common_name; - client->config->use_secure_element = config->credentials.authentication.use_secure_element; - client->config->ds_data = config->credentials.authentication.ds_data; - client->config->use_ecdsa_peripheral = config->credentials.authentication.use_ecdsa_peripheral; - client->config->ecdsa_key_efuse_blk = config->credentials.authentication.ecdsa_key_efuse_blk; - - if (config->credentials.authentication.key_password && config->credentials.authentication.key_password_len) { - client->config->clientkey_password_len = config->credentials.authentication.key_password_len; - client->config->clientkey_password = malloc(client->config->clientkey_password_len); - ESP_MEM_CHECK(TAG, client->config->clientkey_password, goto _mqtt_set_config_failed); - memcpy(client->config->clientkey_password, config->credentials.authentication.key_password, client->config->clientkey_password_len); - } - - if (config->broker.address.transport) { - free(client->config->scheme); - client->config->scheme = NULL; - if (config->broker.address.transport == MQTT_TRANSPORT_OVER_TCP) { - client->config->scheme = create_string(MQTT_OVER_TCP_SCHEME, strlen(MQTT_OVER_TCP_SCHEME)); - ESP_MEM_CHECK(TAG, client->config->scheme, goto _mqtt_set_config_failed); - } -#if MQTT_ENABLE_WS - else if (config->broker.address.transport == MQTT_TRANSPORT_OVER_WS) { - client->config->scheme = create_string(MQTT_OVER_WS_SCHEME, strlen(MQTT_OVER_WS_SCHEME)); - ESP_MEM_CHECK(TAG, client->config->scheme, goto _mqtt_set_config_failed); - } -#endif -#if MQTT_ENABLE_SSL - else if (config->broker.address.transport == MQTT_TRANSPORT_OVER_SSL) { - client->config->scheme = create_string(MQTT_OVER_SSL_SCHEME, strlen(MQTT_OVER_SSL_SCHEME)); - ESP_MEM_CHECK(TAG, client->config->scheme, goto _mqtt_set_config_failed); - } -#endif -#if MQTT_ENABLE_WSS - else if (config->broker.address.transport == MQTT_TRANSPORT_OVER_WSS) { - client->config->scheme = create_string(MQTT_OVER_WSS_SCHEME, strlen(MQTT_OVER_WSS_SCHEME)); - ESP_MEM_CHECK(TAG, client->config->scheme, goto _mqtt_set_config_failed); - } -#endif - } - - // Set uri at the end of config to override separately configured uri elements - if (config->broker.address.uri) { - if (esp_mqtt_client_set_uri(client, client->config->uri) != ESP_OK) { - err = ESP_FAIL; - goto _mqtt_set_config_failed; - } - } - client->config->outbox_limit = config->outbox.limit; - esp_err_t config_has_conflict = esp_mqtt_check_cfg_conflict(client->config, config); - - MQTT_API_UNLOCK(client); - - return config_has_conflict; -_mqtt_set_config_failed: - esp_mqtt_destroy_config(client); - MQTT_API_UNLOCK(client); - return err; -} - -void esp_mqtt_destroy_config(esp_mqtt_client_handle_t client) -{ - if (client->config == NULL) { - return; - } - free(client->mqtt_state.in_buffer); - mqtt_msg_buffer_destroy(&client->mqtt_state.connection); - free(client->config->host); - free(client->config->uri); - free(client->config->path); - free(client->config->scheme); - for (int i = 0; i < client->config->num_alpn_protos; i++) { - free(client->config->alpn_protos[i]); - } - free(client->config->alpn_protos); - free(client->config->clientkey_password); - free(client->config->if_name); - free(client->mqtt_state.connection.information.will_topic); - free(client->mqtt_state.connection.information.will_message); - free(client->mqtt_state.connection.information.client_id); - free(client->mqtt_state.connection.information.username); - free(client->mqtt_state.connection.information.password); -#ifdef MQTT_PROTOCOL_5 - esp_mqtt5_client_destory(client); -#endif - memset(&client->mqtt_state.connection.information, 0, sizeof(mqtt_connect_info_t)); -#ifdef MQTT_SUPPORTED_FEATURE_EVENT_LOOP - if (client->config->event_loop_handle) { - esp_event_loop_delete(client->config->event_loop_handle); - } -#endif - esp_transport_destroy(client->config->transport); - memset(client->config, 0, sizeof(mqtt_config_storage_t)); - free(client->config); - client->config = NULL; -} - -static inline bool has_timed_out(uint64_t last_tick, uint64_t timeout) -{ - uint64_t next = last_tick + timeout; - return (int64_t)(next - platform_tick_get_ms()) <= 0; -} - -static esp_err_t process_keepalive(esp_mqtt_client_handle_t client) -{ - if (client->mqtt_state.connection.information.keepalive > 0) { - const uint64_t keepalive_ms = client->mqtt_state.connection.information.keepalive * 1000; - - if (client->wait_for_ping_resp == true ) { - if (has_timed_out(client->keepalive_tick, keepalive_ms)) { - ESP_LOGE(TAG, "No PING_RESP, disconnected"); - esp_mqtt_abort_connection(client); - client->wait_for_ping_resp = false; - return ESP_FAIL; - } - return ESP_OK; - } - - if (has_timed_out(client->keepalive_tick, keepalive_ms / 2)) { - if (esp_mqtt_client_ping(client) == ESP_FAIL) { - ESP_LOGE(TAG, "Can't send ping, disconnected"); - esp_mqtt_abort_connection(client); - return ESP_FAIL; - } - client->wait_for_ping_resp = true; - return ESP_OK; - } - } - return ESP_OK; -} - -static inline esp_err_t esp_mqtt_write(esp_mqtt_client_handle_t client) -{ - int wlen = 0, widx = 0, len = client->mqtt_state.connection.outbound_message.length; - while (len > 0) { - wlen = esp_transport_write(client->transport, - (char *)client->mqtt_state.connection.outbound_message.data + widx, - len, - client->config->network_timeout_ms); - if (wlen < 0) { - ESP_LOGE(TAG, "Writing failed: errno=%d", errno); - esp_mqtt_client_dispatch_transport_error(client); - return ESP_FAIL; - } - - if (wlen == 0) { - ESP_LOGE(TAG, "Writing didn't complete in specified timeout: errno=%d", errno); - return ESP_ERR_TIMEOUT; - } - widx += wlen; - len -= wlen; - } - return ESP_OK; -} - -static esp_err_t esp_mqtt_connect(esp_mqtt_client_handle_t client, int timeout_ms) -{ - int read_len, connect_rsp_code = 0; - client->wait_for_ping_resp = false; - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - mqtt5_msg_connect(&client->mqtt_state.connection, - &client->mqtt_state.connection.information, &client->mqtt5_config->connect_property_info, &client->mqtt5_config->will_property_info); -#endif - } else { - mqtt_msg_connect(&client->mqtt_state.connection, - &client->mqtt_state.connection.information); - } - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Connect message cannot be created"); - return ESP_FAIL; - } - - client->mqtt_state.pending_msg_type = mqtt_get_type(client->mqtt_state.connection.outbound_message.data); - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - client->mqtt_state.pending_msg_id = mqtt5_get_id(client->mqtt_state.connection.outbound_message.data, - client->mqtt_state.connection.outbound_message.length); -#endif - } else { - client->mqtt_state.pending_msg_id = mqtt_get_id(client->mqtt_state.connection.outbound_message.data, - client->mqtt_state.connection.outbound_message.length); - } - ESP_LOGD(TAG, "Sending MQTT CONNECT message, type: %d, id: %04X", - client->mqtt_state.pending_msg_type, - client->mqtt_state.pending_msg_id); - - if (esp_mqtt_write(client) != ESP_OK) { - return ESP_FAIL; - } - - client->mqtt_state.in_buffer_read_len = 0; - client->mqtt_state.message_length = 0; - - /* wait configured network timeout for broker connection response */ - uint64_t connack_recv_started = platform_tick_get_ms(); - do { - read_len = mqtt_message_receive(client, client->config->network_timeout_ms); - } while (read_len == 0 && platform_tick_get_ms() - connack_recv_started < client->config->network_timeout_ms); - - if (read_len <= 0) { - ESP_LOGE(TAG, "%s: mqtt_message_receive() returned %d", __func__, read_len); - return ESP_FAIL; - } - - if (mqtt_get_type(client->mqtt_state.in_buffer) != MQTT_MSG_TYPE_CONNACK) { - ESP_LOGE(TAG, "Invalid MSG_TYPE response: %d, read_len: %d", mqtt_get_type(client->mqtt_state.in_buffer), read_len); - return ESP_FAIL; - } - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - if (esp_mqtt5_parse_connack(client, &connect_rsp_code) == ESP_OK) { - client->send_publish_packet_count = 0; - return ESP_OK; - } -#endif - } else { - client->mqtt_state.in_buffer_read_len = 0; - connect_rsp_code = mqtt_get_connect_return_code(client->mqtt_state.in_buffer); - if (connect_rsp_code == MQTT_CONNECTION_ACCEPTED) { - ESP_LOGD(TAG, "Connected"); - return ESP_OK; - } - switch (connect_rsp_code) { - case MQTT_CONNECTION_REFUSE_PROTOCOL: - ESP_LOGW(TAG, "Connection refused, bad protocol"); - break; - case MQTT_CONNECTION_REFUSE_SERVER_UNAVAILABLE: - ESP_LOGW(TAG, "Connection refused, server unavailable"); - break; - case MQTT_CONNECTION_REFUSE_BAD_USERNAME: - ESP_LOGW(TAG, "Connection refused, bad username or password"); - break; - case MQTT_CONNECTION_REFUSE_NOT_AUTHORIZED: - ESP_LOGW(TAG, "Connection refused, not authorized"); - break; - default: - ESP_LOGW(TAG, "Connection refused, Unknow reason"); - break; - } - } - /* propagate event with connection refused error */ - client->event.event_id = MQTT_EVENT_ERROR; - client->event.error_handle->error_type = MQTT_ERROR_TYPE_CONNECTION_REFUSED; - client->event.error_handle->connect_return_code = connect_rsp_code; - client->event.error_handle->esp_tls_stack_err = 0; - client->event.error_handle->esp_tls_last_esp_err = 0; - client->event.error_handle->esp_tls_cert_verify_flags = 0; - esp_mqtt_dispatch_event_with_msgid(client); - - return ESP_FAIL; -} - -static void esp_mqtt_abort_connection(esp_mqtt_client_handle_t client) -{ - MQTT_API_LOCK(client); - esp_transport_close(client->transport); - client->wait_timeout_ms = client->config->reconnect_timeout_ms; - client->reconnect_tick = platform_tick_get_ms(); - client->state = MQTT_STATE_WAIT_RECONNECT; - ESP_LOGD(TAG, "Reconnect after %d ms", client->wait_timeout_ms); - client->event.event_id = MQTT_EVENT_DISCONNECTED; - client->wait_for_ping_resp = false; - esp_mqtt_dispatch_event_with_msgid(client); - MQTT_API_UNLOCK(client); -} - -static bool create_client_data(esp_mqtt_client_handle_t client) -{ - client->event.error_handle = calloc(1, sizeof(esp_mqtt_error_codes_t)); - ESP_MEM_CHECK(TAG, client->event.error_handle, return false) - - client->api_lock = xSemaphoreCreateRecursiveMutex(); - ESP_MEM_CHECK(TAG, client->api_lock, return false); - - client->outbox = outbox_init(); - ESP_MEM_CHECK(TAG, client->outbox, return false); - client->status_bits = xEventGroupCreate(); - ESP_MEM_CHECK(TAG, client->status_bits, return false); - - return true; -} - -esp_mqtt_client_handle_t esp_mqtt_client_init(const esp_mqtt_client_config_t *config) -{ - esp_mqtt_client_handle_t client = heap_caps_calloc(1, sizeof(struct esp_mqtt_client), -#if MQTT_EVENT_QUEUE_SIZE > 1 - // if supporting multiple queued events, we keep track of them - // using atomic variable, so need to make sure it won't get allocated in PSRAM - MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT); -#else - MALLOC_CAP_DEFAULT); -#endif - ESP_MEM_CHECK(TAG, client, return NULL); - if (!create_client_data(client)) { - goto _mqtt_init_failed; - } - - if (esp_mqtt_set_config(client, config) != ESP_OK) { - goto _mqtt_init_failed; - } -#ifdef MQTT_SUPPORTED_FEATURE_EVENT_LOOP - esp_event_loop_args_t no_task_loop = { - .queue_size = MQTT_EVENT_QUEUE_SIZE, - .task_name = NULL, - }; - esp_event_loop_create(&no_task_loop, &client->config->event_loop_handle); -#if MQTT_EVENT_QUEUE_SIZE > 1 - atomic_init(&client->queued_events, 0); -#endif -#endif - - client->keepalive_tick = platform_tick_get_ms(); - client->reconnect_tick = platform_tick_get_ms(); - client->refresh_connection_tick = platform_tick_get_ms(); - client->wait_for_ping_resp = false; -#ifdef MQTT_PROTOCOL_5 - if (esp_mqtt5_create_default_config(client) != ESP_OK) { - goto _mqtt_init_failed; - } -#endif - return client; -_mqtt_init_failed: - esp_mqtt_client_destroy(client); - return NULL; -} - -esp_err_t esp_mqtt_client_destroy(esp_mqtt_client_handle_t client) -{ - if (client == NULL) { - return ESP_ERR_INVALID_ARG; - } - if (client->run) { - esp_mqtt_client_stop(client); - } - esp_mqtt_destroy_config(client); - if (client->transport_list) { - esp_transport_list_destroy(client->transport_list); - } - if (client->outbox) { - outbox_destroy(client->outbox); - } - if (client->status_bits) { - vEventGroupDelete(client->status_bits); - } - if (client->api_lock) { - vSemaphoreDelete(client->api_lock); - } - free(client->event.error_handle); - free(client); - return ESP_OK; -} - -static char *create_string(const char *ptr, int len) -{ - char *ret; - if (len <= 0) { - return NULL; - } - ret = calloc(1, len + 1); - ESP_MEM_CHECK(TAG, ret, return NULL); - memcpy(ret, ptr, len); - return ret; -} - -esp_err_t esp_mqtt_client_set_uri(esp_mqtt_client_handle_t client, const char *uri) -{ - struct http_parser_url puri; - http_parser_url_init(&puri); - int parser_status = http_parser_parse_url(uri, strlen(uri), 0, &puri); - if (parser_status != 0) { - ESP_LOGE(TAG, "Error parse uri = %s", uri); - return ESP_FAIL; - } - - // This API could be also executed when client is active (need to protect config fields) - MQTT_API_LOCK(client); - // set uri overrides actual scheme, host, path if configured previously -// False-positive leak detection. TODO: GCC-366 -#pragma GCC diagnostic push // TODO: IDF-10105 -#if __clang__ -#pragma clang diagnostic ignored "-Wunknown-warning-option" -#else -#pragma GCC diagnostic ignored "-Wpragmas" -#endif -#pragma GCC diagnostic ignored "-Wanalyzer-malloc-leak" - free(client->config->scheme); - free(client->config->host); - free(client->config->path); - - client->config->scheme = create_string(uri + puri.field_data[UF_SCHEMA].off, puri.field_data[UF_SCHEMA].len); - client->config->host = create_string(uri + puri.field_data[UF_HOST].off, puri.field_data[UF_HOST].len); - client->config->path = NULL; -#pragma GCC diagnostic pop - - if (puri.field_data[UF_PATH].len || puri.field_data[UF_QUERY].len) { - int asprintf_ret_value; - if (puri.field_data[UF_QUERY].len == 0) { - asprintf_ret_value = asprintf(&client->config->path, - "%.*s", - puri.field_data[UF_PATH].len, uri + puri.field_data[UF_PATH].off); - } else if (puri.field_data[UF_PATH].len == 0) { - asprintf_ret_value = asprintf(&client->config->path, - "/?%.*s", - puri.field_data[UF_QUERY].len, uri + puri.field_data[UF_QUERY].off); - } else { - asprintf_ret_value = asprintf(&client->config->path, - "%.*s?%.*s", - puri.field_data[UF_PATH].len, uri + puri.field_data[UF_PATH].off, - puri.field_data[UF_QUERY].len, uri + puri.field_data[UF_QUERY].off); - } - - if (asprintf_ret_value == -1) { - ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Memory exhausted"); - MQTT_API_UNLOCK(client); - return ESP_ERR_NO_MEM; - } - } - - if (puri.field_data[UF_PORT].len) { - client->config->port = strtol((const char *)(uri + puri.field_data[UF_PORT].off), NULL, 10); - } - - char *user_info = create_string(uri + puri.field_data[UF_USERINFO].off, puri.field_data[UF_USERINFO].len); - if (user_info) { - char *pass = strchr(user_info, ':'); - if (pass) { - pass[0] = 0; //terminal username - pass ++; - client->mqtt_state.connection.information.password = strdup(pass); - } - client->mqtt_state.connection.information.username = strdup(user_info); - - free(user_info); - } - - MQTT_API_UNLOCK(client); - return ESP_OK; -} - - -static esp_err_t esp_mqtt_dispatch_event_with_msgid(esp_mqtt_client_handle_t client) -{ - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - client->event.msg_id = mqtt5_get_id(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_length); -#endif - } else { - client->event.msg_id = mqtt_get_id(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_length); - } - return esp_mqtt_dispatch_event(client); -} - -esp_err_t esp_mqtt_dispatch_custom_event(esp_mqtt_client_handle_t client, esp_mqtt_event_t *event) -{ - esp_err_t ret = esp_event_post_to(client->config->event_loop_handle, MQTT_EVENTS, MQTT_USER_EVENT, event, sizeof(*event), 0); -#if MQTT_EVENT_QUEUE_SIZE > 1 - if (ret == ESP_OK) { - atomic_fetch_add(&client->queued_events, 1); - } -#endif - return ret; -} - -static esp_err_t esp_mqtt_dispatch_event(esp_mqtt_client_handle_t client) -{ - client->event.client = client; - client->event.protocol_ver = client->mqtt_state.connection.information.protocol_ver; - esp_err_t ret = ESP_FAIL; - -#ifdef MQTT_SUPPORTED_FEATURE_EVENT_LOOP - esp_event_post_to(client->config->event_loop_handle, MQTT_EVENTS, client->event.event_id, &client->event, sizeof(client->event), portMAX_DELAY); - ret = esp_event_loop_run(client->config->event_loop_handle, 0); -#else - return ESP_FAIL; -#endif - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - esp_mqtt5_client_delete_user_property(client->event.property->user_property); - client->event.property->user_property = NULL; -#endif - } - return ret; -} - -static esp_err_t deliver_publish(esp_mqtt_client_handle_t client) -{ - uint8_t *msg_buf = client->mqtt_state.in_buffer; - size_t msg_read_len = client->mqtt_state.in_buffer_read_len; - size_t msg_total_len = client->mqtt_state.message_length; - size_t msg_topic_len = msg_read_len; - size_t msg_data_len = msg_read_len; - size_t msg_data_offset = 0; - size_t saved_msg_topic_len = 0; - char *saved_msg_topic = NULL; - char *msg_topic = NULL; - char *msg_data = NULL; - - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - if (esp_mqtt5_get_publish_data(client, msg_buf, msg_read_len, &msg_topic, &msg_topic_len, &msg_data, &msg_data_len) != ESP_OK) { - ESP_LOGE(TAG, "%s: esp_mqtt5_get_publish_data() failed", __func__); - return ESP_FAIL; - } -#endif - } else { - msg_topic = mqtt_get_publish_topic(msg_buf, &msg_topic_len); - if (msg_topic == NULL) { - ESP_LOGE(TAG, "%s: mqtt_get_publish_topic() failed", __func__); - return ESP_FAIL; - } - ESP_LOGD(TAG, "%s: msg_topic_len=%"NEWLIB_NANO_COMPAT_FORMAT, __func__, NEWLIB_NANO_COMPAT_CAST(msg_topic_len)); - - // get payload - msg_data = mqtt_get_publish_data(msg_buf, &msg_data_len); - if (msg_data_len > 0 && msg_data == NULL) { - ESP_LOGE(TAG, "%s: mqtt_get_publish_data() failed", __func__); - return ESP_FAIL; - } - } - - client->event.retain = mqtt_get_retain(msg_buf); - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - client->event.msg_id = mqtt5_get_id(msg_buf, msg_read_len); -#endif - } else { - client->event.msg_id = mqtt_get_id(msg_buf, msg_read_len); - } - client->event.qos = mqtt_get_qos(msg_buf); - client->event.dup = mqtt_get_dup(msg_buf); - client->event.total_data_len = msg_data_len + msg_total_len - msg_read_len; - - bool send_event = true; - while (send_event) { - ESP_LOGD(TAG, "Get data len= %"NEWLIB_NANO_COMPAT_FORMAT", topic len=%"NEWLIB_NANO_COMPAT_FORMAT", total_data: %d offset: %"NEWLIB_NANO_COMPAT_FORMAT, - NEWLIB_NANO_COMPAT_CAST(msg_data_len), NEWLIB_NANO_COMPAT_CAST(msg_topic_len), - client->event.total_data_len, NEWLIB_NANO_COMPAT_CAST(msg_data_offset)); - client->event.event_id = MQTT_EVENT_DATA; - client->event.data = msg_data_len > 0 ? msg_data : NULL; - client->event.data_len = msg_data_len; - client->event.current_data_offset = msg_data_offset; - client->event.topic = msg_topic; - client->event.topic_len = msg_topic_len; - esp_mqtt_dispatch_event(client); - send_event = false; - - if (msg_read_len < msg_total_len) { - send_event = true; - #ifdef CONFIG_MQTT_TOPIC_PRESENT_ALL_DATA_EVENTS - if (!saved_msg_topic) { - saved_msg_topic = strndup(msg_topic, msg_topic_len); - ESP_MEM_CHECK(TAG, saved_msg_topic, return ESP_ERR_NO_MEM); - saved_msg_topic_len = msg_topic_len; - } - #endif - size_t buf_len = client->mqtt_state.in_buffer_length; - - msg_data = (char *)client->mqtt_state.in_buffer; - msg_topic = saved_msg_topic; - msg_topic_len = saved_msg_topic_len; - msg_data_offset += msg_data_len; - int ret = esp_transport_read(client->transport, (char *)client->mqtt_state.in_buffer, - msg_total_len - msg_read_len > buf_len ? buf_len : msg_total_len - msg_read_len, - client->config->network_timeout_ms); - if (ret <= 0) { - return esp_mqtt_handle_transport_read_error(ret, client, false) == 0 ? ESP_OK : ESP_FAIL; - } - - msg_data_len = ret; - msg_read_len += msg_data_len; - } - } - free(saved_msg_topic); - return ESP_OK; -} - -static esp_err_t deliver_suback(esp_mqtt_client_handle_t client) -{ - uint8_t *msg_buf = client->mqtt_state.in_buffer; - size_t msg_data_len = client->mqtt_state.in_buffer_read_len; - char *msg_data = NULL; - - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - msg_data = mqtt5_get_suback_data(msg_buf, &msg_data_len, &client->event.property->user_property); -#else - // SUBACK Using MQTT5 received but MQTT5 is disabled, This is unlikely to happen. - return ESP_FAIL; -#endif - } else { - msg_data = mqtt_get_suback_data(msg_buf, &msg_data_len); - } - if (msg_data_len <= 0) { - ESP_LOGE(TAG, "Failed to acquire suback data"); - return ESP_FAIL; - } - client->event.error_handle->esp_tls_stack_err = 0; - client->event.error_handle->esp_tls_last_esp_err = 0; - client->event.error_handle->esp_tls_cert_verify_flags = 0; - client->event.error_handle->error_type = MQTT_ERROR_TYPE_NONE; - client->event.error_handle->connect_return_code = MQTT_CONNECTION_ACCEPTED; - // post data event - for (int topic = 0; topic < msg_data_len; ++topic) { - if ((uint8_t)msg_data[topic] >= 0x80) { - client->event.error_handle->error_type = MQTT_ERROR_TYPE_SUBSCRIBE_FAILED; - break; - } - } - client->event.data_len = msg_data_len; - client->event.total_data_len = msg_data_len; - client->event.event_id = MQTT_EVENT_SUBSCRIBED; - client->event.data = msg_data; - client->event.current_data_offset = 0; - esp_mqtt_dispatch_event_with_msgid(client); - - return ESP_OK; -} - -// Deletes the initial message in MQTT communication protocol -// Return false when message is not found, making the received counterpart invalid. -static bool remove_initiator_message(esp_mqtt_client_handle_t client, int msg_type, int msg_id) -{ - if (outbox_delete(client->outbox, msg_id, msg_type) == ESP_OK) { - ESP_LOGD(TAG, "Removed pending_id=%d", msg_id); - return true; - } - - ESP_LOGD(TAG, "Failed to remove pending_id=%d", msg_id); - return false; -} - -static outbox_item_handle_t mqtt_enqueue(esp_mqtt_client_handle_t client, uint8_t *remaining_data, int remaining_len) -{ - ESP_LOGD(TAG, "mqtt_enqueue id: %d, type=%d successful", - client->mqtt_state.pending_msg_id, client->mqtt_state.pending_msg_type); - outbox_message_t msg = { 0 }; - msg.data = client->mqtt_state.connection.outbound_message.data; - msg.len = client->mqtt_state.connection.outbound_message.length; - msg.msg_id = client->mqtt_state.pending_msg_id; - msg.msg_type = client->mqtt_state.pending_msg_type; - msg.msg_qos = client->mqtt_state.pending_publish_qos; - msg.remaining_data = remaining_data; - msg.remaining_len = remaining_len; - //Copy to queue buffer - return outbox_enqueue(client->outbox, &msg, platform_tick_get_ms()); -} - - -/* - * Returns: - * -2 in case of failure or EOF (clean connection closure) - * -1 timeout while in-the-middle of the messge - * 0 if no message has been received - * 1 if a message has been received and placed to client->mqtt_state: - * message length: client->mqtt_state.message_length - * message content: client->mqtt_state.in_buffer - * - */ -static int mqtt_message_receive(esp_mqtt_client_handle_t client, int read_poll_timeout_ms) -{ - int read_len, total_len, fixed_header_len; - uint8_t *buf = client->mqtt_state.in_buffer + client->mqtt_state.in_buffer_read_len; - esp_transport_handle_t t = client->transport; - - client->mqtt_state.message_length = 0; - if (client->mqtt_state.in_buffer_read_len == 0) { - /* - * Read first byte of the mqtt packet fixed header, it contains packet - * type and flags. - */ - read_len = esp_transport_read(t, (char *)buf, 1, read_poll_timeout_ms); - if (read_len <= 0) { - return esp_mqtt_handle_transport_read_error(read_len, client, false); - } - ESP_LOGD(TAG, "%s: first byte: 0x%x", __func__, *buf); - /* - * Verify the flags and act according to MQTT protocol: close connection - * if the flags are set incorrectly. - */ - if (!mqtt_has_valid_msg_hdr(buf, read_len)) { - ESP_LOGE(TAG, "%s: received a message with an invalid header=0x%x", __func__, *buf); - goto err; - } - buf++; - client->mqtt_state.in_buffer_read_len++; - } - if ((client->mqtt_state.in_buffer_read_len == 1) || - ((client->mqtt_state.in_buffer_read_len < 6) && (*(buf - 1) & 0x80))) { - do { - /* - * Read the "remaining length" part of mqtt packet fixed header. It - * starts at second byte and spans up to 4 bytes, but we accept here - * only up to 2 bytes of remaining length, i.e. messages with - * maximal remaining length value = 16383 (maximal total message - * size of 16386 bytes). - */ - read_len = esp_transport_read(t, (char *)buf, 1, read_poll_timeout_ms); - if (read_len <= 0) { - return esp_mqtt_handle_transport_read_error(read_len, client, true); - } - ESP_LOGD(TAG, "%s: read \"remaining length\" byte: 0x%x", __func__, *buf); - buf++; - client->mqtt_state.in_buffer_read_len++; - } while ((client->mqtt_state.in_buffer_read_len < 6) && (*(buf - 1) & 0x80)); - } - total_len = mqtt_get_total_length(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len, &fixed_header_len); - ESP_LOGD(TAG, "%s: total message length: %d (already read: %"NEWLIB_NANO_COMPAT_FORMAT")", __func__, total_len, NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.in_buffer_read_len)); - client->mqtt_state.message_length = total_len; - if (client->mqtt_state.in_buffer_length < total_len) { - if (mqtt_get_type(client->mqtt_state.in_buffer) == MQTT_MSG_TYPE_PUBLISH) { - /* - * In case larger publish messages, we only need to read full topic, data can be split to multiple data event. - * Evaluate and correct total_len to read only publish message header, so data can be read separately - */ - if (client->mqtt_state.in_buffer_read_len < fixed_header_len + 2) { - /* read next 2 bytes - topic length to get minimum portion of publish packet */ - read_len = esp_transport_read(t, (char *)buf, client->mqtt_state.in_buffer_read_len - fixed_header_len + 2, read_poll_timeout_ms); - ESP_LOGD(TAG, "%s: read_len=%d", __func__, read_len); - if (read_len <= 0) { - return esp_mqtt_handle_transport_read_error(read_len, client, true); - } - client->mqtt_state.in_buffer_read_len += read_len; - buf += read_len; - if (client->mqtt_state.in_buffer_read_len < fixed_header_len + 2) { - ESP_LOGD(TAG, "%s: transport_read(): message reading left in progress :: total message length: %d (already read: %"NEWLIB_NANO_COMPAT_FORMAT")", - __func__, total_len, NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.in_buffer_read_len)); - return 0; - } - } - int topic_len = client->mqtt_state.in_buffer[fixed_header_len] << 8; - topic_len |= client->mqtt_state.in_buffer[fixed_header_len + 1]; - total_len = fixed_header_len + topic_len + (mqtt_get_qos(client->mqtt_state.in_buffer) > 0 ? 2 : 0); - ESP_LOGD(TAG, "%s: total len modified to %d as message longer than input buffer", __func__, total_len); - if (client->mqtt_state.in_buffer_length < total_len) { - ESP_LOGE(TAG, "%s: message is too big, insufficient buffer size", __func__); - goto err; - } else { - total_len = client->mqtt_state.in_buffer_length; - } - /* free to continue with reading */ - } else { - ESP_LOGE(TAG, "%s: message is too big, insufficient buffer size", __func__); - goto err; - } - } - if (client->mqtt_state.in_buffer_read_len < total_len) { - /* read the rest of the mqtt message */ - read_len = esp_transport_read(t, (char *)buf, total_len - client->mqtt_state.in_buffer_read_len, read_poll_timeout_ms); - ESP_LOGD(TAG, "%s: read_len=%d", __func__, read_len); - if (read_len <= 0) { - return esp_mqtt_handle_transport_read_error(read_len, client, true); - } - client->mqtt_state.in_buffer_read_len += read_len; - if (client->mqtt_state.in_buffer_read_len < total_len) { - ESP_LOGD(TAG, "%s: transport_read(): message reading left in progress :: total message length: %d (already read: %"NEWLIB_NANO_COMPAT_FORMAT")", - __func__, total_len, NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.in_buffer_read_len)); - return 0; - } - } - ESP_LOGV(TAG, "%s: transport_read():%"NEWLIB_NANO_COMPAT_FORMAT" %"NEWLIB_NANO_COMPAT_FORMAT, __func__, - NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.in_buffer_read_len), NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.message_length)); - return 1; -err: - esp_mqtt_client_dispatch_transport_error(client); - return -2; -} - -static esp_err_t mqtt_process_receive(esp_mqtt_client_handle_t client) -{ - uint8_t msg_type = 0, msg_qos = 0; - uint16_t msg_id = 0; - size_t previous_in_buffer_read_len = client->mqtt_state.in_buffer_read_len; - - /* non-blocking receive in order not to block other tasks */ - int recv = mqtt_message_receive(client, 0); - if (recv == 0) { // Timeout - return ESP_OK; - } - if (recv == -1) { // Mid-message timeout - if (previous_in_buffer_read_len == client->mqtt_state.in_buffer_read_len) { - // Report error only if didn't receive anything since previous iteration - ESP_LOGE(TAG, "%s: Network timeout while reading MQTT message", __func__); - return ESP_FAIL; - } - return ESP_OK; // Treat as standard timeout (keep reading the message) - } - if (recv < 0) { // Other error - ESP_LOGE(TAG, "%s: mqtt_message_receive() returned %d", __func__, recv); - return ESP_FAIL; - } - int read_len = client->mqtt_state.message_length; - - // If the message was valid, get the type, quality of service and id of the message - msg_type = mqtt_get_type(client->mqtt_state.in_buffer); - msg_qos = mqtt_get_qos(client->mqtt_state.in_buffer); - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - msg_id = mqtt5_get_id(client->mqtt_state.in_buffer, read_len); -#endif - } else { - msg_id = mqtt_get_id(client->mqtt_state.in_buffer, read_len); - } - - ESP_LOGD(TAG, "msg_type=%d, msg_id=%d", msg_type, msg_id); - - switch (msg_type) { - case MQTT_MSG_TYPE_SUBACK: - if (remove_initiator_message(client, MQTT_MSG_TYPE_SUBSCRIBE, msg_id)) { -#ifdef MQTT_PROTOCOL_5 - esp_mqtt5_parse_suback(client); -#endif - ESP_LOGD(TAG, "deliver_suback, message_length_read=%"NEWLIB_NANO_COMPAT_FORMAT", message_length=%"NEWLIB_NANO_COMPAT_FORMAT, - NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.in_buffer_read_len), NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.message_length)); - if (deliver_suback(client) != ESP_OK) { - ESP_LOGE(TAG, "Failed to deliver suback message id=%d", msg_id); - return ESP_FAIL; - } - } - break; - case MQTT_MSG_TYPE_UNSUBACK: - if (remove_initiator_message(client, MQTT_MSG_TYPE_UNSUBSCRIBE, msg_id)) { -#ifdef MQTT_PROTOCOL_5 - esp_mqtt5_parse_unsuback(client); -#endif - ESP_LOGD(TAG, "UnSubscribe successful"); - client->event.event_id = MQTT_EVENT_UNSUBSCRIBED; - esp_mqtt_dispatch_event_with_msgid(client); - } - break; - case MQTT_MSG_TYPE_PUBLISH: - ESP_LOGD(TAG, "deliver_publish, message_length_read=%"NEWLIB_NANO_COMPAT_FORMAT", message_length=%"NEWLIB_NANO_COMPAT_FORMAT, NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.in_buffer_read_len), NEWLIB_NANO_COMPAT_CAST(client->mqtt_state.message_length)); - if (deliver_publish(client) != ESP_OK) { - ESP_LOGE(TAG, "Failed to deliver publish message id=%d", msg_id); - return ESP_FAIL; - } - if (msg_qos == 1 || msg_qos == 2) { - if (msg_qos == 1) { - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - mqtt5_msg_puback(&client->mqtt_state.connection, msg_id); -#endif - } else { - mqtt_msg_puback(&client->mqtt_state.connection, msg_id); - } - } else if (msg_qos == 2) { - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - mqtt5_msg_pubrec(&client->mqtt_state.connection, msg_id); -#endif - } else { - mqtt_msg_pubrec(&client->mqtt_state.connection, msg_id); - } - } - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Publish response message PUBACK or PUBREC cannot be created"); - return ESP_FAIL; - } - - ESP_LOGD(TAG, "Queue response QoS: %d", msg_qos); - - if (esp_mqtt_write(client) != ESP_OK) { - ESP_LOGE(TAG, "Error write qos msg repsonse, qos = %d", msg_qos); - return ESP_FAIL; - } - } - break; - case MQTT_MSG_TYPE_PUBACK: -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - esp_mqtt5_decrement_packet_counter(client); - } -#endif - if (remove_initiator_message(client, MQTT_MSG_TYPE_PUBLISH, msg_id)) { - ESP_LOGD(TAG, "received MQTT_MSG_TYPE_PUBACK, finish QoS1 publish"); -#ifdef MQTT_PROTOCOL_5 - esp_mqtt5_parse_puback(client); -#endif - client->event.event_id = MQTT_EVENT_PUBLISHED; - esp_mqtt_dispatch_event_with_msgid(client); - } - break; - case MQTT_MSG_TYPE_PUBREC: - ESP_LOGD(TAG, "received MQTT_MSG_TYPE_PUBREC"); - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - ESP_LOGI(TAG, "MQTT_MSG_TYPE_PUBREC return code is %d", mqtt5_msg_get_reason_code(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len)); - mqtt5_msg_pubrel(&client->mqtt_state.connection, msg_id); -#endif - } else { - mqtt_msg_pubrel(&client->mqtt_state.connection, msg_id); - } - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Publish response message PUBREL cannot be created"); - return ESP_FAIL; - } - - outbox_set_pending(client->outbox, msg_id, ACKNOWLEDGED); - esp_mqtt_write(client); - break; - case MQTT_MSG_TYPE_PUBREL: - ESP_LOGD(TAG, "received MQTT_MSG_TYPE_PUBREL"); - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - ESP_LOGI(TAG, "MQTT_MSG_TYPE_PUBREL return code is %d", mqtt5_msg_get_reason_code(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len)); - mqtt5_msg_pubcomp(&client->mqtt_state.connection, msg_id); -#endif - } else { - mqtt_msg_pubcomp(&client->mqtt_state.connection, msg_id); - } - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Publish response message PUBCOMP cannot be created"); - return ESP_FAIL; - } - - esp_mqtt_write(client); - break; - case MQTT_MSG_TYPE_PUBCOMP: - ESP_LOGD(TAG, "received MQTT_MSG_TYPE_PUBCOMP"); -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - esp_mqtt5_decrement_packet_counter(client); - } -#endif - if (remove_initiator_message(client, MQTT_MSG_TYPE_PUBLISH, msg_id)) { - ESP_LOGD(TAG, "Receive MQTT_MSG_TYPE_PUBCOMP, finish QoS2 publish"); -#ifdef MQTT_PROTOCOL_5 - esp_mqtt5_parse_pubcomp(client); -#endif - client->event.event_id = MQTT_EVENT_PUBLISHED; - esp_mqtt_dispatch_event_with_msgid(client); - } - break; - case MQTT_MSG_TYPE_PINGRESP: - ESP_LOGD(TAG, "MQTT_MSG_TYPE_PINGRESP"); - client->wait_for_ping_resp = false; - /* It is the responsibility of the Client to ensure that the interval between Control Packets - * being sent does not exceed the Keep Alive value. In the absence of sending any other Control - * Packets, the Client MUST send a PINGREQ Packet [MQTT-3.1.2-23]. - * [MQTT-3.1.2-23] - */ - client->keepalive_tick = platform_tick_get_ms(); - break; - case MQTT_MSG_TYPE_DISCONNECT: - ESP_LOGD(TAG, "MQTT_MSG_TYPE_DISCONNECT"); -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - int disconnect_rsp_code; - esp_mqtt5_parse_disconnect(client, &disconnect_rsp_code); - client->event.event_id = MQTT_EVENT_DISCONNECTED; - client->event.error_handle->disconnect_return_code = disconnect_rsp_code; - esp_mqtt_dispatch_event_with_msgid(client); - } -#endif - break; - } - - client->mqtt_state.in_buffer_read_len = 0; - return ESP_OK; -} - -static esp_err_t mqtt_resend_queued(esp_mqtt_client_handle_t client, outbox_item_handle_t item) -{ - // decode queued data - client->mqtt_state.connection.outbound_message.data = outbox_item_get_data(item, &client->mqtt_state.connection.outbound_message.length, &client->mqtt_state.pending_msg_id, - &client->mqtt_state.pending_msg_type, &client->mqtt_state.pending_publish_qos); - // set duplicate flag for QoS-1 and QoS-2 messages - if (client->mqtt_state.pending_msg_type == MQTT_MSG_TYPE_PUBLISH && client->mqtt_state.pending_publish_qos > 0 && (outbox_item_get_pending(item) == TRANSMITTED)) { - mqtt_set_dup(client->mqtt_state.connection.outbound_message.data); - ESP_LOGD(TAG, "Sending Duplicated QoS%d message with id=%d", client->mqtt_state.pending_publish_qos, client->mqtt_state.pending_msg_id); - } - - // try to resend the data - if (esp_mqtt_write(client) != ESP_OK) { - ESP_LOGE(TAG, "Error to resend data "); - esp_mqtt_abort_connection(client); - return ESP_FAIL; - } - - return ESP_OK; -} - -static esp_err_t mqtt_resend_pubrel(esp_mqtt_client_handle_t client, outbox_item_handle_t item) -{ - client->mqtt_state.connection.outbound_message.data = outbox_item_get_data(item, &client->mqtt_state.connection.outbound_message.length, &client->mqtt_state.pending_msg_id, - &client->mqtt_state.pending_msg_type, &client->mqtt_state.pending_publish_qos); - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - ESP_LOGI(TAG, "MQTT_MSG_TYPE_PUBREC return code is %d", mqtt5_msg_get_reason_code(client->mqtt_state.in_buffer, client->mqtt_state.in_buffer_read_len)); - mqtt5_msg_pubrel(&client->mqtt_state.connection, client->mqtt_state.pending_msg_id); -#endif - } else { - mqtt_msg_pubrel(&client->mqtt_state.connection, client->mqtt_state.pending_msg_id); - } - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Publish response message PUBREL cannot be created"); - return ESP_FAIL; - } - - if (esp_mqtt_write(client) != ESP_OK) { - ESP_LOGE(TAG, "Error to resend data "); - esp_mqtt_abort_connection(client); - return ESP_FAIL; - } - - return ESP_OK; -} - -static void mqtt_delete_expired_messages(esp_mqtt_client_handle_t client) -{ - // Delete message after OUTBOX_EXPIRED_TIMEOUT_MS milliseconds -#if MQTT_REPORT_DELETED_MESSAGES - // also report the deleted items as MQTT_EVENT_DELETED events if enabled - int msg_id = 0; - while ((msg_id = outbox_delete_single_expired(client->outbox, platform_tick_get_ms(), OUTBOX_EXPIRED_TIMEOUT_MS)) >= 0) { - client->event.event_id = MQTT_EVENT_DELETED; - client->event.msg_id = msg_id; - if (esp_mqtt_dispatch_event(client) != ESP_OK) { - ESP_LOGE(TAG, "Failed to post event on deleting message id=%d", msg_id); - } - } -#else - outbox_delete_expired(client->outbox, platform_tick_get_ms(), OUTBOX_EXPIRED_TIMEOUT_MS); -#endif -} - -/** - * @brief When using multiple queued item, we'd like to reduce the poll timeout to proceed with event loop exacution - */ -static inline int max_poll_timeout(esp_mqtt_client_handle_t client, int max_timeout) -{ - return -#if MQTT_EVENT_QUEUE_SIZE > 1 - atomic_load(&client->queued_events) > 0 ? 10 : max_timeout; -#else - max_timeout; -#endif -} - -static inline void run_event_loop(esp_mqtt_client_handle_t client) -{ -#if MQTT_EVENT_QUEUE_SIZE > 1 - if (atomic_load(&client->queued_events) > 0) { - atomic_fetch_sub(&client->queued_events, 1); -#else - { -#endif - esp_err_t ret = esp_event_loop_run(client->config->event_loop_handle, 0); - if (ret != ESP_OK) { - ESP_LOGE(TAG, "Error in running event_loop %d", ret); - } - } -} - -static void esp_mqtt_task(void *pv) -{ - esp_mqtt_client_handle_t client = (esp_mqtt_client_handle_t) pv; - uint64_t last_retransmit = 0; - outbox_tick_t msg_tick = 0; - client->run = true; - - client->state = MQTT_STATE_INIT; - xEventGroupClearBits(client->status_bits, STOPPED_BIT); - while (client->run) { - MQTT_API_LOCK(client); - run_event_loop(client); - // delete long pending messages - mqtt_delete_expired_messages(client); - mqtt_client_state_t state = client->state; - switch (state) { - case MQTT_STATE_DISCONNECTED: - break; - case MQTT_STATE_INIT: - xEventGroupClearBits(client->status_bits, RECONNECT_BIT | DISCONNECT_BIT); - - client->transport = client->config->transport; - if (!client->transport) { - - if (esp_mqtt_client_create_transport(client) != ESP_OK) { - ESP_LOGE(TAG, "Failed to create transport list"); - client->run = false; - break; - } - //get transport by scheme - client->transport = esp_transport_list_get_transport(client->transport_list, client->config->scheme); - - if (client->transport == NULL) { - ESP_LOGE(TAG, "There are no transports valid, stop mqtt client, config scheme = %s", client->config->scheme); - client->run = false; - break; - } - } - //default port - if (client->config->port == 0) { - client->config->port = esp_transport_get_default_port(client->transport); - } - -#if MQTT_ENABLE_SSL - esp_mqtt_set_ssl_transport_properties(client->transport_list, client->config); -#endif - - if(client->config->tcp_keep_alive_cfg.keep_alive_enable) { - esp_transport_tcp_set_keep_alive(client->transport, &client->config->tcp_keep_alive_cfg); - } - - client->event.event_id = MQTT_EVENT_BEFORE_CONNECT; - esp_mqtt_dispatch_event_with_msgid(client); - - if (esp_transport_connect(client->transport, - client->config->host, - client->config->port, - client->config->network_timeout_ms) < 0) { - ESP_LOGE(TAG, "Error transport connect"); - esp_mqtt_client_dispatch_transport_error(client); - esp_mqtt_abort_connection(client); - break; - } - ESP_LOGD(TAG, "Transport connected to %s://%s:%d", client->config->scheme, client->config->host, client->config->port); - if (esp_mqtt_connect(client, client->config->network_timeout_ms) != ESP_OK) { - ESP_LOGE(TAG, "MQTT connect failed"); - esp_mqtt_abort_connection(client); - break; - } - client->event.event_id = MQTT_EVENT_CONNECTED; - if (client->mqtt_state.connection.information.protocol_ver != MQTT_PROTOCOL_V_5) { - client->event.session_present = mqtt_get_connect_session_present(client->mqtt_state.in_buffer); - } - client->state = MQTT_STATE_CONNECTED; - esp_mqtt_dispatch_event_with_msgid(client); - client->refresh_connection_tick = platform_tick_get_ms(); - client->keepalive_tick = platform_tick_get_ms(); - - break; - case MQTT_STATE_CONNECTED: - // check for disconnection request - if (xEventGroupWaitBits(client->status_bits, DISCONNECT_BIT, true, true, 0) & DISCONNECT_BIT) { - send_disconnect_msg(client); // ignore error, if clean disconnect fails, just abort the connection - esp_mqtt_abort_connection(client); - break; - } - // receive and process data - if (mqtt_process_receive(client) == ESP_FAIL) { - esp_mqtt_abort_connection(client); - break; - } - - if (last_retransmit == 0) { - // connected for first time, set last_retransmit to now, avoid retransmit - last_retransmit = platform_tick_get_ms(); - } - - - // resend all non-transmitted messages first - outbox_item_handle_t item = outbox_dequeue(client->outbox, QUEUED, NULL); - if (item) { - if (mqtt_resend_queued(client, item) == ESP_OK) { - if (client->mqtt_state.pending_msg_type == MQTT_MSG_TYPE_PUBLISH && client->mqtt_state.pending_publish_qos == 0) { - // delete all qos0 publish messages once we process them - if (outbox_delete_item(client->outbox, item) != ESP_OK) { - ESP_LOGE(TAG, "Failed to remove queued qos0 message from the outbox"); - } - } - if (client->mqtt_state.pending_publish_qos > 0) { - outbox_set_pending(client->outbox, client->mqtt_state.pending_msg_id, TRANSMITTED); -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - esp_mqtt5_increment_packet_counter(client); - } -#endif - } - } - // resend other "transmitted" messages after 1s - } else if (has_timed_out(last_retransmit, client->config->message_retransmit_timeout)) { - last_retransmit = platform_tick_get_ms(); - item = outbox_dequeue(client->outbox, TRANSMITTED, &msg_tick); - if (item && (last_retransmit - msg_tick > client->config->message_retransmit_timeout)) { - if (mqtt_resend_queued(client, item) == ESP_OK) { -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - esp_mqtt5_increment_packet_counter(client); - } -#endif - } - } - item = outbox_dequeue(client->outbox, ACKNOWLEDGED, &msg_tick); - if (item && (last_retransmit - msg_tick > client->config->message_retransmit_timeout)) { - if (mqtt_resend_pubrel(client, item) == ESP_OK) { -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - esp_mqtt5_increment_packet_counter(client); - } -#endif - } - } - } - - if (process_keepalive(client) != ESP_OK) { - break; - } - - if (client->config->refresh_connection_after_ms && - has_timed_out(client->refresh_connection_tick, client->config->refresh_connection_after_ms)) { - ESP_LOGD(TAG, "Refreshing the connection..."); - esp_mqtt_abort_connection(client); - client->state = MQTT_STATE_INIT; - } - - break; - case MQTT_STATE_WAIT_RECONNECT: - - if (!client->config->auto_reconnect && xEventGroupGetBits(client->status_bits)&RECONNECT_BIT) { - xEventGroupClearBits(client->status_bits, RECONNECT_BIT); - client->state = MQTT_STATE_INIT; - client->wait_timeout_ms = MQTT_RECON_DEFAULT_MS; - ESP_LOGD(TAG, "Reconnecting per user request..."); - break; - } else if (client->config->auto_reconnect && - platform_tick_get_ms() - client->reconnect_tick > client->wait_timeout_ms) { - client->state = MQTT_STATE_INIT; - client->reconnect_tick = platform_tick_get_ms(); - ESP_LOGD(TAG, "Reconnecting..."); - break; - } - MQTT_API_UNLOCK(client); - xEventGroupWaitBits(client->status_bits, RECONNECT_BIT, false, true, - max_poll_timeout(client, client->wait_timeout_ms / 2 / portTICK_PERIOD_MS)); - // continue the while loop instead of break, as the mutex is unlocked - continue; - default: - ESP_LOGE(TAG, "MQTT client error, client is in an unrecoverable state."); - break; - } - MQTT_API_UNLOCK(client); - if (MQTT_STATE_CONNECTED == client->state) { - if (esp_transport_poll_read(client->transport, max_poll_timeout(client, MQTT_POLL_READ_TIMEOUT_MS)) < 0) { - ESP_LOGE(TAG, "Poll read error: %d, aborting connection", errno); - esp_mqtt_abort_connection(client); - } - } - - } - esp_transport_close(client->transport); - outbox_delete_all_items(client->outbox); - client->state = MQTT_STATE_DISCONNECTED; - xEventGroupSetBits(client->status_bits, STOPPED_BIT); - - vTaskDelete(NULL); -} - -esp_err_t esp_mqtt_client_start(esp_mqtt_client_handle_t client) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - MQTT_API_LOCK(client); - if (client->state != MQTT_STATE_INIT && client->state != MQTT_STATE_DISCONNECTED) { - ESP_LOGE(TAG, "Client has started"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } - esp_err_t err = ESP_OK; -#if MQTT_CORE_SELECTION_ENABLED - ESP_LOGD(TAG, "Core selection enabled on %u", MQTT_TASK_CORE); - if (xTaskCreatePinnedToCore(esp_mqtt_task, "mqtt_task", client->config->task_stack, client, client->config->task_prio, &client->task_handle, MQTT_TASK_CORE) != pdTRUE) { - ESP_LOGE(TAG, "Error create mqtt task"); - err = ESP_FAIL; - } -#else - ESP_LOGD(TAG, "Core selection disabled"); - if (xTaskCreate(esp_mqtt_task, "mqtt_task", client->config->task_stack, client, client->config->task_prio, &client->task_handle) != pdTRUE) { - ESP_LOGE(TAG, "Error create mqtt task"); - err = ESP_FAIL; - } -#endif - MQTT_API_UNLOCK(client); - return err; -} - -esp_err_t esp_mqtt_client_disconnect(esp_mqtt_client_handle_t client) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - ESP_LOGI(TAG, "Client asked to disconnect"); - xEventGroupSetBits(client->status_bits, DISCONNECT_BIT); - return ESP_OK; -} - -esp_err_t esp_mqtt_client_reconnect(esp_mqtt_client_handle_t client) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - ESP_LOGI(TAG, "Client force reconnect requested"); - if (client->state != MQTT_STATE_WAIT_RECONNECT) { - ESP_LOGD(TAG, "The client is not waiting for reconnection. Ignore the request"); - return ESP_FAIL; - } - client->wait_timeout_ms = 0; - xEventGroupSetBits(client->status_bits, RECONNECT_BIT); - return ESP_OK; -} - -static esp_err_t send_disconnect_msg(esp_mqtt_client_handle_t client) -{ - // Notify the broker we are disconnecting - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - mqtt5_msg_disconnect(&client->mqtt_state.connection, &client->mqtt5_config->disconnect_property_info); - if (client->mqtt_state.connection.outbound_message.length) { - esp_mqtt5_client_delete_user_property(client->mqtt5_config->disconnect_property_info.user_property); - client->mqtt5_config->disconnect_property_info.user_property = NULL; - memset(&client->mqtt5_config->disconnect_property_info, 0, sizeof(esp_mqtt5_disconnect_property_config_t)); - } -#endif - } else { - mqtt_msg_disconnect(&client->mqtt_state.connection); - } - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Disconnect message cannot be created"); - return ESP_FAIL; - } - if (esp_mqtt_write(client) != ESP_OK) { - ESP_LOGE(TAG, "Error sending disconnect message"); - } - return ESP_OK; -} - -esp_err_t esp_mqtt_client_stop(esp_mqtt_client_handle_t client) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return ESP_ERR_INVALID_ARG; - } - MQTT_API_LOCK(client); - if (client->run) { - /* A running client cannot be stopped from the MQTT task/event handler */ - TaskHandle_t running_task = xTaskGetCurrentTaskHandle(); - if (running_task == client->task_handle) { - MQTT_API_UNLOCK(client); - ESP_LOGE(TAG, "Client cannot be stopped from MQTT task"); - return ESP_FAIL; - } - - // Only send the disconnect message if the client is connected - if (client->state == MQTT_STATE_CONNECTED) { - send_disconnect_msg(client); - } - - client->run = false; - client->state = MQTT_STATE_DISCONNECTED; - MQTT_API_UNLOCK(client); - xEventGroupWaitBits(client->status_bits, STOPPED_BIT, false, true, portMAX_DELAY); - return ESP_OK; - } else { - ESP_LOGW(TAG, "Client asked to stop, but was not started"); - MQTT_API_UNLOCK(client); - return ESP_FAIL; - } -} - -static esp_err_t esp_mqtt_client_ping(esp_mqtt_client_handle_t client) -{ - mqtt_msg_pingreq(&client->mqtt_state.connection); - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Ping message cannot be created"); - return ESP_FAIL; - } - - if (esp_mqtt_write(client) != ESP_OK) { - ESP_LOGE(TAG, "Error sending ping"); - return ESP_FAIL; - } - ESP_LOGD(TAG, "Sent PING successful"); - return ESP_OK; -} - -int esp_mqtt_client_subscribe_multiple(esp_mqtt_client_handle_t client, - const esp_mqtt_topic_t *topic_list, int size) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return -1; - } - - if (client->config->outbox_limit > 0 && outbox_get_size(client->outbox) > client->config->outbox_limit) { - return -2; - } - - if (client->state != MQTT_STATE_CONNECTED) { - ESP_LOGE(TAG, "Client has not connected"); - return -1; - } - - MQTT_API_LOCK(client); - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - int max_qos = topic_list[0].qos; - for (int topic_number = 0; topic_number < size; ++topic_number) { - if (topic_list[topic_number].qos > max_qos) { - max_qos = topic_list[topic_number].qos; - } - } - if (esp_mqtt5_client_subscribe_check(client, max_qos) != ESP_OK) { - ESP_LOGI(TAG, "MQTT5 subscribe check fail: QoS %d not accepted by broker ", max_qos); - MQTT_API_UNLOCK(client); - return -1; - } - mqtt5_msg_subscribe(&client->mqtt_state.connection, - topic_list, size, - &client->mqtt_state.pending_msg_id, client->mqtt5_config->subscribe_property_info); - if (client->mqtt_state.connection.outbound_message.length) { - client->mqtt5_config->subscribe_property_info = NULL; - } -#endif - } else { - mqtt_msg_subscribe(&client->mqtt_state.connection, - topic_list, size, - &client->mqtt_state.pending_msg_id); - } - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Subscribe message cannot be created"); - MQTT_API_UNLOCK(client); - return -1; - } - - client->mqtt_state.pending_msg_type = mqtt_get_type(client->mqtt_state.connection.outbound_message.data); - //move pending msg to outbox (if have) - if (!mqtt_enqueue(client, NULL, 0)) { - MQTT_API_UNLOCK(client); - return -1; - } - outbox_set_pending(client->outbox, client->mqtt_state.pending_msg_id, TRANSMITTED);// handle error - - if (esp_mqtt_write(client) != ESP_OK) { - ESP_LOGE(TAG, "Error to send subscribe message, first topic: %s, qos: %d", topic_list[0].filter, topic_list[0].qos); - MQTT_API_UNLOCK(client); - return -1; - } - - ESP_LOGD(TAG, "Sent subscribe, first topic=%s, id: %d", topic_list[0].filter, client->mqtt_state.pending_msg_id); - - int pending_msg_id = client->mqtt_state.pending_msg_id; - MQTT_API_UNLOCK(client); - return pending_msg_id; - -} -int esp_mqtt_client_subscribe_single(esp_mqtt_client_handle_t client, const char *topic, int qos) -{ - esp_mqtt_topic_t user_topic = {.filter = topic, .qos = qos}; - return esp_mqtt_client_subscribe_multiple(client, &user_topic, 1); -} - -int esp_mqtt_client_unsubscribe(esp_mqtt_client_handle_t client, const char *topic) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return -1; - } - if (client->state != MQTT_STATE_CONNECTED) { - ESP_LOGE(TAG, "Client has not connected"); - return -1; - } - MQTT_API_LOCK(client); - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - mqtt5_msg_unsubscribe(&client->mqtt_state.connection, - topic, - &client->mqtt_state.pending_msg_id, client->mqtt5_config->unsubscribe_property_info); - if (client->mqtt_state.connection.outbound_message.length) { - client->mqtt5_config->unsubscribe_property_info = NULL; - } -#endif - } else { - mqtt_msg_unsubscribe(&client->mqtt_state.connection, - topic, - &client->mqtt_state.pending_msg_id); - } - if (client->mqtt_state.connection.outbound_message.length == 0) { - MQTT_API_UNLOCK(client); - ESP_LOGE(TAG, "Unubscribe message cannot be created"); - return -1; - } - ESP_LOGD(TAG, "unsubscribe, topic\"%s\", id: %d", topic, client->mqtt_state.pending_msg_id); - - client->mqtt_state.pending_msg_type = mqtt_get_type(client->mqtt_state.connection.outbound_message.data); - if (!mqtt_enqueue(client, NULL, 0)) { - MQTT_API_UNLOCK(client); - return -1; - } - outbox_set_pending(client->outbox, client->mqtt_state.pending_msg_id, TRANSMITTED); //handle error - - if (esp_mqtt_write(client) != ESP_OK) { - ESP_LOGE(TAG, "Error to unsubscribe topic=%s", topic); - MQTT_API_UNLOCK(client); - return -1; - } - - ESP_LOGD(TAG, "Sent Unsubscribe topic=%s, id: %d, successful", topic, client->mqtt_state.pending_msg_id); - - int pending_msg_id = client->mqtt_state.pending_msg_id; - MQTT_API_UNLOCK(client); - return pending_msg_id; -} - -static int make_publish(esp_mqtt_client_handle_t client, const char *topic, const char *data, - int len, int qos, int retain) -{ - uint16_t pending_msg_id = 0; - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { -#ifdef MQTT_PROTOCOL_5 - mqtt5_msg_publish(&client->mqtt_state.connection, - topic, data, len, - qos, retain, - &pending_msg_id, client->mqtt5_config->publish_property_info, client->mqtt5_config->server_resp_property_info.response_info); - if (client->mqtt_state.connection.outbound_message.length) { - client->mqtt5_config->publish_property_info = NULL; - } -#endif - } else { - mqtt_msg_publish(&client->mqtt_state.connection, - topic, data, len, - qos, retain, - &pending_msg_id); - } - - if (client->mqtt_state.connection.outbound_message.length == 0) { - ESP_LOGE(TAG, "Publish message cannot be created"); - return -1; - } - return pending_msg_id; -} -static inline int mqtt_client_enqueue_publish(esp_mqtt_client_handle_t client, const char *topic, const char *data, - int len, int qos, int retain, bool store) -{ - int pending_msg_id = make_publish(client, topic, data, len, qos, retain); - if (pending_msg_id < 0) { - return -1; - } - /* We have to set as pending all the qos>0 messages */ - //TODO: client->mqtt_state.outbound_message = publish_msg; - if (qos > 0 || store) { - client->mqtt_state.pending_msg_type = mqtt_get_type(client->mqtt_state.connection.outbound_message.data); - client->mqtt_state.pending_msg_id = pending_msg_id; - client->mqtt_state.pending_publish_qos = qos; - // by default store as QUEUED (not transmitted yet) only for messages which would fit outbound buffer - if (client->mqtt_state.connection.outbound_message.fragmented_msg_total_length == 0) { - if (!mqtt_enqueue(client, NULL, 0)) { - return -1; - } - } else { - int first_fragment = client->mqtt_state.connection.outbound_message.length - client->mqtt_state.connection.outbound_message.fragmented_msg_data_offset; - if (!mqtt_enqueue(client, ((uint8_t *)data) + first_fragment, len - first_fragment)) { - return -1; - } - client->mqtt_state.connection.outbound_message.fragmented_msg_total_length = 0; - } - } - return pending_msg_id; -} - -int esp_mqtt_client_publish(esp_mqtt_client_handle_t client, const char *topic, const char *data, int len, int qos, int retain) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return -1; - } -#if MQTT_SKIP_PUBLISH_IF_DISCONNECTED - if (client->state != MQTT_STATE_CONNECTED) { - ESP_LOGI(TAG, "Publishing skipped: client is not connected"); - return -1; - } -#endif - -MQTT_API_LOCK(client); -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - if (esp_mqtt5_client_publish_check(client, qos, retain) != ESP_OK) { - ESP_LOGI(TAG, "MQTT5 publish check fail"); - MQTT_API_UNLOCK(client); - return -1; - } - } -#endif - - /* Acceptable publish messages: - data == NULL, len == 0: publish null message - data valid, len == 0: publish all data, payload len is determined from string length - data valid, len > 0: publish data with defined length - */ - if (len <= 0 && data != NULL) { - len = strlen(data); - } - - if (client->config->outbox_limit > 0 && qos > 0) { - if (len + outbox_get_size(client->outbox) > client->config->outbox_limit) { - MQTT_API_UNLOCK(client); - return -2; - } - } - - int pending_msg_id = mqtt_client_enqueue_publish(client, topic, data, len, qos, retain, false); - if (pending_msg_id < 0) { - MQTT_API_UNLOCK(client); - return -1; - } - int ret = 0; - - /* Skip sending if not connected (rely on resending) */ - if (client->state != MQTT_STATE_CONNECTED) { - ESP_LOGD(TAG, "Publish: client is not connected"); - if (qos > 0) { - ret = pending_msg_id; - } else { - ret = -1; - } - - goto cannot_publish; - } - - /* Provide support for sending fragmented message if it doesn't fit buffer */ - int remaining_len = len; - const char *current_data = data; - bool sending = true; - - while (sending) { - - if (esp_mqtt_write(client) != ESP_OK) { - esp_mqtt_abort_connection(client); - ret = -1; - goto cannot_publish; - } - - int data_sent = client->mqtt_state.connection.outbound_message.length - client->mqtt_state.connection.outbound_message.fragmented_msg_data_offset; - client->mqtt_state.connection.outbound_message.fragmented_msg_data_offset = 0; - client->mqtt_state.connection.outbound_message.fragmented_msg_total_length = 0; - remaining_len -= data_sent; - current_data += data_sent; - - if (remaining_len > 0) { - mqtt_connection_t *connection = &client->mqtt_state.connection; - ESP_LOGD(TAG, "Sending fragmented message, remains to send %d bytes of %d", remaining_len, len); - int write_len = remaining_len > connection->buffer_length ? connection->buffer_length : remaining_len; - memcpy(connection->buffer, current_data, write_len); - connection->outbound_message.data = connection->buffer; - connection->outbound_message.length = write_len; - sending = true; - } else { - // Message was sent correctly - sending = false; - } - } - - if (qos > 0) { -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - esp_mqtt5_increment_packet_counter(client); - } -#endif - //Tick is set after transmit to avoid retransmitting too early due slow network speed / big messages - outbox_set_tick(client->outbox, pending_msg_id, platform_tick_get_ms()); - outbox_set_pending(client->outbox, pending_msg_id, TRANSMITTED); - } - MQTT_API_UNLOCK(client); - return pending_msg_id; - -cannot_publish: - // clear out possible fragmented publish if failed or skipped - client->mqtt_state.connection.outbound_message.fragmented_msg_total_length = 0; - if (qos == 0) { - ESP_LOGW(TAG, "Publish: Losing qos0 data when client not connected"); - } - MQTT_API_UNLOCK(client); - - return ret; -} - -int esp_mqtt_client_enqueue(esp_mqtt_client_handle_t client, const char *topic, const char *data, int len, int qos, int retain, bool store) -{ - if (!client) { - ESP_LOGE(TAG, "Client was not initialized"); - return -1; - } - - /* Acceptable publish messages: - data == NULL, len == 0: publish null message - data valid, len == 0: publish all data, payload len is determined from string length - data valid, len > 0: publish data with defined length - */ - if (len <= 0 && data != NULL) { - len = strlen(data); - } - - if (client->config->outbox_limit > 0) { - if (len + outbox_get_size(client->outbox) > client->config->outbox_limit) { - return -2; - } - - } - - MQTT_API_LOCK(client); -#ifdef MQTT_PROTOCOL_5 - if (client->mqtt_state.connection.information.protocol_ver == MQTT_PROTOCOL_V_5) { - if (esp_mqtt5_client_publish_check(client, qos, retain) != ESP_OK) { - ESP_LOGI(TAG, "esp_mqtt_client_enqueue check fail"); - MQTT_API_UNLOCK(client); - return -1; - } - } -#endif - int ret = mqtt_client_enqueue_publish(client, topic, data, len, qos, retain, store); - MQTT_API_UNLOCK(client); - if (ret == 0 && store == false) { - // messages with qos=0 are not enqueued if not overridden by store_in_outobx -> indicate as error - return -1; - } - return ret; -} - -esp_err_t esp_mqtt_client_register_event(esp_mqtt_client_handle_t client, esp_mqtt_event_id_t event, esp_event_handler_t event_handler, void *event_handler_arg) -{ - if (client == NULL) { - return ESP_ERR_INVALID_ARG; - } -#ifdef MQTT_SUPPORTED_FEATURE_EVENT_LOOP - - return esp_event_handler_register_with(client->config->event_loop_handle, MQTT_EVENTS, event, event_handler, event_handler_arg); -#else - ESP_LOGE(TAG, "Registering event handler while event loop not available in IDF version %s", IDF_VER); - return ESP_FAIL; -#endif -} - -esp_err_t esp_mqtt_client_unregister_event(esp_mqtt_client_handle_t client, esp_mqtt_event_id_t event, esp_event_handler_t event_handler) -{ - if (client == NULL) { - return ESP_ERR_INVALID_ARG; - } -#ifdef MQTT_SUPPORTED_FEATURE_EVENT_LOOP - - return esp_event_handler_unregister_with(client->config->event_loop_handle, MQTT_EVENTS, event, event_handler); -#else - ESP_LOGE(TAG, "Unregistering event handler while event loop not available in IDF version %s", IDF_VER); - return ESP_FAIL; -#endif -} - -static void esp_mqtt_client_dispatch_transport_error(esp_mqtt_client_handle_t client) -{ - client->event.event_id = MQTT_EVENT_ERROR; - client->event.error_handle->error_type = MQTT_ERROR_TYPE_TCP_TRANSPORT; - client->event.error_handle->connect_return_code = 0; -#ifdef MQTT_PROTOCOL_5 - client->event.error_handle->disconnect_return_code = 0; -#endif -#ifdef MQTT_SUPPORTED_FEATURE_TRANSPORT_ERR_REPORTING - client->event.error_handle->esp_tls_last_esp_err = esp_tls_get_and_clear_last_error(esp_transport_get_error_handle(client->transport), - &client->event.error_handle->esp_tls_stack_err, - &client->event.error_handle->esp_tls_cert_verify_flags); -#ifdef MQTT_SUPPORTED_FEATURE_TRANSPORT_SOCK_ERRNO_REPORTING - client->event.error_handle->esp_transport_sock_errno = esp_transport_get_errno(client->transport); -#endif -#endif - esp_mqtt_dispatch_event_with_msgid(client); -} - -int esp_mqtt_client_get_outbox_size(esp_mqtt_client_handle_t client) -{ - int outbox_size = 0; - - if (client == NULL) { - return 0; - } - - MQTT_API_LOCK(client); - - if (client->outbox) { - outbox_size = outbox_get_size(client->outbox); - } - - MQTT_API_UNLOCK(client); - - return outbox_size; -} - -esp_transport_handle_t esp_mqtt_client_get_transport(esp_mqtt_client_handle_t client, char *transport_scheme){ - if (client == NULL || (transport_scheme == NULL && client->config->transport == NULL)) { - return NULL; - } - if (transport_scheme == NULL && client->config->transport != NULL) { - return client->config->transport; - } - return esp_transport_list_get_transport(client->transport_list, transport_scheme); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/pytest.ini b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/pytest.ini deleted file mode 100644 index 3bbea5355..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/pytest.ini +++ /dev/null @@ -1,28 +0,0 @@ -[pytest] -python_files = pytest_*.py -addopts = - --embedded-services esp,idf - --ignore-no-tests-collected-error - --ignore-glob */managed_components/* - --ignore=examples/ssl - --ignore=examples/wss - --junitxml=junit.xml - --ignore-result-files .gitlab/ignored_cases.txt - --root-logdir=test_logs - -filterwarnings = - ignore::FutureWarning - -junit_family = xunit1 - -env_markers = - eth_ip101: Ethernet IP101 PHY required for test - eth_ip101_stress: Ethernet IP101 PHY required for stress test - generic: applicable to generic ESP devices - -# log related -log_cli = True -log_cli_level = INFO -log_cli_format = %(asctime)s %(levelname)s %(message)s -log_cli_date_format = %Y-%m-%d %H:%M:%S - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/static-analysis-rules.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/static-analysis-rules.yml deleted file mode 100644 index bd36de885..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/static-analysis-rules.yml +++ /dev/null @@ -1,9 +0,0 @@ -limits: - "clang-analyzer-core.NullDereference" : 0 - "clang-analyzer-unix.Malloc" : 0 - -ignore: - - "llvm-header-guard" - - "llvm-include-order" - -skip: diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/CMakeLists.txt deleted file mode 100644 index 97ab3b53b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ - -idf_component_register(SRCS test_mqtt_connection.c - INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/include - PRIV_REQUIRES unity esp_event esp_netif esp_eth) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/include/test_mqtt_connection.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/include/test_mqtt_connection.h deleted file mode 100644 index 460beccfe..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/include/test_mqtt_connection.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -#pragma once -#include "soc/soc_caps.h" - -/** - * Connection test fixture setup, so we expect the broker is available - * on network - */ -void connect_test_fixture_setup(void); - -/** - * Cleans up the connection - */ -void connect_test_fixture_teardown(void); diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/test_mqtt_connection.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/test_mqtt_connection.c deleted file mode 100644 index a6cb70210..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/common/test_mqtt_connection.c +++ /dev/null @@ -1,144 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -#include "freertos/FreeRTOS.h" -#include "freertos/event_groups.h" -#include "unity.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "esp_eth.h" -#include "esp_log.h" - - -#if SOC_EMAC_SUPPORTED -#define ETH_START_BIT BIT(0) -#define ETH_STOP_BIT BIT(1) -#define ETH_CONNECT_BIT BIT(2) -#define ETH_GOT_IP_BIT BIT(3) -#define ETH_STOP_TIMEOUT_MS (10000) -#define ETH_GET_IP_TIMEOUT_MS (60000) - - -static const char *TAG = "esp32_eth_test_fixture"; -static EventGroupHandle_t s_eth_event_group = NULL; -static esp_netif_t *s_eth_netif = NULL; -static esp_eth_mac_t *s_mac = NULL; -static esp_eth_phy_t *s_phy = NULL; -static esp_eth_handle_t s_eth_handle = NULL; -static esp_eth_netif_glue_handle_t s_eth_glue = NULL; - - -/** Event handler for Ethernet events */ -static void eth_event_handler(void *arg, esp_event_base_t event_base, - int32_t event_id, void *event_data) -{ - EventGroupHandle_t eth_event_group = (EventGroupHandle_t)arg; - switch (event_id) { - case ETHERNET_EVENT_CONNECTED: - xEventGroupSetBits(eth_event_group, ETH_CONNECT_BIT); - ESP_LOGI(TAG, "Ethernet Link Up"); - break; - case ETHERNET_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "Ethernet Link Down"); - break; - case ETHERNET_EVENT_START: - xEventGroupSetBits(eth_event_group, ETH_START_BIT); - ESP_LOGI(TAG, "Ethernet Started"); - break; - case ETHERNET_EVENT_STOP: - xEventGroupSetBits(eth_event_group, ETH_STOP_BIT); - ESP_LOGI(TAG, "Ethernet Stopped"); - break; - default: - break; - } -} - -/** Event handler for IP_EVENT_ETH_GOT_IP */ -static void got_ip_event_handler(void *arg, esp_event_base_t event_base, - int32_t event_id, void *event_data) -{ - EventGroupHandle_t eth_event_group = (EventGroupHandle_t)arg; - ip_event_got_ip_t *event = (ip_event_got_ip_t *)event_data; - const esp_netif_ip_info_t *ip_info = &event->ip_info; - ESP_LOGI(TAG, "Ethernet Got IP Address"); - ESP_LOGI(TAG, "~~~~~~~~~~~"); - ESP_LOGI(TAG, "ETHIP:" IPSTR, IP2STR(&ip_info->ip)); - ESP_LOGI(TAG, "ETHMASK:" IPSTR, IP2STR(&ip_info->netmask)); - ESP_LOGI(TAG, "ETHGW:" IPSTR, IP2STR(&ip_info->gw)); - ESP_LOGI(TAG, "~~~~~~~~~~~"); - xEventGroupSetBits(eth_event_group, ETH_GOT_IP_BIT); -} - -static esp_err_t test_uninstall_driver(esp_eth_handle_t eth_hdl, uint32_t ms_to_wait) -{ - int i = 0; - ms_to_wait += 100; - for (i = 0; i < ms_to_wait / 100; i++) { - vTaskDelay(pdMS_TO_TICKS(100)); - if (esp_eth_driver_uninstall(eth_hdl) == ESP_OK) { - break; - } - } - if (i < ms_to_wait / 10) { - return ESP_OK; - } else { - return ESP_FAIL; - } -} - - -void connect_test_fixture_setup(void) -{ - EventBits_t bits; - s_eth_event_group = xEventGroupCreate(); - TEST_ASSERT(s_eth_event_group != NULL); - TEST_ESP_OK(esp_event_loop_create_default()); - // create TCP/IP netif - esp_netif_config_t netif_cfg = ESP_NETIF_DEFAULT_ETH(); - s_eth_netif = esp_netif_new(&netif_cfg); - - eth_mac_config_t mac_config = ETH_MAC_DEFAULT_CONFIG(); - eth_esp32_emac_config_t esp32_emac_config = ETH_ESP32_EMAC_DEFAULT_CONFIG(); - s_mac = esp_eth_mac_new_esp32(&esp32_emac_config, &mac_config); - eth_phy_config_t phy_config = ETH_PHY_DEFAULT_CONFIG(); - s_phy = esp_eth_phy_new_ip101(&phy_config); - esp_eth_config_t eth_config = ETH_DEFAULT_CONFIG(s_mac, s_phy); - - // install Ethernet driver - TEST_ESP_OK(esp_eth_driver_install(ð_config, &s_eth_handle)); - // combine driver with netif - s_eth_glue = esp_eth_new_netif_glue(s_eth_handle); - TEST_ESP_OK(esp_netif_attach(s_eth_netif, s_eth_glue)); - // register user defined event handlers - TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, s_eth_event_group)); - TEST_ESP_OK(esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, &got_ip_event_handler, s_eth_event_group)); - // start Ethernet driver - TEST_ESP_OK(esp_eth_start(s_eth_handle)); - /* wait for IP lease */ - bits = xEventGroupWaitBits(s_eth_event_group, ETH_GOT_IP_BIT, true, true, pdMS_TO_TICKS(ETH_GET_IP_TIMEOUT_MS)); - TEST_ASSERT((bits & ETH_GOT_IP_BIT) == ETH_GOT_IP_BIT); -} - -void connect_test_fixture_teardown(void) -{ - EventBits_t bits; - // stop Ethernet driver - TEST_ESP_OK(esp_eth_stop(s_eth_handle)); - /* wait for connection stop */ - bits = xEventGroupWaitBits(s_eth_event_group, ETH_STOP_BIT, true, true, pdMS_TO_TICKS(ETH_STOP_TIMEOUT_MS)); - TEST_ASSERT((bits & ETH_STOP_BIT) == ETH_STOP_BIT); - TEST_ESP_OK(esp_eth_del_netif_glue(s_eth_glue)); - /* driver should be uninstalled within 2 seconds */ - TEST_ESP_OK(test_uninstall_driver(s_eth_handle, 2000)); - TEST_ESP_OK(s_phy->del(s_phy)); - TEST_ESP_OK(s_mac->del(s_mac)); - TEST_ESP_OK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_ETH_GOT_IP, got_ip_event_handler)); - TEST_ESP_OK(esp_event_handler_unregister(ETH_EVENT, ESP_EVENT_ANY_ID, eth_event_handler)); - esp_netif_destroy(s_eth_netif); - TEST_ESP_OK(esp_event_loop_delete_default()); - vEventGroupDelete(s_eth_event_group); -} -#endif // SOC_EMAC_SUPPORTED diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/CMakeLists.txt deleted file mode 100644 index 8a681178a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ -#This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) - -set(EXTRA_COMPONENT_DIRS "../common") - -if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER "5.5") - list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") -else() - list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") -endif() - - -idf_build_set_property(MINIMAL_BUILD ON) -project(esp_mqtt_client_test) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/README.md deleted file mode 100644 index 1fb88efd1..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/README.md +++ /dev/null @@ -1,2 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C3 | -| ----------------- | ----- | -------- | diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/CMakeLists.txt deleted file mode 100644 index 0647fe29f..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -set(srcs test_mqtt_client_broker.c test_mqtt.c) - -if(CONFIG_MQTT_PROTOCOL_5) - list(APPEND srcs test_mqtt5_client_broker.c test_mqtt5.c) -endif() - -idf_component_register(SRCS "${srcs}" - PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update spi_flash common) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/Kconfig.projbuild deleted file mode 100644 index 30b2c1087..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/Kconfig.projbuild +++ /dev/null @@ -1,14 +0,0 @@ -menu "ESP-MQTT Unit Test Config" - - config MQTT_TEST_BROKER_URI - string "URI of the test broker" - default "mqtt://mqtt.eclipseprojects.io" - help - URL of an mqtt broker which this test connects to. - - config MQTT5_TEST_BROKER_URI - string "URI of the test broker" - default "mqtt://mqtt.eclipseprojects.io" - help - URL of an mqtt broker which this test connects to. -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/idf_component.yml deleted file mode 100644 index 30ca4eed7..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/idf_component.yml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: - espressif/mqtt: - version: "*" - override_path: "../../../.." - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/test_mqtt.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/test_mqtt.c deleted file mode 100644 index cb56a5e06..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/test_mqtt.c +++ /dev/null @@ -1,122 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Unlicense OR CC0-1.0 - * - * This test code is in the Public Domain (or CC0 licensed, at your option.) - * - * Unless required by applicable law or agreed to in writing, this - * software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, either express or implied. - */ - -#include -#include "unity_fixture.h" -#include "unity_fixture_extras.h" -#include "test_utils.h" -#include "memory_checks.h" -#include "mqtt_client.h" -#include "esp_ota_ops.h" -#include "test_mqtt_client_broker.h" -#include "test_mqtt_connection.h" -#include "esp_partition.h" - -TEST_GROUP(mqtt); - -TEST_SETUP(mqtt){ - test_utils_record_free_mem(); - TEST_ESP_OK(test_utils_set_leak_level(0, ESP_LEAK_TYPE_CRITICAL, ESP_COMP_LEAK_GENERAL)); -} - -TEST_TEAR_DOWN(mqtt){ - test_utils_finish_and_evaluate_leaks(test_utils_get_leak_level(ESP_LEAK_TYPE_WARNING, ESP_COMP_LEAK_ALL), - test_utils_get_leak_level(ESP_LEAK_TYPE_CRITICAL, ESP_COMP_LEAK_ALL)); -} - -TEST(mqtt, init_with_invalid_url) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = "INVALID", - }; - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - TEST_ASSERT_EQUAL(NULL, client ); -} - -TEST(mqtt, init_and_deinit) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - // no connection takes place, but the uri has to be valid for init() to succeed - .broker.address.uri = "mqtts://localhost:8883", - }; - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - TEST_ASSERT_NOT_EQUAL(NULL, client ); - esp_mqtt_client_destroy(client); -} - -static const char* this_bin_addr(void) -{ - esp_partition_mmap_handle_t out_handle; - const void *binary_address; - const esp_partition_t* partition = esp_ota_get_running_partition(); - esp_partition_mmap(partition, 0, partition->size, ESP_PARTITION_MMAP_DATA, &binary_address, &out_handle); - return binary_address; -} - -TEST(mqtt, enqueue_and_destroy_outbox) -{ - const char * bin_addr = this_bin_addr(); - - // Reseting leak detection since this_bin_addr adds to allocated memory. - test_utils_record_free_mem(); - TEST_ESP_OK(test_utils_set_leak_level(0, ESP_LEAK_TYPE_CRITICAL, ESP_COMP_LEAK_GENERAL)); - const int messages = 20; - const int size = 2000; - const esp_mqtt_client_config_t mqtt_cfg = { - // no connection takes place, but the uri has to be valid for init() to succeed - .broker.address.uri = "mqtts://localhost:8883", - }; - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - TEST_ASSERT_NOT_EQUAL(NULL, client ); - int bytes_before = esp_get_free_heap_size(); - for (int i=0; iqos; - xEventGroupSetBits(s_event_group, DATA_BIT); - } -} - -static void mqtt_data_handler_lwt(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - if (event_id == MQTT_EVENT_DATA) { - esp_mqtt_event_handle_t event = event_data; - ESP_LOGI("mqtt-lwt", "MQTT_EVENT_DATA"); - ESP_LOGI("mqtt-lwt", "TOPIC=%.*s", event->topic_len, event->topic); - ESP_LOGI("mqtt-lwt", "DATA=%.*s", event->data_len, event->data); - if (strncmp(event->data, "no-lwt", event->data_len) == 0) { - // no lwt, just to indicate the test has finished - xEventGroupSetBits(s_event_group, DATA_BIT); - } else { - // count up any potential lwt message - int * count = handler_args; - *count = *count + 1; - ESP_LOGE("mqtt-lwt", "count=%d", *count); - } - } -} - -static void mqtt_data_handler_subscribe(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - if (event_id == MQTT_EVENT_SUBSCRIBED) { - esp_mqtt_event_handle_t event = event_data; - ESP_LOGI("mqtt-subscribe", "MQTT_EVENT_SUBSCRIBED, data size=%d", event->data_len); - int * sub_payload = handler_args; - if (event->data_len == 1) { - ESP_LOGI("mqtt-subscribe", "DATA=%d", *(uint8_t*)event->data); - *sub_payload = *(uint8_t*)event->data; - } - xEventGroupSetBits(s_event_group, DATA_BIT); - } -} - - -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - xEventGroupSetBits(s_event_group, CONNECT_BIT); - break; - - case MQTT_EVENT_DISCONNECTED: - xEventGroupSetBits(s_event_group, DISCONNECT_BIT); - break; - default: - break; - } -} - -bool mqtt_connect_disconnect(void) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = CONFIG_MQTT_TEST_BROKER_URI, - .network.disable_auto_reconnect = true, - }; - s_event_group = xEventGroupCreate(); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - TEST_ASSERT_TRUE(NULL != client ); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt_client_start(client)); - WAIT_FOR_EVENT(CONNECT_BIT); - esp_mqtt_client_disconnect(client); - WAIT_FOR_EVENT(DISCONNECT_BIT); - esp_mqtt_client_reconnect(client); - WAIT_FOR_EVENT(CONNECT_BIT); - esp_mqtt_client_destroy(client); - vEventGroupDelete(s_event_group); - return true; -} - -bool mqtt_subscribe_publish(void) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = CONFIG_MQTT_TEST_BROKER_URI, - }; - char* topic = append_mac("topic"); - TEST_ASSERT_TRUE(NULL != topic); - s_event_group = xEventGroupCreate(); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - TEST_ASSERT_TRUE(NULL != client ); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt_client_start(client)); - WAIT_FOR_EVENT(CONNECT_BIT); - int qos = -1; - esp_mqtt_client_register_event(client, MQTT_EVENT_DATA, mqtt_data_handler_qos, &qos); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client, topic, 2) != -1); - TEST_ASSERT_TRUE(esp_mqtt_client_publish(client, topic, "message", 0, 2, 0) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(qos == 2); - TEST_ASSERT_TRUE(esp_mqtt_client_publish(client, topic, "message", 0, 1, 0) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(qos == 1); - esp_mqtt_client_destroy(client); - vEventGroupDelete(s_event_group); - free(topic); - return true; -} - -bool mqtt_lwt_clean_disconnect(void) -{ - char* lwt = append_mac("lwt"); - TEST_ASSERT_TRUE(lwt); - const esp_mqtt_client_config_t mqtt_cfg1 = { - .broker.address.uri = CONFIG_MQTT_TEST_BROKER_URI, - .credentials.set_null_client_id = true, - .session.last_will.topic = lwt, - .session.last_will.msg = "lwt_msg" - }; - const esp_mqtt_client_config_t mqtt_cfg2 = { - .broker.address.uri = CONFIG_MQTT_TEST_BROKER_URI, - .credentials.set_null_client_id = true, - .session.last_will.topic = lwt, - .session.last_will.msg = "lwt_msg" - }; - s_event_group = xEventGroupCreate(); - - esp_mqtt_client_handle_t client1 = esp_mqtt_client_init(&mqtt_cfg1); - esp_mqtt_client_handle_t client2 = esp_mqtt_client_init(&mqtt_cfg2); - TEST_ASSERT_TRUE(NULL != client1 && NULL != client2 ); - esp_mqtt_client_register_event(client1, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - esp_mqtt_client_register_event(client2, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - TEST_ASSERT_TRUE(esp_mqtt_client_start(client1) == ESP_OK); - WAIT_FOR_EVENT(CONNECT_BIT); - TEST_ASSERT_TRUE(esp_mqtt_client_start(client2) == ESP_OK); - WAIT_FOR_EVENT(CONNECT_BIT); - int counter = 0; - esp_mqtt_client_register_event(client1, MQTT_EVENT_DATA, mqtt_data_handler_lwt, &counter); - esp_mqtt_client_register_event(client2, MQTT_EVENT_DATA, mqtt_data_handler_lwt, &counter); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client1, lwt, 0) != -1); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client2, lwt, 0) != -1); - esp_mqtt_client_disconnect(client1); - WAIT_FOR_EVENT(DISCONNECT_BIT); - esp_mqtt_client_reconnect(client1); - WAIT_FOR_EVENT(CONNECT_BIT); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client1, lwt, 0) != -1); - esp_mqtt_client_stop(client2); - esp_mqtt_client_start(client2); - WAIT_FOR_EVENT(CONNECT_BIT); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client2, lwt, 0) != -1); - TEST_ASSERT_TRUE(esp_mqtt_client_publish(client1, lwt, "no-lwt", 0, 0, 0) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(counter == 0); - esp_mqtt_client_destroy(client1); - esp_mqtt_client_destroy(client2); - vEventGroupDelete(s_event_group); - free(lwt); - return true; -} - -bool mqtt_subscribe_payload(void) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = CONFIG_MQTT_TEST_BROKER_URI, - .network.disable_auto_reconnect = true, - }; - char* topic = append_mac("topic"); - TEST_ASSERT_TRUE(NULL != topic); - s_event_group = xEventGroupCreate(); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); - TEST_ASSERT_TRUE(NULL != client ); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt_client_start(client)); - WAIT_FOR_EVENT(CONNECT_BIT); - int qos_payload = -1; - esp_mqtt_client_register_event(client, MQTT_EVENT_SUBSCRIBED, mqtt_data_handler_subscribe, &qos_payload); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client, topic, 2) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(qos_payload == 2); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client, topic, 0) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(qos_payload == 0); - esp_mqtt_client_destroy(client); - vEventGroupDelete(s_event_group); - free(topic); - return true; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/test_mqtt_client_broker.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/test_mqtt_client_broker.h deleted file mode 100644 index 63e7856f7..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/main/test_mqtt_client_broker.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -#pragma once -#include "esp_log.h" - -/** - * @brief MQTT client-broker tests are not implemented as separate test cases - * due to time consuming connection setup/teardown. - * This utility macro is used to run functional cases as MQTT tests - * and evaluate as separate assertions in one "mqtt broker tests" test case. - */ -#define RUN_MQTT_BROKER_TEST(test_name) \ - do { \ - ESP_LOGI("mqtt_test", "Running test:" #test_name "()"); \ - TEST_ASSERT_TRUE_MESSAGE(test_name(), "Mqtt test failed: " #test_name "() "); \ - ESP_LOGI("mqtt_test", "Test:" #test_name "() passed "); \ - } while(0) - - -/** - * @brief This module contains mqtt test cases interacting the client with a (real) broker - */ - -/** - * @brief The client subscribes and publishes on the same topic - * and verifies the received published qos in the event - */ -bool mqtt_subscribe_publish(void); - -/** - * @brief The client connects, disconnects and reconnects. - * Tests basic client state transitions - */ -bool mqtt_connect_disconnect(void); - -/** - * @brief Two clients with defined lwt connect and subscribe to lwt topic. - * This test verifies that no lwt is send when each of the client disconnects. - * (we expect a clean disconnection, so no last-will being sent) - */ -bool mqtt_lwt_clean_disconnect(void); - -/** - * @brief The client subscribes to a topic with certain qos - * and verifies the qos in SUBACK message from the broker. - */ -bool mqtt_subscribe_payload(void); diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/pytest_mqtt_ut.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/pytest_mqtt_ut.py deleted file mode 100644 index 429b85747..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/pytest_mqtt_ut.py +++ /dev/null @@ -1,11 +0,0 @@ -# SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Unlicense OR CC0-1.0 -import pytest -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - - -@pytest.mark.ethernet -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_mqtt_client(dut: Dut) -> None: - dut.expect_unity_test_output() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/sdkconfig.ci.default b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/sdkconfig.ci.default deleted file mode 100644 index 1d40815a9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/sdkconfig.ci.default +++ /dev/null @@ -1,4 +0,0 @@ -CONFIG_MQTT_TEST_BROKER_URI="mqtt://${EXAMPLE_MQTT_BROKER_TCP}" -CONFIG_MQTT5_TEST_BROKER_URI="mqtt://${EXAMPLE_MQTT_BROKER_TCP}" -CONFIG_ESP_TASK_WDT_EN=n -CONFIG_UNITY_ENABLE_FIXTURE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/sdkconfig.defaults deleted file mode 100644 index 2bcae3f3b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt/sdkconfig.defaults +++ /dev/null @@ -1,3 +0,0 @@ -# General options for additional checks -CONFIG_ESP_TASK_WDT_EN=n -CONFIG_UNITY_ENABLE_FIXTURE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/CMakeLists.txt deleted file mode 100644 index 6b8e1e8dd..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ -#This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) - -set(EXTRA_COMPONENT_DIRS "../common") - -if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER "5.5") - list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") -else() - list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") -endif() - - -idf_build_set_property(MINIMAL_BUILD ON) -project(esp_mqtt5_client_test) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/README.md deleted file mode 100644 index 1fb88efd1..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/README.md +++ /dev/null @@ -1,2 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C3 | -| ----------------- | ----- | -------- | diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/CMakeLists.txt deleted file mode 100644 index d33a86ceb..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -set(srcs test_mqtt5_client_broker.c test_mqtt5.c) - -idf_component_register(SRCS "${srcs}" - PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update spi_flash common) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/Kconfig.projbuild deleted file mode 100644 index 30b2c1087..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/Kconfig.projbuild +++ /dev/null @@ -1,14 +0,0 @@ -menu "ESP-MQTT Unit Test Config" - - config MQTT_TEST_BROKER_URI - string "URI of the test broker" - default "mqtt://mqtt.eclipseprojects.io" - help - URL of an mqtt broker which this test connects to. - - config MQTT5_TEST_BROKER_URI - string "URI of the test broker" - default "mqtt://mqtt.eclipseprojects.io" - help - URL of an mqtt broker which this test connects to. -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/idf_component.yml deleted file mode 100644 index 1b39baac9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/idf_component.yml +++ /dev/null @@ -1,4 +0,0 @@ -dependencies: - espressif/mqtt: - version: "*" - override_path: "../../../.." \ No newline at end of file diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5.c deleted file mode 100644 index 9d8705d83..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5.c +++ /dev/null @@ -1,172 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include "unity_fixture.h" -#include "unity_fixture_extras.h" -#include "test_utils.h" -#include "memory_checks.h" -#include "mqtt_client.h" -#include "esp_ota_ops.h" -#include "test_mqtt5_client_broker.h" -#include "test_mqtt_connection.h" -#include "esp_partition.h" - - -TEST_GROUP(mqtt5); - -TEST_SETUP(mqtt5) -{ - test_utils_record_free_mem(); - TEST_ESP_OK(test_utils_set_leak_level(0, ESP_LEAK_TYPE_CRITICAL, ESP_COMP_LEAK_GENERAL)); -} - -TEST_TEAR_DOWN(mqtt5) -{ - test_utils_finish_and_evaluate_leaks(test_utils_get_leak_level(ESP_LEAK_TYPE_WARNING, ESP_COMP_LEAK_ALL), - test_utils_get_leak_level(ESP_LEAK_TYPE_CRITICAL, ESP_COMP_LEAK_ALL)); -} - -static esp_mqtt5_user_property_item_t user_property_arr[3] = { - {"board", "esp32"}, - {"u", "user"}, - {"p", "password"} -}; - -TEST(mqtt5, init_with_invalid_url) -{ - const esp_mqtt_client_config_t mqtt5_cfg = { - .broker.address.uri = "INVALID", - .session.protocol_ver = MQTT_PROTOCOL_V_5, - }; - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt5_cfg); - TEST_ASSERT_EQUAL(NULL, client ); -} - -TEST(mqtt5, init_and_deinit) -{ - const esp_mqtt_client_config_t mqtt5_cfg = { - // no connection takes place, but the uri has to be valid for init() to succeed - .broker.address.uri = "mqtts://localhost:8883", - .session.protocol_ver = MQTT_PROTOCOL_V_5, - .credentials.username = "123", - .credentials.authentication.password = "456", - .session.last_will.topic = "/topic/will", - .session.last_will.msg = "i will leave", - .session.last_will.msg_len = 12, - .session.last_will.qos = 1, - .session.last_will.retain = true, - }; - esp_mqtt5_connection_property_config_t connect_property = { - .session_expiry_interval = 10, - .maximum_packet_size = 1024, - .receive_maximum = 65535, - .topic_alias_maximum = 2, - .request_resp_info = true, - .request_problem_info = true, - .will_delay_interval = 10, - .payload_format_indicator = true, - .message_expiry_interval = 10, - .content_type = "json", - .response_topic = "/test/response", - .correlation_data = "123456", - .correlation_data_len = 6, - }; - - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt5_cfg); - esp_mqtt5_client_set_user_property(&connect_property.user_property, user_property_arr, 3); - esp_mqtt5_client_set_user_property(&connect_property.will_user_property, user_property_arr, 3); - esp_mqtt5_client_set_connect_property(client, &connect_property); - esp_mqtt5_client_delete_user_property(connect_property.user_property); - esp_mqtt5_client_delete_user_property(connect_property.will_user_property); - TEST_ASSERT_NOT_EQUAL(NULL, client ); - esp_mqtt_client_destroy(client); -} - -static const char *this_bin_addr(void) -{ - esp_partition_mmap_handle_t out_handle; - const void *binary_address; - const esp_partition_t *partition = esp_ota_get_running_partition(); - esp_partition_mmap(partition, 0, partition->size, ESP_PARTITION_MMAP_DATA, &binary_address, &out_handle); - return binary_address; -} - -TEST(mqtt5, enqueue_and_destroy_outbox) -{ - const char *bin_addr = this_bin_addr(); - // Reseting leak detection since this_bin_addr adds to allocated memory. - test_utils_record_free_mem(); - TEST_ESP_OK(test_utils_set_leak_level(0, ESP_LEAK_TYPE_CRITICAL, ESP_COMP_LEAK_GENERAL)); - const int messages = 20; - const int size = 2000; - const esp_mqtt_client_config_t mqtt5_cfg = { - // no connection takes place, but the uri has to be valid for init() to succeed - .broker.address.uri = "mqtts://localhost:8883", - .session.protocol_ver = MQTT_PROTOCOL_V_5, - }; - esp_mqtt5_publish_property_config_t publish_property = { - .payload_format_indicator = 1, - .message_expiry_interval = 1000, - .topic_alias = 0, - .response_topic = "/topic/test/response", - .correlation_data = "123456", - .correlation_data_len = 6, - .content_type = "json", - }; - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt5_cfg); - TEST_ASSERT_NOT_EQUAL(NULL, client ); - int bytes_before = esp_get_free_heap_size(); - for (int i = 0; i < messages; i ++) { - esp_mqtt5_client_set_user_property(&publish_property.user_property, user_property_arr, 3); - esp_mqtt5_client_set_publish_property(client, &publish_property); - esp_mqtt_client_publish(client, "test", bin_addr, size, 1, 0); - esp_mqtt5_client_delete_user_property(publish_property.user_property); - publish_property.user_property = NULL; - } - int bytes_after = esp_get_free_heap_size(); - // check that outbox allocated all messages on heap - TEST_ASSERT_GREATER_OR_EQUAL(messages * size, bytes_before - bytes_after); - - esp_mqtt_client_destroy(client); -} - -#if SOC_EMAC_SUPPORTED -/** - * This test cases uses ethernet kit, so build and use it only if EMAC supported - */ -TEST(mqtt5, broker_tests) -{ - test_case_uses_tcpip(); - connect_test_fixture_setup(); - - RUN_MQTT5_BROKER_TEST(mqtt5_connect_disconnect); - RUN_MQTT5_BROKER_TEST(mqtt5_subscribe_publish); - RUN_MQTT5_BROKER_TEST(mqtt5_lwt_clean_disconnect); - RUN_MQTT5_BROKER_TEST(mqtt5_subscribe_payload); - - connect_test_fixture_teardown(); -} -#endif // SOC_EMAC_SUPPORTED - -TEST_GROUP_RUNNER(mqtt5) -{ -#if !DISABLED_FOR_TARGETS(ESP32H2) - RUN_TEST_CASE(mqtt5, init_with_invalid_url); - RUN_TEST_CASE(mqtt5, init_and_deinit); - RUN_TEST_CASE(mqtt5, enqueue_and_destroy_outbox); - -#if SOC_EMAC_SUPPORTED - RUN_TEST_CASE(mqtt5, broker_tests); -#endif // SOC_EMAC_SUPPORTED -#endif //!DISABLED_FOR_TARGETS(ESP32H2) -} - - -void app_main(void) -{ - UNITY_MAIN(mqtt5); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5_client_broker.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5_client_broker.c deleted file mode 100644 index 0ac4c3dd0..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5_client_broker.c +++ /dev/null @@ -1,285 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include "freertos/FreeRTOS.h" -#include "freertos/event_groups.h" -#include "mqtt_client.h" -#include "esp_log.h" -#include "esp_mac.h" - -#define WAIT_FOR_EVENT(event) \ - TEST_ASSERT_TRUE(xEventGroupWaitBits(s_event_group, event, pdTRUE, pdTRUE, pdMS_TO_TICKS(COMMON_OPERATION_TIMEOUT)) & event); - -#define TEST_ASSERT_TRUE(condition) TEST_ASSERT_TRUE_LINE(condition, __LINE__) -#define TEST_ASSERT_TRUE_LINE(condition, line) \ - do { \ - if (!(condition)) { \ - ESP_LOGE("test_mqtt5_client_broker.c", \ - "Assertion failed in line %d", line); \ - return false; \ - } \ - } while(0) - - -static const int COMMON_OPERATION_TIMEOUT = 10000; -static const int CONNECT_BIT = BIT0; -static const int DISCONNECT_BIT = BIT1; -static const int DATA_BIT = BIT2; - -static EventGroupHandle_t s_event_group; - -static esp_mqtt5_user_property_item_t user_property_arr[3] = { - {"board", "esp32"}, - {"u", "user"}, - {"p", "password"} -}; - -static char* append_mac(const char* string) -{ - uint8_t mac[6]; - char *id_string = NULL; - esp_read_mac(mac, ESP_MAC_WIFI_STA); - asprintf(&id_string, "%s_%02x%02X%02X", string, mac[3], mac[4], mac[5]); - return id_string; -} - -static void mqtt5_data_handler_qos(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - if (event_id == MQTT_EVENT_DATA) { - esp_mqtt_event_handle_t event = event_data; - int * qos = handler_args; - *qos = event->qos; - xEventGroupSetBits(s_event_group, DATA_BIT); - } -} - -static void mqtt5_data_handler_lwt(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - if (event_id == MQTT_EVENT_DATA) { - esp_mqtt_event_handle_t event = event_data; - ESP_LOGI("mqtt-lwt", "MQTT_EVENT_DATA"); - ESP_LOGI("mqtt-lwt", "TOPIC=%.*s", event->topic_len, event->topic); - ESP_LOGI("mqtt-lwt", "DATA=%.*s", event->data_len, event->data); - if (strncmp(event->data, "no-lwt", event->data_len) == 0) { - // no lwt, just to indicate the test has finished - xEventGroupSetBits(s_event_group, DATA_BIT); - } else { - // count up any potential lwt message - int * count = handler_args; - *count = *count + 1; - ESP_LOGE("mqtt5-lwt", "count=%d", *count); - } - } -} - -static void mqtt5_data_handler_subscribe(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - if (event_id == MQTT_EVENT_SUBSCRIBED) { - esp_mqtt_event_handle_t event = event_data; - ESP_LOGI("mqtt5-subscribe", "MQTT_EVENT_SUBSCRIBED, data size=%d", event->data_len); - int * sub_payload = handler_args; - if (event->data_len == 1) { - ESP_LOGI("mqtt5-subscribe", "DATA=%d", *(uint8_t*)event->data); - *sub_payload = *(uint8_t*)event->data; - } - xEventGroupSetBits(s_event_group, DATA_BIT); - } -} - - -static void mqtt5_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - switch ((esp_mqtt_event_id_t)event_id) { - case MQTT_EVENT_CONNECTED: - xEventGroupSetBits(s_event_group, CONNECT_BIT); - break; - - case MQTT_EVENT_DISCONNECTED: - xEventGroupSetBits(s_event_group, DISCONNECT_BIT); - break; - default: - break; - } -} - -bool mqtt5_connect_disconnect(void) -{ - const esp_mqtt_client_config_t mqtt5_cfg = { - .broker.address.uri = CONFIG_MQTT5_TEST_BROKER_URI, - .network.disable_auto_reconnect = true, - .session.protocol_ver = MQTT_PROTOCOL_V_5, - }; - esp_mqtt5_connection_property_config_t connect_property = { - .session_expiry_interval = 10, - .maximum_packet_size = 1024, - .receive_maximum = 65535, - .topic_alias_maximum = 2, - .request_resp_info = true, - .request_problem_info = true, - }; - esp_mqtt5_disconnect_property_config_t disconnect_property = { - .session_expiry_interval = 10, - .disconnect_reason = 0, - }; - s_event_group = xEventGroupCreate(); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt5_cfg); - TEST_ASSERT_TRUE(NULL != client ); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt5_event_handler, NULL); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt5_client_set_user_property(&connect_property.user_property, user_property_arr, 3)); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt5_client_set_connect_property(client, &connect_property)); - esp_mqtt5_client_delete_user_property(connect_property.user_property); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt_client_start(client)); - WAIT_FOR_EVENT(CONNECT_BIT); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt5_client_set_user_property(&disconnect_property.user_property, user_property_arr, 3)); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt5_client_set_disconnect_property(client, &disconnect_property)); - esp_mqtt5_client_delete_user_property(disconnect_property.user_property); - esp_mqtt_client_disconnect(client); - WAIT_FOR_EVENT(DISCONNECT_BIT); - esp_mqtt_client_reconnect(client); - WAIT_FOR_EVENT(CONNECT_BIT); - esp_mqtt_client_destroy(client); - vEventGroupDelete(s_event_group); - return true; -} - -bool mqtt5_subscribe_publish(void) -{ - const esp_mqtt_client_config_t mqtt5_cfg = { - .broker.address.uri = CONFIG_MQTT5_TEST_BROKER_URI, - .session.protocol_ver = MQTT_PROTOCOL_V_5, - }; - esp_mqtt5_publish_property_config_t publish_property = { - .payload_format_indicator = 1, - .message_expiry_interval = 1000, - .topic_alias = 1, - .response_topic = "/topic/test/response", - .correlation_data = "123456", - .correlation_data_len = 6, - .content_type = "json", - }; - esp_mqtt5_subscribe_property_config_t subscribe_property = { - .subscribe_id = 25555, - .no_local_flag = false, - .retain_as_published_flag = true, - .retain_handle = 0, - }; - char* topic = append_mac("topic"); - TEST_ASSERT_TRUE(NULL != topic); - s_event_group = xEventGroupCreate(); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt5_cfg); - TEST_ASSERT_TRUE(NULL != client ); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt5_event_handler, NULL); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt_client_start(client)); - WAIT_FOR_EVENT(CONNECT_BIT); - int qos = -1; - esp_mqtt_client_register_event(client, MQTT_EVENT_DATA, mqtt5_data_handler_qos, &qos); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt5_client_set_subscribe_property(client, &subscribe_property)); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client, topic, 2) != -1); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt5_client_set_publish_property(client, &publish_property)); - TEST_ASSERT_TRUE(esp_mqtt_client_publish(client, topic, "message", 0, 2, 0) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(qos == 2); - TEST_ASSERT_TRUE(esp_mqtt_client_publish(client, topic, "message", 0, 1, 0) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(qos == 1); - esp_mqtt_client_destroy(client); - vEventGroupDelete(s_event_group); - free(topic); - return true; -} - -bool mqtt5_lwt_clean_disconnect(void) -{ - char* lwt = append_mac("lwt"); - TEST_ASSERT_TRUE(lwt); - const esp_mqtt_client_config_t mqtt5_cfg1 = { - .broker.address.uri = CONFIG_MQTT5_TEST_BROKER_URI, - .credentials.set_null_client_id = true, - .session.last_will.topic = lwt, - .session.last_will.msg = "lwt_msg", - .session.protocol_ver = MQTT_PROTOCOL_V_5, - }; - const esp_mqtt_client_config_t mqtt5_cfg2 = { - .broker.address.uri = CONFIG_MQTT5_TEST_BROKER_URI, - .credentials.set_null_client_id = true, - .session.last_will.topic = lwt, - .session.last_will.msg = "lwt_msg", - .session.protocol_ver = MQTT_PROTOCOL_V_5, - }; - esp_mqtt5_connection_property_config_t connect_property = { - .will_delay_interval = 10, - .payload_format_indicator = true, - .message_expiry_interval = 10, - .content_type = "json", - .response_topic = "/test/response", - .correlation_data = "123456", - .correlation_data_len = 6, - }; - s_event_group = xEventGroupCreate(); - - esp_mqtt_client_handle_t client1 = esp_mqtt_client_init(&mqtt5_cfg1); - esp_mqtt_client_handle_t client2 = esp_mqtt_client_init(&mqtt5_cfg2); - TEST_ASSERT_TRUE(NULL != client1 && NULL != client2 ); - esp_mqtt_client_register_event(client1, ESP_EVENT_ANY_ID, mqtt5_event_handler, NULL); - esp_mqtt_client_register_event(client2, ESP_EVENT_ANY_ID, mqtt5_event_handler, NULL); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt5_client_set_connect_property(client1, &connect_property)); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt5_client_set_connect_property(client2, &connect_property)); - TEST_ASSERT_TRUE(esp_mqtt_client_start(client1) == ESP_OK); - WAIT_FOR_EVENT(CONNECT_BIT); - TEST_ASSERT_TRUE(esp_mqtt_client_start(client2) == ESP_OK); - WAIT_FOR_EVENT(CONNECT_BIT); - int counter = 0; - esp_mqtt_client_register_event(client1, MQTT_EVENT_DATA, mqtt5_data_handler_lwt, &counter); - esp_mqtt_client_register_event(client2, MQTT_EVENT_DATA, mqtt5_data_handler_lwt, &counter); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client1, lwt, 0) != -1); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client2, lwt, 0) != -1); - esp_mqtt_client_disconnect(client1); - WAIT_FOR_EVENT(DISCONNECT_BIT); - esp_mqtt_client_reconnect(client1); - WAIT_FOR_EVENT(CONNECT_BIT); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client1, lwt, 0) != -1); - esp_mqtt_client_stop(client2); - esp_mqtt_client_start(client2); - WAIT_FOR_EVENT(CONNECT_BIT); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client2, lwt, 0) != -1); - TEST_ASSERT_TRUE(esp_mqtt_client_publish(client1, lwt, "no-lwt", 0, 0, 0) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(counter == 0); - esp_mqtt_client_destroy(client1); - esp_mqtt_client_destroy(client2); - vEventGroupDelete(s_event_group); - free(lwt); - return true; -} - -bool mqtt5_subscribe_payload(void) -{ - const esp_mqtt_client_config_t mqtt5_cfg = { - .broker.address.uri = CONFIG_MQTT5_TEST_BROKER_URI, - .network.disable_auto_reconnect = true, - .session.protocol_ver = MQTT_PROTOCOL_V_5, - }; - char* topic = append_mac("topic"); - TEST_ASSERT_TRUE(NULL != topic); - s_event_group = xEventGroupCreate(); - esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt5_cfg); - TEST_ASSERT_TRUE(NULL != client ); - esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt5_event_handler, NULL); - TEST_ASSERT_TRUE(ESP_OK == esp_mqtt_client_start(client)); - WAIT_FOR_EVENT(CONNECT_BIT); - int qos_payload = -1; - esp_mqtt_client_register_event(client, MQTT_EVENT_SUBSCRIBED, mqtt5_data_handler_subscribe, &qos_payload); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client, topic, 2) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(qos_payload == 2); - TEST_ASSERT_TRUE(esp_mqtt_client_subscribe(client, topic, 0) != -1); - WAIT_FOR_EVENT(DATA_BIT); - TEST_ASSERT_TRUE(qos_payload == 0); - esp_mqtt_client_destroy(client); - vEventGroupDelete(s_event_group); - free(topic); - return true; -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5_client_broker.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5_client_broker.h deleted file mode 100644 index a181dd8e0..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/main/test_mqtt5_client_broker.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#pragma once -#include "esp_log.h" - -/** - * @brief MQTT5 client-broker tests are not implemented as separate test cases - * due to time consuming connection setup/teardown. - * This utility macro is used to run functional cases as MQTT tests - * and evaluate as separate assertions in one "mqtt5 broker tests" test case. - */ -#define RUN_MQTT5_BROKER_TEST(test_name) \ - do { \ - ESP_LOGI("mqtt5_test", "Running test:" #test_name "()"); \ - TEST_ASSERT_TRUE_MESSAGE(test_name(), "Mqtt5 test failed: " #test_name "() "); \ - ESP_LOGI("mqtt5_test", "Test:" #test_name "() passed "); \ - } while(0) - - -/** - * @brief This module contains mqtt5 test cases interacting the client with a (real) broker - */ - -/** - * @brief The client subscribes and publishes on the same topic - * and verifies the received published qos in the event - */ -bool mqtt5_subscribe_publish(void); - -/** - * @brief The client connects, disconnects and reconnects. - * Tests basic client state transitions - */ -bool mqtt5_connect_disconnect(void); - -/** - * @brief Two clients with defined lwt connect and subscribe to lwt topic. - * This test verifies that no lwt is send when each of the client disconnects. - * (we expect a clean disconnection, so no last-will being sent) - */ -bool mqtt5_lwt_clean_disconnect(void); - -/** - * @brief The client subscribes to a topic with certain qos - * and verifies the qos in SUBACK message from the broker. - */ -bool mqtt5_subscribe_payload(void); diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/pytest_mqtt5_ut.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/pytest_mqtt5_ut.py deleted file mode 100644 index 7e38dfac8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/pytest_mqtt5_ut.py +++ /dev/null @@ -1,11 +0,0 @@ -# SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Unlicense OR CC0-1.0 -import pytest -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - - -@pytest.mark.ethernet -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_mqtt5_client(dut: Dut) -> None: - dut.expect_unity_test_output() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/sdkconfig.ci.default b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/sdkconfig.ci.default deleted file mode 100644 index 1d40815a9..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/sdkconfig.ci.default +++ /dev/null @@ -1,4 +0,0 @@ -CONFIG_MQTT_TEST_BROKER_URI="mqtt://${EXAMPLE_MQTT_BROKER_TCP}" -CONFIG_MQTT5_TEST_BROKER_URI="mqtt://${EXAMPLE_MQTT_BROKER_TCP}" -CONFIG_ESP_TASK_WDT_EN=n -CONFIG_UNITY_ENABLE_FIXTURE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/sdkconfig.defaults deleted file mode 100644 index 06c58d7b6..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/mqtt5/sdkconfig.defaults +++ /dev/null @@ -1,4 +0,0 @@ -# General options for additional checks -CONFIG_ESP_TASK_WDT_EN=n -CONFIG_MQTT_PROTOCOL_5=y -CONFIG_UNITY_ENABLE_FIXTURE=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/CMakeLists.txt deleted file mode 100644 index 543259e6a..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -idf_build_set_property(MINIMAL_BUILD ON) - -project(mqtt_publish_connect_test) - -target_add_binary_data(mqtt_publish_connect_test.elf "main/mqtt_eclipseprojects_io.pem" TEXT) -target_add_binary_data(mqtt_publish_connect_test.elf "ca.crt" TEXT) -target_add_binary_data(mqtt_publish_connect_test.elf "ca.der" TEXT) -target_add_binary_data(mqtt_publish_connect_test.elf "client_pwd.key" TEXT) -target_add_binary_data(mqtt_publish_connect_test.elf "client_pwd.crt" TEXT) -target_add_binary_data(mqtt_publish_connect_test.elf "client_no_pwd.key" TEXT) -target_add_binary_data(mqtt_publish_connect_test.elf "client_inv.crt" TEXT) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/README.md deleted file mode 100644 index ec2cd41e2..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/README.md +++ /dev/null @@ -1,25 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | -| ----------------- | ----- | -------- | -------- | - -# ESP-MQTT advanced publish and connect test project - -Main purpose of this application is to test the MQTT library to correctly publish and receive messages (of different size and sequences) over different transports. -It is possible to run this example manually without any test to exercise how the MQTT library deals with - -- reception of fragmented messages -- runtime updates of URI - -## Runtime settings - -This app waits for user input to provide these parameters: -- test-type: "conn" if connection test (host, port, test-case number) -- publish test: - * transport: string parameter, one of: tcp, ssl, ws, wss - * pattern: sample string to be transmitted as message - * pattern repeats: number of repeats of pattern in one MQTT message - * repeated: number of repeats ESP32 publishes the message, also ESP32 expects to receive the same message the same number of repeats - * qos: number specifying qos, one of: 0, 1, 2 - -## Hardware Required - -This test-app can be executed on any ESP32 board, the only required interface is WiFi and connection to a local network, then depending on the test either a mqtt test broker or a tls server. diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.crt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.crt deleted file mode 100644 index e371e070c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.crt +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDGTCCAgGgAwIBAgIUY6kAA+U+ZPIJYIff8dlbi6NCzKswDQYJKoZIhvcNAQEL -BQAwFDESMBAGA1UEAwwJRXNwcmVzc2lmMB4XDTI1MDQwMjA1MjcwMloXDTM1MDMz -MTA1MjcwMlowFDESMBAGA1UEAwwJRXNwcmVzc2lmMIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEAwSY/p8zDP8W3f37xfL1jy/WcWVOOS2msWRyxjpXQM2e+ -66McSkn8mVKTW5/aZ96sFQbmBBuhp3ypopH+kBQHxK4kla6roEcN/Nx9wpC8X64l -U9EqPmOvcIG8HElEY05LzZ9Rzc4LIBREq/sM8FE5+YHO2za8rN2XIaMii0mm2alf -o1MFEq1nkHBeJKlXkk6eZDwcQ9kqLWBz9YQWygE2pmDCjdCoY97/dZpgAjvkrAGN -9UYno9ZmNOYefL1P1ZmVtdBRW/xDGTDSZCJGYHOrtvfD8VS6cguOOl+rsy3obFdh -A4AgGFEFtfdY/+2fJHFkn6Pep6j+7h8f9n89qpSwswIDAQABo2MwYTAdBgNVHQ4E -FgQUJ+QsjjuS10OtEEcU0Wh2XhXTa1YwHwYDVR0jBBgwFoAUJ+QsjjuS10OtEEcU -0Wh2XhXTa1YwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAoQwDQYJKoZI -hvcNAQELBQADggEBABKWpI+QdMYoDwyssIbfwpbqJxb5M1w3PLnMsPzg1d5aEqLh -zwN9EnEQ5TxfeC7Lxdv3hKEGtif/aVxBhs48wPSxD7Fuw17kX6P4l9Cu9Ro2+1Oy -0lUxHi61xXxf7zVkdPQ0JLXdSMUvSUuKfvBtHCwEfdC+lsamxIDmCJys69kDhsCM -VJzY8Yz4MA9WOY3Z2YYMRp6ryFBZ9UgSUEnFxSOpggymkcM5mNxod1jshvSJ3FDG -dmvfbmK0+dN3rCiooORsIYVbopAYxralavA9IY24oiULE+GyVt5pNSONmJ96Y7GK -dL72B8RxX+jUSzgu/N3D1DwbPHP/xRiI7EqaYvg= ------END CERTIFICATE----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.der b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.der deleted file mode 100644 index 8f0d12006..000000000 Binary files a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.der and /dev/null differ diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.key b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.key deleted file mode 100644 index 8a0404f4c..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/ca.key +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDBJj+nzMM/xbd/ -fvF8vWPL9ZxZU45LaaxZHLGOldAzZ77roxxKSfyZUpNbn9pn3qwVBuYEG6GnfKmi -kf6QFAfEriSVrqugRw383H3CkLxfriVT0So+Y69wgbwcSURjTkvNn1HNzgsgFESr -+wzwUTn5gc7bNrys3ZchoyKLSabZqV+jUwUSrWeQcF4kqVeSTp5kPBxD2SotYHP1 -hBbKATamYMKN0Khj3v91mmACO+SsAY31Riej1mY05h58vU/VmZW10FFb/EMZMNJk -IkZgc6u298PxVLpyC446X6uzLehsV2EDgCAYUQW191j/7Z8kcWSfo96nqP7uHx/2 -fz2qlLCzAgMBAAECggEAA5+hkxbS1OfzLNenVSVCcYmekMhyA3UskBFrPVcPLF+2 -Y7pQJg6kSAYWEKJ7mPZC+TQDbbFNA5Tho9SkV3Sgvq5brlk0DBI5L3S9gUBw4ESm -m59xcPEy0eQFMOyo9Un7PxTNlpRWfhgTP7y6femwMj+er1skCAQyOSXT2JQdpriv -5BnQquVSeoPbFuuObxerG878BDvMEIFzkZGmjWHhWD9P3+2sHcU6R6aZexRnkMrw -A8gagVzIi35QPDtWYLWcybdghJW7BdW8Lsx7HvMzRvNlBxMFnqtzNspuXEyZVlXF -J7cMpktiMQ+dNk18Utq9n19Y5ZWWi5g+XY3V0dHs3QKBgQDgrmdRWD3lLwY0equ6 -/kk6Pf+GwgRLTVQy4DfUHPFCUY3+fZgYTL7InLjgcLynSdcHZ6hXjdIsAxwgeD6U -eBjjAhIyRNDTrSD91NQb99kmjSB9PRnPsERFiol5mR/JGUIs67y1a9oGPvhXW/9f -nu5jIacqF5sGZhmVmssYc/yXbQKBgQDcEqcKF+0WxHSNPMBtSFBOf/Uz6cT79lLS -1EoMiIjhQM1TrnRPqOicRegHmW7dWvtnsReprW6/mjz7t8C2kQm0Mf2UAtEm2Hzu -XxHM1Jmj1/oNc5Gzv5PhDMY8XEafzogj2uwL9++On74XNTkt20hl7qM4lcibu86U -f67cuOK0nwKBgQC3e7XEKFvjndNjaAp2WtNSTO8wDaGUHUJ1icYN4tTjY9ahzc83 -iPUEv3f7UhW+R/7ifTRsy9SnPKLroUb52Fn6iOZzRt+C/g/DOts9O9qKMRYnMI6z -nS8j208JjpL2lzoDlUA2qC0UjLgiH28dl5z2N7VcGorvXtHl6tOQ1KeiwQKBgQCI -kq7FDcodyfdGuz/z0d+8h55FBDsx3lDR89qsYoMHvy5tUyNtWDZa3Os85BQwHMlO -NVGpBC9piq9zyzo2UlYCVM+4bfMcN1d4mtkyE3HxgxP0CxeNxENic4oGZYGSpRpJ -ng/E8a3iBfJy9p2wfpg0Yd87O4EOXIO8Fm0PH1HZowKBgQCBmYxw+gv7zbY6ejg1 -prJsVvaVp5D8jhZ8agqRseWpeUEIrTzACNZ8L+loFMwsAIm5piLMziso1b6ktDmk -A9c7eOOh/kec8T4LXhIglLL49kmb0ZOCMotG1n9+1n/ZuMV8bMNTGWof5QjOMMKE -tC0yOkTvoIqHMbwnLrLLMOxh1w== ------END PRIVATE KEY----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_inv.crt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_inv.crt deleted file mode 100644 index 76f576eba..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_inv.crt +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIC/zCCAeegAwIBAgIUCpDNnOm701EkM8UghGHxDAXcVWEwDQYJKoZIhvcNAQEL -BQAwDjEMMAoGA1UEAwwDZXNwMCAXDTI1MDEyODEzMjkxMloYDzIyOTgxMTEyMTMy -OTEyWjAOMQwwCgYDVQQDDANlc3AwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK -AoIBAQDVLhyorBPIbIS5hi7BCyv+UsrEAr17zfMu31zrj65wrRI2NPjeT/4UXTHB -WLXevsBmxngqa1HfBeJiwbjr0HNt7OAAIePnW0v0qfED6S6SG3ySbL7wOTQiUeZE -JiDmcjBiu3ttBimOeRAYl2RAHVrVzV01ByQ8QZZ5FFynBl6mOnu0lGSwImDCNoVk -g+zDNf9vbZWGUwvjxBoFmjvEdIEVh58c2Bu3Vzlblb/XR4XnQb0hR18VzHTibHdz -UKRDDzgoz1CSThmsNSJxOesS8e2wufHyqBQ1uXW2kJDIHwq+Ew7RkyhPLx6hXhN6 -QS99SN5Sbgpucqc8pjJYFv3oHevXAgMBAAGjUzBRMB0GA1UdDgQWBBT5Ja5qUdUf -QRdQBur2UvcJmBmFVzAfBgNVHSMEGDAWgBT5Ja5qUdUfQRdQBur2UvcJmBmFVzAP -BgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBrVzCP7OoyVZyZ80+c -+B7Cz1vWmNsyCLHVSuUqr3DuvJa0V71VdMGvr+zfR2/jLW7nGy2I+5d3Yaxs/AIZ -GF4XuDfuiJXjRDgFY8Xh+PgM7L4AxVvml8ZWaj9kurbIWKcsizCygoL4ckIA10QO -wAg7Au1RZT6iDeGW47inz/bP8V/sQnFmupTPN4VipMCUo61c+L0tnKPGbMySnmGq -mf9f/luAh/pgiW/HRjA4bppE5hCxUB8F5wyzAzFMnRVSYptpZdj/AYyAooV7Iit0 -Ewjtrnxlr7zhmw4p32FuRDNU5AzbQMxDS4delGHMrNtehmSLNeZ3V7tAyG7EmJZd -y4YP ------END CERTIFICATE----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_no_pwd.key b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_no_pwd.key deleted file mode 100644 index d359ca2e6..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_no_pwd.key +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCQ8NP82CE2OJaZ -A07nbHyfhOdv/dnZXcemxFtoiEw1v29t5pldxBPUwy9/eg85+z1H1CTuFfHj2pzK -yyB1eJojTtQlJRZn1cZJ/0/LZu7naNACsndXmQcc0b6Cvn/jOuiqvAqFgLknLdEl -Iun2NSgeot3lafXy/yuLbKWHRDzsZIEpu/1iUlGx6UAQTBL+HVj2VM3hejdt33gn -PwdS+otmv+2A4ZBhbrL7EmtDJLM1wISo5PRp3YSknLJc8PdH5DQE5kaxh8RN/MDe -cm7kTeNeL2eN+nj9HvDUJ2yVF2P3ZaW6RtCwFlj0E3VXfKUNz2yTIowDtSkDeG7T -zjZ8V5cnAgMBAAECggEAB6ZeWfMCVb1I3YyaJobIURcPrA6G5/0WI4wrkunWs+OF -uxQ3tgY6Ubl3kU/c69+BzX+570MDQFZyfhWYgfq6j/CCK++4LgTPcWpjSMYHB/m1 -ON84g0wVXwUG/BmX4GNkklZYa9FudE3rwv0DwjXuByfrdEdSbt/e6X3zgp8sZAGZ -oJnIWVvGxqIS1EvPHWkYlmDEnfNk1iYaQyNuYDxCxwwrLdyvhrsh1eiiGbabN7UK -CtqHgpZXXW/3hvCRJkl6EJVLXbegMEt73hN73Mn++iX0MVEDd+GfuEmojbM5rTpz -6CjD//CW43m9mJqq4Vx7QyZVQ9wJg9P4AvrD2gw9GQKBgQDJw+ThwWmmixXnsLxN -CpYqk77cWogTSEzyKnWYUMfiHUdCOVVEYmG4gnrC5NOuoNU2735rwDslUrGVpFRW -lPD8Ocptq6pbtKPlUVucJQVlgfrD2XWd4RuBhEX8mL6lGfTiW82wLeS7QgfDPhnh -YtBA+FASdZtsW34ce4+u6nbQqwKBgQC35qk5vXelRkp3gQpzfPLdmvR0UsSkEdD1 -DvEjixGm5VcNRCdRlxeYCPNt4ADe0EGLKQn+oCwIvrAz95ZUjcAy+nLQJA++AyGi -X8TmHhmpJS82Jo2H7h7ZFCBuep+xb4a77DnpK8feYBH7MgL1skwFOJEq3k4Iv40Y -Uydzc/irdQKBgE58q86+RHEK7eyBLd7yXVQWwUpK1WBa4cPajIBB/F+TcCLs1qSR -eN4js8mY5leqLQb/xzf3QYrVTkud70j3C3+yo3JiMxUVgiQ0r+Rf6meAVqJVN5HA -/cg2Qltut8rV/BMKD0uXrsDBgO+MetjYbZa4gb2MjndqZ/aAgnZSswGdAoGAN2Cv -PuLuH4feLsRd+E7893yM9mZiLqHq0ZCxTqm3JBHVt/n4+RnNkgvH+iNFP9NomVY/ -WzyyZeO+Pbflvgp9gRxn7IOfdfGNdE7whPc1dPjskZrkbbVn9qiX54znf8/8u6Q0 -ACId6rn1UDZMK96IA9534HfW+c1s2JFZxOt8S20CgYBtV6D3iPRzaaDJy7J2Csyu -p+4nIeudRfVmzf2VRQOFqyULWNU35I2tBjq5rzN1yAmJCgE2kW1Z4iyfmLhBrF51 -Wm3OY0R8Q5FvO9CCpL6XaZokEyWIcfEqjHKIIHf7lHeC4fs7YplRaxm7n1vV8hHK -UsP/rg6j/qZP+/WKNhsoBg== ------END PRIVATE KEY----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_pwd.crt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_pwd.crt deleted file mode 100644 index f83eba58d..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_pwd.crt +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIC9DCCAdygAwIBAgIUcPhqC08YW+4RYTuVucv4UXLd2kQwDQYJKoZIhvcNAQEL -BQAwFDESMBAGA1UEAwwJRXNwcmVzc2lmMCAXDTI1MDEyODEzMjkxMloYDzIyOTgx -MTEyMTMyOTEyWjAOMQwwCgYDVQQDDANlc3AwggEiMA0GCSqGSIb3DQEBAQUAA4IB -DwAwggEKAoIBAQCQ8NP82CE2OJaZA07nbHyfhOdv/dnZXcemxFtoiEw1v29t5pld -xBPUwy9/eg85+z1H1CTuFfHj2pzKyyB1eJojTtQlJRZn1cZJ/0/LZu7naNACsndX -mQcc0b6Cvn/jOuiqvAqFgLknLdElIun2NSgeot3lafXy/yuLbKWHRDzsZIEpu/1i -UlGx6UAQTBL+HVj2VM3hejdt33gnPwdS+otmv+2A4ZBhbrL7EmtDJLM1wISo5PRp -3YSknLJc8PdH5DQE5kaxh8RN/MDecm7kTeNeL2eN+nj9HvDUJ2yVF2P3ZaW6RtCw -Flj0E3VXfKUNz2yTIowDtSkDeG7TzjZ8V5cnAgMBAAGjQjBAMB0GA1UdDgQWBBRT -WBz6pzNCJ5iMbbxr26mwLic+5zAfBgNVHSMEGDAWgBQn5CyOO5LXQ60QRxTRaHZe -FdNrVjANBgkqhkiG9w0BAQsFAAOCAQEAYOfwiCz+pzl9uE0WMOYU0NlSmOchN05m -CInOXuU7d38+QGjbnjs5IFmvquf8Ink6Z9hJitpPWHCN6rudT2BbFzzFQVmckMke -rbTSxUgyG/Xy4YgvTz49MUlK2fZc0Uun20Fu3vnCWvEPEYAfFdaUfegXtdFkI31J -U6EiwwMPzdlX6qLc2h3nKjm5yURvhSlFhKI1DMDhHF0wi09WH0T3CufLY3AQ2npK -4Vg3lP4F5Dh3FsaVj0h7BWhd4RfE6oyHkxRRgTfLuANdv6wOt2IR5OZAPedTGD9e -W0F0EyQXxsKhfqBeZsKpcYGRPWpOfdwR8nMV4QPuTPwTONmIYLFU5w== ------END CERTIFICATE----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_pwd.key b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_pwd.key deleted file mode 100644 index a31528296..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/client_pwd.key +++ /dev/null @@ -1,30 +0,0 @@ ------BEGIN ENCRYPTED PRIVATE KEY----- -MIIFNTBfBgkqhkiG9w0BBQ0wUjAxBgkqhkiG9w0BBQwwJAQQHePIq3//PykNJRiP -8SJIiwICCAAwDAYIKoZIhvcNAgkFADAdBglghkgBZQMEASoEEGd76hqfyLtr9f/w -fETYk2QEggTQaLOK5NeAXOodW9eokEvmLeCSSHMfqXJWVSnHEbEJv5b5/lk6BoR0 -y7BYsWwRs0lvX4AZPflJJpM82VUt3HZdv7I6ANHV71BIkaHc8h5aWUoOFhKsGIqf -AibxMYDVs7st6YJFFzXidc0c8zCEDPjtDSdiaXz+lF6cbY7MUz2Ej7yJnECQiRqY -PC8tFJdQeUDbqhDSk4VyevgJPLIYILdg0m9PpJYJr97lFYjWyX6Q1FnAX8NPLnTw -yQ03OJNkuv1h5Y/nJgtAoISS3dPLn2KjDehJ9xbd6TiiBhyU2dRxKGmx71oOZvbj -yLs5TcJs76DcA/0ExxMZz2+pUOpXg/hGtdNCvHL2vrjcQ/f4qpMBd2FiazOzCTtJ -fu7DPYtirt+2xlt2htjWkXlIxE0sw4FxQYJPVVruiTfVpGtDuRGQUmAWFq5JASVi -2GguLex69JxeQb+Gv0SFwn/6eC14qWy+m3gCUdjW+qkSD+0Mk7mOxNnSIyyHXzhz -sXZ7ZncU/5Q3AEtlTYKoFV7BTmaHFRgPG6r7lKKNu2RdPRa8R3fa8HizhnIsdGe/ -m8H3ESKnpQLDiqA7cIM6eweErrOGMAwHBQSS3IdblZwdb6BPvpNUfp7lQ7YHdOYA -Vtl7gkwjniWQgSEOWqfvJ66Cr+u4wfV0rroTVP54pPeBGzort7L7Le3/ACO06ELN -Jdv6oTOsSZWs+AzwnU8/NQseB6xjvKafCBEbnYVoajTz29k52UNl/3fru3+e53Wu -WqJs8mCK9SGFLZfSp9Brecz0fpFNpQYAEEbd+HRkzT4lXCPPYGiPt+QdlcJtrwjq -NNSrCxsYxhsqEXpPzYj5ROvRBHjFGCpv6N33f05HoYQZf1hoXrABI/BQIZgXy8oD -AYKgBdrcCzJCuZyP9f66vSW7unxCAedhk4w7l6tozoPIFD2WXJ48ska9xvAjncMa -D3OAg95vEW4jfzTdLNSQnk5alOfqwX2CTHcXrzQn0OVnHG3xr1uCtTw605LoKEdf -6WQFihRnyIZOHAQyu8DVVGkhqpxH9d49VOrx5iVAhxSeK0vyhlKlZcq915VU6+mi -GEqjjywGJlN7Qk1bSfTr3AO6M8+Yd2YsBOzcGxtLkTxiUB94ss8QZzhb8qZWkSJ8 -XxhCYyL3brsnQJVjPLyJYwNaJGHcEOeSEFHichicont6tD/FdzS6hiMfVO/367f6 -q3tCLeaRYYBpM2600TjhgjfgupRJ3Y94QY0ukjwOPwx2xaciXR3RkXV0C0G4EiKH -zXJSUXxuBtdlHMyNlfh3EKRq17TkzacsbYuZ5jrGV7MIqpLF+dyqkeqMzsGFCnXN -S0gRAb2C1JwB3yWZnKtjZbUCwmwxna4YGEQZsGBxFkphvXZDJJpeDjGZHCKSkdRl -yY5UrKl6KW+n2h3CkWzuZPbAOs89o3N+pZdAxsaLUy3U4GAOev06z9fhwqjs7zsk -R/cDu/D7sIFlJfXW+QT/dXszDuLJmG/fZDBZOOshVmV8AD8nkQG802qPu47VtXLL -4NTb3XNO1ayqcrdEu/kdw9XnsXRvvRZ8Fc53qNp0zYF0/DqVnmGtHp9ttVXKDX7d -9grf6ltOzqlKfaabXTgaLkcYpeRXOLuDTPCUMRVJuxuhoWI6tQgzVx0= ------END ENCRYPTED PRIVATE KEY----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/CMakeLists.txt deleted file mode 100644 index 326ecd640..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -idf_component_register(SRCS "publish_test.c" "connect_test.c" "publish_connect_test.c" - INCLUDE_DIRS "." - REQUIRES mqtt nvs_flash console esp_netif) -target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format") diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/Kconfig.projbuild b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/Kconfig.projbuild deleted file mode 100644 index dce9ce253..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/Kconfig.projbuild +++ /dev/null @@ -1,94 +0,0 @@ -menu "Example Configuration" - - config EXAMPLE_BROKER_SSL_URI - string "Broker SSL URL" - default "mqtts://mqtt.eclipseprojects.io:8883" - help - URL of an mqtt broker for ssl transport - - config EXAMPLE_BROKER_TCP_URI - string "Broker TCP URL" - default "mqtt://mqtt.eclipseprojects.io:1883" - help - URL of an mqtt broker for tcp transport - - config EXAMPLE_BROKER_WS_URI - string "Broker WS URL" - default "ws://mqtt.eclipseprojects.io:80/mqtt" - help - URL of an mqtt broker for ws transport - - config EXAMPLE_BROKER_WSS_URI - string "Broker WSS URL" - default "wss://mqtt.eclipseprojects.io:443/mqtt" - help - URL of an mqtt broker for wss transport - - config EXAMPLE_BROKER_CERTIFICATE_OVERRIDE - string "Broker certificate override" - default "" - help - Please leave empty if broker certificate included from a textfile; otherwise fill in a base64 part of PEM - format certificate - - config EXAMPLE_BROKER_CERTIFICATE_OVERRIDDEN - bool - default y if EXAMPLE_BROKER_CERTIFICATE_OVERRIDE != "" - - config EXAMPLE_RUN_LOCAL_BROKER - bool "Run local mosquitto" - default n - help - If enabled, this tests uses local mosquitto broker - running on the same endpoint as the client - - config EXAMPLE_BROKER_HOST - string "Broker host address" - default "0.0.0.0" - depends on EXAMPLE_RUN_LOCAL_BROKER - help - Host name of the endpoint to bind the mosquitto listener. - - config EXAMPLE_BROKER_PORT - int "Broker port" - default 1234 - depends on EXAMPLE_RUN_LOCAL_BROKER - help - Port of the endpoint to bind the mosquitto listener - - config EXAMPLE_CONNECT_CASE_NO_CERT - # Note: All the below config values (EXAMPLE_CONNECT_CASE...) are hidden and - # used to give symbolic names to test cases, which are then referenced from both - # the embedded C code as well as the test counterpart in python - int - default 1 - - config EXAMPLE_CONNECT_CASE_SERVER_CERT - int - default 2 - - config EXAMPLE_CONNECT_CASE_MUTUAL_AUTH - int - default 3 - - config EXAMPLE_CONNECT_CASE_INVALID_SERVER_CERT - int - default 4 - - config EXAMPLE_CONNECT_CASE_SERVER_DER_CERT - int - default 5 - - config EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_KEY_PWD - int - default 6 - - config EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_BAD_CRT - int - default 7 - - config EXAMPLE_CONNECT_CASE_NO_CERT_ALPN - int - default 8 - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/connect_test.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/connect_test.c deleted file mode 100644 index 88db72179..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/connect_test.c +++ /dev/null @@ -1,197 +0,0 @@ -/* MQTT connect test - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ - -#include -#include "esp_console.h" - -#include "esp_log.h" -#include "mqtt_client.h" -#include "publish_connect_test.h" - -#if (!defined(CONFIG_EXAMPLE_CONNECT_CASE_NO_CERT)) || \ - (!defined(CONFIG_EXAMPLE_CONNECT_CASE_SERVER_CERT)) || \ - (!defined(CONFIG_EXAMPLE_CONNECT_CASE_MUTUAL_AUTH)) || \ - (!defined(CONFIG_EXAMPLE_CONNECT_CASE_INVALID_SERVER_CERT)) || \ - (!defined(CONFIG_EXAMPLE_CONNECT_CASE_SERVER_DER_CERT)) || \ - (!defined(CONFIG_EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_KEY_PWD)) || \ - (!defined(CONFIG_EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_BAD_CRT)) || \ - (!defined(CONFIG_EXAMPLE_CONNECT_CASE_NO_CERT_ALPN)) -#error "Some mandatory test case not defined!" -#endif - -extern const uint8_t ca_local_crt[] asm("_binary_ca_crt_start"); -extern const uint8_t ca_der_start[] asm("_binary_ca_der_start"); -extern const uint8_t ca_der_end[] asm("_binary_ca_der_end"); -extern const uint8_t client_pwd_crt[] asm("_binary_client_pwd_crt_start"); -extern const uint8_t client_pwd_key[] asm("_binary_client_pwd_key_start"); -extern const uint8_t client_inv_crt[] asm("_binary_client_inv_crt_start"); -extern const uint8_t client_no_pwd_key[] asm("_binary_client_no_pwd_key_start"); - -static const char *TAG = "connect_test"; -static int running_test_case = 0; - -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - (void)handler_args; - (void)base; - (void)event_id; - esp_mqtt_event_handle_t event = event_data; - ESP_LOGD(TAG, "Event: %d, Test case: %d", event->event_id, running_test_case); - switch (event->event_id) { - case MQTT_EVENT_BEFORE_CONNECT: - break; - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED: Test=%d", running_test_case); - break; - case MQTT_EVENT_DISCONNECTED: - break; - case MQTT_EVENT_ERROR: - ESP_LOGI(TAG, "MQTT_EVENT_ERROR: Test=%d", running_test_case); - if (event->error_handle->error_type == MQTT_ERROR_TYPE_ESP_TLS) { - ESP_LOGI(TAG, "ESP-TLS ERROR: %s", esp_err_to_name(event->error_handle->esp_tls_last_esp_err)); - } else if (event->error_handle->error_type == MQTT_ERROR_TYPE_CONNECTION_REFUSED) { - ESP_LOGI(TAG, "MQTT ERROR: 0x%x", event->error_handle->connect_return_code); - } else { - ESP_LOGW(TAG, "Unknown error type: 0x%x", event->error_handle->error_type); - } - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -static void connect_no_certs(esp_mqtt_client_handle_t client, const char *uri) -{ - ESP_LOGI(TAG, "Runnning :CONFIG_EXAMPLE_CONNECT_CASE_NO_CERT"); - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = uri - }; - esp_mqtt_set_config(client, &mqtt_cfg); -} - -static void connect_with_client_key_password(esp_mqtt_client_handle_t client, const char *uri) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = uri, - .broker.verification.certificate = (const char *)ca_local_crt, - .credentials.authentication.certificate = (const char *)client_pwd_crt, - .credentials.authentication.key = (const char *)client_pwd_key, - .credentials.authentication.key_password = "esp32", - .credentials.authentication.key_password_len = 5 - }; - esp_mqtt_set_config(client, &mqtt_cfg); -} - -static void connect_with_server_der_cert(esp_mqtt_client_handle_t client, const char *uri) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = uri, - .broker.verification.certificate = (const char *)ca_der_start, - .broker.verification.certificate_len = ca_der_end - ca_der_start, - .credentials.authentication.certificate = "NULL", - .credentials.authentication.key = "NULL" - }; - esp_mqtt_set_config(client, &mqtt_cfg); -} - -static void connect_with_wrong_server_cert(esp_mqtt_client_handle_t client, const char *uri) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = uri, - .broker.verification.certificate = (const char *)client_pwd_crt, - .credentials.authentication.certificate = "NULL", - .credentials.authentication.key = "NULL" - }; - esp_mqtt_set_config(client, &mqtt_cfg); -} - -static void connect_with_server_cert(esp_mqtt_client_handle_t client, const char *uri) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = uri, - .broker.verification.certificate = (const char *)ca_local_crt, - }; - esp_mqtt_set_config(client, &mqtt_cfg); -} - -static void connect_with_server_client_certs(esp_mqtt_client_handle_t client, const char *uri) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = uri, - .broker.verification.certificate = (const char *)ca_local_crt, - .credentials.authentication.certificate = (const char *)client_pwd_crt, - .credentials.authentication.key = (const char *)client_no_pwd_key - }; - esp_mqtt_set_config(client, &mqtt_cfg); -} - -static void connect_with_invalid_client_certs(esp_mqtt_client_handle_t client, const char *uri) -{ - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = uri, - .broker.verification.certificate = (const char *)ca_local_crt, - .credentials.authentication.certificate = (const char *)client_inv_crt, - .credentials.authentication.key = (const char *)client_no_pwd_key - }; - esp_mqtt_set_config(client, &mqtt_cfg); -} - -static void connect_with_alpn(esp_mqtt_client_handle_t client, const char *uri) -{ - const char *alpn_protos[] = { "mymqtt", NULL }; - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = uri, - .broker.verification.alpn_protos = alpn_protos - }; - esp_mqtt_set_config(client, &mqtt_cfg); -} - -void connect_setup(command_context_t * ctx) { - esp_mqtt_client_register_event(ctx->mqtt_client, ESP_EVENT_ANY_ID, mqtt_event_handler, ctx->data); -} - -void connect_teardown(command_context_t * ctx) { - esp_mqtt_client_unregister_event(ctx->mqtt_client, ESP_EVENT_ANY_ID, mqtt_event_handler); -} -void connection_test(command_context_t * ctx, const char *uri, int test_case) -{ - ESP_LOGI(TAG, "CASE:%d, connecting to %s", test_case, uri); - running_test_case = test_case; - switch (test_case) { - case CONFIG_EXAMPLE_CONNECT_CASE_NO_CERT: - connect_no_certs(ctx->mqtt_client, uri); - break; - case CONFIG_EXAMPLE_CONNECT_CASE_SERVER_CERT: - connect_with_server_cert(ctx->mqtt_client, uri); - break; - case CONFIG_EXAMPLE_CONNECT_CASE_MUTUAL_AUTH: - connect_with_server_client_certs(ctx->mqtt_client, uri); - break; - case CONFIG_EXAMPLE_CONNECT_CASE_INVALID_SERVER_CERT: - connect_with_wrong_server_cert(ctx->mqtt_client, uri); - break; - case CONFIG_EXAMPLE_CONNECT_CASE_SERVER_DER_CERT: - connect_with_server_der_cert(ctx->mqtt_client, uri); - break; - case CONFIG_EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_KEY_PWD: - connect_with_client_key_password(ctx->mqtt_client, uri); - break; - case CONFIG_EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_BAD_CRT: - connect_with_invalid_client_certs(ctx->mqtt_client, uri); - break; - case CONFIG_EXAMPLE_CONNECT_CASE_NO_CERT_ALPN: - connect_with_alpn(ctx->mqtt_client, uri); - break; - default: - ESP_LOGE(TAG, "Unknown test case %d ", test_case); - break; - } - ESP_LOGI(TAG, "Test case:%d started", test_case); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/idf_component.yml deleted file mode 100644 index bbc39b023..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/idf_component.yml +++ /dev/null @@ -1,11 +0,0 @@ -## IDF Component Manager Manifest File -dependencies: - espressif/mosquitto: - version: ">=2.0.20" - protocol_examples_common: - path: ${IDF_PATH}/examples/common_components/protocol_examples_common - espressif/mqtt: - version: "*" - override_path: "../../../.." - idf: - version: ">=4.1.0" diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/mqtt_eclipseprojects_io.pem b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/mqtt_eclipseprojects_io.pem deleted file mode 100644 index 43b222a60..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/mqtt_eclipseprojects_io.pem +++ /dev/null @@ -1,30 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw -TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh -cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw -WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg -RW5jcnlwdDELMAkGA1UEAxMCUjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK -AoIBAQC7AhUozPaglNMPEuyNVZLD+ILxmaZ6QoinXSaqtSu5xUyxr45r+XXIo9cP -R5QUVTVXjJ6oojkZ9YI8QqlObvU7wy7bjcCwXPNZOOftz2nwWgsbvsCUJCWH+jdx -sxPnHKzhm+/b5DtFUkWWqcFTzjTIUu61ru2P3mBw4qVUq7ZtDpelQDRrK9O8Zutm -NHz6a4uPVymZ+DAXXbpyb/uBxa3Shlg9F8fnCbvxK/eG3MHacV3URuPMrSXBiLxg -Z3Vms/EY96Jc5lP/Ooi2R6X/ExjqmAl3P51T+c8B5fWmcBcUr2Ok/5mzk53cU6cG -/kiFHaFpriV1uxPMUgP17VGhi9sVAgMBAAGjggEIMIIBBDAOBgNVHQ8BAf8EBAMC -AYYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMBIGA1UdEwEB/wQIMAYB -Af8CAQAwHQYDVR0OBBYEFBQusxe3WFbLrlAJQOYfr52LFMLGMB8GA1UdIwQYMBaA -FHm0WeZ7tuXkAXOACIjIGlj26ZtuMDIGCCsGAQUFBwEBBCYwJDAiBggrBgEFBQcw -AoYWaHR0cDovL3gxLmkubGVuY3Iub3JnLzAnBgNVHR8EIDAeMBygGqAYhhZodHRw -Oi8veDEuYy5sZW5jci5vcmcvMCIGA1UdIAQbMBkwCAYGZ4EMAQIBMA0GCysGAQQB -gt8TAQEBMA0GCSqGSIb3DQEBCwUAA4ICAQCFyk5HPqP3hUSFvNVneLKYY611TR6W -PTNlclQtgaDqw+34IL9fzLdwALduO/ZelN7kIJ+m74uyA+eitRY8kc607TkC53wl -ikfmZW4/RvTZ8M6UK+5UzhK8jCdLuMGYL6KvzXGRSgi3yLgjewQtCPkIVz6D2QQz -CkcheAmCJ8MqyJu5zlzyZMjAvnnAT45tRAxekrsu94sQ4egdRCnbWSDtY7kh+BIm -lJNXoB1lBMEKIq4QDUOXoRgffuDghje1WrG9ML+Hbisq/yFOGwXD9RiX8F6sw6W4 -avAuvDszue5L3sz85K+EC4Y/wFVDNvZo4TYXao6Z0f+lQKc0t8DQYzk1OXVu8rp2 -yJMC6alLbBfODALZvYH7n7do1AZls4I9d1P4jnkDrQoxB3UqQ9hVl3LEKQ73xF1O -yK5GhDDX8oVfGKF5u+decIsH4YaTw7mP3GFxJSqv3+0lUFJoi5Lc5da149p90Ids -hCExroL1+7mryIkXPeFM5TgO9r0rvZaBFOvV2z0gp35Z0+L4WPlbuEjN/lxPFin+ -HlUjr8gRsI3qfJOQFy/9rKIJR0Y/8Omwt/8oTWgy1mdeHmmjk7j1nYsvC9JSQ6Zv -MldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX -nLRbwHOoq7hHwg== ------END CERTIFICATE----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_connect_test.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_connect_test.c deleted file mode 100644 index f3164397b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_connect_test.c +++ /dev/null @@ -1,334 +0,0 @@ -/* MQTT publish-connect test - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ -#include -#include -#include -#include -#include "esp_system.h" -#include "mqtt_client.h" -#include "nvs_flash.h" -#include "esp_event.h" -#include "esp_netif.h" -#include "protocol_examples_common.h" -#include "esp_console.h" -#include "argtable3/argtable3.h" -#include "esp_log.h" -#include "publish_connect_test.h" -#include "mosq_broker.h" - -static const char *TAG = "publish_connect_test"; - -command_context_t command_context; -connection_args_t connection_args; -publish_setup_args_t publish_setup_args; -publish_args_t publish_args; - -#define RETURN_ON_PARSE_ERROR(args) do { \ - int nerrors = arg_parse(argc, argv, (void **) &(args)); \ - if (nerrors != 0) { \ - arg_print_errors(stderr, (args).end, argv[0]); \ - return 1; \ - }} while(0) - - -static int do_free_heap(int argc, char **argv) { - (void)argc; - (void)argv; - ESP_LOGI(TAG, "Note free memory: %d bytes", esp_get_free_heap_size()); - return 0; -} - -static int do_init(int argc, char **argv) { - (void)argc; - (void)argv; - const esp_mqtt_client_config_t mqtt_cfg = { - .broker.address.uri = "mqtt://127.0.0.1:1234", - .network.disable_auto_reconnect = true - }; - command_context.mqtt_client = esp_mqtt_client_init(&mqtt_cfg); - if(!command_context.mqtt_client) { - ESP_LOGE(TAG, "Failed to initialize client"); - return 1; - } - publish_init_flags(); - ESP_LOGI(TAG, "Mqtt client initialized"); - return 0; -} - -static int do_start(int argc, char **argv) { - (void)argc; - (void)argv; - if(esp_mqtt_client_start(command_context.mqtt_client) != ESP_OK) { - ESP_LOGE(TAG, "Failed to start mqtt client task"); - return 1; - } - ESP_LOGI(TAG, "Mqtt client started"); - return 0; -} - -static int do_stop(int argc, char **argv) { - (void)argc; - (void)argv; - if(esp_mqtt_client_stop(command_context.mqtt_client) != ESP_OK) { - ESP_LOGE(TAG, "Failed to stop mqtt client task"); - return 1; - } - ESP_LOGI(TAG, "Mqtt client stopped"); - return 0; -} - -static int do_disconnect(int argc, char **argv) { - (void)argc; - (void)argv; - if(esp_mqtt_client_disconnect(command_context.mqtt_client) != ESP_OK) { - ESP_LOGE(TAG, "Failed to request disconnection"); - return 1; - } - ESP_LOGI(TAG, "Mqtt client disconnected"); - return 0; -} - -static int do_connect_setup(int argc, char **argv) { - (void)argc; - (void)argv; - connect_setup(&command_context); - return 0; -} - -static int do_connect_teardown(int argc, char **argv) { - (void)argc; - (void)argv; - connect_teardown(&command_context); - return 0; -} - -static int do_reconnect(int argc, char **argv) { - (void)argc; - (void)argv; - if(esp_mqtt_client_reconnect(command_context.mqtt_client) != ESP_OK) { - ESP_LOGE(TAG, "Failed to request reconnection"); - return 1; - } - ESP_LOGI(TAG, "Mqtt client will reconnect"); - return 0; - ; -} - -static int do_destroy(int argc, char **argv) { - (void)argc; - (void)argv; - esp_mqtt_client_destroy(command_context.mqtt_client); - command_context.mqtt_client = NULL; - ESP_LOGI(TAG, "mqtt client for tests destroyed"); - return 0; -} - -static int do_connect(int argc, char **argv) -{ - int nerrors = arg_parse(argc, argv, (void **) &connection_args); - if (nerrors != 0) { - arg_print_errors(stderr, connection_args.end, argv[0]); - return 1; - } - if(!command_context.mqtt_client) { - ESP_LOGE(TAG, "MQTT client not initialized, call init first"); - return 1; - } - connection_test(&command_context, *connection_args.uri->sval, *connection_args.test_case->ival); - return 0; -} - -static int do_publish_setup(int argc, char **argv) { - RETURN_ON_PARSE_ERROR(publish_setup_args); - if(command_context.data) { - free(command_context.data); - } - command_context.data = calloc(1, sizeof(publish_context_t)); - ((publish_context_t*)command_context.data)->pattern = strdup(*publish_setup_args.pattern->sval); - ((publish_context_t*)command_context.data)->pattern_repetitions = *publish_setup_args.pattern_repetitions->ival; - ((publish_context_t*)command_context.data)->subscribe_to = strdup(*publish_setup_args.subscribe_to->sval); - ((publish_context_t*)command_context.data)->publish_to = strdup(*publish_setup_args.publish_to->sval); - publish_setup(&command_context, *publish_setup_args.transport->sval); - return 0; -} - -static int do_publish(int argc, char **argv) { - RETURN_ON_PARSE_ERROR(publish_args); - publish_test(&command_context, publish_args.expected_to_publish->ival[0], publish_args.qos->ival[0], publish_args.enqueue->ival[0]); - return 0; -} - -static int do_publish_report(int argc, char **argv) { - (void)argc; - (void)argv; - publish_context_t * ctx = command_context.data; - ESP_LOGI(TAG,"Test Report : Messages received %d, %d expected", ctx->nr_of_msg_received, ctx->nr_of_msg_expected); - - return 0; -} -void register_common_commands(void) { - const esp_console_cmd_t init = { - .command = "init", - .help = "Run inition test\n", - .hint = NULL, - .func = &do_init, - }; - - const esp_console_cmd_t start = { - .command = "start", - .help = "Run startion test\n", - .hint = NULL, - .func = &do_start, - }; - const esp_console_cmd_t stop = { - .command = "stop", - .help = "Run stopion test\n", - .hint = NULL, - .func = &do_stop, - }; - const esp_console_cmd_t destroy = { - .command = "destroy", - .help = "Run destroyion test\n", - .hint = NULL, - .func = &do_destroy, - }; - const esp_console_cmd_t free_heap = { - .command = "free_heap", - .help = "Run destroyion test\n", - .hint = NULL, - .func = &do_free_heap, - }; - ESP_ERROR_CHECK(esp_console_cmd_register(&init)); - ESP_ERROR_CHECK(esp_console_cmd_register(&start)); - ESP_ERROR_CHECK(esp_console_cmd_register(&stop)); - ESP_ERROR_CHECK(esp_console_cmd_register(&destroy)); - ESP_ERROR_CHECK(esp_console_cmd_register(&free_heap)); -} -void register_publish_commands(void) { - publish_setup_args.transport = arg_str1(NULL,NULL,"", "Selected transport to test"); - publish_setup_args.publish_to = arg_str1(NULL,NULL,"", "Selected publish_to to publish"); - publish_setup_args.subscribe_to = arg_str1(NULL,NULL,"", "Selected subscribe_to to publish"); - publish_setup_args.pattern = arg_str1(NULL,NULL,"", "Message pattern repeated to build big messages"); - publish_setup_args.pattern_repetitions = arg_int1(NULL,NULL,"", "How many times the pattern is repeated"); - publish_setup_args.end = arg_end(1); - - publish_args.expected_to_publish = arg_int1(NULL,NULL,"", "How many times the pattern is repeated"); - publish_args.qos = arg_int1(NULL,NULL,"", "How many times the pattern is repeated"); - publish_args.enqueue = arg_int1(NULL,NULL,"", "How many times the pattern is repeated"); - publish_args.end = arg_end(1); - const esp_console_cmd_t publish_setup = { - .command = "publish_setup", - .help = "Set publish test parameters\n", - .hint = NULL, - .func = &do_publish_setup, - .argtable = &publish_setup_args - }; - - const esp_console_cmd_t publish = { - .command = "publish", - .help = "Run publish test\n", - .hint = NULL, - .func = &do_publish, - .argtable = &publish_args - }; - const esp_console_cmd_t publish_report = { - .command = "publish_report", - .help = "Run destroyion test\n", - .hint = NULL, - .func = &do_publish_report, - }; - ESP_ERROR_CHECK(esp_console_cmd_register(&publish_setup)); - ESP_ERROR_CHECK(esp_console_cmd_register(&publish)); - ESP_ERROR_CHECK(esp_console_cmd_register(&publish_report)); -} -void register_connect_commands(void){ - connection_args.uri = arg_str1(NULL,NULL,"", "Broker address"); - connection_args.test_case = arg_int1(NULL, NULL, "","Selected test case"); - connection_args.end = arg_end(1); - - const esp_console_cmd_t connect = { - .command = "connect", - .help = "Run connection test\n", - .hint = NULL, - .func = &do_connect, - .argtable = &connection_args - }; - - const esp_console_cmd_t reconnect = { - .command = "reconnect", - .help = "Run reconnection test\n", - .hint = NULL, - .func = &do_reconnect, - }; - const esp_console_cmd_t connection_setup = { - .command = "connection_setup", - .help = "Run reconnection test\n", - .hint = NULL, - .func = &do_connect_setup, - }; - const esp_console_cmd_t connection_teardown = { - .command = "connection_teardown", - .help = "Run reconnection test\n", - .hint = NULL, - .func = &do_connect_teardown, - }; - const esp_console_cmd_t disconnect = { - .command = "disconnect", - .help = "Run disconnection test\n", - .hint = NULL, - .func = &do_disconnect, - }; - ESP_ERROR_CHECK(esp_console_cmd_register(&connect)); - ESP_ERROR_CHECK(esp_console_cmd_register(&disconnect)); - ESP_ERROR_CHECK(esp_console_cmd_register(&reconnect)); - ESP_ERROR_CHECK(esp_console_cmd_register(&connection_setup)); - ESP_ERROR_CHECK(esp_console_cmd_register(&connection_teardown)); -} - -#ifdef CONFIG_EXAMPLE_RUN_LOCAL_BROKER -static void broker_task(void* ctx) -{ - // broker continues to run in this task - struct mosq_broker_config config = { .host = CONFIG_EXAMPLE_BROKER_HOST, .port = CONFIG_EXAMPLE_BROKER_PORT }; - mosq_broker_run(&config); -} -#endif // CONFIG_EXAMPLE_RUN_LOCAL_BROKER - -void app_main(void) -{ - static const size_t max_line = 256; - - ESP_LOGI(TAG, "[APP] Free memory: %d bytes", esp_get_free_heap_size()); - ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version()); - - esp_log_level_set("*", ESP_LOG_INFO); - esp_log_level_set("wifi", ESP_LOG_ERROR); - esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE); - esp_log_level_set("outbox", ESP_LOG_VERBOSE); - - ESP_ERROR_CHECK(nvs_flash_init()); - ESP_ERROR_CHECK(esp_netif_init()); - ESP_ERROR_CHECK(esp_event_loop_create_default()); -#ifdef CONFIG_EXAMPLE_RUN_LOCAL_BROKER - xTaskCreate(broker_task, "broker", 8192, NULL, 4, NULL); -#endif - ESP_ERROR_CHECK(example_connect()); - esp_console_repl_t *repl = NULL; - esp_console_repl_config_t repl_config = ESP_CONSOLE_REPL_CONFIG_DEFAULT(); - repl_config.prompt = "mqtt>"; - repl_config.max_cmdline_length = max_line; - esp_console_register_help_command(); - register_common_commands(); - register_connect_commands(); - register_publish_commands(); - - esp_console_dev_uart_config_t hw_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT(); - ESP_ERROR_CHECK(esp_console_new_repl_uart(&hw_config, &repl_config, &repl)); - ESP_ERROR_CHECK(esp_console_start_repl(repl)); -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_connect_test.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_connect_test.h deleted file mode 100644 index c5311ecc2..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_connect_test.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Unlicense OR CC0-1.0 - */ -#pragma once - -#include "mqtt_client.h" - -typedef enum {NONE, TCP, SSL, WS, WSS} transport_t; - -typedef struct { - esp_mqtt_client_handle_t mqtt_client; - void * data; -} command_context_t; - -typedef struct { - transport_t selected_transport; - char *pattern; - char *subscribe_to; - char *publish_to; - int pattern_repetitions; - int qos; - char *expected; - size_t expected_size; - size_t nr_of_msg_received; - size_t nr_of_msg_expected; - char * received_data; -} publish_context_t ; - -typedef struct { - struct arg_str *uri; - struct arg_int *test_case; - struct arg_end *end; -} connection_args_t; - -typedef struct { - struct arg_int *expected_to_publish; - struct arg_int *qos; - struct arg_int *enqueue; - struct arg_end *end; -} publish_args_t; - -typedef struct { - struct arg_str *transport; - struct arg_str *subscribe_to; - struct arg_str *publish_to; - struct arg_str *pattern; - struct arg_int *pattern_repetitions; - struct arg_end *end; -} publish_setup_args_t; - -void publish_init_flags(void); -void publish_setup(command_context_t * ctx, char const * transport); -void publish_teardown(command_context_t * ctx); -void publish_test(command_context_t * ctx, int expect_to_publish, int qos, bool enqueue); -void connection_test(command_context_t * ctx, const char *uri, int test_case); -void connect_setup(command_context_t * ctx); -void connect_teardown(command_context_t * ctx); diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_test.c b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_test.c deleted file mode 100644 index fe373b695..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/main/publish_test.c +++ /dev/null @@ -1,229 +0,0 @@ -/* MQTT publish test - - This example code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ -#include -#include -#include -#include -#include -#include "freertos/FreeRTOS.h" -#include -#include "esp_system.h" -#include "esp_random.h" - -#include "esp_log.h" -#include "mqtt_client.h" -#include "sdkconfig.h" -#include "publish_connect_test.h" - -static const char *TAG = "publish_test"; - -static EventGroupHandle_t mqtt_event_group; -const static int CONNECTED_BIT = BIT0; -#define CLIENT_ID_SUFFIX_SIZE 12 -#if CONFIG_EXAMPLE_BROKER_CERTIFICATE_OVERRIDDEN == 1 -static const uint8_t mqtt_eclipseprojects_io_pem_start[] = "-----BEGIN CERTIFICATE-----\n" CONFIG_EXAMPLE_BROKER_CERTIFICATE_OVERRIDE "\n-----END CERTIFICATE-----"; -#else -extern const uint8_t mqtt_eclipseprojects_io_pem_start[] asm("_binary_mqtt_eclipseprojects_io_pem_start"); -#endif -extern const uint8_t mqtt_eclipseprojects_io_pem_end[] asm("_binary_mqtt_eclipseprojects_io_pem_end"); - -static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) -{ - publish_context_t * test_data = handler_args; - esp_mqtt_event_handle_t event = event_data; - esp_mqtt_client_handle_t client = event->client; - static int msg_id = 0; - static int actual_len = 0; - switch (event->event_id) { - case MQTT_EVENT_BEFORE_CONNECT: - break; - case MQTT_EVENT_CONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED"); - xEventGroupSetBits(mqtt_event_group, CONNECTED_BIT); - msg_id = esp_mqtt_client_subscribe(client, test_data->subscribe_to, test_data->qos); - ESP_LOGI(TAG, "sent subscribe successful %s , msg_id=%d", test_data->subscribe_to, msg_id); - - break; - case MQTT_EVENT_DISCONNECTED: - ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED"); - break; - - case MQTT_EVENT_SUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_UNSUBSCRIBED: - ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_PUBLISHED: - ESP_LOGD(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id); - break; - case MQTT_EVENT_DATA: - ESP_LOGI(TAG, "MQTT_EVENT_DATA"); - ESP_LOGI(TAG, "TOPIC=%.*s", event->topic_len, event->topic); - ESP_LOGI(TAG, "ID=%d, total_len=%d, data_len=%d, current_data_offset=%d", event->msg_id, event->total_data_len, event->data_len, event->current_data_offset); - if (event->current_data_offset == 0) { - actual_len = event->data_len; - msg_id = event->msg_id; - if (event->total_data_len != test_data->expected_size) { - ESP_LOGE(TAG, "Incorrect message size: %d != %d", event->total_data_len, test_data->expected_size); - abort(); - } - } else { - actual_len += event->data_len; - // check consistency with msg_id across multiple data events for single msg - if (msg_id != event->msg_id) { - ESP_LOGE(TAG, "Wrong msg_id in chunked message %d != %d", msg_id, event->msg_id); - abort(); - } - } - if (event->current_data_offset + event->data_len > test_data->expected_size) { - ESP_LOGE(TAG, "Buffer overflow detected: offset %d + data_len %d > buffer size %d", event->current_data_offset, event->data_len, test_data->expected_size); - abort(); - } - if (memcmp(test_data->expected + event->current_data_offset, event->data, event->data_len) != 0) { - ESP_LOGE(TAG, "Data mismatch at offset %d: \n expected %.*s, \n got %.*s", event->current_data_offset, event->data_len, test_data->expected + event->current_data_offset, event->data_len, event->data); - abort(); - } - - memcpy(test_data->received_data + event->current_data_offset, event->data, event->data_len); - if (actual_len == event->total_data_len) { - if (0 == memcmp(test_data->received_data, test_data->expected, test_data->expected_size)) { - memset(test_data->received_data, 0, test_data->expected_size); - test_data->nr_of_msg_received++; - if (test_data->nr_of_msg_received == test_data->nr_of_msg_expected) { - ESP_LOGI(TAG, "Correct pattern received exactly x times"); - ESP_LOGI(TAG, "Test finished correctly!"); - } - } else { - ESP_LOGE(TAG, "FAILED!"); - abort(); - } - } - break; - case MQTT_EVENT_ERROR: - ESP_LOGE(TAG, "MQTT_EVENT_ERROR"); - break; - default: - ESP_LOGI(TAG, "Other event id:%d", event->event_id); - break; - } -} - -void test_init(void) -{ - ESP_LOGI(TAG, "[APP] Free memory: %d bytes", esp_get_free_heap_size()); -} - -void pattern_setup(publish_context_t * test_data) -{ - int pattern_size = strlen(test_data->pattern); - free(test_data->expected); - free(test_data->received_data); - test_data->nr_of_msg_received = 0; - test_data->expected_size = (size_t)(pattern_size) * test_data->pattern_repetitions; - test_data->expected = malloc(test_data->expected_size); - test_data->received_data = malloc(test_data->expected_size); - for (int i = 0; i < test_data->pattern_repetitions; i++) { - memcpy(test_data->expected + (ptrdiff_t)(i * pattern_size), test_data->pattern, pattern_size); - } - ESP_LOGI(TAG, "EXPECTED STRING %.*s, SIZE:%d", test_data->expected_size, test_data->expected, test_data->expected_size); -} - -static void configure_client(command_context_t * ctx, const char *transport) -{ - publish_context_t * test_data = ctx->data; - ESP_LOGI(TAG, "Configuration"); - transport_t selected_transport; - if (0 == strcmp(transport, "tcp")) { - selected_transport = TCP; - } else if (0 == strcmp(transport, "ssl")) { - selected_transport = SSL; - } else if (0 == strcmp(transport, "ws")) { - selected_transport = WS; - } else if (0 == strcmp(transport, "wss")) { - selected_transport = WSS; - } else { - ESP_LOGE(TAG, "Unexpected transport %s", transport); - abort(); - } - - - if (selected_transport != test_data->selected_transport) { - test_data->selected_transport = selected_transport; - esp_mqtt_client_config_t config = {0}; - switch (selected_transport) { - case NONE: - break; - case TCP: - ESP_LOGI(TAG, "[TCP transport] Startup.."); - config.broker.address.uri = CONFIG_EXAMPLE_BROKER_TCP_URI; - break; - case SSL: - ESP_LOGI(TAG, "[SSL transport] Startup.."); - config.broker.address.uri = CONFIG_EXAMPLE_BROKER_SSL_URI; - break; - case WS: - ESP_LOGI(TAG, "[WS transport] Startup.."); - config.broker.address.uri = CONFIG_EXAMPLE_BROKER_WS_URI; - break; - case WSS: - ESP_LOGI(TAG, "[WSS transport] Startup.."); - config.broker.address.uri = CONFIG_EXAMPLE_BROKER_WSS_URI; - break; - } - if (selected_transport == SSL || selected_transport == WSS) { - ESP_LOGI(TAG, "Set certificate"); - config.broker.verification.certificate = (const char *)mqtt_eclipseprojects_io_pem_start; - } - // Generate a random client id for each iteration - char client_id[CLIENT_ID_SUFFIX_SIZE] = {0}; - snprintf(client_id, sizeof(client_id), "esp32-%08X", esp_random()); - config.credentials.client_id = client_id; - esp_mqtt_set_config(ctx->mqtt_client, &config); - } -} - -void publish_init_flags(void) { - mqtt_event_group = xEventGroupCreate(); -} - -void publish_setup(command_context_t * ctx, char const * const transport) { - xEventGroupClearBits(mqtt_event_group, CONNECTED_BIT); - publish_context_t * data = (publish_context_t*)ctx->data; - pattern_setup(data); - configure_client(ctx, transport); - esp_mqtt_client_register_event(ctx->mqtt_client, ESP_EVENT_ANY_ID, mqtt_event_handler, data); -} - -void publish_teardown(command_context_t * ctx) -{ - esp_mqtt_client_unregister_event(ctx->mqtt_client, ESP_EVENT_ANY_ID, mqtt_event_handler); -} - -void publish_test(command_context_t * ctx, int expect_to_publish, int qos, bool enqueue) -{ - publish_context_t * data = (publish_context_t*)ctx->data; - data->nr_of_msg_expected = expect_to_publish; - ESP_LOGI(TAG, "PATTERN:%s REPEATED:%d PUBLISHED:%d", data->pattern, data->pattern_repetitions, data->nr_of_msg_expected); - - xEventGroupWaitBits(mqtt_event_group, CONNECTED_BIT, false, true, portMAX_DELAY); - for (int i = 0; i < data->nr_of_msg_expected; i++) { - int msg_id; - if (enqueue) { - msg_id = esp_mqtt_client_enqueue(ctx->mqtt_client, data->publish_to, data->expected, data->expected_size, qos, 0, true); - } else { - msg_id = esp_mqtt_client_publish(ctx->mqtt_client, data->publish_to, data->expected, data->expected_size, qos, 0); - if(msg_id < 0) { - ESP_LOGE(TAG, "Failed to publish"); - break; - } - } - ESP_LOGD(TAG, "Publishing msg_id=%d", msg_id); - } -} diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/pytest_mqtt_app.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/pytest_mqtt_app.py deleted file mode 100644 index 70da7ebfd..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/pytest_mqtt_app.py +++ /dev/null @@ -1,276 +0,0 @@ -# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Unlicense OR CC0-1.0 -import contextlib -import logging -import os -import re -import socketserver -import ssl -import subprocess -from threading import Thread -from typing import Any -from typing import Callable -from typing import Dict -from typing import Optional - -import pytest -from common_test_methods import get_host_ip4_by_dest_ip -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - -SERVER_PORT = 2222 - - -def _path(f): # type: (str) -> str - return os.path.join(os.path.dirname(os.path.realpath(__file__)), f) - - -def set_server_cert_cn(ip): # type: (str) -> None - arg_list = [ - ['openssl', 'req', '-out', _path('srv.csr'), '-key', _path('server.key'), '-subj', '/CN={}'.format(ip), '-new'], - [ - 'openssl', - 'x509', - '-req', - '-in', - _path('srv.csr'), - '-CA', - _path('ca.crt'), - '-CAkey', - _path('ca.key'), - '-CAcreateserial', - '-out', - _path('srv.crt'), - '-days', - '360', - ], - ] - for args in arg_list: - if subprocess.check_call(args) != 0: - raise RuntimeError('openssl command {} failed'.format(args)) - - -class MQTTHandler(socketserver.StreamRequestHandler): - def handle(self) -> None: - logging.info(' - connection from: {}'.format(self.client_address)) - data = bytearray(self.request.recv(1024)) - message = ''.join(format(x, '02x') for x in data) - if message[0:16] == '101800044d515454': - if self.server.refuse_connection is False: # type: ignore - logging.info(' - received mqtt connect, sending ACK') - self.request.send(bytearray.fromhex('20020000')) - else: - # injecting connection not authorized error - logging.info(' - received mqtt connect, sending NAK') - self.request.send(bytearray.fromhex('20020005')) - else: - raise Exception(' - error process_mqtt_connect unexpected connect received: {}'.format(message)) - - -# Simple server for mqtt over TLS connection -class TlsServer(socketserver.TCPServer): - timeout = 30.0 - allow_reuse_address = True - allow_reuse_port = True - - def __init__( - self, - port: int = SERVER_PORT, - ServerHandler: Callable[[Any, Any, Any], socketserver.BaseRequestHandler] = MQTTHandler, - client_cert: bool = False, - refuse_connection: bool = False, - use_alpn: bool = False, - ): - self.refuse_connection = refuse_connection - self.context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) - self.ssl_error = '' - self.alpn_protocol: Optional[str] = None - if client_cert: - self.context.verify_mode = ssl.CERT_REQUIRED - self.context.load_verify_locations(cafile=_path('ca.crt')) - self.context.load_cert_chain(certfile=_path('srv.crt'), keyfile=_path('server.key')) - if use_alpn: - self.context.set_alpn_protocols(['mymqtt', 'http/1.1']) - self.server_thread = Thread(target=self.serve_forever) - super().__init__(('', port), ServerHandler) - - def server_activate(self) -> None: - self.socket = self.context.wrap_socket(self.socket, server_side=True) - super().server_activate() - - def __enter__(self): # type: ignore - self.server_thread.start() - return self - - def server_close(self) -> None: - try: - self.shutdown() - self.server_thread.join() - super().server_close() - except RuntimeError as e: - logging.exception(e) - - # We need to override it here to capture ssl.SSLError - # The implementation is a slightly modified version from cpython original code. - def _handle_request_noblock(self) -> None: - try: - request, client_address = self.get_request() - self.alpn_protocol = request.selected_alpn_protocol() # type: ignore - except ssl.SSLError as e: - self.ssl_error = e.reason - return - except OSError: - return - if self.verify_request(request, client_address): - try: - self.process_request(request, client_address) - except Exception: - self.handle_error(request, client_address) - self.shutdown_request(request) - except: # noqa: E722 - self.shutdown_request(request) - raise - else: - self.shutdown_request(request) - - def last_ssl_error(self): # type: (TlsServer) -> str - return self.ssl_error - - def get_negotiated_protocol(self) -> Optional[str]: - return self.alpn_protocol - - -def get_test_cases(dut: Dut) -> Any: - cases = {} - try: - # Get connection test cases configuration: symbolic names for test cases - for case in [ - 'EXAMPLE_CONNECT_CASE_NO_CERT', - 'EXAMPLE_CONNECT_CASE_SERVER_CERT', - 'EXAMPLE_CONNECT_CASE_MUTUAL_AUTH', - 'EXAMPLE_CONNECT_CASE_INVALID_SERVER_CERT', - 'EXAMPLE_CONNECT_CASE_SERVER_DER_CERT', - 'EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_KEY_PWD', - 'EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_BAD_CRT', - 'EXAMPLE_CONNECT_CASE_NO_CERT_ALPN', - ]: - cases[case] = dut.app.sdkconfig.get(case) - except Exception: - logging.error('ENV_TEST_FAILURE: Some mandatory CONNECTION test case not found in sdkconfig') - raise - return cases - - -def get_dut_ip(dut: Dut) -> Any: - dut_ip = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30).group(1).decode() - logging.info('Got IP={}'.format(dut_ip)) - return get_host_ip4_by_dest_ip(dut_ip) - - -@contextlib.contextmanager -def connect_dut(dut: Dut, uri: str, case_id: int) -> Any: - dut.write('connection_setup') - dut.write(f'connect {uri} {case_id}') - dut.expect(f'Test case:{case_id} started') - dut.write('reconnect') - yield - dut.write('connection_teardown') - dut.write('disconnect') - - -def run_cases(dut: Dut, uri: str, cases: Dict[str, int]) -> None: - try: - dut.write('init') - dut.write(f'start') - dut.write(f'disconnect') - for case in [ - 'EXAMPLE_CONNECT_CASE_NO_CERT', - 'EXAMPLE_CONNECT_CASE_SERVER_CERT', - 'EXAMPLE_CONNECT_CASE_SERVER_DER_CERT', - ]: - # All these cases connect to the server with no server verification or with server only verification - with TlsServer(), connect_dut(dut, uri, cases[case]): - logging.info(f'Running {case}: default server - expect to connect normally') - dut.expect(f'MQTT_EVENT_CONNECTED: Test={cases[case]}', timeout=30) - with TlsServer(refuse_connection=True), connect_dut(dut, uri, cases[case]): - logging.info(f'Running {case}: ssl shall connect, but mqtt sends connect refusal') - dut.expect(f'MQTT_EVENT_ERROR: Test={cases[case]}', timeout=30) - dut.expect('MQTT ERROR: 0x5') # expecting 0x5 ... connection not authorized error - with TlsServer(client_cert=True) as server, connect_dut(dut, uri, cases[case]): - logging.info( - f'Running {case}: server with client verification - handshake error since client presents no client certificate' - ) - dut.expect(f'MQTT_EVENT_ERROR: Test={cases[case]}', timeout=30) - dut.expect( - 'ESP-TLS ERROR: ESP_ERR_MBEDTLS_SSL_HANDSHAKE_FAILED' - ) # expect ... handshake error (PEER_DID_NOT_RETURN_A_CERTIFICATE) - assert 'PEER_DID_NOT_RETURN_A_CERTIFICATE' in server.last_ssl_error() - - for case in ['EXAMPLE_CONNECT_CASE_MUTUAL_AUTH', 'EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_KEY_PWD']: - # These cases connect to server with both server and client verification (client key might be password protected) - with TlsServer(client_cert=True), connect_dut(dut, uri, cases[case]): - logging.info(f'Running {case}: server with client verification - expect to connect normally') - dut.expect(f'MQTT_EVENT_CONNECTED: Test={cases[case]}', timeout=30) - - case = 'EXAMPLE_CONNECT_CASE_INVALID_SERVER_CERT' - with TlsServer() as s, connect_dut(dut, uri, cases[case]): - logging.info(f'Running {case}: invalid server certificate on default server - expect ssl handshake error') - dut.expect(f'MQTT_EVENT_ERROR: Test={cases[case]}', timeout=30) - dut.expect( - 'ESP-TLS ERROR: ESP_ERR_MBEDTLS_SSL_HANDSHAKE_FAILED' - ) # expect ... handshake error (TLSV1_ALERT_UNKNOWN_CA) - if re.match('.*alert.*unknown.*ca', s.last_ssl_error(), flags=re.I) is None: - raise Exception(f'Unexpected ssl error from the server: {s.last_ssl_error()}') - - case = 'EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_BAD_CRT' - with TlsServer(client_cert=True) as s, connect_dut(dut, uri, cases[case]): - logging.info( - f'Running {case}: Invalid client certificate on server with client verification - expect ssl handshake error' - ) - dut.expect(f'MQTT_EVENT_ERROR: Test={cases[case]}', timeout=30) - dut.expect( - 'ESP-TLS ERROR: ESP_ERR_MBEDTLS_SSL_HANDSHAKE_FAILED' - ) # expect ... handshake error (CERTIFICATE_VERIFY_FAILED) - if 'CERTIFICATE_VERIFY_FAILED' not in s.last_ssl_error(): - raise Exception('Unexpected ssl error from the server {}'.format(s.last_ssl_error())) - - for case in ['EXAMPLE_CONNECT_CASE_NO_CERT', 'EXAMPLE_CONNECT_CASE_NO_CERT_ALPN']: - with TlsServer(use_alpn=True) as s, connect_dut(dut, uri, cases[case]): - logging.info(f'Running {case}: server with alpn - expect connect, check resolved protocol') - dut.expect(f'MQTT_EVENT_CONNECTED: Test={cases[case]}', timeout=30) - if case == 'EXAMPLE_CONNECT_CASE_NO_CERT': - assert s.get_negotiated_protocol() is None - elif case == 'EXAMPLE_CONNECT_CASE_NO_CERT_ALPN': - assert s.get_negotiated_protocol() == 'mymqtt' - else: - assert False, f'Unexpected negotiated protocol {s.get_negotiated_protocol()}' - finally: - dut.write('stop') - dut.write('destroy') - - -@pytest.mark.ethernet -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_mqtt_connect( - dut: Dut, - log_performance: Callable[[str, object], None], -) -> None: - """ - steps: - 1. join AP - 2. connect to uri specified in the config - 3. send and receive data - """ - # check and log bin size - binary_file = os.path.join(dut.app.binary_path, 'mqtt_publish_connect_test.bin') - bin_size = os.path.getsize(binary_file) - log_performance('mqtt_publish_connect_test_bin_size', f'{bin_size // 1024} KB') - - ip = get_dut_ip(dut) - set_server_cert_cn(ip) - uri = f'mqtts://{ip}:{SERVER_PORT}' - - # Look for test case symbolic names and publish configs - cases = get_test_cases(dut) - dut.expect_exact('mqtt>', timeout=30) - run_cases(dut, uri, cases) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/pytest_mqtt_publish_app.py b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/pytest_mqtt_publish_app.py deleted file mode 100644 index 2c39034de..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/pytest_mqtt_publish_app.py +++ /dev/null @@ -1,335 +0,0 @@ -# SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD -# SPDX-License-Identifier: Unlicense OR CC0-1.0 -import contextlib -import difflib -import logging -import os -import random -import re -import ssl -import string -import time -from itertools import count -from itertools import product -from threading import Event -from threading import Lock -from typing import Any -from typing import Dict -from typing import List -from typing import Tuple -from typing import no_type_check - -import paho.mqtt.client as mqtt -import pexpect -import pytest -from pytest_embedded import Dut -from pytest_embedded_idf.utils import idf_parametrize - -DEFAULT_MSG_SIZE = 16 - - -# Publisher class creating a python client to send/receive published data from esp-mqtt client -class MqttPublisher(mqtt.Client): - def __init__(self, config, log_details=False): # type: (MqttPublisher, dict, bool) -> None - self.log_details = log_details - self.config = config - self.expected_data = f'{config["pattern"] * config["scenario"]["msg_len"]}' - self.received = 0 - self.subscribe_mid = 0 - self.lock = Lock() - self.event_client_connected = Event() - self.event_client_subscribed = Event() - self.event_client_got_all = Event() - transport = 'websockets' if self.config['transport'] in ['ws', 'wss'] else 'tcp' - client_id = 'MqttTestRunner' + ''.join( - random.choice(string.ascii_uppercase + string.ascii_lowercase) for _ in range(5) - ) - super().__init__(client_id, userdata=0, transport=transport) - - def print_details(self, text): # type: (str) -> None - if self.log_details: - logging.info(text) - - def on_subscribe(self, client: Any, userdata: Any, mid: Any, granted_qos: Any) -> None: - """Verify successful subscription.""" - if mid == self.subscribe_mid: - logging.info(f'Subscribed to {self.config["subscribe_topic"]} successfully with QoS: {granted_qos}') - self.event_client_subscribed.set() - - def on_connect(self, mqttc: Any, obj: Any, flags: Any, rc: int) -> None: - self.event_client_connected.set() - - def on_connect_fail(self, mqttc: Any, obj: Any) -> None: - logging.error('Connect failed') - - def on_message(self, mqttc: mqtt.Client, obj: Any, msg: mqtt.MQTTMessage) -> None: - payload = msg.payload.decode('utf-8') - if payload == self.expected_data: - self.received += 1 - if self.received == self.config['scenario']['nr_of_msgs']: - self.event_client_got_all.set() - else: - differences = len(list(filter(lambda data: data[0] != data[1], zip(payload, self.expected_data)))) - logging.error( - f'Payload on topic "{msg.topic}" (QoS {msg.qos}) differs in {differences} positions ' - 'from expected data. ' - f'Received size: {len(payload)}, expected size: {len(self.expected_data)}.' - ) - logging.info(f'Repetitions: {payload.count(self.config["pattern"])}') - logging.info(f'Pattern: {self.config["pattern"]}') - logging.info(f'First: {payload[:DEFAULT_MSG_SIZE]}') - logging.info(f'Last: {payload[-DEFAULT_MSG_SIZE:]}') - matcher = difflib.SequenceMatcher(a=payload, b=self.expected_data) - for match in matcher.get_matching_blocks(): - logging.info(f'Match: {match}') - - def __enter__(self) -> Any: - qos = self.config['qos'] - broker_host = self.config['broker_host_' + self.config['transport']] - broker_port = self.config['broker_port_' + self.config['transport']] - connect_timeout_seconds = self.config.get('client_connect_timeout', 30) - - try: - self.print_details('Connecting...') - if self.config['transport'] in ['ssl', 'wss']: - self.tls_set(None, None, None, cert_reqs=ssl.CERT_NONE, tls_version=ssl.PROTOCOL_TLSv1_2, ciphers=None) - self.tls_insecure_set(True) - self.event_client_connected.clear() - self.loop_start() - self.connect(broker_host, broker_port, 60) # paho's keepalive - except Exception: - self.print_details(f'ENV_TEST_FAILURE: Unexpected error while connecting to broker {broker_host}') - raise - self.print_details(f'Connecting py-client to broker {broker_host}:{broker_port}...') - - if not self.event_client_connected.wait(timeout=connect_timeout_seconds): - raise ValueError( - f'ENV_TEST_FAILURE: Test script cannot connect to broker: {broker_host} ' - f'within {connect_timeout_seconds}s' - ) - self.event_client_got_all.clear() - result, self.subscribe_mid = self.subscribe(self.config['subscribe_topic'], qos) - assert result == 0 - return self - - def __exit__(self, exc_type, exc_value, traceback): # type: (MqttPublisher, str, str, dict) -> None - self.disconnect() - self.loop_stop() - - -def get_configurations(dut: Dut, test_case: Any) -> Dict[str, Any]: - publish_cfg = {} - try: - - @no_type_check - def get_config_from_dut(dut, config_option): - # logging.info('Option:', config_option, dut.app.sdkconfig.get(config_option)) - value = re.search(r'\:\/\/([^:]+)\:([0-9]+)', dut.app.sdkconfig.get(config_option)) - if value is None: - return None, None - return value.group(1), int(value.group(2)) - - # Get publish test configuration - publish_cfg['broker_host_ssl'], publish_cfg['broker_port_ssl'] = get_config_from_dut( - dut, 'EXAMPLE_BROKER_SSL_URI' - ) - publish_cfg['broker_host_tcp'], publish_cfg['broker_port_tcp'] = get_config_from_dut( - dut, 'EXAMPLE_BROKER_TCP_URI' - ) - publish_cfg['broker_host_ws'], publish_cfg['broker_port_ws'] = get_config_from_dut(dut, 'EXAMPLE_BROKER_WS_URI') - publish_cfg['broker_host_wss'], publish_cfg['broker_port_wss'] = get_config_from_dut( - dut, 'EXAMPLE_BROKER_WSS_URI' - ) - - except Exception: - logging.info('ENV_TEST_FAILURE: Some mandatory PUBLISH test case not found in sdkconfig') - raise - transport, qos, enqueue, scenario = test_case - if publish_cfg['broker_host_' + transport] is None: - pytest.skip(f'Skipping transport: {transport}...') - publish_cfg['scenario'] = scenario - publish_cfg['qos'] = qos - publish_cfg['enqueue'] = enqueue - publish_cfg['transport'] = transport - publish_cfg['pattern'] = ''.join( - random.choice(string.ascii_uppercase + string.ascii_lowercase + string.digits) for _ in range(DEFAULT_MSG_SIZE) - ) - publish_cfg['client_connect_timeout'] = 30 - publish_cfg['dut_subscribe_timeout'] = 60 - publish_cfg['publish_ack_timeout'] = 60 - publish_cfg['test_timeout'] = get_timeout(test_case) - - unique_topic = ''.join( - random.choice(string.ascii_uppercase + string.ascii_lowercase) for _ in range(DEFAULT_MSG_SIZE) - ) - publish_cfg['subscribe_topic'] = 'test/subscribe_to/' + unique_topic - publish_cfg['publish_topic'] = 'test/subscribe_to/' + unique_topic - logging.info(f'configuration: {publish_cfg}') - return publish_cfg - - -@contextlib.contextmanager -def connected_and_subscribed(dut: Dut, config: Dict[str, Any]) -> Any: - dut.write('start') - dut_subscribe_timeout = config.get('dut_subscribe_timeout', 60) - dut.expect(re.compile(rb'MQTT_EVENT_SUBSCRIBED'), timeout=dut_subscribe_timeout) - yield - dut.write('stop') - - -def get_scenarios() -> List[Dict[str, int]]: - scenarios = [] - # Initialize message sizes and repeat counts (if defined in the environment) - for i in count(0): - # Check env variable: MQTT_PUBLISH_MSG_{len|repeat}_{x} - env_dict = {var: 'MQTT_PUBLISH_MSG_' + var + '_' + str(i) for var in ['len', 'repeat']} - if os.getenv(env_dict['len']) and os.getenv(env_dict['repeat']): - scenarios.append({var: int(os.getenv(env_dict[var])) for var in ['len', 'repeat']}) # type: ignore - continue - break - if not scenarios: # No message sizes present in the env - set defaults - logging.info('Using predefined cases') - scenarios = [ - {'msg_len': 0, 'nr_of_msgs': 5}, # zero-sized messages - {'msg_len': 2, 'nr_of_msgs': 5}, # short messages - {'msg_len': 200, 'nr_of_msgs': 3}, # long messages - ] - return scenarios - - -def get_timeout(test_case: Any) -> int: - transport, qos, enqueue, scenario = test_case - timeout = int(scenario['nr_of_msgs'] * 20) - if qos == 1: - timeout += 30 - if qos == 2: - timeout += 45 - if transport in ['ws', 'wss']: - timeout += 30 - return timeout - - -def run_publish_test_case(dut: Dut, config: Any) -> None: - logging.info( - f'Starting Publish test: transport:{config["transport"]}, qos:{config["qos"]},' - f'nr_of_msgs:{config["scenario"]["nr_of_msgs"]},' - f' msg_size:{config["scenario"]["msg_len"]}, enqueue:{config["enqueue"]}' - ) - dut.write( - f'publish_setup {config["transport"]} {config["publish_topic"]}' - f' {config["subscribe_topic"]} {config["pattern"]} {config["scenario"]["msg_len"]}' - ) - with MqttPublisher(config) as publisher, connected_and_subscribed(dut, config): - py_client_subscribe_timeout = config.get('py_client_subscribe_timeout', config['test_timeout']) - assert publisher.event_client_subscribed.wait(timeout=py_client_subscribe_timeout), 'Runner failed to subscribe' - msgs_published: List[mqtt.MQTTMessageInfo] = [] - dut.write(f'publish {config["scenario"]["nr_of_msgs"]} {config["qos"]} {config["enqueue"]}') - assert publisher.event_client_got_all.wait(timeout=config['test_timeout']), ( - f'Not all data received from ESP32: {config["transport"]} ' - f'qos={config["qos"]} received: {publisher.received} ' - f'expected: {config["scenario"]["nr_of_msgs"]}' - ) - logging.info(' - all data received from ESP32') - payload = config['pattern'] * config['scenario']['msg_len'] - for _ in range(config['scenario']['nr_of_msgs']): - with publisher.lock: - msg = publisher.publish(topic=config['publish_topic'], payload=payload, qos=config['qos']) - if config['qos'] > 0: - msgs_published.append(msg) - logging.info(f'Published: {len(msgs_published)} messages from script with QoS > 0 needing ACK.') - - if msgs_published: - publish_ack_timeout_seconds = config.get('publish_ack_timeout', 60) # Default 60s, make configurable - ack_wait_start_time = time.time() - initial_unacked_count = len(msgs_published) - logging.info(f'Waiting {initial_unacked_count} publish ack with timeout {publish_ack_timeout_seconds}s...') - - while msgs_published: - if time.time() - ack_wait_start_time > publish_ack_timeout_seconds: - unacked_mids = [msg.mid for msg in msgs_published if msg.mid is not None and not msg.is_published()] - logging.error( - f'Timeout waiting for publish acknowledgements. ' - f'{len(unacked_mids)} of {initial_unacked_count} messages remain unacknowledged. ' - f'Unacked MIDs: {unacked_mids}' - ) - # This will likely cause the test to fail at a later assertion, - # or you could raise an explicit error here. - # e.g. raise Exception('Timeout waiting for publish acknowledgements') - break - msgs_published = [msg for msg in msgs_published if not msg.is_published()] - if msgs_published: # Avoid busy-looping if list is not empty - time.sleep(0.1) # Brief pause - if not msgs_published: - logging.info('All script-published QoS > 0 messages acknowledged by broker.') - - logging.info('All messages from runner published (or timed out waiting for ACK).') - - try: - dut.expect(re.compile(rb'Correct pattern received exactly x times'), timeout=config['test_timeout']) - except pexpect.exceptions.ExceptionPexpect: - dut.write('publish_report') - dut.expect(re.compile(rb'Test Report'), timeout=30) - raise - logging.info('ESP32 received all data from runner') - - -stress_scenarios = [{'msg_len': 20, 'nr_of_msgs': 30}] # many medium sized -transport_cases = ['tcp', 'ws', 'wss', 'ssl'] -qos_cases = [0, 1, 2] -enqueue_cases = [0, 1] -local_broker_supported_transports = ['tcp'] -local_broker_scenarios = [ - {'msg_len': 0, 'nr_of_msgs': 5}, # zero-sized messages - {'msg_len': 5, 'nr_of_msgs': 20}, # short messages - {'msg_len': 500, 'nr_of_msgs': 10}, # long messages - {'msg_len': 20, 'nr_of_msgs': 20}, -] # many medium sized - - -def make_cases(transport: Any, scenarios: List[Dict[str, int]]) -> List[Tuple[str, int, int, Dict[str, int]]]: - return [test_case for test_case in product(transport, qos_cases, enqueue_cases, scenarios)] - - -test_cases = make_cases(transport_cases, get_scenarios()) -stress_test_cases = make_cases(transport_cases, stress_scenarios) - - -@pytest.mark.ethernet -@pytest.mark.parametrize('test_case', test_cases) -@pytest.mark.parametrize('config', ['default'], indirect=True) -@idf_parametrize('target', ['esp32'], indirect=['target']) -@pytest.mark.flaky(reruns=1, reruns_delay=1) -def test_mqtt_publish(dut: Dut, test_case: Any) -> None: - publish_cfg = get_configurations(dut, test_case) - dut.expect(re.compile(rb'mqtt>'), timeout=30) - dut.confirm_write('init', expect_pattern='init', timeout=30) - run_publish_test_case(dut, publish_cfg) - - -@pytest.mark.ethernet_stress -@pytest.mark.nightly_run -@pytest.mark.parametrize('test_case', stress_test_cases) -@pytest.mark.parametrize('config', ['default'], indirect=True) -@pytest.mark.flaky(reruns=1, reruns_delay=1) -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_mqtt_publish_stress(dut: Dut, test_case: Any) -> None: - publish_cfg = get_configurations(dut, test_case) - dut.expect(re.compile(rb'mqtt>'), timeout=30) - dut.write('init') - run_publish_test_case(dut, publish_cfg) - - -@pytest.mark.ethernet -@pytest.mark.parametrize('test_case', make_cases(local_broker_supported_transports, local_broker_scenarios)) -@pytest.mark.parametrize('config', ['local_broker'], indirect=True) -@idf_parametrize('target', ['esp32'], indirect=['target']) -def test_mqtt_publish_local(dut: Dut, test_case: Any) -> None: - if test_case[0] not in local_broker_supported_transports: - pytest.skip(f'Skipping transport: {test_case[0]}...') - dut_ip = dut.expect(r'esp_netif_handlers: .+ ip: (\d+\.\d+\.\d+\.\d+),').group(1) - publish_cfg = get_configurations(dut, test_case) - publish_cfg['broker_host_tcp'] = dut_ip - publish_cfg['broker_port_tcp'] = 1234 - dut.expect(re.compile(rb'mqtt>'), timeout=30) - dut.confirm_write('init', expect_pattern='init', timeout=30) - run_publish_test_case(dut, publish_cfg) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/sdkconfig.ci.default b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/sdkconfig.ci.default deleted file mode 100644 index cfc39a451..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/sdkconfig.ci.default +++ /dev/null @@ -1,20 +0,0 @@ -CONFIG_EXAMPLE_BROKER_SSL_URI="mqtts://${EXAMPLE_MQTT_BROKER_SSL}" -CONFIG_EXAMPLE_BROKER_TCP_URI="mqtt://${EXAMPLE_MQTT_BROKER_TCP}" -CONFIG_EXAMPLE_BROKER_WS_URI="ws://${EXAMPLE_MQTT_BROKER_WS}/ws" -CONFIG_EXAMPLE_BROKER_WSS_URI="wss://${EXAMPLE_MQTT_BROKER_WSS}/ws" -CONFIG_EXAMPLE_BROKER_CERTIFICATE_OVERRIDE="${EXAMPLE_MQTT_BROKER_CERTIFICATE}" -CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y -CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384 -CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=16384 -CONFIG_ESP_TLS_INSECURE=y -CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY=y -CONFIG_EXAMPLE_CONNECT_ETHERNET=y -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_ESP_NETIF_RECEIVE_REPORT_ERRORS=y -CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y -CONFIG_EXAMPLE_ETH_PHY_IP101=y -CONFIG_EXAMPLE_ETH_MDC_GPIO=23 -CONFIG_EXAMPLE_ETH_MDIO_GPIO=18 -CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5 -CONFIG_EXAMPLE_ETH_PHY_ADDR=1 -CONFIG_EXAMPLE_CONNECT_IPV6=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/sdkconfig.ci.local_broker b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/sdkconfig.ci.local_broker deleted file mode 100644 index 0cf44fb78..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/sdkconfig.ci.local_broker +++ /dev/null @@ -1,13 +0,0 @@ -CONFIG_EXAMPLE_BROKER_SSL_URI="" -CONFIG_EXAMPLE_BROKER_TCP_URI="mqtt://127.0.0.1:1234" -CONFIG_EXAMPLE_BROKER_WS_URI="" -CONFIG_EXAMPLE_BROKER_WSS_URI="" -CONFIG_EXAMPLE_BROKER_CERTIFICATE_OVERRIDE="" -CONFIG_ESP_TLS_INSECURE=y -CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY=y -CONFIG_EXAMPLE_CONNECT_ETHERNET=y -CONFIG_EXAMPLE_CONNECT_WIFI=n -CONFIG_MQTT_USE_CUSTOM_CONFIG=y -CONFIG_MQTT_POLL_READ_TIMEOUT_MS=50 -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y -CONFIG_EXAMPLE_RUN_LOCAL_BROKER=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/server.key b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/server.key deleted file mode 100644 index 2a4d650ea..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/apps/publish_connect_test/server.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEAlUCywNhVv4RO2y9h/XGKZ1azzk3jzHpSBzIGO9LoiA8trC/p -1ykGaUfYPJllYK4HMhC4fUyE3J7tVL2Eskzl26LNPLbEoaBWZM9NhV3iA1/1EtOu -p6umLx+y3sDfvK35YAOUbjdAlBfhnJ4r8h7oTsxl3J5jZ18zgjJnJi2NEFq/yTpO -MiwHLWPjy25fDFixfV9UzSvbgt1JaGPmC7c4QkhHzjyp0+ikuvRIw0p9BBNeqBV2 -da3qBMB5FtodUJTAz6o6OKWbTalLjQi6C1H6z9TnY7IrJBUOy/FWkQH/sEsLdscD -hHa1Dz2oT203QjhzyOSfnNF95D/1MdNcMt6l0wIDAQABAoIBAC1JJTOoMFRc48RT -myrYQYNbZlEphv3q+2qdfhC2zMFDwbrmCtCy7PQSzYSNkpoEE8DYG/JAvmtmeWJl -4pZrCK9ctWM/nWfhC3WpBL97nfEiM20T94F+bn0L5Cz8XqaULv839th+QUTt/hGU -WIctY5VNJXcMQ+MAmtNdUbjex1d3iuxiKHUo4nDoZ8digKFNdtdP5B5nlMq5chCL -mxNRcsGsx2dDAxbGUapdTVPWHPJKpLOBoSkluDsfd2KZADFU2R1SJpAX9+RYh3HM -5FTUdHTUaISxbKkgeDKlEM0lqk2TtGUwCyEj098ewi7Wzsu9w60IplPPUJx5FRG6 -jp3wzLkCgYEAxKp5T20rf/7ysX7x053I7VCjDXUxAaWOEj1uS3AhOkl0NaZg7Di+ -y53fWNkcHdkt2n2LqMt/43UgMYq3TVVcq2eunPNF11e1bJw8CjDafwDs4omwwyVn -lYhPuB4dK2OAib+vU5Zqpp0kZMoxk2MZVgon8z+s8DW/zmB6aFqAWeUCgYEAwkhC -OgmXKMdjOCVy5t2f5UbY8Y9rV3w8eUATuJ47MMwLr4pGYnKoEn9JB4ltWrHv/u5S -fOv3tIrrCEvnCoCbOILwCsY5LqTNXgqova8FB6RpMUQCzhDd8LHuvdHv0WMnMzX1 -3PKuqwh8JS55m4WqZRhzr5BFKG4fHPVs4IcaJVcCgYAzzCaJSdqUKqTnJOUydDNQ -ddWMHNqccWs62J0tF0pZHLGT089hSAzQejMyJnSmU+Ykzr4y5e44DUg+ZCelIZ93 -saYmxlgVwI8THQ8fLADQRIEfpV4996MRmkZM2vmZzOo03Zyi6lIKsga82Rg3lnk8 -1Q3ynknBNpbfF0AGLhfyFQKBgBYlxJ73HutAJ5hr9HhLBYJOnEaVUehMOlycKGNg -bmD2sdJWEgYBChXpurqIORYguLo4EuE4ySkkuPxeIr14wbkkfBbOWBBwKxUwY+IT -xKAFZxR9q1AwbgyVTCEJgKw/AGX/HcMNS0omEnjunmBTUYRq0C1QZgHg490aQUor -PJjLAoGAevzdTpFlVeuKeYh1oDubGO1LinyXpBv7fPFjl+zu4AVbjojcU6yC4OO6 -QvqopE6SyAECKy8kAOFcESPsGc9Lta2XUvI203z7pIVlNVEcJ0+90mQh3Mn1U46l -sZ49PdRvNwNb5wvkh1UqNsMlGFbRlzMbIk45ou4311kCobowZek= ------END RSA PRIVATE KEY----- diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/CMakeLists.txt deleted file mode 100644 index 4b4b5d413..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/CMakeLists.txt +++ /dev/null @@ -1,17 +0,0 @@ -# The following four lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -idf_build_set_property(MINIMAL_BUILD ON) -list(APPEND EXTRA_COMPONENT_DIRS - "$ENV{IDF_PATH}/tools/mocks/esp_hw_support/" - "$ENV{IDF_PATH}/tools/mocks/freertos/" - "$ENV{IDF_PATH}/tools/mocks/esp_timer/" - "$ENV{IDF_PATH}/tools/mocks/esp_event/" - "$ENV{IDF_PATH}/tools/mocks/lwip/" - "$ENV{IDF_PATH}/tools/mocks/esp-tls/" - "$ENV{IDF_PATH}/tools/mocks/http_parser/" - "$ENV{IDF_PATH}/tools/mocks/tcp_transport/") - -project(host_mqtt_client_test) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/README.md b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/README.md deleted file mode 100644 index a62087a71..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/README.md +++ /dev/null @@ -1,30 +0,0 @@ -| Supported Targets | Linux | -| ----------------- | ----- | - -# Description - -This directory contains test code for the mqtt client that runs on host. - -Tests are written using [Catch2](https://github.com/catchorg/Catch2) test framework - -# Build - -Tests build regularly like an idf project. - -``` -idf.py build -``` - -# Run - -The build produces an executable in the build folder. - -Just run: - -``` -./build/host_mqtt_client_test.elf -``` - -The test executable have some options provided by the test framework. - - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/CMakeLists.txt b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/CMakeLists.txt deleted file mode 100644 index e258192d6..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -idf_component_register(SRCS "test_mqtt_client.cpp" - REQUIRES cmock mqtt esp_timer esp_hw_support http_parser log - WHOLE_ARCHIVE) - -target_compile_options(${COMPONENT_LIB} PUBLIC -fsanitize=address -Wno-missing-field-initializers) -target_link_options(${COMPONENT_LIB} PUBLIC -fsanitize=address) -target_link_libraries(${COMPONENT_LIB} PUBLIC Catch2::Catch2WithMain) - -idf_component_get_property(mqtt mqtt COMPONENT_LIB) -target_compile_definitions(${mqtt} PRIVATE SOC_WIFI_SUPPORTED=1) -target_compile_options(${mqtt} PUBLIC -fsanitize=address) -target_link_options(${mqtt} PUBLIC -fsanitize=address) - -if(CONFIG_GCOV_ENABLED) - target_compile_options(${COMPONENT_LIB} PUBLIC --coverage -fprofile-arcs -ftest-coverage) - target_link_options(${COMPONENT_LIB} PUBLIC --coverage -fprofile-arcs -ftest-coverage) - - idf_component_get_property(mqtt mqtt COMPONENT_LIB) - target_compile_options(${mqtt} PUBLIC --coverage -fprofile-arcs -ftest-coverage) - target_link_options(${mqtt} PUBLIC --coverage -fprofile-arcs -ftest-coverage) -endif() diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/Kconfig b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/Kconfig deleted file mode 100644 index 6ef29cd97..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/Kconfig +++ /dev/null @@ -1,9 +0,0 @@ -menu "Host-test config" - - config GCOV_ENABLED - bool "Coverage analyzer" - default n - help - Enables coverage analyzing for host tests. - -endmenu diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/idf_component.yml b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/idf_component.yml deleted file mode 100644 index 77d74834e..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/idf_component.yml +++ /dev/null @@ -1,9 +0,0 @@ -## IDF Component Manager Manifest File -dependencies: - espressif/catch2: "^3.5.2" - espressif/mqtt: - version: "*" - override_path: "../../.." - ## Required IDF version - idf: - version: ">=5.0.0" diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/test_mqtt_client.cpp b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/test_mqtt_client.cpp deleted file mode 100644 index a5dc05ca8..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/main/test_mqtt_client.cpp +++ /dev/null @@ -1,171 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ -#include -#include -#include -#include -#include -#include -#include "esp_transport.h" -#include - -#include "mqtt_client.h" -extern "C" { -#include "Mockesp_event.h" -#include "Mockesp_mac.h" -#include "Mockesp_transport.h" -#include "Mockesp_transport_ssl.h" -#include "Mockesp_transport_tcp.h" -#include "Mockesp_transport_ws.h" -#include "Mockevent_groups.h" -#include "Mockhttp_parser.h" -#include "Mockqueue.h" -#include "Mocktask.h" -#if __has_include ("Mockidf_additions.h") -/* Some functions were moved from "task.h" to "idf_additions.h" */ -#include "Mockidf_additions.h" -#endif -#include "Mockesp_timer.h" - - /* - * The following functions are not directly called but the generation of them - * from cmock is broken, so we need to define them here. - */ - esp_err_t esp_tls_get_and_clear_last_error(esp_tls_error_handle_t h, int *esp_tls_code, int *esp_tls_flags) - { - return ESP_OK; - } -} - -auto random_string(std::size_t n) -{ - static constexpr std::string_view char_set = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456790"; - std::string str; - std::sample(char_set.begin(), char_set.end(), std::back_inserter(str), n, - std::mt19937 {std::random_device{}()}); - return str; -} - -using unique_mqtt_client = std::unique_ptr < std::remove_pointer_t, decltype([](esp_mqtt_client_handle_t client) -{ - esp_mqtt_client_destroy(client); -}) >; - -SCENARIO("MQTT Client Operation") -{ - // Set expectations for the mocked calls. - int mtx = 0; - int transport_list = 0; - int transport = 0; - int event_group = 0; - uint8_t mac[] = {0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55}; - esp_timer_get_time_IgnoreAndReturn(0); - xQueueTakeMutexRecursive_IgnoreAndReturn(true); - xQueueGiveMutexRecursive_IgnoreAndReturn(true); - xQueueCreateMutex_ExpectAnyArgsAndReturn( - reinterpret_cast(&mtx)); - xEventGroupCreate_IgnoreAndReturn(reinterpret_cast(&event_group)); - esp_transport_list_init_IgnoreAndReturn(reinterpret_cast(&transport_list)); - esp_transport_tcp_init_IgnoreAndReturn(reinterpret_cast(&transport)); - esp_transport_ssl_init_IgnoreAndReturn(reinterpret_cast(&transport)); - esp_transport_ws_init_IgnoreAndReturn(reinterpret_cast(&transport)); - esp_transport_ws_set_subprotocol_IgnoreAndReturn(ESP_OK); - esp_transport_list_add_IgnoreAndReturn(ESP_OK); - esp_transport_set_default_port_IgnoreAndReturn(ESP_OK); - http_parser_url_init_Ignore(); - esp_event_loop_create_IgnoreAndReturn(ESP_OK); - esp_read_mac_IgnoreAndReturn(ESP_OK); - esp_read_mac_ReturnThruPtr_mac(mac); - esp_transport_list_destroy_IgnoreAndReturn(ESP_OK); - esp_transport_destroy_IgnoreAndReturn(ESP_OK); - vEventGroupDelete_Ignore(); - vQueueDelete_Ignore(); - GIVEN("An a minimal config") { - esp_mqtt_client_config_t config{}; - config.broker.address.uri = "mqtt://1.1.1.1"; - struct http_parser_url ret_uri = { - .field_set = 1 | (1 << 1), - .port = 0, - .field_data = { { 0, 4 } /*mqtt*/, { 7, 1 } } // at least *scheme* and *host* - }; - http_parser_parse_url_ExpectAnyArgsAndReturn(0); - http_parser_parse_url_ReturnThruPtr_u(&ret_uri); - xTaskCreatePinnedToCore_ExpectAnyArgsAndReturn(pdTRUE); - SECTION("Client with minimal config") { - auto client = unique_mqtt_client{esp_mqtt_client_init(&config)}; - REQUIRE(client != nullptr); - SECTION("User will set a new uri") { - struct http_parser_url ret_uri = { - .field_set = 1, - .port = 0, - .field_data = { { 0, 1} } - }; - SECTION("User set a correct URI") { - http_parser_parse_url_StopIgnore(); - http_parser_parse_url_ExpectAnyArgsAndReturn(0); - http_parser_parse_url_ReturnThruPtr_u(&ret_uri); - auto res = esp_mqtt_client_set_uri(client.get(), " "); - REQUIRE(res == ESP_OK); - } - SECTION("Incorrect URI from user") { - http_parser_parse_url_StopIgnore(); - http_parser_parse_url_ExpectAnyArgsAndReturn(1); - http_parser_parse_url_ReturnThruPtr_u(&ret_uri); - auto res = esp_mqtt_client_set_uri(client.get(), " "); - REQUIRE(res == ESP_FAIL); - } - } - SECTION("User set interface to use"){ - http_parser_parse_url_ExpectAnyArgsAndReturn(0); - http_parser_parse_url_ReturnThruPtr_u(&ret_uri); - struct ifreq if_name = {}; - strncpy(if_name.ifr_name, "custom", IFNAMSIZ - 1); - if_name.ifr_name[IFNAMSIZ - 1] = '\0';; - config.network.if_name = &if_name; - SECTION("Client is not started"){ - REQUIRE(esp_mqtt_set_config(client.get(), &config)== ESP_OK); - } - } - SECTION("After Start Client Is Cleanly destroyed") { - REQUIRE(esp_mqtt_client_start(client.get()) == ESP_OK); - // Only need to start the client, destroy is called automatically at the end of - // scope - } - } - SECTION("Client with all allocating configuration set") { - auto host = random_string(20); - auto path = random_string(10); - auto username = random_string(10); - auto client_id = random_string(10); - auto password = random_string(10); - auto lw_topic = random_string(10); - auto lw_msg = random_string(10); - - config.broker = {.address = { - .hostname = host.data(), - .path = path.data() - } - }; - config.credentials = { - .username = username.data(), - .client_id = client_id.data(), - .authentication = { - .password = password.data() - } - }; - config.session = { - .last_will { - .topic = lw_topic.data(), - .msg = lw_msg.data() - } - }; - auto client = unique_mqtt_client{esp_mqtt_client_init(&config)}; - REQUIRE(client != nullptr); - - } - } -} - diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/mocks/include/sys/queue.h b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/mocks/include/sys/queue.h deleted file mode 100644 index 1afffb943..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/mocks/include/sys/queue.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * SPDX-FileCopyrightText: 1991-1993 The Regents of the University of California - * - * SPDX-License-Identifier: BSD-3-Clause - */ -#pragma once - -/* Implementation from BSD headers*/ -#define QMD_SAVELINK(name, link) void **name = (void *)&(link) -#define TRASHIT(x) do {(x) = (void *)-1;} while (0) -#define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next) - -#define STAILQ_FIRST(head) ((head)->stqh_first) - -#define STAILQ_HEAD(name, type) \ -struct name { \ - struct type *stqh_first;/* first element */ \ - struct type **stqh_last;/* addr of last next element */ \ -} - -#define STAILQ_ENTRY(type) \ -struct { \ - struct type *stqe_next; /* next element */ \ -} - -#define STAILQ_INSERT_TAIL(head, elm, field) do { \ - STAILQ_NEXT((elm), field) = NULL; \ - *(head)->stqh_last = (elm); \ - (head)->stqh_last = &STAILQ_NEXT((elm), field); \ -} while (0) - -#define STAILQ_INIT(head) do { \ - STAILQ_FIRST((head)) = NULL; \ - (head)->stqh_last = &STAILQ_FIRST((head)); \ -} while (0) - -#define STAILQ_FOREACH(var, head, field) \ - for((var) = STAILQ_FIRST((head)); \ - (var); \ - (var) = STAILQ_NEXT((var), field)) - -#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \ - for ((var) = STAILQ_FIRST((head)); \ - (var) && ((tvar) = STAILQ_NEXT((var), field), 1); \ - (var) = (tvar)) - -#define STAILQ_REMOVE_AFTER(head, elm, field) do { \ - if ((STAILQ_NEXT(elm, field) = \ - STAILQ_NEXT(STAILQ_NEXT(elm, field), field)) == NULL) \ - (head)->stqh_last = &STAILQ_NEXT((elm), field); \ -} while (0) - -#define STAILQ_REMOVE_HEAD(head, field) do { \ - if ((STAILQ_FIRST((head)) = \ - STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \ - (head)->stqh_last = &STAILQ_FIRST((head)); \ -} while (0) - -#define STAILQ_REMOVE(head, elm, type, field) do { \ - QMD_SAVELINK(oldnext, (elm)->field.stqe_next); \ - if (STAILQ_FIRST((head)) == (elm)) { \ - STAILQ_REMOVE_HEAD((head), field); \ - } \ - else { \ - struct type *curelm = STAILQ_FIRST((head)); \ - while (STAILQ_NEXT(curelm, field) != (elm)) \ - curelm = STAILQ_NEXT(curelm, field); \ - STAILQ_REMOVE_AFTER(head, curelm, field); \ - } \ - TRASHIT(*oldnext); \ -} while (0) diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/sdkconfig.ci.coverage b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/sdkconfig.ci.coverage deleted file mode 100644 index 3c490c098..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/sdkconfig.ci.coverage +++ /dev/null @@ -1 +0,0 @@ -CONFIG_GCOV_ENABLED=y diff --git a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/sdkconfig.defaults b/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/sdkconfig.defaults deleted file mode 100644 index d86d0829b..000000000 --- a/ESP32-IDF_Temperture-Node-v2/managed_components/espressif__mqtt/test/host/sdkconfig.defaults +++ /dev/null @@ -1,6 +0,0 @@ -CONFIG_IDF_TARGET="linux" -CONFIG_COMPILER_CXX_EXCEPTIONS=y -CONFIG_COMPILER_CXX_RTTI=y -CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE=0 -CONFIG_COMPILER_STACK_CHECK_MODE_NONE=y -CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=n