{"action":"closed","issue":{"url":"https://api.github.com/repos/platformio/platformio/issues/615","repository_url":"https://api.github.com/repos/platformio/platformio","labels_url":"https://api.github.com/repos/platformio/platformio/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio/issues/615/comments","events_url":"https://api.github.com/repos/platformio/platformio/issues/615/events","html_url":"https://github.com/platformio/platformio/issues/615","id":148048486,"number":615,"title":"lptm4c1294ncpdt target (titiva/energia) can't find the SPI library","user":{"login":"jasiek","id":37550,"avatar_url":"https://avatars.githubusercontent.com/u/37550?v=3","gravatar_id":"","url":"https://api.github.com/users/jasiek","html_url":"https://github.com/jasiek","followers_url":"https://api.github.com/users/jasiek/followers","following_url":"https://api.github.com/users/jasiek/following{/other_user}","gists_url":"https://api.github.com/users/jasiek/gists{/gist_id}","starred_url":"https://api.github.com/users/jasiek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasiek/subscriptions","organizations_url":"https://api.github.com/users/jasiek/orgs","repos_url":"https://api.github.com/users/jasiek/repos","events_url":"https://api.github.com/users/jasiek/events{/privacy}","received_events_url":"https://api.github.com/users/jasiek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-13T12:45:36Z","updated_at":"2016-04-13T15:39:42Z","closed_at":"2016-04-13T15:39:42Z","body":"- [x] Bug report. If you’ve found a bug, please provide information below.\r\n\r\n------------------------------------------------------------------\r\n\r\n### Configuration\r\n\r\n**Operating system**: Darwin jasiek.local 14.5.0 Darwin Kernel Version 14.5.0: Mon Jan 11 18:48:35 PST 2016; root:xnu-2782.50.2~1/RELEASE_X86_64 x86_64\r\n\r\n**PlatformIO Version** (`platformio --version`): PlatformIO, version 2.8.6\r\n\r\n### Description of problem\r\n\r\nWhen trying to build a sample project using Energia, the build system fails to find the SPI library (perhaps it isn't included in your Energia bundle?)\r\n\r\n#### Steps to Reproduce\r\n\r\n1. Clone https://github.com/londonhackspace/acnode-cl/tree/platformio\r\n2. Build the project, it succeeds.\r\n3. Remove the vendored lib/SPI which I copied over from the energia/Energia repository.\r\n4. The project fails to build with:\r\n```\r\n.pioenvs/lptm4c1294ncpdt/SD/utility/Sd2Card.cpp:29:1: error: 'SPIClass' does not name a type\r\nSPIClass SPI_for_SD;\r\n^\r\n```\r\n\r\n### If problems with PlatformIO Build System:\r\n\r\n**The content of `platformio.ini`:**\r\n```ini\r\n[env:lptm4c1294ncpdt]\r\nplatform = titiva\r\nframework = energia\r\nboard = lptm4c1294ncpdt\r\n```\r\n\r\n**Source file to reproduce issue:**\r\nsee `src/ACNodeClient.ino`\r\n"}}