8000 Building for ESP-S2 · Issue #7172 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

Building for ESP-S2 #7172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
teuler opened this issue Apr 27, 2021 · 3 comments
Closed

Building for ESP-S2 #7172

teuler opened this issue Apr 27, 2021 · 3 comments

Comments

@teuler
Copy link
teuler commented Apr 27, 2021

Hi
I saw that the ESP32 port now allows for the board option GENERIC_S2. This would be great as I am using a FeatherS2 in a project and would really like to stick with MicroPython instead of changing to CircuitPython ...
So I tried to build it but got the following error:

/home/tom/micropython/ports/esp32/usb.c:34:10: fatal error: tusb_cdc_acm.h: No such file or directory
 #include "tusb_cdc_acm.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.

I am using Ubuntu 20.04 running in the Linux Subsystem of 64bit Windows 10, esp-idf 4.2, and the latest MicroPython code.
Building TINYPICO and GENERIC works out of the box.

Any suggestions are appreciated.
Thanks

@robert-hh
Copy link
Contributor
robert-hh commented Apr 27, 2021

You have to use esp-idf release/v4.3 at least, and update the submodules in esp-idf after changing the branch. There is also work going on by @unexpected-maker for the S2 device, which will then better support the feather-s2 module. #7163 (comment)

@teuler
Copy link
Author
teuler commented Apr 27, 2021

Thanks! I'll try that.

@dpgeorge
Copy link
Member

Yes, you need either IDF v4.3-beta3 or the latest master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0