Kevin O'Connor
c0d860487a
stepper: Remove set_tag_position() code
...
Have callers store the stepper positions in a dict.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-29 21:54:34 -04:00
Kevin O'Connor
77bc5e4388
stepper: Improve get_past_commanded_position()
...
Pass a print_time instead of a clock to get_past_commanded_position().
Fix calculation on steppers that home and use an inverted direction
pin.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-29 21:29:00 -04:00
Kevin O'Connor
2bd03b97f0
docs: Fix malformed link in beaglebone.md
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-29 15:09:43 -04:00
Kevin O'Connor
8e74e6aa09
docs: Fix typo in Status_Reference.md
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 21:02:14 -04:00
Kevin O'Connor
977c334e2e
docs: Avoid link descriptions that span multiple lines
...
The Jekyll markdown renderer gets confused by links that span multiple
lines.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 20:58:32 -04:00
Kevin O'Connor
624d94f6ac
docs: Fix link in Config_Reference.md
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 20:42:06 -04:00
Kevin O'Connor
3a25db1247
docs: Move description of menu templates to Command_Templates.md
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 20:30:28 -04:00
Kevin O'Connor
4f939c18e9
config: Change current scale on generic-ultimaker-ultimainboard-v2.cfg
...
Reported by @TehOcean .
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 18:56:33 -04:00
Kevin O'Connor
121a710ec5
config: Add a note on wiring EXP1 to EXP3 on Creality 12864 displays
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 11:55:18 -04:00
Dmitry Butyugin
c483cb53cb
docs: Updated adxl345 wiring image
...
ADXL345 3.3v and GND pins can be wired closer to the other
pins on RPi, which is often more convenient.
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-05-28 11:53:16 -04:00
Kevin O'Connor
d619796495
Revert "linux: Raise an error if configuring a pullup when that is not supported"
...
This reverts commit 70ea0806d9
.
The above commit breaks software spi on linux hosts. Revert that
commit until an improved error check can be implemented.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-27 11:33:24 -04:00
Alex Zellner
341fc64a67
gcode_macro: add description property ( #4317 )
...
Signed-off-by: Alex Zellner <alexander.zellner@googlemail.com>
2021-05-26 14:21:21 -04:00
Florian Heilmann
ba3bbca861
gcode_macro: Disallow whitespace in macro name ( #4312 )
...
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
2021-05-26 13:03:10 -04:00
Florian Heilmann
bd42d497ae
safe_z_home: Update documentation
...
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
2021-05-26 12:57:31 -04:00
Florian Heilmann
cf61ca301b
safe_z_home: Simplify logic and fix edge case
...
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
2021-05-26 12:57:31 -04:00
Kevin O'Connor
391ebd32c1
docs: Minor updates to sdcard_loop documentation
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-26 12:05:49 -04:00
Jason S. McMullan
913649de2e
loop_sdcard: Add loopable SD card file sections
...
To support continuous belt printing, add nestable repeat
loop support via an `[sdcard_loop]` module.
Supported G-Code:
- SDCARD_LOOP_BEGIN COUNT=n ; Loop for N times, or infinitely if N is 0
- SDCARD_LOOP_END ; End of loop
- SDCARD_LOOP_DESIST ; Complete all loops without iterating
Marlin M808 compatibility example in `config/sample-macros.cfg`:
- M808 Ln ; Loop for N times, or infinitely if N is 0
- M808 ; End of loop
- M808 K ; Complete all loops without iterating
Added unit tests in test/klippy/sdcard_loop.test
See https://reprap.org/wiki/G-code#M808:_Set_or_Goto_Repeat_Marker
Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2021-05-26 11:57:57 -04:00
Kevin O'Connor
4ea434796b
stm32: Support spi1 on PB4/PB5/PB3 on stm32f103 and stm32f2
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-26 00:04:30 -04:00
Kevin O'Connor
f99dca0918
stm32: Allow alternate USART1 and USART2 ports on stm32f1 and stm32f2
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-25 23:50:28 -04:00
Kevin O'Connor
273106358d
stm32: Reorganize stm32f1 pin remap handling
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-25 23:50:28 -04:00
Kevin O'Connor
12acb99a38
stm32: Fix USART3 on stm32f1 and stm32f2
...
Commit 6a3c357a
incorrectly disabled support for USART3 on stm32f1 and
stm32f2 - restore that support.
Also, add support for USART3 on PD9/PD8 on stm32f103.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-25 22:13:09 -04:00
jericho-adler
20a6c6b225
config: Update generic-fysetc-cheetah-v1.2.cfg ( #4315 )
...
Added second CNC fan, PB0
Signed-off-by: Jericho Adler <jericho.adler@gmail.com>
2021-05-25 13:31:03 -04:00
Kevin O'Connor
b1f6a608c3
lpc176x: Add support for serial on UART3 P4.29/P4.28
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-25 12:58:26 -04:00
Kevin O'Connor
ce8fe615ed
lpc176x: Move pin definitions together in serial.c
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-25 12:44:13 -04:00
Kevin O'Connor
6a3c357a50
stm32: Add alternate serial ports on stm32f4
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-24 21:17:51 -04:00
Kevin O'Connor
c1e8ee58e7
stm32: Include pin names in STM32_SERIAL_USART?_ALT kconfig symbols
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-24 21:06:04 -04:00
Kevin O'Connor
338bc82d0b
stm32: Allow 32KiB bootloader on stm32f446
...
Useful on the Octopus board. Reported by @bigtreetech.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-20 19:12:09 -04:00
Kevin O'Connor
0f9f061b35
Makefile: Use CURDIR instead of PWD
...
Use $(CURDIR) instead of $(PWD) to refer to the current directory, as
the PWD variable comes from the shell environment and may not always
be set.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-19 23:49:50 -04:00
Kevin O'Connor
099a6dd6c9
workflows: Minor wording change to invalid-label-bot
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-17 10:31:03 -04:00
Kevin O'Connor
7b170d8c3d
github: Automatically close resolved issues after one week of inactivity
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-13 22:55:43 -04:00
Matthew Lloyd
49937f6281
config: Enable PID for bed heater in printer-fokoos-odin5-f3-2021.cfg ( #4288 )
...
Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
2021-05-13 22:33:00 -04:00
Kevin O'Connor
b4a2229788
config: Minor changes to printer-fokoos-odin5-f3-2021.cfg
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-12 15:01:23 -04:00
Matthew Lloyd
93add3a095
config: Add printer-fokoos-odin5-f3.cfg ( #4286 )
...
Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
2021-05-12 15:00:06 -04:00
Kevin O'Connor
4799d05d42
config: Add generic-ruramps-v1.3.cfg to test cases and minor updates
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-12 10:25:41 -04:00
Marco Robustini
831a4fe7fa
config: Configuration file for RuRamps V1.3 boards ( #4279 )
...
Signed-off-by: Marco Robustini <robustinimarco@gmail.com>
2021-05-12 10:19:25 -04:00
Pranas Kiziela
b4b2afca3b
config: Fix rotation_distance for Sapphire Plus
...
Signed-off-by: Pranas Kiziela <pranas.kiziela@gmail.com>
2021-05-12 10:00:55 -04:00
Alex Zellner
60352f4b67
filament_motion_sensor: add get_status ( #4281 )
...
Signed-off-by: Alex Zellner <alexander.zellner@googlemail.com>
2021-05-11 13:17:22 -04:00
Arksine
dc71b64c0a
virtual_sdcard: fix check for case sensitive files
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-05-11 13:15:56 -04:00
Kevin O'Connor
8eef1e2146
config: Use "stealthchop_threshold: 999999" if set
...
Change all the example config files to use either 0 or 999999 for
stealthchop_threshold (as is recommended in the TMC_Drivers.md
document).
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-09 09:02:43 -04:00
Kevin O'Connor
1ed67120cd
debugcmds: Remove start/end_group commands
...
These commands were never used by the main code and are not
particularly helpful for debugging. Remove them to reduce code size -
in particular on the pru architecture.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-07 13:53:47 -04:00
Kevin O'Connor
76b839a0ac
invalid-label-bot: Minor changes to invalid label comment
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-06 14:29:31 -04:00
Kevin O'Connor
bde6215c3f
stm32: Enable ADC3 pins on stm32f446
...
Reported by @bigtreetech.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-06 12:43:13 -04:00
Dany Yanev
b333547f1f
menu: Fixed typo when reading `print_stats.state` ( #4261 )
...
Fixed typo when reading `print_stats.state` causing some of the menus to now show up.
Signed-off-by: Dany Yanev <yanev89@gmail.com>
2021-05-06 11:54:27 -04:00
Kevin O'Connor
7bf379d75d
docs: Fix typo in Config_Reference.md
...
Should be "hybrid-corexy" instead of "hybrid-codexy". Reported by
@mak0t0san.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-06 11:46:35 -04:00
Kevin O'Connor
c9e8298c36
config: Minor updates to printer-velleman-k8800-2017.cfg
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-06 11:38:31 -04:00
Jelle Victoor
71f4739c8b
config: Feature/add k8800 config ( #4212 )
...
Signed-off-by: Jelle Victoor <victoor.jelle@gmail.com>
2021-05-06 11:31:45 -04:00
Kevin O'Connor
dfcdd51e7f
config: Minor changes to printer-creality-cr30-2021.cfg
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-06 11:08:57 -04:00
Jason S. McMullan
44387568f3
config: Add Creality CR-30 PrintMill support
...
Add support for the Creality CR-30 'PrintMill', and its base board,
the Creality v4.2.10.
Add them to the `test/klippy/printers.test` test suite
Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2021-05-06 11:07:18 -04:00
Kevin O'Connor
45cd3543e3
lpc176x: Use full peripheral clock speed; fix UART interface
...
Commit ae89a659
caused a regression in the lpc176x UART handling.
After that commit the UART clock divisor would need to be 6.25 on
lpc1768 or 7.5 on lpc1769, but the code only supports whole numbers.
Set the PCLKSELx registers at startup and return to using full speed
peripheral clocks.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-04 20:29:48 -04:00
Wilhelm Schuster
5fb5b3afe1
spi_flash: Add board definitions for Fysetc S6 and Spider
...
Signed-off-by: Wilhelm Schuster <ws@rot13.io>
2021-05-03 14:36:18 -04:00