Comments (8)
forgot to mention, I'm using a Sanguinololu v1.3a board, so the boards.txt was from boards/Sanguino 1.0+
from repetier-firmware.
I tried to verify the problem but couldn't get it. I saw that the Arduino.h was wrong in that folder. The correct content should be
#include "WProgram.h"
#define COMPAT_PRE1
I saw that there is a new Sanguino version for Arduino 023 with different boards.txt from last release. Tried that too. I even didn't find a rule for variant in the code.
Which os and sanguino firmware version are you using?
from repetier-firmware.
I'm using Ubuntu 11.10 x64, the latest Arduino 1.0 IDE, and a Sanguinolulu 1.3a board (just finished putting it together today) from xyzprinters which apparently comes with a boot loader pre-installed. I've managed to compile your firmware, with the above line added to boards.txt, and have uploaded it to the board. This is my first foray into the Arduino world...I'm more familiar with PICs...so I'm probably doing something wrong.
from repetier-firmware.
You diddn't understand what I meant. If you install Arduino 1.0, you can't compile for Sanguni boards because there is no Sangunio hardware package in the Arduinio package included. What I meant is where did you get your sanguni package from and which version did you use.
BTW: If you got the firmware compiled I guess you did it right. The problem is that Sangunio wasn't developed for Ardunio 1.0 so I made some changes so it should work and in fact I use the sanguino package with windows and ardunio 1.0 for my own board (GEN 6) sucessfully.
from repetier-firmware.
Now I'm confused :) What is this "Sanguni" or "Sangunio" that you mention? This is what I've done so far (sorry, I should have been more explicit in the first place):
- Built a Sanguinololu 1.3a board from http://www.xyzprinters.com/electronics/148-prusa-all-you-need-electronics-kit.html
- Downloaded Arduino-1.0 IDE from http://arduino.googlecode.com/files/arduino-1.0-linux64.tgz
- Downloaded Repetier-firmware as a zip from https://github.com/repetier/Repetier-Firmware/zipball/master
- Unzipped both those downloaded archives into my home directory
- Copied ~/repetier-Repetier-Firmware-b8eb21a/boards/Sanguino 1.0+/boards.txt into the top of ~/arduino-1.0/hardware/arduino/boards.txt (i.e. I didn't replace the Arduino-supplied boards.txt, I just inserted yours at the top)
- Started the Arduino-1.0 IDE by running ~/arduino-1.0/arduino and opened sketch ~/repetier-Repetier-Firmware-b8eb21a/Repetier/Repetier.pde
- Converted the pde sketch file to ino format as suggested by the Arduino-1.0 IDE (the *.pde was renamed to *.ino)
- Tried to compile but got the following error:
In file included from Reptier.h:23:0,
from gcode.cpp:25:
~/arduino-1.0/hardware/arduino/cores/arduino/Arduino.h:212:26: fatal error: pins_arduino.h: No such file or directory
compilation terminated. - Added "sanguino.build.variant=standard" to the end of the build.txt statements so they now look like:
sanguino.name=Sanguino
sanguino.upload.protocol=arduino
sanguino.upload.maximum_size=63488
sanguino.upload.speed=38400
sanguino.bootloader.low_fuses=0xFF
sanguino.bootloader.high_fuses=0xDC
sanguino.bootloader.extended_fuses=0xFD
sanguino.bootloader.path=atmega644p
sanguino.bootloader.file=ATmegaBOOT_644P.hex
sanguino.bootloader.unlock_bits=0x3F
sanguino.bootloader.lock_bits=0x0F
sanguino.build.mcu=atmega644p
sanguino.build.f_cpu=16000000L
sanguino.build.core=arduino
sanguino.build.variant=standard
##############################################################
- Recompiled successfully. Compile ends with the message:
Binary sketch size: 32510 bytes (of a 63488 byte maximum) - Uploaded firmware successfully - although I had to hit the reset button after starting the upload to get it to work. That seems to be the accepted voodoo with arduino-like boards :)
Note: I didn't copy your wiring_serial.c or Arduino.h files into the Arduino-1.0 directory tree mainly because I wasn't (and still am not) exactly sure where they should go!
from repetier-firmware.
Ok, I understand why you had problems. You have a Sanguinolu board which is not directly supported by Arduino. You need a special hardware definition for that board, which you get from http://sanguino.cc/ . There you'll find a installation description. In the files you get from them you make the replacements described in my firmware. Just make sure that the Arduino.h file conatins
#include "WProgram.h"
#define COMPAT_PRE1
the last line is currently missing.
Then you select the Sanguino board in Arduino and compile. (remove the before inserted code in the boards.txt)
from repetier-firmware.
Thanks repetier, the compile works now :)
Although, because I'm using Ubuntu 11.10, there was a hack to do first. I had to insert "#undef round" at line 425 in /usr/lib/avr/include/math.h otherwise I get a compile error. See http://forums.reprap.org/read.php?146,107925,107925,quote=1 for the exact symptom I was getting.
from repetier-firmware.
Thanks for the #undef hint. Might be usefull if I have complains from Ubuntu user.
from repetier-firmware.
Related Issues (20)
- ZHOME_PRE_RAISE value HOT 1
- Display controller hangs after USB is disconnected. HOT 19
- Beeper doesn't stop beeping in dev2 HOT 13
- Software endstop don't trigger on retest HOT 6
- Hardware endstop don't work HOT 5
- dev2: Homing causes motion on E axis (extruder) HOT 3
- dev2, delta printer: Running auto-level before print fails if auto-leveled before HOT 1
- Caught a bug: incorrect processing G2 and G3: arc processing error with commands G2 and G3 HOT 1
- Printer reset detected when connecting with Octoprint HOT 13
- Typo maybe..... HOT 2
- homing regression between 1.0.4 and current development branch HOT 4
- Better long filenames support HOT 3
- Crush while connecting my FlsunQ5 printer in a Surface PRO 7 HOT 3
- Issue Compiling for Melzi V2 (Wanhao Duplicator i3) Repetier V1.0.4 HOT 2
- x, y, z axis only move in one direction HOT 4
- 1.0.5 dev incorrect processed PID calibration g-code M303 HOT 2
- Under extrusion and Stringing HOT 1
- Issue on Spiderking 407 motherboard, couldn't get any axis to move HOT 2
- Evenly spread multisteps
- Issue with missed steps, incorrect positioning after collision HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repetier-firmware.