Help needed compiling Teacup_Firmware_Teensy3 February 12, 2015 02:42PM |
Registered: 9 years ago Posts: 7 |
Quote
gcode_parse.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_digit'
gcode_parse.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'next_target'
gcode_parse.c: In function 'gcode_parse_char':
gcode_parse.c:115: error: 'read_digit' undeclared (first use in this function)
gcode_parse.c:115:22: note: each undeclared identifier is reported only once for each function it appears in
Quote
#include "gcode_parse.h"
/* \file
\brief Parse received G-Codes
*/
#include
#include "serial.h"
#include "sermsg.h"
#include "dda_queue.h"
#include "debug.h"
#include "heater.h"
#include "sersendf.h"
#include "gcode_process.h"
#ifdef SIMULATOR
#include "simulator.h"
#endif
/// current or previous gcode word
/// for working out what to do with data just received
uint8_t last_field = 0;
/// crude crc macro
#define crc(a, b) (a ^ b)
/// crude floating point data storage
decfloat BSS read_digit;
/// this is where we store all the data for the current command before we work out what to do with it
GCODE_COMMAND BSS next_target;
Re: Help needed compiling Teacup_Firmware_Teensy3 February 12, 2015 04:25PM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Help needed compiling Teacup_Firmware_Teensy3 February 12, 2015 04:46PM |
Registered: 9 years ago Posts: 7 |
Quote
Teensyduino 1.20 supports only Arduino version 1.0.5 and 1.0.6.
Re: Help needed compiling Teacup_Firmware_Teensy3 February 12, 2015 04:49PM |
Registered: 9 years ago Posts: 7 |
Re: Help needed compiling Teacup_Firmware_Teensy3 February 12, 2015 05:00PM |
Registered: 13 years ago Posts: 7,616 |
Quote
unix_guru
Well... not to be argumentative, because I truly DO appreciate the help, but Arduino 1.0.x does support the Freescale ARM processor in the Teensy with the addition of the Teensyduino plugin.
Quote
unix_guru
... I'm developing around the Teensy 3.1
Generation 7 Electronics | Teacup Firmware | RepRap DIY |