mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
protocols/security: Remove -Wno-format
compile option for examples
This commit is contained in:
@@ -4,4 +4,3 @@
|
||||
idf_component_register(SRCS "https_request_example_main.c" "time_sync.c"
|
||||
INCLUDE_DIRS "include"
|
||||
EMBED_TXTFILES server_root_cert.pem local_server_cert.pem)
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
@@ -15,6 +15,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <inttypes.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include "freertos/FreeRTOS.h"
|
||||
@@ -255,7 +256,7 @@ static void https_request_task(void *pvparameters)
|
||||
#if CONFIG_MBEDTLS_CERTIFICATE_BUNDLE
|
||||
https_get_request_using_crt_bundle();
|
||||
#endif
|
||||
ESP_LOGI(TAG, "Minimum free heap size: %d bytes", esp_get_minimum_free_heap_size());
|
||||
ESP_LOGI(TAG, "Minimum free heap size: %" PRIu32 " bytes", esp_get_minimum_free_heap_size());
|
||||
https_get_request_using_cacert_buf();
|
||||
https_get_request_using_global_ca_store();
|
||||
ESP_LOGI(TAG, "Finish https_request example");
|
||||
|
Reference in New Issue
Block a user