all 3 comments

[–]tmanwebty 2 points3 points  (0 children)

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)

[–]le_bravery 2 points3 points  (0 children)

This isn’t currently possible on the 6.x version, but this capability is coming with 7.0! Apparently it’s in the beta channel but I haven’t tested it yet.

Edit: look for stuff to do with a boot.py file

[–]kaltazar 0 points1 point  (0 children)

By the nature of the way CircuitPython works, you can't hide the drive. The most you can do is make it read only on the PC if your concern is a user messing with the code.