{"action":"created","issue":{"url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/110","labels_url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/110/comments","events_url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/110/events","html_url":"https://github.com/chipKIT32/chipKIT-core/issues/110","id":115555866,"number":110,"title":"Adjust chipKIT-core to work with Arduino 1.6.6 platform level changes","user":{"login":"ricklon","id":220644,"avatar_url":"https://avatars.githubusercontent.com/u/220644?v=3","gravatar_id":"","url":"https://api.github.com/users/ricklon","html_url":"https://github.com/ricklon","followers_url":"https://api.github.com/users/ricklon/followers","following_url":"https://api.github.com/users/ricklon/following{/other_user}","gists_url":"https://api.github.com/users/ricklon/gists{/gist_id}","starred_url":"https://api.github.com/users/ricklon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricklon/subscriptions","organizations_url":"https://api.github.com/users/ricklon/orgs","repos_url":"https://api.github.com/users/ricklon/repos","events_url":"https://api.github.com/users/ricklon/events{/privacy}","received_events_url":"https://api.github.com/users/ricklon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-06T17:57:03Z","updated_at":"2015-12-21T02:13:14Z","closed_at":null,"body":"Adjust chipKIT-core to work with Arduino 1.6.6 platform level changes. Changes were made to the platform variables. I've not been able to find clear documentation. But regardless it's effecting the chipKIT-core inside Arduino 1.6.6.\r\n\r\nCurrent error:\r\n```\r\n% \"/Users/rickanderson/Documents/Arduino/hardware/chipkit-core/pic32/compiler/pic32-tools/bin/pic32-g++\"  -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_BOARD_FUBARINO_SD_ -DARDUINO_ARCH_PIC32 -MMD -D_USE_USB_FOR_SERIAL_ \"-I/Users/rickanderson/Documents/Arduino/hardware/chipkit-core/pic32/cores/pic32\" \"-I/Users/rickanderson/Documents/Arduino/hardware/chipkit-core/pic32/variants/Fubarino_SD\" \"/var/folders/bx/zg7wx2513knbft_4ch_p5m6c0000gp/T/buildab83a842c2270138901fac8ecd68bff1.tmp/sketch/blink1.ino.cpp\"\r\n/Users/rickanderson/Documents/Arduino/blink1/blink1.ino: In function 'void setup()':\r\n/Users/rickanderson/Documents/Arduino/blink1/blink1.ino:9:21: error: 'OUTPUT' was not declared in this scope\r\n/Users/rickanderson/Documents/Arduino/blink1/blink1.ino:9:27: error: 'pinMode' was not declared in this scope\r\n/Users/rickanderson/Documents/Arduino/blink1/blink1.ino:10:21: error: 'INPUT' was not declared in this scope\r\n/Users/rickanderson/Documents/Arduino/blink1/blink1.ino:12:3: error: 'Serial' was not declared in this scope\r\n/Users/rickanderson/Documents/Arduino/blink1/blink1.ino: In function 'void loop()':\r\n/Users/rickanderson/Documents/Arduino/blink1/blink1.ino:42:7: error: 'Serial' was not declared in this scope\r\n```\r\nThis seems to be that it can't find the core or object files for some reason.\r\n\r\nI saw a new platforms.txt file added. It seems to be at the /hardware folder for the Arduino AVR code. \r\n\r\n\r\n```\r\n cat platform.txt \r\n# ctags\r\n# ------------------------------\r\ntools.ctags.path={runtime.tools.ctags.path}\r\ntools.ctags.cmd.path={path}/ctags\r\ntools.ctags.pattern=\"{cmd.path}\" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns \"{source_file}\"\r\n\r\n# additional entries\r\ntools.avrdude.path={runtime.tools.avrdude.path}\r\n\r\npreproc.includes.flags=-w -x c++ -M -MG -MP\r\nrecipe.preproc.includes=\"{compiler.path}{compiler.cpp.cmd}\" {preproc.includes.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} \"{source_file}\"\r\n\r\npreproc.macros.flags=-w -x c++ -E -CC\r\npreproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}\r\nrecipe.preproc.macros=\"{compiler.path}{compiler.cpp.cmd}\" {compiler.cpreprocessor.flags} {compiler.cpp.flags} {preproc.macros.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {preproc.macros.compatibility_flags} {includes} \"{source_file}\"\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/comments/166177031","html_url":"https://github.com/chipKIT32/chipKIT-core/issues/110#issuecomment-166177031","issue_url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/110","id":166177031,"user":{"login":"EmbeddedMan","id":450056,"avatar_url":"https://avatars.githubusercontent.com/u/450056?v=3","gravatar_id":"","url":"https://api.github.com/users/EmbeddedMan","html_url":"https://github.com/EmbeddedMan","followers_url":"https://api.github.com/users/EmbeddedMan/followers","following_url":"https://api.github.com/users/EmbeddedMan/following{/other_user}","gists_url":"https://api.github.com/users/EmbeddedMan/gists{/gist_id}","starred_url":"https://api.github.com/users/EmbeddedMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmbeddedMan/subscriptions","organizations_url":"https://api.github.com/users/EmbeddedMan/orgs","repos_url":"https://api.github.com/users/EmbeddedMan/repos","events_url":"https://api.github.com/users/EmbeddedMan/events{/privacy}","received_events_url":"https://api.github.com/users/EmbeddedMan/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T02:13:14Z","updated_at":"2015-12-21T02:13:14Z","body":"I believe this is now fixed in the latest chipKIT-core build (http://chipkitjenkins.wayneandlayne.com/job/chipKIT-core%20PR%20Builder/65/). I can't reproduce this error with the changes to platform.txt that have been made."}}