{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/arduino-builder/issues/241","repository_url":"https://api.github.com/repos/arduino/arduino-builder","labels_url":"https://api.github.com/repos/arduino/arduino-builder/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/arduino/arduino-builder/issues/241/comments","events_url":"https://api.github.com/repos/arduino/arduino-builder/issues/241/events","html_url":"https://github.com/arduino/arduino-builder/issues/241","id":247096074,"node_id":"MDU6SXNzdWUyNDcwOTYwNzQ=","number":241,"title":"need more documentation on -fqbn param","user":{"login":"gherlein","id":173428,"node_id":"MDQ6VXNlcjE3MzQyOA==","avatar_url":"https://avatars2.githubusercontent.com/u/173428?v=4","gravatar_id":"","url":"https://api.github.com/users/gherlein","html_url":"https://github.com/gherlein","followers_url":"https://api.github.com/users/gherlein/followers","following_url":"https://api.github.com/users/gherlein/following{/other_user}","gists_url":"https://api.github.com/users/gherlein/gists{/gist_id}","starred_url":"https://api.github.com/users/gherlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gherlein/subscriptions","organizations_url":"https://api.github.com/users/gherlein/orgs","repos_url":"https://api.github.com/users/gherlein/repos","events_url":"https://api.github.com/users/gherlein/events{/privacy}","received_events_url":"https://api.github.com/users/gherlein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-01T14:51:20Z","updated_at":"2018-12-21T19:48:52Z","closed_at":null,"author_association":"NONE","body":"How does one construct the fqbn param?  \r\n\r\nHow does one get a list of boards possible?\r\n\r\nNOTE:  this is similar to the --list-boards enhancement request earlier, but short of getting that can we at least get some examples and/or docs?"},"comment":{"url":"https://api.github.com/repos/arduino/arduino-builder/issues/comments/449482349","html_url":"https://github.com/arduino/arduino-builder/issues/241#issuecomment-449482349","issue_url":"https://api.github.com/repos/arduino/arduino-builder/issues/241","id":449482349,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTQ4MjM0OQ==","user":{"login":"adumont","id":333274,"node_id":"MDQ6VXNlcjMzMzI3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/333274?v=4","gravatar_id":"","url":"https://api.github.com/users/adumont","html_url":"https://github.com/adumont","followers_url":"https://api.github.com/users/adumont/followers","following_url":"https://api.github.com/users/adumont/following{/other_user}","gists_url":"https://api.github.com/users/adumont/gists{/gist_id}","starred_url":"https://api.github.com/users/adumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adumont/subscriptions","organizations_url":"https://api.github.com/users/adumont/orgs","repos_url":"https://api.github.com/users/adumont/repos","events_url":"https://api.github.com/users/adumont/events{/privacy}","received_events_url":"https://api.github.com/users/adumont/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T19:48:52Z","updated_at":"2018-12-21T19:48:52Z","author_association":"NONE","body":"Indeed.\r\nMy trick? Use Visual Studio Code, with the Arduino Extension. When you configure the board for sketch, it will create a new file in your sketch directory, under .vscode/arduino.json containing at least these three fields: sketch, board and configuration.\r\n\r\nHere is an example:\r\n\r\n```\r\n{\r\n    \"sketch\": \"ESP-sc-gway.ino\",\r\n    \"board\": \"esp8266:esp8266:d1_mini\",\r\n    \"configuration\": \"CpuFrequency=80,VTable=flash,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,FlashErase=sdk,UploadSpeed=921600\"\r\n}\r\n```\r\n\r\nWhen building with VSCode, I noticed that it uses arduino-builder, and the -fqbn is `esp8266:esp8266:d1_mini:CpuFrequency=80,VTable=flash,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,FlashErase=sdk,UploadSpeed=921600`, which is the contatenation of `board` and `configuration` values.\r\n\r\nAt least that works for me :)"}}
{"actor":{"display_login":"adumont"}}