Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation issues #70

Open
apla opened this issue Dec 18, 2014 · 1 comment
Open

Compilation issues #70

apla opened this issue Dec 18, 2014 · 1 comment

Comments

@apla
Copy link

apla commented Dec 18, 2014

Hi, I tried to compile firmware, but receive some strange errors:

Error: Command failed: /Users/apla/Library/Application Support/Brackets/extensions/user/brackets-arduino/build/GCodes.cpp: In member function 'void GCodes::Init()':
/Users/apla/Library/Application Support/Brackets/extensions/user/brackets-arduino/build/GCodes.cpp:59:16: error: assigning to an array from an initializer list
   gCodeLetters = GCODE_LETTERS

I know, you recommend the eclipse way, but I have command line utility written by myself and seems this error is last stop before I get compiled firmware.

This is command caused error:

"/Applications/devel/Arduino.app/Contents/Java/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=158 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM  -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON \'-DUSB_MANUFACTURER="Unknown"\' \'-DUSB_PRODUCT="Arduino Due"\' "-I/Applications/devel/Arduino.app/Contents/Java/hardware/arduino/sam/system/libsam" "-I/Applications/devel/Arduino.app/Contents/Java/hardware/arduino/sam/system/CMSIS/CMSIS/Include/" "-I/Applications/devel/Arduino.app/Contents/Java/hardware/arduino/sam/system/CMSIS/Device/ATMEL/"  -I/Applications/devel/Arduino.app/Contents/Java/hardware/arduino/sam/cores/arduino -I/Applications/devel/Arduino.app/Contents/Java/hardware/arduino/sam/variants/arduino_due_x -I/Users/apla/work/3d/RepRapFirmware/network -I/Users/apla/Documents/Arduino/libraries/Lwip -I/Users/apla/Documents/Arduino/libraries/EMAC -I/Users/apla/Documents/Arduino/libraries/SamNonDuePin -I/Users/apla/Documents/Arduino/libraries/SD_HSMCI -I/Users/apla/Documents/Arduino/libraries/MCP4461 -I/Applications/devel/Arduino.app/Contents/Java/hardware/arduino/sam/libraries/Wire "/Users/apla/Library/Application Support/Brackets/extensions/user/brackets-arduino/build/GCodes.cpp" -o "/Users/apla/Library/Application Support/Brackets/extensions/user/brackets-arduino/build/GCodes.o"
@dc42
Copy link
Contributor

dc42 commented Dec 18, 2014

You need to use either an older version of gcc such as the version in Arduino 1.5.4, or a more recent version of the source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants