{"action":"opened","issue":{"url":"https://api.github.com/repos/greiman/SdFat/issues/102","repository_url":"https://api.github.com/repos/greiman/SdFat","labels_url":"https://api.github.com/repos/greiman/SdFat/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/greiman/SdFat/issues/102/comments","events_url":"https://api.github.com/repos/greiman/SdFat/issues/102/events","html_url":"https://github.com/greiman/SdFat/issues/102","id":310313985,"number":102,"title":"Make the library smaller","user":{"login":"masoudr","id":6974428,"avatar_url":"https://avatars0.githubusercontent.com/u/6974428?v=4","gravatar_id":"","url":"https://api.github.com/users/masoudr","html_url":"https://github.com/masoudr","followers_url":"https://api.github.com/users/masoudr/followers","following_url":"https://api.github.com/users/masoudr/following{/other_user}","gists_url":"https://api.github.com/users/masoudr/gists{/gist_id}","starred_url":"https://api.github.com/users/masoudr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masoudr/subscriptions","organizations_url":"https://api.github.com/users/masoudr/orgs","repos_url":"https://api.github.com/users/masoudr/repos","events_url":"https://api.github.com/users/masoudr/events{/privacy}","received_events_url":"https://api.github.com/users/masoudr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-01T10:33:50Z","updated_at":"2018-04-01T10:33:50Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nCurrently, I'm using this library to just write a simple string to sd card. It works fine but in my project, I don't have enough Flash space. Without the library, it uses about 76.7% of Flash and 59.4% of SRAM in atmega328.\r\nBut If I use a simple function to write to sd like this:\r\n```\r\nvoid sd_log(const char* input){\r\n    //log to sd card\r\n    myFile = SD.open(\"output.log\", FILE_WRITE);\r\n    if (myFile) {\r\n        myFile.println(input);\r\n        // close the file:\r\n        myFile.close();\r\n    }\r\n}\r\n```\r\nIt uses 103.8% and 92.3% for Flash and SRAM respectivelly.\r\nIs there any way to reduce the size of Flash so I can fit it into my Arduino pro mini?\r\nActually, I'm not sure if removing Bootloader may help or not.\r\nI also tried to use your fat16 library but it didn't work with my current hardware.\r\nThanks."}}
{"actor":{"display_login":"masoudr"}}