{"action":"created","issue":{"url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/514","repository_url":"https://api.github.com/repos/sudar/Arduino-Makefile","labels_url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/514/comments","events_url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/514/events","html_url":"https://github.com/sudar/Arduino-Makefile/issues/514","id":248166197,"number":514,"title":"avr-g++: error: missing device or architecture after '-mmcu='","user":{"login":"JobeGIT","id":3947983,"avatar_url":"https://avatars3.githubusercontent.com/u/3947983?v=4","gravatar_id":"","url":"https://api.github.com/users/JobeGIT","html_url":"https://github.com/JobeGIT","followers_url":"https://api.github.com/users/JobeGIT/followers","following_url":"https://api.github.com/users/JobeGIT/following{/other_user}","gists_url":"https://api.github.com/users/JobeGIT/gists{/gist_id}","starred_url":"https://api.github.com/users/JobeGIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JobeGIT/subscriptions","organizations_url":"https://api.github.com/users/JobeGIT/orgs","repos_url":"https://api.github.com/users/JobeGIT/repos","events_url":"https://api.github.com/users/JobeGIT/events{/privacy}","received_events_url":"https://api.github.com/users/JobeGIT/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-05T06:43:31Z","updated_at":"2017-08-05T06:52:05Z","closed_at":"2017-08-05T06:52:05Z","body":"Hi,\r\n\r\nI'm trying to compile Blink-Example with latest IDE on my RaspberryPI:\r\n\r\n```\r\nArduino.mk Configuration:\r\n- [AUTODETECTED]       CURRENT_OS = LINUX \r\n- [USER]               ARDUINO_DIR = /opt/arduino \r\n- [USER]               ARDMK_DIR = /opt/Arduino-Makefile \r\n- [AUTODETECTED]       ARDUINO_VERSION = 183 \r\n- [DEFAULT]            ARCHITECTURE = avr \r\n- [DEFAULT]            ARDMK_VENDOR = arduino \r\n- [DEFAULT]            ARDUINO_SKETCHBOOK =  \r\n- [USER]               AVR_TOOLS_DIR = /opt/arduino/hardware/tools/avr \r\n- [COMPUTED]           ARDUINO_LIB_PATH = /opt/arduino/libraries (from ARDUINO_DIR)\r\n- [COMPUTED]           ARDUINO_PLATFORM_LIB_PATH = /opt/arduino/hardware/arduino/avr/libraries (from ARDUINO_DIR)\r\n- [COMPUTED]           ARDUINO_VAR_PATH = /opt/arduino/hardware/arduino/avr/variants (from ARDUINO_DIR)\r\n- [COMPUTED]           BOARDS_TXT = /opt/arduino/hardware/arduino/avr/boards.txt (from ARDUINO_DIR)\r\n- [DEFAULT]            USER_LIB_PATH = /libraries (in user sketchbook)\r\n- [DEFAULT]            PRE_BUILD_HOOK = pre-build-hook.sh \r\n- [USER]               BOARD_TAG = pro5v328 \r\n- [COMPUTED]           CORE =  (from build.core)\r\n- [COMPUTED]           VARIANT =  (from build.variant)\r\n- [COMPUTED]           OBJDIR = build-pro5v328 (from BOARD_TAG)\r\n- [DEFAULT]            ARDUINO_CORE_PATH = /opt/arduino/hardware/arduino/avr/cores/arduino \r\n- [ASSUMED]            MONITOR_BAUDRATE = 9600 \r\n- [DEFAULT]            OPTIMIZATION_LEVEL = s \r\n- [DEFAULT]            MCU_FLAG_NAME = mmcu \r\n- [DEFAULT]            CFLAGS_STD = -std=gnu11 -flto -fno-fat-lto-objects -fdiagnostics-color \r\n- [DEFAULT]            CXXFLAGS_STD = -std=gnu++11 -fno-threadsafe-statics -flto -fno-devirtualize -fdiagnostics-color \r\n- [COMPUTED]           DEVICE_PATH = /dev/ttyUSB1 (from MONITOR_PORT)\r\n- [DEFAULT]            FORCE_MONITOR_PORT =  \r\n- [AUTODETECTED]       Size utility: AVR-aware for enhanced output\r\n- [COMPUTED]           BOOTLOADER_PARENT = /opt/arduino/hardware/arduino/avr/bootloaders (from ARDUINO_DIR)\r\n- [COMPUTED]           ARDMK_VERSION = 1.6 \r\n- [COMPUTED]           CC_VERSION = 4.9.2 (avr-gcc)\r\n\r\nmkdir -p build-pro5v328\r\n/opt/arduino/hardware/tools/avr/bin/avr-g++ -x c++ -include Arduino.h -MMD -c -mmcu= -DF_CPU= -DARDUINO=183 -DARDUINO_ARCH_AVR -D__PROG_TYPES_COMPAT__ -I/opt/arduino/hardware/arduino/avr/cores/arduino -I/opt/arduino/hardware/arduino/avr/variants/    -Wall -ffunction-sections -fdata-sections -Os -fpermissive -fno-exceptions -std=gnu++11 -fno-threadsafe-statics -flto -fno-devirtualize -fdiagnostics-color Blink.ino -o build-pro5v328/Blink.ino.o\r\navr-g++: error: missing device or architecture after '-mmcu='\r\n/opt/Arduino-Makefile/Arduino.mk:1255: recipe for target 'build-pro5v328/Blink.ino.o' failed\r\nmake: *** [build-pro5v328/Blink.ino.o] Error 1\r\n```\r\n\r\nwhat am I missing?\r\n"},"comment":{"url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/comments/320420229","html_url":"https://github.com/sudar/Arduino-Makefile/issues/514#issuecomment-320420229","issue_url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/514","id":320420229,"user":{"login":"JobeGIT","id":3947983,"avatar_url":"https://avatars3.githubusercontent.com/u/3947983?v=4","gravatar_id":"","url":"https://api.github.com/users/JobeGIT","html_url":"https://github.com/JobeGIT","followers_url":"https://api.github.com/users/JobeGIT/followers","following_url":"https://api.github.com/users/JobeGIT/following{/other_user}","gists_url":"https://api.github.com/users/JobeGIT/gists{/gist_id}","starred_url":"https://api.github.com/users/JobeGIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JobeGIT/subscriptions","organizations_url":"https://api.github.com/users/JobeGIT/orgs","repos_url":"https://api.github.com/users/JobeGIT/repos","events_url":"https://api.github.com/users/JobeGIT/events{/privacy}","received_events_url":"https://api.github.com/users/JobeGIT/received_events","type":"User","site_admin":false},"created_at":"2017-08-05T06:52:05Z","updated_at":"2017-08-05T06:52:05Z","body":"Sorry for duplicate: [issues/426](https://github.com/sudar/Arduino-Makefile/issues/426#issuecomment-320258075)"}}
{"actor":{"display_login":"JobeGIT"}}