This thread asked a similar question - the only answer was to put the C extension into the micropython build.
That would make dynamic development and testing of the C part very clumsy, though, because I'd have to rebuild and upload the micropython firmware each time I make a change to the C code.
But I have seen that one can add additional libs simply by putting them onto the flash memory with Thonny. Can't I use that method myself, by generating such libs and then dynamically replacing them there? Or can those libs be written only in Python?
That would make dynamic development and testing of the C part very clumsy, though, because I'd have to rebuild and upload the micropython firmware each time I make a change to the C code.
But I have seen that one can add additional libs simply by putting them onto the flash memory with Thonny. Can't I use that method myself, by generating such libs and then dynamically replacing them there? Or can those libs be written only in Python?
Statistics: Posted by tem_pi — Fri Jul 26, 2024 7:29 pm