{"action":"closed","issue":{"url":"https://api.github.com/repos/platformio/platformio/issues/275","labels_url":"https://api.github.com/repos/platformio/platformio/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio/issues/275/comments","events_url":"https://api.github.com/repos/platformio/platformio/issues/275/events","html_url":"https://github.com/platformio/platformio/issues/275","id":102534165,"number":275,"title":"Documentation about toolchains on platformio-storage / custom download location","user":{"login":"pastcompute","id":2771007,"avatar_url":"https://avatars.githubusercontent.com/u/2771007?v=3","gravatar_id":"","url":"https://api.github.com/users/pastcompute","html_url":"https://github.com/pastcompute","followers_url":"https://api.github.com/users/pastcompute/followers","following_url":"https://api.github.com/users/pastcompute/following{/other_user}","gists_url":"https://api.github.com/users/pastcompute/gists{/gist_id}","starred_url":"https://api.github.com/users/pastcompute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pastcompute/subscriptions","organizations_url":"https://api.github.com/users/pastcompute/orgs","repos_url":"https://api.github.com/users/pastcompute/repos","events_url":"https://api.github.com/users/pastcompute/events{/privacy}","received_events_url":"https://api.github.com/users/pastcompute/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/platformio/platformio/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-08-22T12:52:09Z","updated_at":"2015-09-05T20:49:40Z","closed_at":"2015-09-05T20:49:40Z","body":"Hi & thanks for platformio!\r\n\r\nI'd like to be able to build with my own custom toolchain or framework instead of using a pre-built one downloaded from platformio-storage. I have read http://docs.platformio.org/en/latest/platforms/creating_platform.html etc. but haven't found any documentation on how to integrate a custom toolchain with platformio.\r\n\r\nExamples of use cases:\r\n\r\n* use platformio to build using a MIPS openwrt toolchain existing on harddisk already\r\n* regress to prior versions of the ESP8266 toolchain and API not available from platformio-storage anymore\r\n* audit & certify toolchain and framework code for security purposes - at the moment there is no way of knowing which sources were used to build the pre-built toolchains\r\n\r\nOne way to provide some of this functionality might be to make the download URL (hardcoded in https://github.com/platformio/platformio-api/blob/develop/platformio_api/api.py ) configurable - I can try and hack a patch to make that location configurable if that helps.\r\n\r\nIt would be nice to be able to know how to symlink from the right place in ~/.platformio to a toolchain but I can live with running a local instance of platformio_api\r\n\r\nOne benefit: if the procedure used to build a toolchain or framework tarball was documented there'd probably be people submitting additional toolchain pull requests as well, \r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26068942-documentation-about-toolchains-on-platformio-storage-custom-download-location?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}