{"action":"created","issue":{"url":"https://api.github.com/repos/aykevl/tinygo/issues/72","repository_url":"https://api.github.com/repos/aykevl/tinygo","labels_url":"https://api.github.com/repos/aykevl/tinygo/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/aykevl/tinygo/issues/72/comments","events_url":"https://api.github.com/repos/aykevl/tinygo/issues/72/events","html_url":"https://github.com/aykevl/tinygo/pull/72","id":378825854,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NDM4MzYz","number":72,"title":"Add support to Dockerfile for AVR and ARM target stages for MCU development","user":{"login":"deadprogram","id":5520,"node_id":"MDQ6VXNlcjU1MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/5520?v=4","gravatar_id":"","url":"https://api.github.com/users/deadprogram","html_url":"https://github.com/deadprogram","followers_url":"https://api.github.com/users/deadprogram/followers","following_url":"https://api.github.com/users/deadprogram/following{/other_user}","gists_url":"https://api.github.com/users/deadprogram/gists{/gist_id}","starred_url":"https://api.github.com/users/deadprogram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadprogram/subscriptions","organizations_url":"https://api.github.com/users/deadprogram/orgs","repos_url":"https://api.github.com/users/deadprogram/repos","events_url":"https://api.github.com/users/deadprogram/events{/privacy}","received_events_url":"https://api.github.com/users/deadprogram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-11-08T16:55:41Z","updated_at":"2018-11-13T13:20:10Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/aykevl/tinygo/pulls/72","html_url":"https://github.com/aykevl/tinygo/pull/72","diff_url":"https://github.com/aykevl/tinygo/pull/72.diff","patch_url":"https://github.com/aykevl/tinygo/pull/72.patch"},"body":"This PR extends the Dockerfile by adding some additional stages intended to be used for MCU development.\r\n\r\nTo use the AVR stage, use the `--target=tinygo-avr` flag when building the image.\r\n\r\nTo compile TinyGo code for AVR:\r\n\r\n```\r\ndocker run --rm -v $(pwd):/src hybridgroup/tinygo-avr build -o /src/blinky1.elf -size=short -target=arduino examples/blinky1\r\n```\r\n\r\nTo use the ARM stage, use the `--target=tinygo-arm` flag when building the image.\r\n\r\nTo compile TinyGo code targeting ARM:\r\n\r\n```\r\ndocker run --rm -v $(pwd):/src hybridgroup/tinygo-arm build -o /src/blinky1.elf -size=short -target=pca10040 examples/blinky1\r\n```\r\n\r\nThe default for the Dockerfile is to build the `tinygo-wasm` stage for WASM development. This is the same as the `--target=tinygo-avr` flag.\r\n\r\nTo compile TinyGo code targeting WASM:\r\n\r\n```\r\ndocker run --rm -v $(pwd):/src hybridgroup/tinygo-wasm build -o /src/wasm.wasm -target wasm examples/wasm\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/aykevl/tinygo/issues/comments/438263002","html_url":"https://github.com/aykevl/tinygo/pull/72#issuecomment-438263002","issue_url":"https://api.github.com/repos/aykevl/tinygo/issues/72","id":438263002,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODI2MzAwMg==","user":{"login":"aykevl","id":729697,"node_id":"MDQ6VXNlcjcyOTY5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/729697?v=4","gravatar_id":"","url":"https://api.github.com/users/aykevl","html_url":"https://github.com/aykevl","followers_url":"https://api.github.com/users/aykevl/followers","following_url":"https://api.github.com/users/aykevl/following{/other_user}","gists_url":"https://api.github.com/users/aykevl/gists{/gist_id}","starred_url":"https://api.github.com/users/aykevl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aykevl/subscriptions","organizations_url":"https://api.github.com/users/aykevl/orgs","repos_url":"https://api.github.com/users/aykevl/repos","events_url":"https://api.github.com/users/aykevl/events{/privacy}","received_events_url":"https://api.github.com/users/aykevl/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T13:20:10Z","updated_at":"2018-11-13T13:20:10Z","author_association":"OWNER","body":"Maybe @johanbrandhorst can help a bit with this?"}}
{"actor":{"display_login":"aykevl"}}