From 6da5f113e94f4266afbbcf494a354e8714ed1f2f Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Wed, 22 Jun 2022 16:28:18 +0200 Subject: [PATCH] freertos-smp: fix nvs_rw_value and nvs_rw_value_cxx tests TBD --- examples/storage/nvs_rw_value/main/nvs_value_example_main.c | 4 ++++ .../storage/nvs_rw_value_cxx/main/nvs_value_example_main.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/examples/storage/nvs_rw_value/main/nvs_value_example_main.c b/examples/storage/nvs_rw_value/main/nvs_value_example_main.c index 47abd43a6e..66205cb770 100644 --- a/examples/storage/nvs_rw_value/main/nvs_value_example_main.c +++ b/examples/storage/nvs_rw_value/main/nvs_value_example_main.c @@ -18,6 +18,10 @@ void app_main(void) { +#ifdef CONFIG_FREERTOS_SMP + printf("Running with SMP FreeRTOS configured.\r\n"); +#endif + // Initialize NVS esp_err_t err = nvs_flash_init(); if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) { diff --git a/examples/storage/nvs_rw_value_cxx/main/nvs_value_example_main.cpp b/examples/storage/nvs_rw_value_cxx/main/nvs_value_example_main.cpp index 7fa0891c26..18fe25e60a 100644 --- a/examples/storage/nvs_rw_value_cxx/main/nvs_value_example_main.cpp +++ b/examples/storage/nvs_rw_value_cxx/main/nvs_value_example_main.cpp @@ -19,6 +19,10 @@ extern "C" void app_main(void) { +#ifdef CONFIG_FREERTOS_SMP + printf("Running with SMP FreeRTOS configured.\r\n"); +#endif + // Initialize NVS esp_err_t err = nvs_flash_init(); if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) {