Post #3171553
2025-12-29 06:12 UTC
@sean
We use the unix port heavily for unit tests with the unittest module:
https://checkmim.com/packages/unittest
We usually don't even build the unix port, we run the docker container:
`docker run -ti --rm micropython/unix`
Using the "-v" option to volume mount local code inside the container.
As for running on a device, mpremote is the ticket:
https://docs.micropython.org/en/latest/reference/mpremote.html
In particular, `mpremote mount .` will mount (_not_ copy) your PC filesystem on your device. Which is pretty magical! 😊
Replies (0)
No replies.