Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How to convert code for esp-idf to arduino #9624

dagi0627 started this conversation in General
Discussion options

i want to convert code native_ota_example.c in esp-idf to arduino code. How to do it ?

You must be logged in to vote

Replies: 1 comment

Comment options

  • only one void app_main(void)
    void app_main(void) -> void app_main()
  • call app_main()
    void setup() {
    app_main();
    }
    void loop() {
    delay(10 * 1000);
    }
  • ESP-IDF LOG set level by Menu Core Debug Level
    platformio.ini as
   build_flags =
   -D CONFIG_ARDUHAL_LOG_COLORS=1
   -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO

there is the esp-idf cdc_acm_vcp example use by arduino : https://gitee.com/yunyizhi/espressif-demo/tree/master/cdc_acm_vcp

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.