Enabled checks: bugprone-argument-comment bugprone-assert-side-effect bugprone-assignment-in-if-condition bugprone-bad-signal-to-kill-thread bugprone-bool-pointer-implicit-conversion bugprone-branch-clone bugprone-casting-through-void bugprone-chained-comparison bugprone-compare-pointer-to-member-virtual-function bugprone-copy-constructor-init bugprone-crtp-constructor-accessibility bugprone-dangling-handle bugprone-dynamic-static-initializers bugprone-easily-swappable-parameters bugprone-empty-catch bugprone-exception-escape bugprone-fold-init-type bugprone-forward-declaration-namespace bugprone-forwarding-reference-overload bugprone-implicit-widening-of-multiplication-result bugprone-inaccurate-erase bugprone-inc-dec-in-conditions bugprone-incorrect-enable-if bugprone-incorrect-roundings bugprone-infinite-loop bugprone-integer-division bugprone-lambda-function-name bugprone-macro-repeated-side-effects bugprone-misplaced-operator-in-strlen-in-alloc bugprone-misplaced-pointer-arithmetic-in-alloc bugprone-misplaced-widening-cast bugprone-move-forwarding-reference bugprone-multi-level-implicit-pointer-conversion bugprone-multiple-new-in-one-expression bugprone-multiple-statement-macro bugprone-narrowing-conversions bugprone-no-escape bugprone-non-zero-enum-to-bool-conversion bugprone-not-null-terminated-result bugprone-optional-value-conversion bugprone-parent-virtual-call bugprone-pointer-arithmetic-on-polymorphic-object bugprone-posix-return bugprone-redundant-branch-condition bugprone-reserved-identifier bugprone-return-const-ref-from-parameter bugprone-shared-ptr-array-mismatch bugprone-signal-handler bugprone-signed-char-misuse bugprone-sizeof-container bugprone-sizeof-expression bugprone-spuriously-wake-up-functions bugprone-standalone-empty bugprone-string-constructor bugprone-string-integer-assignment bugprone-string-literal-with-embedded-nul bugprone-stringview-nullptr bugprone-suspicious-enum-usage bugprone-suspicious-include bugprone-suspicious-memory-comparison bugprone-suspicious-memset-usage bugprone-suspicious-missing-comma bugprone-suspicious-realloc-usage bugprone-suspicious-semicolon bugprone-suspicious-string-compare bugprone-suspicious-stringview-data-usage bugprone-swapped-arguments bugprone-switch-missing-default-case bugprone-terminating-continue bugprone-throw-keyword-missing bugprone-too-small-loop-variable bugprone-unchecked-optional-access bugprone-undefined-memory-manipulation bugprone-undelegated-constructor bugprone-unhandled-exception-at-new bugprone-unhandled-self-assignment bugprone-unique-ptr-array-mismatch bugprone-unsafe-functions bugprone-unused-local-non-trivial-variable bugprone-unused-raii bugprone-unused-return-value bugprone-use-after-move bugprone-virtual-near-miss clang-analyzer-core.BitwiseShift clang-analyzer-core.CallAndMessage clang-analyzer-core.CallAndMessageModeling clang-analyzer-core.DivideZero clang-analyzer-core.DynamicTypePropagation clang-analyzer-core.NonNullParamChecker clang-analyzer-core.NonnilStringConstants clang-analyzer-core.NullDereference clang-analyzer-core.StackAddrEscapeBase clang-analyzer-core.StackAddressEscape clang-analyzer-core.UndefinedBinaryOperatorResult clang-analyzer-core.VLASize clang-analyzer-core.builtin.BuiltinFunctions clang-analyzer-core.builtin.NoReturnFunctions clang-analyzer-core.uninitialized.ArraySubscript clang-analyzer-core.uninitialized.Assign clang-analyzer-core.uninitialized.Branch clang-analyzer-core.uninitialized.CapturedBlockVariable clang-analyzer-core.uninitialized.NewArraySize clang-analyzer-core.uninitialized.UndefReturn clang-analyzer-unix.API clang-analyzer-unix.BlockInCriticalSection clang-analyzer-unix.DynamicMemoryModeling clang-analyzer-unix.Errno clang-analyzer-unix.Malloc clang-analyzer-unix.MallocSizeof clang-analyzer-unix.MismatchedDeallocator clang-analyzer-unix.StdCLibraryFunctions clang-analyzer-unix.Stream clang-analyzer-unix.Vfork clang-analyzer-unix.cstring.BadSizeArg clang-analyzer-unix.cstring.CStringModeling clang-analyzer-unix.cstring.NullArg performance-avoid-endl performance-enum-size performance-faster-string-find performance-for-range-copy performance-implicit-conversion-in-loop performance-inefficient-algorithm performance-inefficient-string-concatenation performance-inefficient-vector-operation performance-move-const-arg performance-move-constructor-init performance-no-automatic-move performance-no-int-to-ptr performance-noexcept-destructor performance-noexcept-move-constructor performance-noexcept-swap performance-trivially-destructible performance-type-promotion-in-math-fn performance-unnecessary-copy-initialization performance-unnecessary-value-param readability-avoid-nested-conditional-operator readability-avoid-return-with-void-value readability-avoid-unconditional-preprocessor-if readability-braces-around-statements readability-const-return-type readability-container-contains readability-container-data-pointer readability-container-size-empty readability-convert-member-functions-to-static readability-delete-null-pointer readability-duplicate-include readability-else-after-return readability-enum-initial-value readability-function-cognitive-complexity readability-function-size readability-identifier-length readability-identifier-naming readability-implicit-bool-conversion readability-inconsistent-declaration-parameter-name readability-isolate-declaration readability-make-member-function-const readability-math-missing-parentheses readability-misleading-indentation readability-misplaced-array-index readability-named-parameter readability-non-const-parameter readability-operators-representation readability-qualified-auto readability-redundant-access-specifiers readability-redundant-casting readability-redundant-control-flow readability-redundant-declaration readability-redundant-function-ptr-dereference readability-redundant-inline-specifier readability-redundant-member-init readability-redundant-preprocessor readability-redundant-smartptr-get readability-redundant-string-cstr readability-redundant-string-init readability-reference-to-constructed-temporary readability-simplify-boolean-expr readability-simplify-subscript-expr readability-static-accessed-through-instance readability-static-definition-in-anonymous-namespace readability-string-compare readability-suspicious-call-argument readability-uniqueptr-delete-release readability-uppercase-literal-suffix readability-use-anyofallof readability-use-std-min-max Running clang-tidy for 1 files out of 1 in compilation database ... [1/1][0.1s] /home/hector/.espressif/tools/esp-clang/esp-19.1.2_20250312/esp-clang/bin/clang-tidy -header-filter=.*\..* -checks=-*,clang-analyzer-core.NullDereference,clang-analyzer-unix.*,bugprone-*,-bugprone-macro-parentheses,readability-*,performance-*,-readability-magic-numbers,-readability-avoid-const-params-in-decls -p=/home/hector/projects/esp/hello_world/build-clang /home/hector/projects/esp/hello_world/main/hello_world_main.c /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_assert.h:7:9: warning: declaration uses identifier '__ESP_ASSERT_H__', which is a reserved identifier [bugprone-reserved-identifier] 7 | #define __ESP_ASSERT_H__ | ^~~~~~~~~~~~~~~~ | ESP_ASSERT_H_ /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_attr.h:8:9: warning: declaration uses identifier '__ESP_ATTR_H__', which is a reserved identifier [bugprone-reserved-identifier] 8 | #define __ESP_ATTR_H__ | ^~~~~~~~~~~~~~ | ESP_ATTR_H_ /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_attr.h:146:9: warning: declaration uses identifier '__NOINIT_ATTR', which is a reserved identifier [bugprone-reserved-identifier] 146 | #define __NOINIT_ATTR _SECTION_ATTR_IMPL(".noinit", __COUNTER__) | ^~~~~~~~~~~~~ | NOINIT_ATTR /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_attr.h:197:9: warning: declaration uses identifier '_SECTION_ATTR_IMPL', which is a reserved identifier [bugprone-reserved-identifier] 197 | #define _SECTION_ATTR_IMPL(SECTION, COUNTER) __attribute__((section(SECTION "." _COUNTER_STRINGIFY(COUNTER)))) | ^~~~~~~~~~~~~~~~~~ | SECTION_ATTR_IMPL /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_attr.h:198:9: warning: declaration uses identifier '_SECTION_FORCE_ATTR_IMPL', which is a reserved identifier [bugprone-reserved-identifier] 198 | #define _SECTION_FORCE_ATTR_IMPL(SECTION, COUNTER) __attribute__((noinline, section(SECTION "." _COUNTER_STRINGIFY(COUNTER)))) | ^~~~~~~~~~~~~~~~~~~~~~~~ | SECTION_FORCE_ATTR_IMPL /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_attr.h:199:9: warning: declaration uses identifier '_COUNTER_STRINGIFY', which is a reserved identifier [bugprone-reserved-identifier] 199 | #define _COUNTER_STRINGIFY(COUNTER) #COUNTER | ^~~~~~~~~~~~~~~~~~ | COUNTER_STRINGIFY /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_compiler.h:56:9: warning: declaration uses identifier '__COMPILER_PRAGMA__', which is a reserved identifier [bugprone-reserved-identifier] 56 | #define __COMPILER_PRAGMA__(string) _Pragma(#string) | ^~~~~~~~~~~~~~~~~~~ | COMPILER_PRAGMA_ /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_compiler.h:57:9: warning: declaration uses identifier '_COMPILER_PRAGMA_', which is a reserved identifier [bugprone-reserved-identifier] 57 | #define _COMPILER_PRAGMA_(string) __COMPILER_PRAGMA__(string) | ^~~~~~~~~~~~~~~~~ | COMPILER_PRAGMA_ /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_err.h:79:6: warning: declaration uses identifier '_esp_error_check_failed', which is reserved in the global namespace [bugprone-reserved-identifier] 79 | void _esp_error_check_failed(esp_err_t rc, const char *file, int line, const char *function, const char *expression) __attribute__((__noreturn__)); | ^~~~~~~~~~~~~~~~~~~~~~~ | esp_error_check_failed /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_err.h:79:40: warning: parameter name 'rc' is too short, expected at least 3 characters [readability-identifier-length] 79 | void _esp_error_check_failed(esp_err_t rc, const char *file, int line, const char *function, const char *expression) __attribute__((__noreturn__)); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_err.h:81:6: warning: declaration uses identifier '_esp_error_check_failed_without_abort', which is reserved in the global namespace [bugprone-reserved-identifier] 81 | void _esp_error_check_failed_without_abort(esp_err_t rc, const char *file, int line, const char *function, const char *expression); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | esp_error_check_failed_without_abort /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_err.h:81:54: warning: parameter name 'rc' is too short, expected at least 3 characters [readability-identifier-length] 81 | void _esp_error_check_failed_without_abort(esp_err_t rc, const char *file, int line, const char *function, const char *expression); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_common/include/esp_types.h:8:9: warning: declaration uses identifier '__ESP_TYPES_H__', which is a reserved identifier [bugprone-reserved-identifier] 8 | #define __ESP_TYPES_H__ | ^~~~~~~~~~~~~~~ | ESP_TYPES_H_ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_cpu.h:217:75: warning: parameter name 'pc' is too short, expected at least 3 characters [readability-identifier-length] 217 | FORCE_INLINE_ATTR __attribute__((pure)) void *esp_cpu_pc_to_addr(uint32_t pc) | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_cpu.h:221:12: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] 221 | return (void *)((pc & 0x3fffffffU) | 0x40000000U); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:55:48: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 55 | inline static bool esp_ptr_in_iram(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:71:48: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 71 | inline static bool esp_ptr_in_dram(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:83:54: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 83 | inline static bool esp_ptr_in_diram_dram(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:95:54: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 95 | inline static bool esp_ptr_in_diram_iram(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:113:57: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 113 | inline static bool esp_ptr_in_rtc_iram_fast(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:130:57: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 130 | inline static bool esp_ptr_in_rtc_dram_fast(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:147:52: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 147 | inline static bool esp_ptr_in_rtc_slow(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:162:61: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 162 | inline static void * esp_ptr_diram_dram_to_iram(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:164:12: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] 164 | return (void *) ( SOC_DIRAM_IRAM_LOW + (SOC_DIRAM_DRAM_HIGH - (intptr_t)p) - 4); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:176:59: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 176 | inline static void * esp_ptr_rtc_dram_to_iram(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:179:12: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] 179 | return (void *) ( SOC_RTC_IRAM_LOW + (ptr - SOC_RTC_DRAM_LOW) ); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:191:61: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 191 | inline static void * esp_ptr_diram_iram_to_dram(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:193:12: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] 193 | return (void *) ( SOC_DIRAM_DRAM_LOW + (SOC_DIRAM_IRAM_HIGH - (intptr_t)p) - 4); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:224:52: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 224 | inline static bool esp_ptr_dma_capable(const void *p) | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:236:42: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 236 | bool esp_ptr_dma_ext_capable(const void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:246:53: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 246 | inline static bool esp_ptr_word_aligned(const void *p) | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:258:37: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 258 | bool esp_ptr_executable(const void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:267:42: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 267 | bool esp_ptr_byte_accessible(const void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:277:49: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 277 | inline static bool esp_ptr_internal(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:278:10: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] 278 | bool r; | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:316:39: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 316 | bool esp_ptr_external_ram(const void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:326:48: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 326 | inline static bool esp_ptr_in_drom(const void *p) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:349:47: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 349 | inline static bool esp_ptr_in_rom(const void *p) | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:351:14: warning: variable name 'ip' is too short, expected at least 3 characters [readability-identifier-length] 351 | intptr_t ip = (intptr_t) p; | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:371:51: warning: parameter name 'sp' is too short, expected at least 3 characters [readability-identifier-length] 371 | inline static bool esp_stack_ptr_in_dram(uint32_t sp) | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/esp_memory_utils.h:396:51: warning: parameter name 'sp' is too short, expected at least 3 characters [readability-identifier-length] 396 | inline static bool esp_stack_ptr_is_sane(uint32_t sp) | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:74:51: warning: function 'spinlock_acquire' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] 74 | static inline bool __attribute__((always_inline)) spinlock_acquire(spinlock_t *lock, int32_t timeout) | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:84:5: note: +1, including nesting penalty of 0, nesting level increased to 1 84 | assert(lock); | ^ /home/hector/esp/esp-idf-v5.5.1/components/newlib/platform_include/assert.h:45:51: note: expanded from macro 'assert' 45 | #define assert(__e) (__builtin_expect(!!(__e), 1) ? (void)0 : __assert_func (__FILENAME__, __LINE__, \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:86:18: note: nesting level increased to 1 86 | irq_status = XTOS_SET_INTLEVEL(XCHAL_EXCM_LEVEL); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:91:51: note: expanded from macro 'XTOS_SET_INTLEVEL' 91 | # define XTOS_SET_INTLEVEL(intlevel) __extension__({ unsigned __tmp; \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:105:5: note: +1, including nesting penalty of 0, nesting level increased to 1 105 | if (lock->owner == core_owner_id) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:106:9: note: +2, including nesting penalty of 1, nesting level increased to 2 106 | assert(lock->count > 0 && lock->count < 0xFF); // Bad count value implies memory corruption | ^ /home/hector/esp/esp-idf-v5.5.1/components/newlib/platform_include/assert.h:45:51: note: expanded from macro 'assert' 45 | #define assert(__e) (__builtin_expect(!!(__e), 1) ? (void)0 : __assert_func (__FILENAME__, __LINE__, \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:106:32: note: +1 106 | assert(lock->count > 0 && lock->count < 0xFF); // Bad count value implies memory corruption | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:109:9: note: +2, including nesting penalty of 1, nesting level increased to 2 109 | XTOS_RESTORE_INTLEVEL(irq_status); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:104:44: note: expanded from macro 'XTOS_RESTORE_INTLEVEL' 104 | # define XTOS_RESTORE_INTLEVEL(restoreval) do{ unsigned __tmp = (restoreval); \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:124:5: note: +1, including nesting penalty of 0, nesting level increased to 1 124 | if (lock_set || timeout == SPINLOCK_NO_WAIT) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:124:18: note: +1 124 | if (lock_set || timeout == SPINLOCK_NO_WAIT) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:126:9: note: +1 126 | goto exit; | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:131:5: note: +1, including nesting penalty of 0, nesting level increased to 1 131 | do { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:133:9: note: +2, including nesting penalty of 1, nesting level increased to 2 133 | if (lock_set) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:137:49: note: +1 137 | } while ((timeout == SPINLOCK_WAIT_FOREVER) || (esp_cpu_get_cycle_count() - start_count) <= (esp_cpu_cycle_count_t)timeout); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:140:5: note: +1, including nesting penalty of 0, nesting level increased to 1 140 | if (lock_set) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:141:9: note: +2, including nesting penalty of 1, nesting level increased to 2 141 | assert(lock->owner == core_owner_id); | ^ /home/hector/esp/esp-idf-v5.5.1/components/newlib/platform_include/assert.h:45:51: note: expanded from macro 'assert' 45 | #define assert(__e) (__builtin_expect(!!(__e), 1) ? (void)0 : __assert_func (__FILENAME__, __LINE__, \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:142:9: note: +2, including nesting penalty of 1, nesting level increased to 2 142 | assert(lock->count == 0); // This is the first time the lock is set, so count should still be 0 | ^ /home/hector/esp/esp-idf-v5.5.1/components/newlib/platform_include/assert.h:45:51: note: expanded from macro 'assert' 45 | #define assert(__e) (__builtin_expect(!!(__e), 1) ? (void)0 : __assert_func (__FILENAME__, __LINE__, \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:144:7: note: +1, nesting level increased to 1 144 | } else { // We timed out waiting for lock | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:145:9: note: +2, including nesting penalty of 1, nesting level increased to 2 145 | assert(lock->owner == SPINLOCK_FREE || lock->owner == other_core_owner_id); | ^ /home/hector/esp/esp-idf-v5.5.1/components/newlib/platform_include/assert.h:45:51: note: expanded from macro 'assert' 45 | #define assert(__e) (__builtin_expect(!!(__e), 1) ? (void)0 : __assert_func (__FILENAME__, __LINE__, \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:145:45: note: +1 145 | assert(lock->owner == SPINLOCK_FREE || lock->owner == other_core_owner_id); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:146:9: note: +2, including nesting penalty of 1, nesting level increased to 2 146 | assert(lock->count < 0xFF); // Bad count value implies memory corruption | ^ /home/hector/esp/esp-idf-v5.5.1/components/newlib/platform_include/assert.h:45:51: note: expanded from macro 'assert' 45 | #define assert(__e) (__builtin_expect(!!(__e), 1) ? (void)0 : __assert_func (__FILENAME__, __LINE__, \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_hw_support/include/spinlock.h:150:5: note: +1, including nesting penalty of 0, nesting level increased to 1 150 | XTOS_RESTORE_INTLEVEL(irq_status); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:104:44: note: expanded from macro 'XTOS_RESTORE_INTLEVEL' 104 | # define XTOS_RESTORE_INTLEVEL(restoreval) do{ unsigned __tmp = (restoreval); \ | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_rom/include/esp_rom_sys.h:56:46: warning: parameter name 'ap' is too short, expected at least 3 characters [readability-identifier-length] 56 | int esp_rom_vprintf(const char *fmt, va_list ap); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_rom/include/esp_rom_sys.h:91:32: warning: parameter name 'us' is too short, expected at least 3 characters [readability-identifier-length] 91 | void esp_rom_delay_us(uint32_t us); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_rom/include/esp_rom_sys.h:100:66: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] 100 | void esp_rom_install_channel_putc(int channel, void (*putc)(char c)); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_rom/include/esp_rom_sys.h:108:38: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] 108 | void esp_rom_output_to_channels(char c); | ^ /home/hector/esp/esp-idf-v5.5.1/components/esp_system/include/esp_private/crosscore_int.h:7:9: warning: declaration uses identifier '__ESP_CROSSCORE_INT_H', which is a reserved identifier [bugprone-reserved-identifier] 7 | #define __ESP_CROSSCORE_INT_H | ^~~~~~~~~~~~~~~~~~~~~ | ESP_CROSSCORE_INT_H /home/hector/esp/esp-idf-v5.5.1/components/esp_system/include/esp_system.h:8:9: warning: declaration uses identifier '__ESP_SYSTEM_H__', which is a reserved identifier [bugprone-reserved-identifier] 8 | #define __ESP_SYSTEM_H__ | ^~~~~~~~~~~~~~~~ | ESP_SYSTEM_H_ /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/include/freertos/portable.h:182:24: warning: parameter name 'pv' is too short, expected at least 3 characters [readability-identifier-length] 182 | void vPortFree( void * pv ) PRIVILEGED_FUNCTION; | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:382:27: warning: function 'xTaskCreatePinnedToCore' has 1 other declaration with different parameter names [readability-inconsistent-declaration-parameter-name] 382 | extern BaseType_t xTaskCreatePinnedToCore( TaskFunction_t pxTaskCode, | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/esp_additions/include/freertos/idf_additions.h:63:16: note: the 1st inconsistent declaration seen here 63 | BaseType_t xTaskCreatePinnedToCore( TaskFunction_t pxTaskCode, | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/esp_additions/include/freertos/idf_additions.h:63:16: note: differing parameters are named here: ('ulStackDepth', 'pxCreatedTask'), in the other declaration: ('usStackDepth', 'pvCreatedTask') /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:518:29: warning: function 'xTaskCreateStaticPinnedToCore' has 1 other declaration with different parameter names [readability-inconsistent-declaration-parameter-name] 518 | extern TaskHandle_t xTaskCreateStaticPinnedToCore( TaskFunction_t pxTaskCode, | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/esp_additions/include/freertos/idf_additions.h:101:18: note: the 1st inconsistent declaration seen here 101 | TaskHandle_t xTaskCreateStaticPinnedToCore( TaskFunction_t pxTaskCode, | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/esp_additions/include/freertos/idf_additions.h:101:18: note: differing parameters are named here: ('puxStackBuffer'), in the other declaration: ('pxStackBuffer') /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:471:13: warning: declaration uses identifier '_frxt_setup_switch', which is reserved in the global namespace [bugprone-reserved-identifier] 471 | extern void _frxt_setup_switch( void ); //Defined in portasm.S | ^~~~~~~~~~~~~~~~~~ | frxt_setup_switch /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:578:5: warning: if with identical then and else branches [bugprone-branch-clone] 578 | if (xPortInIsrContext()) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:580:7: note: else branch starts here 580 | } else { | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:593:5: warning: if with identical then and else branches [bugprone-branch-clone] 593 | if (xPortInIsrContext()) { | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:595:7: note: else branch starts here 595 | } else { | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/esp_additions/include/freertos/idf_additions.h:63:16: warning: redundant 'xTaskCreatePinnedToCore' declaration [readability-redundant-declaration] 63 | BaseType_t xTaskCreatePinnedToCore( TaskFunction_t pxTaskCode, | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:382:27: note: previously declared here 382 | extern BaseType_t xTaskCreatePinnedToCore( TaskFunction_t pxTaskCode, | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/esp_additions/include/freertos/idf_additions.h:101:18: warning: redundant 'xTaskCreateStaticPinnedToCore' declaration [readability-redundant-declaration] 101 | TaskHandle_t xTaskCreateStaticPinnedToCore( TaskFunction_t pxTaskCode, | ^ /home/hector/esp/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:518:29: note: previously declared here 518 | extern TaskHandle_t xTaskCreateStaticPinnedToCore( TaskFunction_t pxTaskCode, | ^ /home/hector/esp/esp-idf-v5.5.1/components/hal/include/hal/spi_flash_types.h:44:9: warning: inital values in enum 'esp_flash_speed_s' are not consistent, consider explicit initialization of all, none or only the first enumerator [readability-enum-initial-value] 44 | typedef enum esp_flash_speed_s { | ^ 45 | ESP_FLASH_5MHZ = 5, ///< The flash runs under 5MHz 46 | ESP_FLASH_10MHZ = 10, ///< The flash runs under 10MHz 47 | ESP_FLASH_20MHZ = 20, ///< The flash runs under 20MHz 48 | ESP_FLASH_26MHZ = 26, ///< The flash runs under 26MHz 49 | ESP_FLASH_40MHZ = 40, ///< The flash runs under 40MHz 50 | ESP_FLASH_80MHZ = 80, ///< The flash runs under 80MHz 51 | ESP_FLASH_120MHZ = 120, ///< The flash runs under 120MHz, 120MHZ can only be used by main flash after timing tuning in system. Do not use this directly in any API. 52 | ESP_FLASH_SPEED_MAX, ///< The maximum frequency supported by the host is ``ESP_FLASH_SPEED_MAX-1``. | | = 121 /home/hector/esp/esp-idf-v5.5.1/components/hal/include/hal/spi_flash_types.h:59:9: warning: inital values in enum 'esp_flash_io_mode_t' are not consistent, consider explicit initialization of all, none or only the first enumerator [readability-enum-initial-value] 59 | typedef enum { | ^ 60 | SPI_FLASH_SLOWRD = 0, ///< Data read using single I/O, some limits on speed 61 | SPI_FLASH_FASTRD, ///< Data read using single I/O, no limit on speed | | = 1 62 | SPI_FLASH_DOUT, ///< Data read using dual I/O | | = 2 63 | SPI_FLASH_DIO, ///< Both address & data transferred using dual I/O | | = 3 64 | SPI_FLASH_QOUT, ///< Data read using quad I/O | | = 4 65 | SPI_FLASH_QIO, ///< Both address & data transferred using quad I/O | | = 5 66 | #define SPI_FLASH_OPI_FLAG 16 ///< A flag for flash work in opi mode, the io mode below are opi, above are SPI/QSPI mode. DO NOT use this value in any API. 67 | SPI_FLASH_OPI_STR = SPI_FLASH_OPI_FLAG,///< Only support on OPI flash, flash read and write under STR mode 68 | SPI_FLASH_OPI_DTR,///< Only support on OPI flash, flash read and write under DTR mode | | = 17 69 | SPI_FLASH_READ_MODE_MAX, ///< The fastest io mode supported by the host is ``ESP_FLASH_READ_MODE_MAX-1``. | | = 18 /home/hector/esp/esp-idf-v5.5.1/components/hal/include/hal/spi_flash_types.h:144:81: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] 144 | esp_err_t (*common_command)(spi_flash_host_inst_t *host, spi_flash_trans_t *t); | ^ /home/hector/esp/esp-idf-v5.5.1/components/hal/include/hal/spi_flash_types.h:148:65: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] 148 | esp_err_t (*read_id)(spi_flash_host_inst_t *host, uint32_t *id); | ^ /home/hector/esp/esp-idf-v5.5.1/components/hal/include/hal/spi_flash_types.h:168:70: warning: parameter name 'wp' is too short, expected at least 3 characters [readability-identifier-length] 168 | esp_err_t (*set_write_protect)(spi_flash_host_inst_t *host, bool wp); | ^ /home/hector/esp/esp-idf-v5.5.1/components/hal/include/hal/spi_flash_types.h:178:76: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 178 | bool (*supports_direct_write)(spi_flash_host_inst_t *host, const void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/hal/include/hal/spi_flash_types.h:200:75: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 200 | bool (*supports_direct_read)(spi_flash_host_inst_t *host, const void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/heap/include/multi_heap.h:52:90: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 52 | void __attribute__((deprecated)) multi_heap_aligned_free(multi_heap_handle_t heap, void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/heap/include/multi_heap.h:61:54: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 61 | void multi_heap_free(multi_heap_handle_t heap, void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/heap/include/multi_heap.h:73:58: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 73 | void *multi_heap_realloc(multi_heap_handle_t heap, void *p, size_t size); | ^ /home/hector/esp/esp-idf-v5.5.1/components/heap/include/multi_heap.h:84:70: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 84 | size_t multi_heap_get_allocated_size(multi_heap_handle_t heap, void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/heap/include/multi_heap.h:240:71: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] 240 | size_t multi_heap_get_full_block_size(multi_heap_handle_t heap, void *p); | ^ /home/hector/esp/esp-idf-v5.5.1/components/newlib/platform_include/esp_newlib.h:51:36: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] 51 | void esp_reent_init(struct _reent* r); | ^ /home/hector/esp/esp-idf-v5.5.1/components/soc/esp32/include/soc/interrupts.h:17:9: warning: inital values in enum 'periph_interrupt_t' are not consistent, consider explicit initialization of all, none or only the first enumerator [readability-enum-initial-value] 17 | typedef enum { | ^ 18 | ETS_WIFI_MAC_INTR_SOURCE = 0, /**< interrupt of WiFi MAC, level*/ 19 | ETS_WIFI_MAC_NMI_SOURCE, /**< interrupt of WiFi MAC, NMI, use if MAC have bug to fix in NMI*/ | | = 1 20 | ETS_WIFI_BB_INTR_SOURCE, /**< interrupt of WiFi BB, level, we can do some calibartion*/ | | = 2 21 | ETS_BT_MAC_INTR_SOURCE, /**< will be cancelled*/ | | = 3 22 | ETS_BT_BB_INTR_SOURCE, /**< interrupt of BT BB, level*/ | | = 4 23 | ETS_BT_BB_NMI_SOURCE, /**< interrupt of BT BB, NMI, use if BB have bug to fix in NMI*/ | | = 5 24 | ETS_RWBT_INTR_SOURCE, /**< interrupt of RWBT, level*/ | | = 6 25 | ETS_RWBLE_INTR_SOURCE, /**< interrupt of RWBLE, level*/ | | = 7 26 | ETS_RWBT_NMI_SOURCE, /**< interrupt of RWBT, NMI, use if RWBT have bug to fix in NMI*/ | | = 8 27 | ETS_RWBLE_NMI_SOURCE, /**< interrupt of RWBLE, NMI, use if RWBT have bug to fix in NMI*/ | | = 9 28 | ETS_SLC0_INTR_SOURCE, /**< interrupt of SLC0, level*/ | | = 10 29 | ETS_SLC1_INTR_SOURCE, /**< interrupt of SLC1, level*/ | | = 11 30 | ETS_UHCI0_INTR_SOURCE, /**< interrupt of UHCI0, level*/ | | = 12 31 | ETS_UHCI1_INTR_SOURCE, /**< interrupt of UHCI1, level*/ | | = 13 32 | ETS_TG0_T0_LEVEL_INTR_SOURCE, /**< interrupt of TIMER_GROUP0, TIMER0, level, we would like use EDGE for timer if permission*/ | | = 14 /home/hector/esp/esp-idf-v5.5.1/components/spi_flash/include/esp_flash.h:54:47: warning: parameter name 'us' is too short, expected at least 3 characters [readability-identifier-length] 54 | esp_err_t (*delay_us)(void *arg, uint32_t us); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core-isa.h:32:9: warning: declaration uses identifier '_XTENSA_CORE_CONFIGURATION_H', which is a reserved identifier [bugprone-reserved-identifier] 32 | #define _XTENSA_CORE_CONFIGURATION_H | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XTENSA_CORE_CONFIGURATION_H /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:107:9: warning: declaration uses identifier '_XCHAL_INTLEVEL_MASK', which is a reserved identifier [bugprone-reserved-identifier] 107 | #define _XCHAL_INTLEVEL_MASK(n) XCHAL_INTLEVEL ## n ## _MASK | ^~~~~~~~~~~~~~~~~~~~ | XCHAL_INTLEVEL_MASK /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:109:9: warning: declaration uses identifier '_XCHAL_INTLEVEL_ANDBELOWMASK', which is a reserved identifier [bugprone-reserved-identifier] 109 | #define _XCHAL_INTLEVEL_ANDBELOWMASK(n) XCHAL_INTLEVEL ## n ## _ANDBELOW_MASK | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XCHAL_INTLEVEL_ANDBELOWMASK /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:111:9: warning: declaration uses identifier '_XCHAL_INTLEVEL_NUM', which is a reserved identifier [bugprone-reserved-identifier] 111 | #define _XCHAL_INTLEVEL_NUM(n) XCHAL_INTLEVEL ## n ## _NUM | ^~~~~~~~~~~~~~~~~~~ | XCHAL_INTLEVEL_NUM /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:113:9: warning: declaration uses identifier '_XCHAL_INT_LEVEL', which is a reserved identifier [bugprone-reserved-identifier] 113 | #define _XCHAL_INT_LEVEL(n) XCHAL_INT ## n ## _LEVEL | ^~~~~~~~~~~~~~~~ | XCHAL_INT_LEVEL /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:115:9: warning: declaration uses identifier '_XCHAL_INT_TYPE', which is a reserved identifier [bugprone-reserved-identifier] 115 | #define _XCHAL_INT_TYPE(n) XCHAL_INT ## n ## _TYPE | ^~~~~~~~~~~~~~~ | XCHAL_INT_TYPE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:117:9: warning: declaration uses identifier '_XCHAL_TIMER_INTERRUPT', which is a reserved identifier [bugprone-reserved-identifier] 117 | #define _XCHAL_TIMER_INTERRUPT(n) XCHAL_TIMER ## n ## _INTERRUPT | ^~~~~~~~~~~~~~~~~~~~~~ | XCHAL_TIMER_INTERRUPT /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:190:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] 190 | #if 0 /*XCHAL_HAVE_NMI*/ | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:512:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] 512 | #if 0 | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:521:9: warning: declaration uses identifier '_XCHAL_INTLEVEL_VECTOR_VADDR', which is a reserved identifier [bugprone-reserved-identifier] 521 | #define _XCHAL_INTLEVEL_VECTOR_VADDR(n) XCHAL_INTLEVEL ## n ## _VECTOR_VADDR | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XCHAL_INTLEVEL_VECTOR_VADDR /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:806:9: warning: declaration uses identifier '_MEMCTL_SNOOP_EN', which is a reserved identifier [bugprone-reserved-identifier] 806 | #define _MEMCTL_SNOOP_EN 0x00 /* Don't enable snoop */ | ^~~~~~~~~~~~~~~~ | MEMCTL_SNOOP_EN /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:812:9: warning: declaration uses identifier '_MEMCTL_L0IBUF_EN', which is a reserved identifier [bugprone-reserved-identifier] 812 | #define _MEMCTL_L0IBUF_EN 0x01 /* Enable loop buffer */ | ^~~~~~~~~~~~~~~~~ | MEMCTL_L0IBUF_EN /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:830:9: warning: declaration uses identifier '_XCHAL_ITLB_SET', which is a reserved identifier [bugprone-reserved-identifier] 830 | #define _XCHAL_ITLB_SET(n,_what) XCHAL_ITLB_SET ## n ## _what | ^~~~~~~~~~~~~~~ | XCHAL_ITLB_SET /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:832:9: warning: declaration uses identifier '_XCHAL_ITLB_SET_E', which is a reserved identifier [bugprone-reserved-identifier] 832 | #define _XCHAL_ITLB_SET_E(n,i,_what) XCHAL_ITLB_SET ## n ## _E ## i ## _what | ^~~~~~~~~~~~~~~~~ | XCHAL_ITLB_SET_E /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:834:9: warning: declaration uses identifier '_XCHAL_DTLB_SET', which is a reserved identifier [bugprone-reserved-identifier] 834 | #define _XCHAL_DTLB_SET(n,_what) XCHAL_DTLB_SET ## n ## _what | ^~~~~~~~~~~~~~~ | XCHAL_DTLB_SET /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:836:9: warning: declaration uses identifier '_XCHAL_DTLB_SET_E', which is a reserved identifier [bugprone-reserved-identifier] 836 | #define _XCHAL_DTLB_SET_E(n,i,_what) XCHAL_DTLB_SET ## n ## _E ## i ## _what | ^~~~~~~~~~~~~~~~~ | XCHAL_DTLB_SET_E /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:851:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] 851 | #if 0 | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:1266:9: warning: declaration uses identifier '_XCHAL_CP_SA_SIZE', which is a reserved identifier [bugprone-reserved-identifier] 1266 | #define _XCHAL_CP_SA_SIZE(n) XCHAL_CP ## n ## _SA_SIZE | ^~~~~~~~~~~~~~~~~ | XCHAL_CP_SA_SIZE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/core.h:1268:9: warning: declaration uses identifier '_XCHAL_CP_SA_ALIGN', which is a reserved identifier [bugprone-reserved-identifier] 1268 | #define _XCHAL_CP_SA_ALIGN(n) XCHAL_CP ## n ## _SA_ALIGN | ^~~~~~~~~~~~~~~~~~ | XCHAL_CP_SA_ALIGN /home/hector/esp/esp-idf-v5.5.1/components/xtensa/esp32/include/xtensa/config/tie.h:33:9: warning: declaration uses identifier '_XTENSA_CORE_TIE_H', which is a reserved identifier [bugprone-reserved-identifier] 33 | #define _XTENSA_CORE_TIE_H | ^~~~~~~~~~~~~~~~~~ | XTENSA_CORE_TIE_H /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:36:14: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] 36 | uint32_t id; | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:51:14: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] 51 | uint32_t id; | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:63:11: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] 63 | void *sp; | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:117:48: warning: 2 adjacent parameters of 'xt_utils_set_breakpoint' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] 117 | FORCE_INLINE_ATTR void xt_utils_set_breakpoint(int bp_num, uint32_t bp_addr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:117:52: note: the first parameter in the range is 'bp_num' 117 | FORCE_INLINE_ATTR void xt_utils_set_breakpoint(int bp_num, uint32_t bp_addr) | ^~~~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:117:69: note: the last parameter in the range is 'bp_addr' 117 | FORCE_INLINE_ATTR void xt_utils_set_breakpoint(int bp_num, uint32_t bp_addr) | ^~~~~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:117:48: note: 117 | FORCE_INLINE_ATTR void xt_utils_set_breakpoint(int bp_num, uint32_t bp_addr) | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:117:60: note: 'int' and 'uint32_t' may be implicitly converted: 'int' -> 'uint32_t' (as 'unsigned int'), 'uint32_t' (as 'unsigned int') -> 'int' 117 | FORCE_INLINE_ATTR void xt_utils_set_breakpoint(int bp_num, uint32_t bp_addr) | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:148:48: warning: 3 adjacent parameters of 'xt_utils_set_watchpoint' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] 148 | FORCE_INLINE_ATTR void xt_utils_set_watchpoint(int wp_num, | ^~~~~~~~~~~ 149 | uint32_t wp_addr, | ~~~~~~~~~~~~~~~~~ 150 | size_t size, | ~~~~~~~~~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:148:52: note: the first parameter in the range is 'wp_num' 148 | FORCE_INLINE_ATTR void xt_utils_set_watchpoint(int wp_num, | ^~~~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:150:55: note: the last parameter in the range is 'size' 150 | size_t size, | ^~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:148:48: note: 148 | FORCE_INLINE_ATTR void xt_utils_set_watchpoint(int wp_num, | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:149:48: note: 'int' and 'uint32_t' may be implicitly converted: 'int' -> 'uint32_t' (as 'unsigned int'), 'uint32_t' (as 'unsigned int') -> 'int' 149 | uint32_t wp_addr, | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:148:48: note: 148 | FORCE_INLINE_ATTR void xt_utils_set_watchpoint(int wp_num, | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:150:48: note: 'int' and 'size_t' may be implicitly converted: 'int' -> 'size_t' (as 'unsigned int'), 'size_t' (as 'unsigned int') -> 'int' 150 | size_t size, | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:149:48: note: after resolving type aliases, the common type of 'uint32_t' and 'size_t' is 'unsigned int' 149 | uint32_t wp_addr, | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:205:74: warning: 2 adjacent parameters of 'xt_utils_compare_and_set' of similar type ('uint32_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] 205 | FORCE_INLINE_ATTR bool xt_utils_compare_and_set(volatile uint32_t *addr, uint32_t compare_value, uint32_t new_value) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:205:83: note: the first parameter in the range is 'compare_value' 205 | FORCE_INLINE_ATTR bool xt_utils_compare_and_set(volatile uint32_t *addr, uint32_t compare_value, uint32_t new_value) | ^~~~~~~~~~~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xt_utils.h:205:107: note: the last parameter in the range is 'new_value' 205 | FORCE_INLINE_ATTR bool xt_utils_compare_and_set(volatile uint32_t *addr, uint32_t compare_value, uint32_t new_value) | ^~~~~~~~~ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:330:9: warning: declaration uses identifier '_XTHAL_PREFETCH_BLOCKS', which is a reserved identifier [bugprone-reserved-identifier] 330 | #define _XTHAL_PREFETCH_BLOCKS(n) ((n)<0?0:(n)<5?(n):(n)<15?((n)>>1)+2:9) | ^~~~~~~~~~~~~~~~~~~~~~ | XTHAL_PREFETCH_BLOCKS /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:516:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] 516 | #if 0 | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:541:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] 541 | #if 0 | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:615:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] 615 | #if 0 | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1223:46: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] 1223 | extern int xthal_encode_memory_type(uint32_t x); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1310:54: warning: parameter name 'e' is too short, expected at least 3 characters [readability-identifier-length] 1310 | xthal_calc_cacheadrdis(const struct xthal_MPU_entry* e, uint32_t n); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1384:9: warning: declaration uses identifier '_XTHAL_SYSTEM_CACHE_BITS', which is a reserved identifier [bugprone-reserved-identifier] 1384 | #define _XTHAL_SYSTEM_CACHE_BITS 0x000f0000 | ^~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_SYSTEM_CACHE_BITS /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1385:9: warning: declaration uses identifier '_XTHAL_LOCAL_CACHE_BITS', which is a reserved identifier [bugprone-reserved-identifier] 1385 | #define _XTHAL_LOCAL_CACHE_BITS 0x00f00000 | ^~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_LOCAL_CACHE_BITS /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1386:9: warning: declaration uses identifier '_XTHAL_MEM_SYSTEM_RWC_MASK', which is a reserved identifier [bugprone-reserved-identifier] 1386 | #define _XTHAL_MEM_SYSTEM_RWC_MASK 0x00070000 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_MEM_SYSTEM_RWC_MASK /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1387:9: warning: declaration uses identifier '_XTHAL_MEM_LOCAL_RWC_MASK', which is a reserved identifier [bugprone-reserved-identifier] 1387 | #define _XTHAL_MEM_LOCAL_RWC_MASK 0x00700000 | ^~~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_MEM_LOCAL_RWC_MASK /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1388:9: warning: declaration uses identifier '_XTHAL_SHIFT_RWC', which is a reserved identifier [bugprone-reserved-identifier] 1388 | #define _XTHAL_SHIFT_RWC 16 | ^~~~~~~~~~~~~~~~ | XTHAL_SHIFT_RWC /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1390:9: warning: declaration uses identifier '_XTHAL_MEM_ANY_SHAREABLE', which is a reserved identifier [bugprone-reserved-identifier] 1390 | #define _XTHAL_MEM_ANY_SHAREABLE(x) (((x) & XTHAL_MEM_SYSTEM_SHAREABLE) ? 1 : 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_MEM_ANY_SHAREABLE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1392:9: warning: declaration uses identifier '_XTHAL_MEM_INNER_SHAREABLE', which is a reserved identifier [bugprone-reserved-identifier] 1392 | #define _XTHAL_MEM_INNER_SHAREABLE(x) ((((x) & XTHAL_MEM_SYSTEM_SHAREABLE) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_MEM_INNER_SHAREABLE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1395:9: warning: declaration uses identifier '_XTHAL_MEM_IS_BUFFERABLE', which is a reserved identifier [bugprone-reserved-identifier] 1395 | #define _XTHAL_MEM_IS_BUFFERABLE(x) (((x) & XTHAL_MEM_BUFFERABLE) ? 1 : 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_MEM_IS_BUFFERABLE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1397:9: warning: declaration uses identifier '_XTHAL_MEM_IS_DEVICE', which is a reserved identifier [bugprone-reserved-identifier] 1397 | #define _XTHAL_MEM_IS_DEVICE(x) (((x) & XTHAL_MEM_DEVICE) ? 1 : 0) | ^~~~~~~~~~~~~~~~~~~~ | XTHAL_MEM_IS_DEVICE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1399:9: warning: declaration uses identifier '_XTHAL_NON_CACHEABLE_DOMAIN', which is a reserved identifier [bugprone-reserved-identifier] 1399 | #define _XTHAL_NON_CACHEABLE_DOMAIN(x) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_NON_CACHEABLE_DOMAIN /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1402:9: warning: declaration uses identifier '_XTHAL_CACHEABLE_DOMAIN', which is a reserved identifier [bugprone-reserved-identifier] 1402 | #define _XTHAL_CACHEABLE_DOMAIN(x) (_XTHAL_MEM_ANY_SHAREABLE(x) ? \ | ^~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_CACHEABLE_DOMAIN /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1405:9: warning: declaration uses identifier '_XTHAL_MEM_CACHE_MASK', which is a reserved identifier [bugprone-reserved-identifier] 1405 | #define _XTHAL_MEM_CACHE_MASK(x) ((x) & _XTHAL_SYSTEM_CACHE_BITS) | ^~~~~~~~~~~~~~~~~~~~~ | XTHAL_MEM_CACHE_MASK /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1407:9: warning: declaration uses identifier '_XTHAL_IS_SYSTEM_NONCACHEABLE', which is a reserved identifier [bugprone-reserved-identifier] 1407 | #define _XTHAL_IS_SYSTEM_NONCACHEABLE(x) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_IS_SYSTEM_NONCACHEABLE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1411:9: warning: declaration uses identifier '_XTHAL_ENCODE_DEVICE', which is a reserved identifier [bugprone-reserved-identifier] 1411 | #define _XTHAL_ENCODE_DEVICE(x) \ | ^~~~~~~~~~~~~~~~~~~~ | XTHAL_ENCODE_DEVICE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1415:9: warning: declaration uses identifier '_XTHAL_ENCODE_SYSTEM_NONCACHEABLE', which is a reserved identifier [bugprone-reserved-identifier] 1415 | #define _XTHAL_ENCODE_SYSTEM_NONCACHEABLE(x) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_ENCODE_SYSTEM_NONCACHEABLE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1419:9: warning: declaration uses identifier '_XTHAL_ENCODE_SYSTEM_CACHEABLE', which is a reserved identifier [bugprone-reserved-identifier] 1419 | #define _XTHAL_ENCODE_SYSTEM_CACHEABLE(x) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_ENCODE_SYSTEM_CACHEABLE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/hal.h:1428:9: warning: declaration uses identifier '_XTHAL_ENCODE_SYSTEM_CACHEABLE_LOCAL_CACHEABLE', which is a reserved identifier [bugprone-reserved-identifier] 1428 | #define _XTHAL_ENCODE_SYSTEM_CACHEABLE_LOCAL_CACHEABLE(x) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XTHAL_ENCODE_SYSTEM_CACHEABLE_LOCAL_CACHEABLE /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime-core-state.h:28:9: warning: declaration uses identifier '_XTOS_CORE_STATE_H_', which is a reserved identifier [bugprone-reserved-identifier] 28 | #define _XTOS_CORE_STATE_H_ | ^~~~~~~~~~~~~~~~~~~ | XTOS_CORE_STATE_H_ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime-frames.h:28:9: warning: declaration uses identifier '_XTRUNTIME_FRAMES_H_', which is a reserved identifier [bugprone-reserved-identifier] 28 | #define _XTRUNTIME_FRAMES_H_ | ^~~~~~~~~~~~~~~~~~~~ | XTRUNTIME_FRAMES_H_ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:65:15: warning: declaration uses identifier '_xtos_handler_func', which is reserved in the global namespace [bugprone-reserved-identifier] 65 | typedef void (_xtos_handler_func)(void); | ^~~~~~~~~~~~~~~~~~ | xtos_handler_func 66 | #endif 67 | typedef _xtos_handler_func *_xtos_handler; | ~~~~~~~~~~~~~~~~~~ | xtos_handler_func /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:67:29: warning: declaration uses identifier '_xtos_handler', which is reserved in the global namespace [bugprone-reserved-identifier] 67 | typedef _xtos_handler_func *_xtos_handler; | ^~~~~~~~~~~~~ | xtos_handler /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:145:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] 145 | #if 0 /* XTOS_LOCK_LEVEL is not exported to applications */ | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:155:21: warning: declaration uses identifier '_xtos_ints_off', which is reserved in the global namespace [bugprone-reserved-identifier] 155 | extern unsigned int _xtos_ints_off( unsigned int mask ); | ^~~~~~~~~~~~~~ | xtos_ints_off 156 | extern unsigned int _xtos_ints_on( unsigned int mask ); 157 | 158 | /* Newer functions to enable/disable the specified interrupt. */ 159 | static inline void _xtos_interrupt_enable(unsigned int intnum) 160 | { 161 | _xtos_ints_on(1U << intnum); 162 | } 163 | 164 | static inline void _xtos_interrupt_disable(unsigned int intnum) 165 | { 166 | _xtos_ints_off(1U << intnum); | ~~~~~~~~~~~~~~ | xtos_ints_off /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:156:21: warning: declaration uses identifier '_xtos_ints_on', which is reserved in the global namespace [bugprone-reserved-identifier] 156 | extern unsigned int _xtos_ints_on( unsigned int mask ); | ^~~~~~~~~~~~~ | xtos_ints_on 157 | 158 | /* Newer functions to enable/disable the specified interrupt. */ 159 | static inline void _xtos_interrupt_enable(unsigned int intnum) 160 | { 161 | _xtos_ints_on(1U << intnum); | ~~~~~~~~~~~~~ | xtos_ints_on /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:159:20: warning: declaration uses identifier '_xtos_interrupt_enable', which is reserved in the global namespace [bugprone-reserved-identifier] 159 | static inline void _xtos_interrupt_enable(unsigned int intnum) | ^~~~~~~~~~~~~~~~~~~~~~ | xtos_interrupt_enable /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:164:20: warning: declaration uses identifier '_xtos_interrupt_disable', which is reserved in the global namespace [bugprone-reserved-identifier] 164 | static inline void _xtos_interrupt_disable(unsigned int intnum) | ^~~~~~~~~~~~~~~~~~~~~~~ | xtos_interrupt_disable /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:170:18: warning: declaration uses identifier '_xtos_set_min_intlevel', which is reserved in the global namespace [bugprone-reserved-identifier] 170 | extern unsigned _xtos_set_min_intlevel( int intlevel ); | ^~~~~~~~~~~~~~~~~~~~~~ | xtos_set_min_intlevel /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:171:18: warning: declaration uses identifier '_xtos_restore_intlevel', which is reserved in the global namespace [bugprone-reserved-identifier] 171 | extern unsigned _xtos_restore_intlevel( unsigned restoreval ); | ^~~~~~~~~~~~~~~~~~~~~~ | xtos_restore_intlevel /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:172:18: warning: declaration uses identifier '_xtos_restore_just_intlevel', which is reserved in the global namespace [bugprone-reserved-identifier] 172 | extern unsigned _xtos_restore_just_intlevel( unsigned restoreval ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_restore_just_intlevel /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:173:22: warning: declaration uses identifier '_xtos_set_interrupt_handler', which is reserved in the global namespace [bugprone-reserved-identifier] 173 | extern _xtos_handler _xtos_set_interrupt_handler( int n, _xtos_handler f ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_set_interrupt_handler /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:173:72: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] 173 | extern _xtos_handler _xtos_set_interrupt_handler( int n, _xtos_handler f ); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:174:22: warning: declaration uses identifier '_xtos_set_interrupt_handler_arg', which is reserved in the global namespace [bugprone-reserved-identifier] 174 | extern _xtos_handler _xtos_set_interrupt_handler_arg( int n, _xtos_handler f, void *arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_set_interrupt_handler_arg /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:174:76: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] 174 | extern _xtos_handler _xtos_set_interrupt_handler_arg( int n, _xtos_handler f, void *arg ); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:175:22: warning: declaration uses identifier '_xtos_set_exception_handler', which is reserved in the global namespace [bugprone-reserved-identifier] 175 | extern _xtos_handler _xtos_set_exception_handler( int n, _xtos_handler f ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_set_exception_handler /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:175:72: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] 175 | extern _xtos_handler _xtos_set_exception_handler( int n, _xtos_handler f ); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:177:14: warning: declaration uses identifier '_xtos_memep_initrams', which is reserved in the global namespace [bugprone-reserved-identifier] 177 | extern void _xtos_memep_initrams( void ); | ^~~~~~~~~~~~~~~~~~~~ | xtos_memep_initrams /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:178:14: warning: declaration uses identifier '_xtos_memep_enable', which is reserved in the global namespace [bugprone-reserved-identifier] 178 | extern void _xtos_memep_enable( int flags ); | ^~~~~~~~~~~~~~~~~~ | xtos_memep_enable /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:182:14: warning: declaration uses identifier '_xtos_dispatch_level1_interrupts', which is reserved in the global namespace [bugprone-reserved-identifier] 182 | extern void _xtos_dispatch_level1_interrupts( void ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_dispatch_level1_interrupts /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:185:14: warning: declaration uses identifier '_xtos_dispatch_level2_interrupts', which is reserved in the global namespace [bugprone-reserved-identifier] 185 | extern void _xtos_dispatch_level2_interrupts( void ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_dispatch_level2_interrupts /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:188:14: warning: declaration uses identifier '_xtos_dispatch_level3_interrupts', which is reserved in the global namespace [bugprone-reserved-identifier] 188 | extern void _xtos_dispatch_level3_interrupts( void ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_dispatch_level3_interrupts /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:191:14: warning: declaration uses identifier '_xtos_dispatch_level4_interrupts', which is reserved in the global namespace [bugprone-reserved-identifier] 191 | extern void _xtos_dispatch_level4_interrupts( void ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_dispatch_level4_interrupts /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:194:14: warning: declaration uses identifier '_xtos_dispatch_level5_interrupts', which is reserved in the global namespace [bugprone-reserved-identifier] 194 | extern void _xtos_dispatch_level5_interrupts( void ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_dispatch_level5_interrupts /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:197:14: warning: declaration uses identifier '_xtos_dispatch_level6_interrupts', which is reserved in the global namespace [bugprone-reserved-identifier] 197 | extern void _xtos_dispatch_level6_interrupts( void ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xtos_dispatch_level6_interrupts /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:201:21: warning: declaration uses identifier '_xtos_read_ints', which is reserved in the global namespace [bugprone-reserved-identifier] 201 | extern unsigned int _xtos_read_ints( void ); | ^~~~~~~~~~~~~~~ | xtos_read_ints /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:202:14: warning: declaration uses identifier '_xtos_clear_ints', which is reserved in the global namespace [bugprone-reserved-identifier] 202 | extern void _xtos_clear_ints( unsigned int mask ); | ^~~~~~~~~~~~~~~~ | xtos_clear_ints /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:206:13: warning: declaration uses identifier '_xtos_core_shutoff', which is reserved in the global namespace [bugprone-reserved-identifier] 206 | extern int _xtos_core_shutoff(unsigned flags); | ^~~~~~~~~~~~~~~~~~ | xtos_core_shutoff /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:207:13: warning: declaration uses identifier '_xtos_core_save', which is reserved in the global namespace [bugprone-reserved-identifier] 207 | extern int _xtos_core_save(unsigned flags, XtosCoreState *savearea, void *code); | ^~~~~~~~~~~~~~~ | xtos_core_save /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:208:14: warning: declaration uses identifier '_xtos_core_restore', which is reserved in the global namespace [bugprone-reserved-identifier] 208 | extern void _xtos_core_restore(unsigned retvalue, XtosCoreState *savearea); | ^~~~~~~~~~~~~~~~~~ | xtos_core_restore /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:218:14: warning: declaration uses identifier '_xtos_timer_0_delta', which is reserved in the global namespace [bugprone-reserved-identifier] 218 | extern void _xtos_timer_0_delta( int cycles ); | ^~~~~~~~~~~~~~~~~~~ | xtos_timer_0_delta /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:221:14: warning: declaration uses identifier '_xtos_timer_1_delta', which is reserved in the global namespace [bugprone-reserved-identifier] 221 | extern void _xtos_timer_1_delta( int cycles ); | ^~~~~~~~~~~~~~~~~~~ | xtos_timer_1_delta /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa/xtruntime.h:224:14: warning: declaration uses identifier '_xtos_timer_2_delta', which is reserved in the global namespace [bugprone-reserved-identifier] 224 | extern void _xtos_timer_2_delta( int cycles ); | ^~~~~~~~~~~~~~~~~~~ | xtos_timer_2_delta /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa_api.h:36:9: warning: declaration uses identifier '__XTENSA_API_H__', which is a reserved identifier [bugprone-reserved-identifier] 36 | #define __XTENSA_API_H__ | ^~~~~~~~~~~~~~~~ | XTENSA_API_H_ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa_api.h:67:70: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] 67 | extern xt_exc_handler xt_set_exception_handler(int n, xt_exc_handler f); | ^ /home/hector/esp/esp-idf-v5.5.1/components/xtensa/include/xtensa_api.h:80:62: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] 80 | extern xt_handler xt_set_interrupt_handler(int n, xt_handler f, void * arg); | ^ 1073 warnings generated. Suppressed 916 warnings (916 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.