{"action":"created","issue":{"url":"https://api.github.com/repos/ntoll/uflash/issues/38","repository_url":"https://api.github.com/repos/ntoll/uflash","labels_url":"https://api.github.com/repos/ntoll/uflash/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ntoll/uflash/issues/38/comments","events_url":"https://api.github.com/repos/ntoll/uflash/issues/38/events","html_url":"https://github.com/ntoll/uflash/issues/38","id":222050948,"number":38,"title":"Problems when appending scripts to recent runtime","user":{"login":"bmustill-rose","id":16098167,"avatar_url":"https://avatars0.githubusercontent.com/u/16098167?v=3","gravatar_id":"","url":"https://api.github.com/users/bmustill-rose","html_url":"https://github.com/bmustill-rose","followers_url":"https://api.github.com/users/bmustill-rose/followers","following_url":"https://api.github.com/users/bmustill-rose/following{/other_user}","gists_url":"https://api.github.com/users/bmustill-rose/gists{/gist_id}","starred_url":"https://api.github.com/users/bmustill-rose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmustill-rose/subscriptions","organizations_url":"https://api.github.com/users/bmustill-rose/orgs","repos_url":"https://api.github.com/users/bmustill-rose/repos","events_url":"https://api.github.com/users/bmustill-rose/events{/privacy}","received_events_url":"https://api.github.com/users/bmustill-rose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-04-17T02:15:02Z","updated_at":"2017-04-24T11:40:45Z","closed_at":null,"body":"uFlash 1.0.8 appears to be incorrectly appending scripts to a runtime that I'm supplying which is based on the latest commit (f682113) of MicroPython.\r\n\r\n* I have compiled an unmodified runtime of MicroPython using the above referenced commit.\r\n* Flashing my runtime to the device without a script and carrying out some brief tests suggests that it's working properly - E.G. display, buttons, speech and radio all work.\r\n* Using uFlash to flash any script and supplying my runtime results in the device seemingly doing nothing. The script is not executed, nothing is printed to serial & I am unable to access the REPL.\r\n* Using uFlash to flash a script without specifying a runtime works.\r\n* Using uFlash to flash a script using an older runtime such as https://github.com/ntoll/microrepl/blob/master/firmware.hex works.\r\n* If I flash my runtime, rename my script to main.py and \\\"put\\\" it on the device using microfs it works - E.G. the script executes on boot, behaves as I would expect it to & I'm able to access the REPL.\r\n\r\n[mp.zip](https://github.com/ntoll/uflash/files/924793/mp.zip)\r\n\r\nPlease see attached for my runtime. For what it's worth it was compiled under Windows 10 X64 which I realize might not be a typical build environment.\r\nApologies if the issue in fact turns out to be related to my runtime as opposed to uFlash.\r\n"},"comment":{"url":"https://api.github.com/repos/ntoll/uflash/issues/comments/296630272","html_url":"https://github.com/ntoll/uflash/issues/38#issuecomment-296630272","issue_url":"https://api.github.com/repos/ntoll/uflash/issues/38","id":296630272,"user":{"login":"bmustill-rose","id":16098167,"avatar_url":"https://avatars0.githubusercontent.com/u/16098167?v=3","gravatar_id":"","url":"https://api.github.com/users/bmustill-rose","html_url":"https://github.com/bmustill-rose","followers_url":"https://api.github.com/users/bmustill-rose/followers","following_url":"https://api.github.com/users/bmustill-rose/following{/other_user}","gists_url":"https://api.github.com/users/bmustill-rose/gists{/gist_id}","starred_url":"https://api.github.com/users/bmustill-rose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmustill-rose/subscriptions","organizations_url":"https://api.github.com/users/bmustill-rose/orgs","repos_url":"https://api.github.com/users/bmustill-rose/repos","events_url":"https://api.github.com/users/bmustill-rose/events{/privacy}","received_events_url":"https://api.github.com/users/bmustill-rose/received_events","type":"User","site_admin":false},"created_at":"2017-04-24T11:40:45Z","updated_at":"2017-04-24T11:40:45Z","body":"Raised https://github.com/bbcmicrobit/micropython/issues/440"}}
{"actor":{"display_login":"bmustill-rose"}}