https://github.com/josverl/build-micropython-win-mingw
Simple Build Container for MicroPython using MinGW
https://github.com/josverl/build-micropython-win-mingw
docker micropython
Last synced: 7 months ago
JSON representation
Simple Build Container for MicroPython using MinGW
- Host: GitHub
- URL: https://github.com/josverl/build-micropython-win-mingw
- Owner: Josverl
- License: mit
- Created: 2025-02-20T22:45:23.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-22T21:38:38.000Z (8 months ago)
- Last Synced: 2025-02-23T00:38:57.321Z (8 months ago)
- Topics: docker, micropython
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Simple Build Container for MicroPython using MinGW
This container is designed to build MicroPython for Windows using the MinGW toolchain.
It uses the same build process as the official MicroPython Docker container, but with the MinGW toolchain instead of the ARM toolchain.It provides a consistent and isolated environment to ensure that the build process is reproducible and free from conflicts with other software on your system.
### Using the Container
This container is intended to be used by mpbuild to build MicroPython for Windows using the MinGW toolchain.
`mpbuild build windows standard`You can also use it directly with docker starting from a clean checkout of MicroPython:
```bash
docker run -it --rm -v $(pwd):/micropython micropython/build-micropython-win-mingw
# in docker
cd micropython
make -C mpy-cross
make -C ports/windows CROSS_COMPILE=i686-w64-mingw32-
```### Building the Container
To build the container run the following command:
```bash
docker build -t josverlinde/build-micropython-win-mingw:1.0 .
```### TODO: publish to docker hub for micropython
`docker build -t micropython/build-micropython-win-mingw .`