{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platform-atmelsam/issues/2","repository_url":"https://api.github.com/repos/platformio/platform-atmelsam","labels_url":"https://api.github.com/repos/platformio/platform-atmelsam/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platform-atmelsam/issues/2/comments","events_url":"https://api.github.com/repos/platformio/platform-atmelsam/issues/2/events","html_url":"https://github.com/platformio/platform-atmelsam/issues/2","id":172019602,"number":2,"title":"Some analog ports missing on atmelsam (adafruit_feather_m0_usb)","user":{"login":"bcr","id":4658,"avatar_url":"https://avatars.githubusercontent.com/u/4658?v=3","gravatar_id":"","url":"https://api.github.com/users/bcr","html_url":"https://github.com/bcr","followers_url":"https://api.github.com/users/bcr/followers","following_url":"https://api.github.com/users/bcr/following{/other_user}","gists_url":"https://api.github.com/users/bcr/gists{/gist_id}","starred_url":"https://api.github.com/users/bcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcr/subscriptions","organizations_url":"https://api.github.com/users/bcr/orgs","repos_url":"https://api.github.com/users/bcr/repos","events_url":"https://api.github.com/users/bcr/events{/privacy}","received_events_url":"https://api.github.com/users/bcr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/platformio/platform-atmelsam/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"login":"valeros","id":886732,"avatar_url":"https://avatars.githubusercontent.com/u/886732?v=3","gravatar_id":"","url":"https://api.github.com/users/valeros","html_url":"https://github.com/valeros","followers_url":"https://api.github.com/users/valeros/followers","following_url":"https://api.github.com/users/valeros/following{/other_user}","gists_url":"https://api.github.com/users/valeros/gists{/gist_id}","starred_url":"https://api.github.com/users/valeros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeros/subscriptions","organizations_url":"https://api.github.com/users/valeros/orgs","repos_url":"https://api.github.com/users/valeros/repos","events_url":"https://api.github.com/users/valeros/events{/privacy}","received_events_url":"https://api.github.com/users/valeros/received_events","type":"User","site_admin":false},"assignees":[{"login":"valeros","id":886732,"avatar_url":"https://avatars.githubusercontent.com/u/886732?v=3","gravatar_id":"","url":"https://api.github.com/users/valeros","html_url":"https://github.com/valeros","followers_url":"https://api.github.com/users/valeros/followers","following_url":"https://api.github.com/users/valeros/following{/other_user}","gists_url":"https://api.github.com/users/valeros/gists{/gist_id}","starred_url":"https://api.github.com/users/valeros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeros/subscriptions","organizations_url":"https://api.github.com/users/valeros/orgs","repos_url":"https://api.github.com/users/valeros/repos","events_url":"https://api.github.com/users/valeros/events{/privacy}","received_events_url":"https://api.github.com/users/valeros/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-08-18T22:54:44Z","updated_at":"2016-08-18T22:56:14Z","closed_at":null,"body":"What kind of issue is this?\r\n\r\n- [X] Bug report. If you’ve found a bug, please provide information below.\r\n\r\n*You can erase any parts of this template not applicable to your Issue.*\r\n\r\n------------------------------------------------------------------\r\n\r\n### Configuration\r\n\r\n**Operating system**:\r\n```\r\nBlakes-MacBook:~ blake$ uname -a\r\nDarwin Blakes-MacBook 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64\r\nBlakes-MacBook:~ blake$ sw_vers -productVersion\r\n10.11.6\r\n```\r\n**PlatformIO Version** (`platformio --version`):\r\n```\r\nBlakes-MacBook:~ blake$ platformio --version\r\nPlatformIO, version 2.11.2\r\n```\r\n### Description of problem\r\nThere appear to be some special analog input ports that are not defined in the PlatformIO environment, but are defined in the Adafruit boards for the Arduino IDE. I am specifically using the Adafruit Feather M0 Bluefruit LE and the desired pin is analog pin 7 which is defined in the Arduino IDE as `A7`.\r\n\r\nThe Adafruit boards I installed were from https://adafruit.github.io/arduino-board-index/package_adafruit_index.json\r\n\r\n#### Steps to Reproduce\r\n\r\n1. Attempt to access analog pin `A7`. For instance, `analogRead(A7);`\r\n\r\n### Actual Results\r\n\r\n```\r\nsrc/main.cpp:69:16: error: 'A7' was not declared in this scope\r\n[ ERROR ] Took 6.95 seconds\r\n```\r\n\r\n\r\n### Expected Results\r\n```\r\n[SUCCESS] Took 7.87 seconds\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#\r\n# PlatformIO Project Configuration File\r\n#\r\n# Please make sure to read documentation with examples first\r\n# http://docs.platformio.org/en/stable/projectconf.html\r\n#\r\n[env:adafruit_feather_m0_usb]\r\nplatform = atmelsam\r\nframework = arduino\r\nboard = adafruit_feather_m0_usb\r\n```\r\n\r\n**Source file to reproduce issue:**\r\n```cpp\r\nvoid setup() {\r\n  // put your setup code here, to run once:\r\n  analogRead(A7);\r\n}\r\n\r\nvoid loop() {\r\n  // put your main code here, to run repeatedly:\r\n\r\n}\r\n```\r\n\r\n### Additional info\r\n\r\n[Adafruit Feather M0 Bluefruit LE tutorial](https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le/overview)"},"comment":{"url":"https://api.github.com/repos/platformio/platform-atmelsam/issues/comments/240881588","html_url":"https://github.com/platformio/platform-atmelsam/issues/2#issuecomment-240881588","issue_url":"https://api.github.com/repos/platformio/platform-atmelsam/issues/2","id":240881588,"user":{"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},"created_at":"2016-08-18T22:56:13Z","updated_at":"2016-08-18T22:56:13Z","body":"@valeros please check it"}}
{"actor":{"display_login":"ivankravets"}}