Firmware for RepRap and other 3D printers
Wurstnase dda.c: no cruising time when rampup_steps == move_step_no
In some cases when move_step_no is equal to rampup_steps, this
algorithm think it is cruising. When cruising it setup the dda->c
to dda->c_min. Which is wrong in that case.

So we let recalculate the dda->c now. The axis will become a little
bit faster for none-cruising movements. When it hits cruising,
it will be capped anyway to dda->c_min. So the "TODO: check is obsolete"
is not obsolete anymore.
Latest commit 6f46e95 Feb 16, 2018
Permalink
Failed to load latest commit information.
attic Move branch 'issue-196' to the attic. Nov 19, 2016
config check_configtool.sh: don't ignore whitespace entirely. Dec 31, 2017
configtool Homing order in configtool. Dec 31, 2017
extruder pinio.h: remove TOGGLE(), GET_INPUT(), GET_OUTPUT() macros. Aug 12, 2015
research Add gnuplot script to explore simulator output Dec 6, 2013
simulator Simulator: fix variable name typo. Jan 7, 2018
testcases check_configtool.sh: don't ignore whitespace entirely. Dec 31, 2017
tools git-step-rebase: remove pause. Jun 4, 2017
.gitattributes Enforce Unix line endings (LF). Feb 3, 2015
.gitignore .gitignore: add entries for Atmel Studio project files. Apr 14, 2016
Doxyfile Remove LUFA. Dec 3, 2012
LICENSE add license, and mention in Makefile and README Oct 23, 2010
Makefile-ARM Makefile-ARM: LPC1114 as standard Nov 4, 2017
Makefile-AVR AVR: turn on link time optimisation (LTO). Dec 8, 2016
Makefile-SIM Makefiles: add a hint on how to list these predefined macros. Aug 12, 2015
Makefile-common STM32F411: add CNC Shield V3 for Nucleo to the series of regression t… Mar 3, 2017
Makefile-example Makefile-example: add shortcut targets. Jul 17, 2015
README Makefiles: adjust comments. Apr 21, 2015
README.sim Teach simulator to process gcode files directly Dec 6, 2013
Teacup_Firmware.ino Teacup_Firmware.ino: add a hint to Configtool. Nov 19, 2016
analog-avr.c analog-avr.c: no need to re-initialise adc_counter. Jun 23, 2016
analog-lpc.c ARM: rename analog-arm.c to add more ARMs Mar 3, 2017
analog-stm32.c fast integer: uint_fast8_t and uint_fast16_t for some vars. Mar 5, 2017
analog.c STM32F411: comment out analog_mask and adc_channel for STM32 Mar 3, 2017
analog.h STM32F411: implement DMA for ADC Mar 3, 2017
arduino.h STM32F411: get FastIO for writing into place. Mar 3, 2017
arduino_1280.h arduino: Extend arduino-files with pin ##_TCCR and _COM for heater-avr. Mar 21, 2017
arduino_168_328p.h arduino: Extend arduino-files with pin ##_TCCR and _COM for heater-avr. Mar 21, 2017
arduino_32U4.h arduino: Extend arduino-files with pin ##_TCCR and _COM for heater-avr. Mar 21, 2017
arduino_644.h arduino: Extend arduino-files with pin ##_TCCR and _COM for heater-avr. Mar 21, 2017
arduino_lpc1114.h ARM: allow non-PWM pins as heater output. Aug 13, 2015
arduino_stm32f411.h arduino_stm32: correct channel for pwm Apr 3, 2017
arduino_usb1286.h arduino: Extend arduino-files with pin ##_TCCR and _COM for heater-avr. Mar 21, 2017
arduino_usb1287.h arduino: Extend arduino-files with pin ##_TCCR and _COM for heater-avr. Mar 21, 2017
calc.pl setting up new branch 2 Aug 10, 2010
clock.c clock.c: delete really old comment code Mar 29, 2017
clock.h clock.c: make stuff used only in clock.c static to this file. Aug 1, 2015
cmsis-core_cm0.h ARM: prettify cmsis-core_cm0.h. Aug 12, 2015
cmsis-core_cm4.h STM32F411: prettify cmsis-core / cmsis-stm Mar 3, 2017
cmsis-core_cm4_simd.h STM32F411: prettify cmsis-core / cmsis-stm Mar 3, 2017
cmsis-lpc1114.ld ARM: prettify current cmsis- files. Aug 12, 2015
cmsis-lpc11xx.h ARM: rename mbed-system_LPC11xx.c/.h to cmsis-system_lpc11xx.c/.h. Aug 12, 2015
cmsis-startup_lpc11xx.s ARM: prettify current cmsis- files. Aug 12, 2015
cmsis-startup_stm32f411xe.s STM32F411: rename arm-startup_stm32f411xe.s to cmsis-startup_stm32f41… Mar 3, 2017
cmsis-stm32f411xe.ld STM32F411: rename arm-stm32f411xe.ld to cmsis-stm32f411xe.ld Mar 3, 2017
cmsis-stm32f4xx.h STM32F411: simplify cmsis files for stm32f411 Mar 5, 2017
cmsis-system_lpc11xx.c STM32F411: get serial working based on MBED code. Mar 3, 2017
cmsis-system_lpc11xx.h ARM: prettify cmsis-system_lpc11xx.c/.h. Aug 12, 2015
cmsis-system_stm32f4xx.c STM32F411: simplify cmsis files for stm32f411 Mar 5, 2017
cmsis-system_stm32f4xx.h STM32F411: simplify cmsis files for stm32f411 Mar 5, 2017
config.default.h Configtool: convert template for Teensy++ 2.0. Apr 21, 2015
config_wrapper.h GCC <= 4 need a builtin function for constant sqrt expressions Dec 8, 2017
configtool.default.ini Configtool: move thermistor presets into distribution file. May 20, 2015
configtool.py Configtool: add --quit and --save commandline switches. Jun 6, 2016
cpu-avr.c I2C: initial support. Apr 20, 2016
cpu-lpc.c STM32F411: add cpu-stm32.c Mar 3, 2017
cpu-stm32.c STM32F411: add cpu-stm32.c Mar 3, 2017
cpu.c STM32F411: add cpu-stm32.c Mar 3, 2017
cpu.h STM32F411: introduce sei() and cli() also for STM32F411 Mar 3, 2017
crc.c Replace SIMULATOR with __AVR__ in several places. Jul 29, 2015
crc.h use CRC16 to verify heater PID settings in eeprom Feb 20, 2011
createTemperatureLookup.py createTemperatureLookup.py: deal with precision limitation on R0. Apr 21, 2015
dda.c dda.c: no cruising time when rampup_steps == move_step_no Feb 16, 2018
dda.h dda.c/.h: formattings Dec 8, 2017
dda_kinematics.c dda: recalculate only dedicated axes Apr 20, 2017
dda_kinematics.h dda: recalculate only dedicated axes Apr 20, 2017
dda_lookahead.c DDA: get rid of dda->delta_um[]. Dec 15, 2016
dda_lookahead.h dda_lookahead.c/.h: more debugging code removal/wrapping. Sep 6, 2016
dda_maths.c dda.c/dda_maths: add int_f_sqrt for controller with FPU Mar 3, 2017
dda_maths.h dda.c/dda_maths: add int_f_sqrt for controller with FPU Mar 3, 2017
dda_queue.c fast integer: uint_fast8_t and uint_fast16_t for some vars. Mar 5, 2017
dda_queue.h fast integer: uint_fast8_t and uint_fast16_t for some vars. Mar 5, 2017
debug.c setting up new branch 2 Aug 10, 2010
debug.h Configtool: don't make DEBUG configuration user-visible. May 8, 2015
delay-avr.c ARM: split out architecture specific parts for delay.c Aug 12, 2015
delay-lpc.c STM32F411: get delay-stm32.c in Mar 3, 2017
delay-stm32.c STM32F411: rename mbed-stm32f4xx.h to cmsis-stm32f4xx.h. Mar 3, 2017
delay.c STM32F411: get delay-stm32.c in Mar 3, 2017
delay.h delay.h: re-add falsely removed #include. Mar 24, 2013
display.c Display: queue up display_set_cursor(), too. May 30, 2016
display.h Configtool: learn about DISPLAY_TYPE_HD44780. May 30, 2016
display_hd44780.c display_hd44780.c: replace silly demo with temperatures. May 30, 2016
display_ssd1306.c Display: queue up display_set_cursor(), too. May 30, 2016
displaybus.h Display: add support for the HD44780 display. May 30, 2016
extract.py Added gcode documentation and extraction tool Jun 2, 2011
font.c Display: introduce font.h, paraphrase handling distinct fonts. Apr 26, 2016
font.h Display: introduce font.h, paraphrase handling distinct fonts. Apr 26, 2016
font_8x4.c Display: introduce font.h, paraphrase handling distinct fonts. Apr 26, 2016
func.sh func.sh: Fix a potential infinite loop in mendel_readsym_target May 7, 2011
gcode_parse.c Drop redundant "simulator.h" includes. Jun 11, 2016
gcode_parse.h gcode_parse.h: order variables reasonably in groups of 4 bytes. Aug 12, 2015
gcode_process.c gcode_process: change E-axis behavior of M83/G91 Dec 2, 2017
gcode_process.h G-code parser: move gcode_source stuff ... Jul 17, 2015
graycode.c disable greycode by default in arduino IDE Feb 17, 2011
heater-avr.c heater: if pwm is set to 1, hardware pwm is forced, if available. Mar 21, 2017
heater-lpc.c heater: if pwm is set to 1, hardware pwm is forced, if available. Mar 21, 2017
heater-stm32.c heater-stm32.c: rework init Apr 3, 2017
heater.c heater: add pwm_types and a union for AVR pin/pwm. Mar 21, 2017
heater.h configtool: add FORCE_SOFTWARE_PWM to configtool Mar 21, 2017
home.c Homing order in configtool. Dec 31, 2017
home.h Homing order in configtool. Dec 31, 2017
i2c.c i2c.c: review error handling yet again. Apr 27, 2016
i2c.h Display: introduce display queue. Apr 27, 2016
intercom.c ARM: introduce sei() and cli(). Aug 12, 2015
intercom.h Add config.h wrapper to simplify test automation Mar 4, 2014
memory_barrier.h ARM: port memory_barrier.h. Aug 12, 2015
mendel.c Drop redundant "simulator.h" includes. Jun 11, 2016
mendel_cmd Merge release-candidate-triffid branch Jan 7, 2011
msg.c Make message/text sending aware of the sending destination. Apr 26, 2016
msg.h Make message/text sending aware of the sending destination. Apr 26, 2016
parallel-4bit.c Display: add support for the HD44780 display. May 30, 2016
parallel-4bit.h Display: add support for the HD44780 display. May 30, 2016
pff.c SD card: move parsing closer to the metal. Jul 17, 2015
pff.h Add simulator SD card (and SPI, PFF) support. Jul 17, 2015
pff_conf.h SD card: measures sizes and additionally enable FAT32 support. Jul 7, 2015
pff_diskio.c Fix typos: "whether" and whitespace. Jul 17, 2015
pff_diskio.h SD card: move parsing closer to the metal. Jul 17, 2015
pinio.c pinio.c/.h: rename PULLUP_OFF() to PULL_OFF(). Sep 30, 2016
pinio.h STM32F411: cleanup code with using pinio.h macros. Mar 3, 2017
ringbuffer.h Serial: move ringbuffer logic into a separate header file. Apr 20, 2016
sd.c heater.c, sd.c: apply the changed order of SET_OUTPUT() here, too. Aug 12, 2015
sd.h ARM: get spi.c, pff.c and pff_diskio.c (SD card handling) in. Aug 13, 2015
sender-mac.sh sender-mac.sh: another minor fix. Sep 30, 2011
sender.sh sender.sh: Allow for "ok" to be surrounded by DEBUG output. Mar 4, 2011
sendf.c Make message/text sending aware of the sending destination. Apr 26, 2016
sendf.h Simulator: fix pin numbering consistency May 26, 2016
serial-avr.c Serial: move ringbuffer logic into a separate header file. Apr 20, 2016
serial-lpc.c STM32F411: move serial handling code directly into serial-arm_stm.c Mar 3, 2017
serial-stm32.c STM32F411: rework serial-stuff. Mar 5, 2017
serial.c STM32F411: move serial handling code directly into serial-arm_stm.c Mar 3, 2017
serial.h Drop redundant "simulator.h" includes. Jun 11, 2016
sermsg.h Make message/text sending aware of the sending destination. Apr 26, 2016
sersendf.h Make message/text sending aware of the sending destination. Apr 26, 2016
simulator.h Define missing DEBUG_LED_PIN in simulator Aug 8, 2016
spi-avr.c ARM: split out spi-avr.c from spi.c Mar 3, 2017
spi-stm32.c STM32F411: implement SPI Mar 3, 2017
spi.c STM32F411: implement SPI Mar 3, 2017
spi.h STM32F411: implement SPI Mar 3, 2017
temp.c MAX6675: change evaluation of spi result Mar 21, 2017
temp.h Make temperature waiting independent from the movement queue. Dec 5, 2016
timer-avr.c Step timer: reset timer after pauses instead of doing a guess. Aug 12, 2015
timer-lpc.c ARM: rename timer-arm.c to timer-lpc.c Mar 3, 2017
timer-stm32.c STM32F411: save cpu cycles are 160 Mar 3, 2017
timer.c STM32F411: create timer-stm32.c Mar 3, 2017
timer.h Step timer: reset timer after pauses instead of doing a guess. Aug 12, 2015
usb_serial.c usb_serial.c: Avoid inline error Jul 20, 2017
usb_serial.h usb_serial.h: refine the note. Apr 27, 2016
watchdog.c watchdog.c: fix compilation with module enabled. Apr 14, 2016
watchdog.h ARM: get watchdog.c in. Aug 13, 2015

README

##############################################################################
#                                                                            #
# Teacup - lean and efficient firmware for RepRap printers                   #
#                                                                            #
# by Triffid Hunter, Traumflug, jakepoz, many others.                        #
#                                                                            #
##############################################################################

For installation instructions, see
http://reprap.org/wiki/Teacup_Firmware#Simple_Installation and/or
http://reprap.org/wiki/Teacup_Firmware#Developer_Installation

For documentation, see
http://reprap.org/wiki/Teacup_Firmware


##############################################################################
#                                                                            #
# This firmware is Copyright (c) ...                                         #
#   2009 - 2010 Michael Moon aka Triffid_Hunter                              #
#   2010 - 2013 Markus "Traumflug" Hitter <mah@jump-ing.de>                  #
#                                                                            #
# This program is free software; you can redistribute it and/or modify       #
# it under the terms of the GNU General Public License as published by       #
# the Free Software Foundation; either version 2 of the License, or          #
# (at your option) any later version.                                        #
#                                                                            #
# This program is distributed in the hope that it will be useful,            #
# but WITHOUT ANY WARRANTY; without even the implied warranty of             #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              #
# GNU General Public License for more details.                               #
#                                                                            #
# You should have received a copy of the GNU General Public License          #
# along with this program; if not, write to the Free Software                #
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA #
#                                                                            #
##############################################################################