diff --git a/components/heap/CMakeLists.txt b/components/heap/CMakeLists.txt index 2e1a5178bb..523e0b0a3e 100644 --- a/components/heap/CMakeLists.txt +++ b/components/heap/CMakeLists.txt @@ -71,5 +71,3 @@ if(NOT CMAKE_BUILD_EARLY_EXPANSION) target_compile_options(${COMPONENT_TARGET} PRIVATE "-DMULTI_HEAP_FREERTOS") endif() endif() - -target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format") diff --git a/components/heap/heap_caps.c b/components/heap/heap_caps.c index 532df64ef2..95d721af47 100644 --- a/components/heap/heap_caps.c +++ b/components/heap/heap_caps.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -564,7 +564,7 @@ void heap_caps_get_info( multi_heap_info_t *info, uint32_t caps ) void heap_caps_print_heap_info( uint32_t caps ) { multi_heap_info_t info; - printf("Heap summary for capabilities 0x%08X:\n", caps); + printf("Heap summary for capabilities 0x%08"PRIX32":\n", caps); heap_t *heap; SLIST_FOREACH(heap, ®istered_heaps, next) { if (heap_caps_match(heap, caps)) {