-
Notifications
You must be signed in to change notification settings - Fork 1.3k
10.0.0 Alpha-2 created 2 drives on Pico W #10237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Originally reported here: https://forums.adafruit.com/viewtopic.php?t=217730. @tannewt My impression is that this should not be happening on this board? |
Yup, seems like a bug. |
Looks like we condition the second drive on CIRCUITPY_SDCARDIO but not the stricter automounting test: circuitpython/supervisor/shared/usb/usb_msc_flash.c Lines 31 to 38 in 63815c5
I don't know why the drive letter would change. |
The The drive letter may have been changed because I connected another MCU to the USB cable I was using to see what would happen. It came up as O:. When I reconnected the Alpha board to the same cable the drive letters were swapped. HTH |
Apparently the AF Feather RP2350 does it also. |
Thinking about this more, it is intentional because you can attach an SD card breakout to it. The drive without a medium present is intentional in this case. |
Is there a possibility to make this feature optional? It is a PITA for me. |
Why is an extra drive a pain? |
Yes, I have a bunch of MCUs running and if each uses two drives I will run out of drives. I will admit I am an unusual case, but here I am. A:, B:, C:, D:, E:, F:, G:, Y:, Z: are used by my system. That leaves 17 drive letters, H: through X:. At two drives per MCU that sets the limit to 8 MCUs. I can't guarantee MCU 9 will get a letter or an empty. This will lead me to not adopt CP 10.x.x. Some MCUs are running clocks (GPS and NTP), decoration, calibration (time, temperature), environment, entertainment, new AdaFruit hardware, testing, etc. It is also annoying that the empty drive does not identify what MCU it is affiliated with. My suggestion would be to put the option to create/not create the empty drive in the boot.py file. Bruce |
You don't need drive letters in Windows to mount something. You can just mount to an existing directory. This is not well known, but Google is your friend. |
@b-blake If you compile your own without |
@tannewt (Scott), You have wayyyy too much confidence in my abilities. The last time I compiled code was for the 6502 CPU. back in the 70s and 80s. My first programming experience was using Fortran in the mid 60s on the IBM 1620. (Not Fortran II, III, IV) I also learned Assembly on that machine. I had it compute e to 400 decimal places. It took hours! Bruce P.S. @bablokb, You too. ;-) Wayyyy too much confidence. P.S.S. |
Scott, What are the usage cases for the "thumb Drive" SD card access by the PC? Bruce |
Why? There is no programming involved. When you google for "windows more than 26 drives" you will find a lot of instructions on how to do that. Given the fact that you setup so many devices I have a lot of confidence that you can read and follow those instructions. It is about Windows, so it is clicky-clicky and not programming. |
The idea is that CP can save to the SD card and then the host can read it. We can also now switch it the other way so the host can load assets onto the SD card for CP to read. |
Scott, How about a third option where nobody can write/read it and it goes away? I know I am being a bit flippant, but... Will it be switchable real time from within CP. e.g. Red LED, write by CP. Green LED, write by PC. Red or Green read by both. Default or boot.py or code.py option. You are starting to win me over, but I still would like SD_Card = 0 as an option. Bruce |
CircuitPython version and board name
Code/REPL
Behavior
10.0.0 Alpha-2 creates 2 drives on Pico W. One showing the files. The other waiting for the user to insert an SD card in the USB drive. The Pico W does not have an SD card slot.
Description
Extra SD drive
Additional information
No response
The text was updated successfully, but these errors were encountered: