daid303
047d037f8c
#ifdef fix for #326
12 years ago
Kevin O'Connor
0908458381
Use gcc "-fwhole-program" optimization.
Use "whole program" and "link time optimization" features of gcc. The
whole-program optimization enables the compiler to evaluate the entire
firmware for optimization instead of just one code file at a time.
This leads to better overall optimizations.
12 years ago
Kevin O'Connor
16fbb455ef
Use linker "--relax" option.
The "relax" option enables the linker to convert certain "call"
instructions to the smaller "rcall" instruction. This reduces the
size of the resulting binary.
12 years ago
daid303
f30b46b2a8
One more fix for #338 , I really should get a heated bed to test with.
12 years ago
daid303
65c3f1ffcd
Most likely fixing #338
12 years ago
daid303
7577717b59
Fixed #336
12 years ago
daid303
1a8f54cea1
The big LCD code update. This splits the display and menu implementation. Paving the way for future different displays. It also makes it easier to modify the menu structures while keeping everything consistant. Note that this most likely breaks the translations, which need to be updated.
12 years ago
daid303
6731c094ee
Fix compiling with just an 16x2 LCD and no buttons.
12 years ago
daid303
b99a928a80
Fix the M117 (display message on LCD) when used over USB with checksums.
12 years ago
daid303
55ba90ac19
Add PID functional range setting. With high powered heaters the current functional range of 10 degrees causes high overshoots as the PID needs to kick in before the temperature hits 10 degrees below target.
12 years ago
daid303
5ff5cee8ce
Fix the sensitive pin definitions, there where analogue numbers in the digital pin list. Also made M42 without a P function on the LED_PIN (which was otherwise a useless pin definition)
12 years ago
Johann Rocholl
ca409e5531
Fix X/Y/Z_MIN_PIN for Printrboard.
12 years ago
Johann Rocholl
1f45cb0a51
Fix typo in MANUAL_HOME_POSITION (plural S missing) and improve comments.
12 years ago
Johann Rocholl
931a0052ea
Fix typo in MANUAL_HOME_POSITION (plural S missing) and reduce BLOCK_BUFFER_SIZE because 64 wasn't working for some reason.
12 years ago
daid303
46ec4b648c
Added some missing Mxxx comments to M commands. Fixed the unsetting of the timer dividers for the fast PWM fan.
12 years ago
Daid
724f5aa36b
Update on makefile for moved Arduino addons.
12 years ago
daid303
6d9dfa96c3
Move the Arduino related stuff out of the Marlin tree, as they are not directly related to Marlin functionality but addons for the Arduino IDE. Also split up the addons for pre 1.0.0 Arduino and post 1.0.0 Arduino.
12 years ago
daid303
3fb07d9b8d
Add MINTEMP/MAXTEMP error to LCD, and fix temperature bug with more then 1 extruder.
12 years ago
Johann Rocholl
8e2519e88b
Add realtime delta geometry in Marlin_main.cpp.
12 years ago
Johann Rocholl
cec7283b21
Enable QUICK_HOME for deltabot.
12 years ago
Johann Rocholl
2292441f0c
Use X/Y/Z_MAX_PIN instead of X/Y/Z_MIN_PIN for top endstops on deltabot.
12 years ago
Johann Rocholl
c430906d3b
Deltabot settings and configuration adjustments.
12 years ago
daid303
82c8724b33
Fix compile with PID_DEBUG
12 years ago
daid303
e036750bdf
Use the disable macros on initialization. Which fixes a bug when there is no pin defined for stepper enabled (motherboard 4)
12 years ago
Daid
32d4373e0f
Add printrboard and brainwave to Makefile.
12 years ago
Daid
29435dfb4b
Proper avr for Sanguino in Makefile.
12 years ago
daid303
52158dffcc
Big temperature code update. No longer converts back and forwards between temperature and raw sample value. Reducing complexity, removing code. Also named some variables better. While keeping the safety intact and functionality the same.
12 years ago
Daid
ca7acbe6d9
Allow specification of which arduino hardware subvariant in Makefile.
12 years ago
Johann Rocholl
33247733e0
Teensylu and Printrboard use different analog pins for thermistors.
12 years ago
Johann Rocholl
621c24a10f
AT90USB is only defined after pins.h is included.
12 years ago
Johann Rocholl
6cba11f087
Stop redefining MOTHERBOARD and #define AT90USB instead. Also put #ifndef AT90USB around the HardwareSerial_h trick, so now Printrboard / Brainwave support compiles on Arduino 1.0.2 as well.
12 years ago
Johann Rocholl
4d351b4846
Improved formatting and comments for consistency.
12 years ago
Johann Rocholl
a30007caa4
If fastio.h is not messed up then Teensylu and Printrboard are actually using the same pins.
12 years ago
Johann Rocholl
6aa87a7b67
Use the same fastio.h definition for AT90USB1286/7 and AT90USB646/7.
12 years ago
Johann Rocholl
b1c38d4c82
Avoid compiler warnings (redefined MOTHERBOARD) in Arduino 1.0 and greater.
12 years ago
Johann Rocholl
42e21bb06e
Add support for Printrboard (from https://github.com/lincomatic/Marlin ) and Brainwave (from https://github.com/metrix/Sprinter ).
12 years ago
Johann Rocholl
ce4b5bbeaa
Add AT90USB646 support from Sprinter to fastio.h.
12 years ago
Daid
f413aa33b3
Small makefile change, posibility to add defines on the commandline, and fix compiling with watchdog enabled when using the Makefile.
12 years ago
daid303
587154c01b
Fix the WATCHPERIOD implementation. It did not work correctly in a multi extruder setup, it did not work after 32 seconds after startup (int16 used as millies timestamp). And it did not work if you gave an M104 or M109 when the target was already around the target setpoint. So on average, it did not work at all. The new implementation should be robust in detecting a failure to heat up.
12 years ago
daid303
1f27870d41
Fix compiling the watchdog error message when the manual reset watchdog is used.
12 years ago
daid303
c5d4225804
Mistake there, not sure why I did that. My bad.
12 years ago
daid303
529748894c
Minor changes in the temperature code for some cleanup.
12 years ago
daid303
4e26ecc940
The Partial release message (which does not really tell you anything) overwrites the final print time on the LCD, which is a real shame. So I removed the message.
12 years ago
daid303
c421774422
The Partial release message (which does not really tell you anything) overwrites the final print time on the LCD, which is a real shame. So I removed the message.
12 years ago
daid303
16078e47d4
Fixed #325
12 years ago
daid303
6a9bee27cc
Changed the naming of some LCD functions, so the names match better what the function does. Also moved around some prototypes for general cleanup.
12 years ago
daid303
94ea26ff46
Some minor changes on code style. And a bugfix where the counters for positioning in the stepper where wrong depending on compiler settings. (Caused strange values to reported back with M114 and endstop triggers). Also fixed compiling with FWRETRACT enabled.
12 years ago
daid303
6c51fe5039
Fix the bug where the SD percentage calculation is wrong when the file is larger then 42MB
12 years ago
brupje
57429cb9fe
Fix for keypad
12 years ago
daid303
97fa2a9c30
Few simple fixes that save RAM, as static strings are stored in RAM by default.
12 years ago