Skip to content

extmod: Start support for cmake RP2040/ESP32 #39

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

Merged
merged 14 commits into from
Apr 21, 2025
Merged

Conversation

jonnor
Copy link
Contributor

@jonnor jonnor commented Apr 20, 2025

References #19

@jonnor jonnor force-pushed the user-module-build branch from c766368 to cbe765b Compare April 20, 2025 21:59
@jonnor
Copy link
Contributor Author

jonnor commented Apr 20, 2025

Tested on an RPI Pico, but it is failing in odd ways on the xor_run example. In some cases, the module loads OK, but then hangs forever on model.predict(). In another case, the filesystem stops working after flashing the firmware with module. Cannot get the filesystem to fail on official MicroPython 1.25.0 build downloaded from micropython.org, or when building rp2 port without the emlearn_trees extmod.

@jonnor
Copy link
Contributor Author

jonnor commented Apr 21, 2025

I think the missing filesystem issue is because the frozen manifest does not include the board/port manifest, which the documentation says one should do... It also happened on ESP32.

@jonnor jonnor changed the title extmod: Start support for RP2040 and cmake extmod: Start support for cmake RP2040/ESP32 Apr 21, 2025
jonnor added 4 commits April 21, 2025 13:27
Fixes issue where mpremote could not access filesystem
xor_run with emlearn_trees now tested working on RPI-Pico/RP2040
and ESP32_S3_GENERIC (M5Stack AtomSU3)
Unix does not have manifest at PORT level, which is different from the hardware ones...
@jonnor jonnor force-pushed the user-module-build branch from 7c52779 to 89a71a9 Compare April 21, 2025 12:40
@jonnor jonnor merged commit 46523f8 into master Apr 21, 2025
4 checks passed
@jonnor jonnor deleted the user-module-build branch April 21, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant