aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config: Fix uart pins on z stepper in generic-fysetc-cheetah-v1.2.cfgKevin O'Connor2019-09-291-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Use FIOPIN to set start value on gpio_out_reset()Kevin O'Connor2019-09-291-4/+1
| | | | | | | | The FIOSET and FIOCLR registers may not set an initial value if the pin is not in an output mode. So, use FIOPIN to set the initial value. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Add range to probe accuracy results (#2015)Julien Lirochon2019-09-292-13/+15
| | | Signed-off-by: Julien Lirochon <julien@lirochon.net>
* toolhead: Fix velocity jumps in accel_to_decel lookahead processingKevin O'Connor2019-09-261-2/+3
| | | | | | | | | When reducing the maximum speed due to the max_accel_to_decel setting, move velocity limits must still be propagated. Otherwise, the trapezoid move planner may produce moves with velocity jumps. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* z-tilt: Unresolved symbol fixedPetri Honkala2019-09-241-1/+2
| | | | Signed-off-by: Petri Honkala <cruwaller@gmail.com>
* gcode_arcs: Use is operator for Null comparison (#1989)Piotr Usewicz2019-09-231-1/+1
| | | Signed-off-by: Piotr Usewicz <piotr@layer22.com>
* gcode_arcs: Remove unused variables (#1988)Piotr Usewicz2019-09-231-4/+0
| | | Signed-off-by: Piotr Usewicz <piotr@layer22.com>
* stm32: Only prompt for a bootloader on stm32f103 and stm32f407Kevin O'Connor2019-09-181-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: No need to call SystemInit() from main()Kevin O'Connor2019-09-181-2/+1
| | | | | | The SystemInit() is already called from armcm_boot.c. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_boot: Export MCU definition from armcm_bootKevin O'Connor2019-09-186-16/+12
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_reset: Add a new helper file defining command_reset()Kevin O'Connor2019-09-187-26/+21
| | | | | | Add a generic ARM Cortex-M implementation of the "reset" command. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Move VTOR fixup from main() to chip specific codeKevin O'Connor2019-09-183-3/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Move usb_request_bootloader() to chip specific codeKevin O'Connor2019-09-184-20/+24
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode_arcs: use z-height defined in f2/3 code, if presentachmed202019-09-181-4/+3
| | | Signed-off-by: Aleksej Vasiljkovic <achmed21@gmail.com>
* gcode: Allow M105 to produce output if called from a macroKevin O'Connor2019-09-181-1/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: IMPROVED FYSETC F6 CONFIGURATION (#1985)towe962019-09-181-84/+233
| | | | | Since the previous config file was laid out only for TMC2208 drivers and was missing most other pins, I made a comprehensive configuration file, with hardware names for all available functionality. Signed-off-by: Tobias Weiß <t.weiss@bk.ru>
* safe_z_home: Hop only if necessary and add option to move xy backMaster922019-09-183-16/+47
| | | | | | | | | | | | | | | Once a hop is performed, it will only be re-issued if the z-axis has been moved in the meantime. Usually it is only moved by a z-homing so doing so will cause safe_z_home to do the hop on the next homing action. When z-axis is homed, x and y positions are known. When setting this boolean option, these are set back to their last positions. Whenever a hop is specified it is re-issued after the Z axis has been homed. This is especially necessary when a pressure-based probe is used. Also, the module decides if a hop is necessary, based on either a known Z position or a flag that is set whenever the motors are disabled. Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* config: Fix grammar and typos for the new arc config (#1968)Piotr Usewicz2019-09-181-4/+4
| | | Signed-off-by: Piotr Usewicz <piotr@layer22.com>
* samd_sercom: fix pin enumeration error when mcu is specifiedJohn Jardine2019-09-171-3/+3
| | | | | | Previously, when a sercom pin specified the mcu (myname:PIN), it would result in a pin enumeration error. Signed-off-by: John Jardine <john@gprime.net>
* controller_fan: Replace else followed by single if with elifMaster922019-09-171-4/+3
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Use keyword arguments to improve readabilityMaster922019-09-171-3/+5
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Use snake-case for all variables and function-namesMaster922019-09-171-2/+2
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Use _ to declare discarded return valueMaster922019-09-171-1/+1
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Declare instance-attribute in __init__Master922019-09-171-0/+1
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* stm32: Fix usbfs rx buffer sizingKevin O'Connor2019-09-161-2/+2
| | | | | | | | | The usbfs receive buffers must also have space for the 2 byte crc at the end of a transmission. This fixes an error that could lead to lost messages from mcu to host (resulting in bytes_invalid increasing in stats) on the stm32f103. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Use official defines for EPR bitsKevin O'Connor2019-09-161-30/+23
| | | | | | Use the standard definitions for the endpoint register bits. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Rename USB_BTABLE to EPM in usbfs.cKevin O'Connor2019-09-161-20/+20
| | | | | | | Rename the internal definition so it isn't in conflict with the USB_BTABLE register. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Add missing PB21 pin to ADC moduleKevin O'Connor2019-09-161-1/+1
| | | | | | Reported by @mental405. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add display section to printer-wanhao-duplicator-6-2016.cfgKevin O'Connor2019-09-141-2/+5
| | | | | | Reported by @KeiferMiller. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_fan: Allow min_speed to be set to zeroKevin O'Connor2019-09-141-1/+1
| | | | | | Reported by @meteyou. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Improve handling of low pin_move_time configurationKevin O'Connor2019-09-141-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Move sections around in example-extras.cfgKevin O'Connor2019-09-131-747/+775
| | | | | | | Move the sections around in example-extras.cfg to try and group like functionality together. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Lower bigtreetech-skr-mini-e3 driver voltage (#1955)Piotr Usewicz2019-09-131-4/+4
| | | | | | | | As per https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3-/commit/18e67720106962a8a49930e9ff5e65a34687baec This lowers the voltage and thus brings the stepper motor temperature to an acceptable level. Beforehand, motors would get very hot. Signed-off-by: Piotr Usewicz <piotr@layer22.com>
* config: Update bigtreetech-skr-mini-e3 to be more similar to ender3 configKevin O'Connor2019-09-131-18/+21
| | | | | | | | | | The SKR mini E3 is marketed as being for the Ender 3, so it makes sense for the example electronics config to be more similar to the Ender 3 config. Reported by @TheDogee. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Add initial test case for gcode_arcs supportKevin O'Connor2019-09-132-0/+78
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode_arcs: Add support for G2/G3 commandsAleksej Vasiljkovic2019-09-132-0/+196
| | | | | | | | R Still missing, also might be somewhat dirty since code is converted into G1 commands. Signed-off-by: Aleksej Vasiljkovic <achmed21@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Disable usb irqs in usbotg handlersKevin O'Connor2019-09-121-17/+56
| | | | | | | | It appears the usbotg controller can get confused if the usb irq handler runs while processing a usb request. Disable usb irqs during usb processing to avoid this. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Note adc_voltage and pullup_resistance in adc_temperature moduleKevin O'Connor2019-09-111-3/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* filament_switch_sensor: Add a delay between dispatch of pause and execution ↵Arksine2019-09-082-0/+7
| | | | | | of pause gcode Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* docs: Add additional "no delay" benchmarks to Benchmarks.mdKevin O'Connor2019-09-081-47/+67
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update stm32f103 benchmarksKevin O'Connor2019-09-082-8/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update sam4s8c benchmarksKevin O'Connor2019-09-082-8/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Enable flash loop caching optimization on sam4sKevin O'Connor2019-09-081-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update sam4s8c step benchmarksKevin O'Connor2019-09-081-7/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Use tables for tick rates in Benchmarks.mdKevin O'Connor2019-09-081-45/+96
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Rework usbotg transmit interruptsKevin O'Connor2019-09-081-7/+10
| | | | | | | | Use the XFRC interrupt instead of TXFE. Don't mask/unmask the tx interrupts during runtime. This fixes some race conditions where a tx notification may have previously gotten lost. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: No need to make lpc176x SystemInit() externally visibleKevin O'Connor2019-09-063-13/+3
| | | | | | | Now that the lpc176x code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: It is no longer necessary to modify the stm32f1 codeKevin O'Connor2019-09-063-16/+2
| | | | | | | Now that the stm32f1 code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: It is no longer necessary to modify the stm32f4 codeKevin O'Connor2019-09-063-16/+2
| | | | | | | Now that the stm32f4 code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove now unused ARM Cortex-M linker scripts and boot assemblyKevin O'Connor2019-09-06152-29899/+6
| | | | | | | Remove the unused files for those boards converted to use the armcm_boot mechanism. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>