Welcome! Log In Create A New Profile

Advanced

need help compiling SanguinoGen3 firmware

Posted by hedroncollider 
need help compiling SanguinoGen3 firmware
May 02, 2014 05:22PM
Hi all,

I'm new with just about all of this stuff, so this will be my first post. Also, I know this machine described below is "ancient" but it was free, so why let a good machine go to wastedrinking smiley

A friend gave me an old unbranded Cupcake CNC using a Sanguino 1.2 motherboard.

The previous owner burned up the v2.2 Z axis driver board somehow and replaced it with a v1.2. This necessitated making an alteration to the stepper control section of the firmware.

Having made that alteration to the code, I now need to compile and upload to the Sanguino board.

I have added the libraries included with the Master Firmware to my Arduino Library folder, However I still get the following errors:


In file included from SanguinoMasterZmod.ino:28:
Timer1.h:19: error: variable or field 'setTimer1Resolution' declared void
Timer1.h:19: error: 'byte' was not declared in this scope
Timer1.h:65: error: 'byte' does not name a type
Timer1.h: In function 'void setTimer1Ticks(long unsigned int)':
Timer1.h:104: error: 'getTimer1Resolution' was not declared in this scope
Timer1.h:104: error: 'setTimer1Resolution' was not declared in this scope
Timer1.h: In function 'void setupTimer1Interrupt()':
Timer1.h:136: error: 'setTimer1Resolution' was not declared in this scope
In file included from SanguinoMasterZmod.ino:30:
RS485.h: At global scope:
RS485.h:12: error: variable or field 'rs485_tx' declared void
RS485.h:12: error: 'byte' was not declared in this scope


This leads me to believe that I am missing some critical Library relating to Timers??

Any pointers would be greatly appreciated!!
Re: need help compiling SanguinoGen3 firmware
May 02, 2014 05:27PM
I have found the "Timer1" Library and have added it to my library, however the error message persists!
Re: need help compiling SanguinoGen3 firmware
May 02, 2014 06:04PM
I'm working with arduino 1.0.5, So I'm trying to update the code to deal with the unsupported "Byte" stuff

Still not sure about the issues with "timer1"
Sorry, only registered users may post in this forum.

Click here to login