{"action":"created","issue":{"url":"https://api.github.com/repos/aykevl/tinygo/issues/85","repository_url":"https://api.github.com/repos/aykevl/tinygo","labels_url":"https://api.github.com/repos/aykevl/tinygo/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/aykevl/tinygo/issues/85/comments","events_url":"https://api.github.com/repos/aykevl/tinygo/issues/85/events","html_url":"https://github.com/aykevl/tinygo/issues/85","id":382200586,"node_id":"MDU6SXNzdWUzODIyMDA1ODY=","number":85,"title":"UART not working on \"reel board\"","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":2,"created_at":"2018-11-19T12:50:48Z","updated_at":"2018-11-20T11:34:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I am trying to add support for the \"reel board\" which is based on the nrf52840. I have been successful as adding the GPIO, however cannot get anything to happen with either TX or RX from my host. I have tried using both the \"serial\" and \"echo\" examples.\r\n\r\nThis is the board: \r\nhttps://docs.zephyrproject.org/latest/boards/arm/reel_board/doc/reel_board.html\r\n\r\nThis is my WIP:\r\nhttps://github.com/hybridgroup/tinygo/commit/5dc355e459f97abf872c8a1f884f3c2dcd8829bd\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/aykevl/tinygo/issues/comments/440242195","html_url":"https://github.com/aykevl/tinygo/issues/85#issuecomment-440242195","issue_url":"https://api.github.com/repos/aykevl/tinygo/issues/85","id":440242195,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDI0MjE5NQ==","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-20T11:34:03Z","updated_at":"2018-11-20T11:34:03Z","author_association":"OWNER","body":"Things you can try:\r\n\r\n* If GDB is working, you can see whether it is doing what you expect: replace 'flash' with 'gdb' in the `tinygo` command. Stop the currently running program with `Ctrl-C`. If it sleeps, it should be at the `for !rtc_wakeup {` line. The regular `bt` command works for the most part so you can see a backtrace. If it crashed, it _might_ point out the exact location where it did.\r\n* If you don't have GDB, you can simply try to blink an LED every time you write something to the UART, to make sure the program didn't crash.\r\n* If you have one, you can hang a logic analyzer or scope directly on the uart tx pin. If not, try connecting an external UART-to-USB converter. Maybe it _does_ send data but something else doesn't work properly.\r\n* You can also try running something else on the device that writes to the UART, to make really sure everything works fine and it is indeed `tinygo` that is to blame.\r\n\r\nHope this helps!"}}
{"actor":{"display_login":"aykevl"}}