python-keyboard icon indicating copy to clipboard operation
python-keyboard copied to clipboard

Creating New UF2

Open mehalter opened this issue 5 years ago • 3 comments

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.

mehalter avatar Sep 11 '20 16:09 mehalter

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 avatar Sep 13 '20 13:09 xiongyihui

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

xiongyihui avatar Sep 13 '20 13:09 xiongyihui

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.

mpslanker avatar May 24 '21 23:05 mpslanker