I'm using a QT PY for a macro keyboard attached to an iPad.
Thanks to Lokido, and other posts here, I got it to work.
Here's a little additional help for those on a Mac.
Per the instructions, create a disk image on your Mac using Disk Utility before doing anything else.
In Disk Utility, go to File/New Image, and fill it in something like this:
Name: buildDisk
Size: 10gb
Format: APFS (Case-sensitive) or other Case-sensitive option depending on your Mac
Encryption: none
Partitions: Single partition - GUID Partition Map
Image Format: sparse bundle disk image
The disk should mount after you create it (you'll see it on your desktop). If it doesn't, click on the file name in the finder; mine is named buildDisk.sparsebundle
Now, in terminal, change to the drive with
- Code: Select all | TOGGLE FULL SIZE
cd /Volumes/buildDisk
Then follow Adafruit's instructions:
https://learn.adafruit.com/building-circuitpython/build-circuitpythonAfter downloading the files, and before doing the Make commands, modify the mpconfigboard.mk file as explained in the previous posts in this thread. Basically, add the following line to the end of the file: (Note: don't put spaces after the commas.)
- Code: Select all | TOGGLE FULL SIZE
USB_HID_DEVICES=KEYBOARD,MOUSE,CONSUMER
For the QT PY board (without the soldered-on ram chip), the file is at buildDisk/circuitpython/ports/atmel-samd/boards/qtpy_m0/mpconfigboard.mk
When the instructions say to build Circuit Python, use Lokido's help by entering the additional commands to turn off and on the Mac's file security. For example, for my QT PY, I entered:
- Code: Select all | TOGGLE FULL SIZE
cd ports/atmel-samd
sudo spctl --master-disable
make BOARD=qtpy_m0
sudo spctl --master-enable
Continue with the rest of Adafruit's instructions to install the newly created .utf file to your board.
For my QT PY, the .utf file is here:
buildDisk/circuitpython/ports/atmel-samd/build-qtpy_m0/firmware.uf2
When you've got it working, you can eject the buildDisk drive like any other drive. You can also delete the buildDisk.sparsebundle file from your computer to save space.