{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2237","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2237/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2237/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2237/events","html_url":"https://github.com/ARMmbed/mbed-os/issues/2237","id":167272796,"number":2237,"title":"Problem exporting project to offline GCC Arm for Nucleo boards","user":{"login":"gabrielrivas","id":7008067,"avatar_url":"https://avatars.githubusercontent.com/u/7008067?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielrivas","html_url":"https://github.com/gabrielrivas","followers_url":"https://api.github.com/users/gabrielrivas/followers","following_url":"https://api.github.com/users/gabrielrivas/following{/other_user}","gists_url":"https://api.github.com/users/gabrielrivas/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielrivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielrivas/subscriptions","organizations_url":"https://api.github.com/users/gabrielrivas/orgs","repos_url":"https://api.github.com/users/gabrielrivas/repos","events_url":"https://api.github.com/users/gabrielrivas/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielrivas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/mirrored","name":"mirrored","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-25T02:56:24Z","updated_at":"2016-08-01T12:09:59Z","closed_at":null,"body":"**Hardware Used:** \r\nNucleo F303K8, Nucleo F446RE\r\n\r\n**Description of the Issue**:\r\nToday I started having problems when tried to build an exported project to the GCC Arm Embedded tool.\r\n\r\nAfter tried to build the project I got these errors:\r\n.././mbed/TARGET_NUCLEO_F303K8/stm32f303x8.h:761:29: error: expected identifier before '(' token\r\n\r\ndefine CAN ((CAN_TypeDef *) CAN_BASE) ^ .././mbed/CAN.h:67:7: note: in expansion of macro 'CAN' class CAN { ^ .././mbed/TARGET_NUCLEO_F303K8/stm32f303x8.h:761:43: error: expected ')' before '*' token\r\ndefine CAN ((CAN_TypeDef *) CAN_BASE) ^ .././mbed/CAN.h:67:7: note: in expansion of macro 'CAN' class CAN { ^ .././mbed/TARGET_NUCLEO_F303K8/stm32f303x8.h:761:43: error: expected ')' before '*' token\r\ndefine CAN ((CAN_TypeDef *) CAN_BASE) ^ .././mbed/CAN.h:67:7: note: in expansion of macro 'CAN' class CAN { ^ ../main.cpp:12:1: error: expected '}' at end of input } ^ make[1]: * [main.o] Error 1 make: * [all] Error 2\r\n\r\n**Workaround**\r\nI started digging a little bit more on this issue, and compared the Makefile I got Today\r\nwith a (Previously working) Makefile I got like one month ago, and there seem to be fundamental\r\nchanges on how the Makefile/export process are being made. I changed the new Makefile to match the format and composition of the older Makefile, and tried building the project again, it built and ran as expected.\r\n\r\n**To reproduce the Issue** \r\nExport any Nucleo demo ( for example: blinky) into GCC Arm embedded, and try building it offline.\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/236563477","html_url":"https://github.com/ARMmbed/mbed-os/issues/2237#issuecomment-236563477","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2237","id":236563477,"user":{"login":"ciarmcom","id":14747535,"avatar_url":"https://avatars.githubusercontent.com/u/14747535?v=3","gravatar_id":"","url":"https://api.github.com/users/ciarmcom","html_url":"https://github.com/ciarmcom","followers_url":"https://api.github.com/users/ciarmcom/followers","following_url":"https://api.github.com/users/ciarmcom/following{/other_user}","gists_url":"https://api.github.com/users/ciarmcom/gists{/gist_id}","starred_url":"https://api.github.com/users/ciarmcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciarmcom/subscriptions","organizations_url":"https://api.github.com/users/ciarmcom/orgs","repos_url":"https://api.github.com/users/ciarmcom/repos","events_url":"https://api.github.com/users/ciarmcom/events{/privacy}","received_events_url":"https://api.github.com/users/ciarmcom/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T12:09:59Z","updated_at":"2016-08-01T12:09:59Z","body":"ARM Internal Ref: IOTMORF-120"}}
{"actor":{"display_login":"ciarmcom"}}