Skip to content

CNN: Fix extmod build#71

Open
jonnor wants to merge 4 commits intomasterfrom
cnn-extmod
Open

CNN: Fix extmod build#71
jonnor wants to merge 4 commits intomasterfrom
cnn-extmod

Conversation

@jonnor
Copy link
Copy Markdown
Contributor

@jonnor jonnor commented Apr 19, 2026

A bit tricky because the CNN modules are built in two configurations, int8+fp32. And in the extmod case there are sharing the same namespace for symbols etc. So we need to avoid them conflicting or overriding eachother.

jonnor added 4 commits April 19, 2026 22:40
A bit tricky since one needs to avoid duplicate symbols,
and the MicroPython build system is quite opinionated
The TinyMaix symbols were defined as weak - so int8 config
would call a function that had fp32 configuration.
Would fail in tm_load
Needs different config from external C...
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