Open bcdax110 opened 14 hours ago
@bcdax110 Can you provide more information? What IDE? What language? How can I setup it to reproduce? etc.
CLion IDE and plugin ESP-IDF
C
Install ESP-IDF from https://dl.espressif.com/dl/esp-idf/.
In CLion, create a new project with the following settings:
<path to ESP-IDF install path>/frameworks/esp-idf-v5.3.1
Add the following code to the void app_main(void)
function in the file main/<project_name>.c
:
while(1) {
ESP_LOGI("Test", "Hello World");
}
"high complexity (126%)" will appear above the app_main
function.
ESP IDF Hello World project as follow:
The complexity statistics for the function _Noreturn void app_main(void) is 19 (126%).