{"action":"opened","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-cli/issues/341","repository_url":"https://api.github.com/repos/ARMmbed/mbed-cli","labels_url":"https://api.github.com/repos/ARMmbed/mbed-cli/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-cli/issues/341/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-cli/issues/341/events","html_url":"https://github.com/ARMmbed/mbed-cli/issues/341","id":175474316,"number":341,"title":"Error: C9912E: No --cpu selected","user":{"login":"MarceloSalazar","id":1931553,"avatar_url":"https://avatars.githubusercontent.com/u/1931553?v=3","gravatar_id":"","url":"https://api.github.com/users/MarceloSalazar","html_url":"https://github.com/MarceloSalazar","followers_url":"https://api.github.com/users/MarceloSalazar/followers","following_url":"https://api.github.com/users/MarceloSalazar/following{/other_user}","gists_url":"https://api.github.com/users/MarceloSalazar/gists{/gist_id}","starred_url":"https://api.github.com/users/MarceloSalazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarceloSalazar/subscriptions","organizations_url":"https://api.github.com/users/MarceloSalazar/orgs","repos_url":"https://api.github.com/users/MarceloSalazar/repos","events_url":"https://api.github.com/users/MarceloSalazar/events{/privacy}","received_events_url":"https://api.github.com/users/MarceloSalazar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-07T11:02:44Z","updated_at":"2016-09-07T11:02:44Z","closed_at":null,"body":"Priority: BLOCKER\r\n\r\nEnvironment info:\r\nWindows 7 (both cmd and git bash)\r\nmbed CLI: 0.9.5\r\nARM Compiler 5.06 update 3 (build 300)\r\nKeil / ARM Compiler installed here (default path): C:\\Keil_v5\\ARM\\ARMCC\r\nWindows system path points to C:\\Keil_v5\\ARM\\ARMCC\\bin\r\n\r\n- Global config:\r\n```\r\nmbed config --list\r\n[mbed] Global config:\r\nNo global configuration is set\r\n\r\n[mbed] Local config (C:\\Code\\sandbox\\memtests\\mbed5\\thread-testapp-private):\r\nTOOLCHAIN=GCC_ARM\r\nTARGET=K64F\r\n```\r\nAlso tried to set mbed global ARM_PATH to `C:\\Keil_v5\\ARM\\ARMCC` but didn't work.\r\n\r\n- `mbed_settings.py`\r\n\r\nTried with and without `ARM_PATH = \"C:/Keil_v5/ARM/ARMCC\" `\r\n\r\n- Error when invoking `mbed compile`\r\n```\r\nmbed compile -t ARM -m K64F -c\r\nWARNING: MBED_ARM_PATH set as environment variable but doesn't exist\r\nBuilding project thread-testapp-private (K64F, ARM)\r\n\r\nthen building as usual and then again same error:\r\n\r\nLink: thread-testapp-private\r\nError: C9912E: No --cpu selected\r\nError: L6636E: Pre-processor step failed for './mbed-os/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct'\r\nError: L6372E: Image needs at least one load region.\r\nNot enough information to list the image map.\r\nFinished: 1 information, 0 warning and 2 error messages.\r\n[ERROR] Error: C9912E: No --cpu selected\r\nError: L6636E: Pre-processor step failed for './mbed-os/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct'\r\nError: L6372E: Image needs at least one load region.\r\nNot enough information to list the image map.\r\nFinished: 1 information, 0 warning and 2 error messages.\r\n\r\n[mbed] ERROR: \"python\" returned error code 1.\r\n[mbed] ERROR: Command \"python -u C:\\Code\\sandbox\\memtests\\mbed5\\thread-testapp-private\\mbed-os\\tools\\make.py -t ARM -m K64F --source . --build .\\.build\\K64F\\ARM -c\" in \"C:\\Code\\sandbox\\memtests\\mbed5\\thread-testapp-private\"\r\n```\r\n\r\n@screamerbg @javier-moreno-tridonic-com\r\n"}}
{"actor":{"display_login":"MarceloSalazar"}}