makerdiary / python-keyboard

A hand-wired USB & Bluetooth keyboard powered by Python and more
https://makerdiary.com/m60
MIT License
486 stars 61 forks source link

Creating New UF2 #8

Open mehalter opened 4 years ago

mehalter commented 4 years ago

Thanks for describing how to set up the development environment for the board, it worked perfectly! Could you also please describe the process of creating a new UF2 file from the repository? I am interested in being able to package up my own circuitpy compiled images.

xiongyihui commented 4 years ago

Freezing the keyboard module into CircuitPython requires many changes (keyboard as a frozen module). I am trying to submit required features to upstream to make it easier. For example , micropython.asm_thumb is not supported in a frozen module. I have to use a C function to replace it.

You may try to compile the module into .mpy files. It is easier.

xiongyihui commented 4 years ago

Adafruit has a tool - circuitpython-build-tools to build a module. I will try to add it to CI.

mpslanker commented 3 years ago

Hi, I too am interested in being able to build UF2 but I am struggling to get the development environment set up. Could one of you point me to the aforementioned description of setting up the development environment? Thank you in advance.