{"action":"created","issue":{"url":"https://api.github.com/repos/adafruit/circuitpython/issues/674","repository_url":"https://api.github.com/repos/adafruit/circuitpython","labels_url":"https://api.github.com/repos/adafruit/circuitpython/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/adafruit/circuitpython/issues/674/comments","events_url":"https://api.github.com/repos/adafruit/circuitpython/issues/674/events","html_url":"https://github.com/adafruit/circuitpython/issues/674","id":304597425,"number":674,"title":"OSError: 19 when attempting storage.mount(vfs, \"/sd\") for Adalogger Featherwing","user":{"login":"waldo323","id":1671616,"avatar_url":"https://avatars0.githubusercontent.com/u/1671616?v=4","gravatar_id":"","url":"https://api.github.com/users/waldo323","html_url":"https://github.com/waldo323","followers_url":"https://api.github.com/users/waldo323/followers","following_url":"https://api.github.com/users/waldo323/following{/other_user}","gists_url":"https://api.github.com/users/waldo323/gists{/gist_id}","starred_url":"https://api.github.com/users/waldo323/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldo323/subscriptions","organizations_url":"https://api.github.com/users/waldo323/orgs","repos_url":"https://api.github.com/users/waldo323/repos","events_url":"https://api.github.com/users/waldo323/events{/privacy}","received_events_url":"https://api.github.com/users/waldo323/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-13T01:34:17Z","updated_at":"2018-03-14T05:10:56Z","closed_at":null,"author_association":"NONE","body":"using an feather M0 express with adalogger featherwing in trippler I get an OSError: 19 when trying to run storage.mount(vfs, \"/sd\")\r\n\r\nREPL:\r\n>>> import board\r\n>>> import busio\r\n>>> import digitalio\r\n>>> import adafruit_sdcard\r\n>>> import storage\r\n>>>\r\n>>> spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)\r\n>>> # Use board.SD_CS for Feather M0 Adalogger\r\n>>> cs = digitalio.DigitalInOut(board.**D10**)\r\n>>>\r\n>>> sdcard = adafruit_sdcard.SDCard(spi, cs)\r\n>>> vfs = storage.VfsFat(sdcard)\r\n>>>\r\n>>> storage.mount(vfs, \"/sd\")\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nOSError: 19\r\n\r\nI also got this error when running one of the examples (modified with D10 for CS)\r\n\r\nadditional information:\r\nlooking at the guide: the https://learn.adafruit.com/adafruit-adalogger-featherwing/circuitpython   \r\nI got to the bit about cs = digitalio...it states this line is for feather m0 so I think this is where things differ and I am second guessing whether this is the right guide. When I do a dir(board) I don't see SD_CS\r\n\r\ntannewt - Today at 7:11 PM\r\nlooks like board.D10 would work\r\nSD_CS is for the feather adalogger (not wing)"},"comment":{"url":"https://api.github.com/repos/adafruit/circuitpython/issues/comments/372906523","html_url":"https://github.com/adafruit/circuitpython/issues/674#issuecomment-372906523","issue_url":"https://api.github.com/repos/adafruit/circuitpython/issues/674","id":372906523,"user":{"login":"waldo323","id":1671616,"avatar_url":"https://avatars0.githubusercontent.com/u/1671616?v=4","gravatar_id":"","url":"https://api.github.com/users/waldo323","html_url":"https://github.com/waldo323","followers_url":"https://api.github.com/users/waldo323/followers","following_url":"https://api.github.com/users/waldo323/following{/other_user}","gists_url":"https://api.github.com/users/waldo323/gists{/gist_id}","starred_url":"https://api.github.com/users/waldo323/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldo323/subscriptions","organizations_url":"https://api.github.com/users/waldo323/orgs","repos_url":"https://api.github.com/users/waldo323/repos","events_url":"https://api.github.com/users/waldo323/events{/privacy}","received_events_url":"https://api.github.com/users/waldo323/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T05:10:56Z","updated_at":"2018-03-14T05:10:56Z","author_association":"NONE","body":"I did notice there was a 1 meg spot non allocated space before the partition for the 8 gb card and no non allocated space on the 16 gb card"}}
{"actor":{"display_login":"waldo323"}}