Page 1 of 1

how do i use Arduino as a component in idf 5.0

Posted: Sat Feb 18, 2023 10:16 pm
by ShadyOne
Hi

I do use windows and VSCode as editor for code.
and one esp32 and one esp32s3

i had a somewhat working commandline building with idf 4.4 and using the head of git arduino-esp32 as a component.

building just with:
idf.py -p COMx build flash monitor

now I wish to test stuff in 5.x

so i tried to get the idf 5.0 and use Arduino as a component ..but the head of arduino-esp32 requires 4.4 - 4.4.99

would prefer to use the released version 5.0. But i could not find code that target that.

I looked for a branch or tag and found one for 5.1

so then i get the "esp-idf-v5.1" branch and install and all the things to get it running

and get the Arduino-esp32 component branch esp-idf-5.1

then when trying to build it fails miserably.
first fail is missing component "mdns".

is this do-able at all?

Re: how do i use Arduino as a component in idf 5.0

Posted: Mon Feb 20, 2023 4:17 pm
by DOugL-
You might try posting your issue with the github repo for the arduino-esp32 package:
https://github.com/espressif/arduino-esp32