{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1848","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1848/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1848/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1848/events","html_url":"https://github.com/esp8266/Arduino/issues/1848","id":145381107,"number":1848,"title":"Licensing a project using ESP8266 Arduino libraries, examples","user":{"login":"Nurgak","id":1785126,"avatar_url":"https://avatars.githubusercontent.com/u/1785126?v=3","gravatar_id":"","url":"https://api.github.com/users/Nurgak","html_url":"https://github.com/Nurgak","followers_url":"https://api.github.com/users/Nurgak/followers","following_url":"https://api.github.com/users/Nurgak/following{/other_user}","gists_url":"https://api.github.com/users/Nurgak/gists{/gist_id}","starred_url":"https://api.github.com/users/Nurgak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nurgak/subscriptions","organizations_url":"https://api.github.com/users/Nurgak/orgs","repos_url":"https://api.github.com/users/Nurgak/repos","events_url":"https://api.github.com/users/Nurgak/events{/privacy}","received_events_url":"https://api.github.com/users/Nurgak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-02T14:57:38Z","updated_at":"2016-04-03T07:47:39Z","closed_at":"2016-04-03T07:47:39Z","body":"I'd like to publish a project where I used the libraries and examples developed within this project. I made extensive use of the examples which I modified for my needs and have to include with my code.\r\n\r\nI'm not clear on how I should licence my project now, for example: am I allowed to choose the MIT licence, or because of the dependancies I need to use the LGPL? I'd like to use the most permissive licence possible. The [licensing section](https://github.com/esp8266/Arduino#license-and-credits) doesn't help much.\r\n\r\nIt'd be nice to have a licensing section here describing how the derivative works should be licensed. I'm an engineer, not a lawyer, no amount of Googleing can help me."},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/204901910","html_url":"https://github.com/esp8266/Arduino/issues/1848#issuecomment-204901910","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/1848","id":204901910,"user":{"login":"Nurgak","id":1785126,"avatar_url":"https://avatars.githubusercontent.com/u/1785126?v=3","gravatar_id":"","url":"https://api.github.com/users/Nurgak","html_url":"https://github.com/Nurgak","followers_url":"https://api.github.com/users/Nurgak/followers","following_url":"https://api.github.com/users/Nurgak/following{/other_user}","gists_url":"https://api.github.com/users/Nurgak/gists{/gist_id}","starred_url":"https://api.github.com/users/Nurgak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nurgak/subscriptions","organizations_url":"https://api.github.com/users/Nurgak/orgs","repos_url":"https://api.github.com/users/Nurgak/repos","events_url":"https://api.github.com/users/Nurgak/events{/privacy}","received_events_url":"https://api.github.com/users/Nurgak/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T07:47:39Z","updated_at":"2016-04-03T07:47:39Z","body":"I found the answer myself: as long as my code is a derivative, and using the example code counts as derivative, [I need to adopt the same licence as the original work (LGPL)](https://en.wikibooks.org/wiki/FOSS_Licensing/How_to_Make_the_Source_Free_or_Open).\r\n\r\nUsing tools to create the binary does not count as derivative work, so my work does not need to comply with the GPL licence of Arduino IDE, Xtensa gcc toolchain and Esptool."}}