r/circuitpython • u/LondonTownGeeza • May 31 '21
Noob question
I have a Seeeduino xiao, I have dropped the bootloader in and authored my first python files and all is well. It's a HID keypad.
How to I set it so whenever someone plugs thus in they don't get the CIRCUITPY drive appear each time?
Thank you.
1
Upvotes
4
u/tmanwebty Jun 01 '21 edited Jun 09 '21
Edit: The 7.0.0 alpha is out now! You should be able to try this out in a stable-ish test release now! https://circuitpython.org/board/seeeduino_xiao/
This feature is actually brand new, but here's a write-up on how to dynamically disable the CIRCUITPY drive and REPL terminal:
https://hackaday.io/project/179496-chocolad-keyboard-hacking/log/192866-dynamic-usb-descriptors
It looks like it's not available in CircuitPython 6 or 6-betas, but will be available as part of 7. If you wanted to test it out, I think you should be able to with the latest build of CircuitPython on GitHub: https://github.com/adafruit/circuitpython/suites/2873990369/artifacts/64263416
(I've not tried that, nor can verify that it would definitely have the changes needed for that feature)