Commit Graph

4603 Commits

Author SHA1 Message Date
Kevin O'Connor 7731c30422 stm32: Allow 32KiB bootloader to be specified for all STM32F4 builds
Reported by @GerogeFu.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-14 12:26:41 -04:00
Kevin O'Connor 30098db22a docs: Fix typo in RPi_microcontroller.md
Reported by @bradengel.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-14 00:38:25 -04:00
Kevin O'Connor 5e91c5de28 workflows: Update invalid-label-bot.yaml to use actions/github-script@v6
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-13 17:14:43 -04:00
Kevin O'Connor 021459e53e workflows: Update stale-issue-bot.yaml to use actions/github-script@v6
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-13 17:13:56 -04:00
Kevin O'Connor 2f8f99acae workflows: Mark inactive github PRs with "reviewer needed"
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-13 17:13:56 -04:00
Kevin O'Connor 341e56dcea workflows: Automatically close PRs with "reviewer needed" that become stale
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-13 17:13:56 -04:00
Kevin O'Connor cc3c4c81e9 workflows: Add github tool to add a comment to PRs marked "reviewer needed"
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-13 17:13:55 -04:00
Kevin O'Connor 1de0d75079 docs: Move "benefits" review section up in CONTRIBUTING.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-13 17:13:55 -04:00
Kevin O'Connor e3beafbdb4 stm32: Clarify CCIPR2 setting in stm32g0.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-11 14:12:11 -05:00
Fritz Webering 24e7bbf0df
docs: Add missing bltouch lift_speed option to Config_Reference.md (#5344)
Signed-off-by: Fritz Webering <fritz@webering.eu>
2022-03-11 13:35:08 -05:00
Kevin O'Connor 4ce2d379bb stm32: Simplify CCIPR2 register assignment on stm32g0
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-09 13:28:00 -05:00
BIGTREETECH d75154d695
stm32: USB clock source from PLLQCLK on stm32g0 (#5341)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
2022-03-09 13:11:04 -05:00
Kevin O'Connor c721c20c97 docs: Improve G-Codes.md description of extruder commands
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-08 15:34:11 -05:00
Kevin O'Connor c067d4df73 klipper3d-deploy: Temporarily disable translations on klipper3d.org
Temporarily disable support for multiple languages on the main
klipper3d.org site.  The search functionality isn't working correctly
with translations.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-08 14:58:36 -05:00
Pedro Lamas 38b992532a display_status: stops M73 from setting progress to 0 if P missing
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2022-03-08 14:20:35 -05:00
Kevin O'Connor fe2974b8ec extruder: Verify trapq is unmodified on default SET_PRESSURE_ADVANCE
Check that a SET_PRESSURE_ADVANCE without an explicit EXTRUDER
parameter isn't done after the user disables or reassociates the
extruder stepper motor (via SYNC_EXTRUDER_MOTION).  Otherwise, it
could lead to very confusing results.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-04 13:38:59 -05:00
Kevin O'Connor 4815a946c2 extruder_stepper: Do not default to synching with "extruder" at startup
With recent changes, the extruder_stepper may be used for new
purposes, and synchronizing to the "extruder" motion queue at startup
may become a confusing default.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-04 13:38:59 -05:00
Kevin O'Connor 6627d036ac extruder: Allow an extruder object to be created without a stepper
This may be useful for dual hotend printers that have only one
stepper.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-04 13:20:35 -05:00
Kevin O'Connor 4a8aece6a7 docs: Note g-code output is not intented to be parsed in G-Codes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-03 22:20:27 -05:00
Kevin O'Connor c31f981575 docs: Add link to GET_POSITION description in G-Codes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-03 21:48:57 -05:00
Kevin O'Connor 7ce409d7a5 lpc176x: Fix serial ordering of initialization
The serial device needs to be enabled before setting the DLAB bit.
This prevented UART3 from working.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-01 12:55:06 -05:00
Andrei Ignat 682d38f590
delta: Multiple steppers on delta tower (#5217)
Updated tower rail setup to support multiple steppers per tower.

Signed-off-by: Andrei Ignat <andrei@ignat.se>
2022-02-28 23:14:25 -05:00
Andrei Ignat bbd1ddadd1
corexy: Multiple steppers per axis on CoreXY (#4886)
Allowing multiple steppers per axis.

Signed-off-by: Andrei Ignat <andrei@ignat.se>
2022-02-28 23:11:50 -05:00
Lorenzo 7c964e5fdf
dac084S085: SPI DAC DAC084S085 implementation (#5134)
Alligator Board Rev2 tested config sample.
Add example configuration file for Alligator board rev.3.

Signed-off-by: Lorenzo Franco <lorenzo.franco@lorenzing.com>
2022-02-22 10:28:28 -05:00
Kevin O'Connor b0a24a4458 motion_report: Ensure startstop_cb is called atomically
Make sure APIDumpHelper() does not invoke the startstop callback while
it is already running.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-21 22:22:14 -05:00
Frank Tackitt 2b2caa8f05
klippy-requirements: Pin markupsafe==1.1.1 to fix python3 (#5286)
Markupsafe updated and the latest version no longer includes `soft_unicode`

Signed-off-by: Franklyn Tackitt <git@frank.af>
2022-02-21 13:26:18 -05:00
Kevin O'Connor 9e15321418 docs: Minor wording change to Example_Configs.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-21 12:20:21 -05:00
Kevin O'Connor 7202a5da8e docs: Minor wording change in Example_Configs.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-21 12:17:30 -05:00
Kevin O'Connor 74dbd8a8e4 docs: Fix Example_Configs.md list rendering
Mkdocs doesn't support a third level of list nesting.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-21 12:14:59 -05:00
Kevin O'Connor c3baa671a5 docs: Update Example_Configs.md
Document that spaces and special characters should not be in the
config filename.

Remove reference to step_distance and pin_map deprecated features, as
those features are now fully removed.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-21 12:04:45 -05:00
Misterke 8b0c6fcb08 bed_mesh: Report actual mesh profiles as status
Report the actual profiles available via BED_MESH_PROFILE
via the status for use by clients.

Signed-off-by: Kurt Haenen <kurt.haenen@gmail.com>
2022-02-16 13:42:19 -05:00
Kevin O'Connor 131cca2b51 docs: Change the klipper3d.org "language selection" icon
Change from the "material translate icon" to the "material language
icon" for the language selection icon.  (The "material language icon"
is an alias for the "material web icon" and it seems we can't use the
alias, so we directly set the icon to "material/web".)

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-16 12:09:09 -05:00
Polar-Ted d94d690d67
config: Update printer-tronxy-x5sa-v6-2019.cfg (#5262)
Lines 94 and 97. Fan speed should be 1 and not 0.5
removed lines to use default settings. 

[heater_fan hotend_fan]
pin: PG14

[fan]
pin: PG13

Signed-off-by: Scott Schering <sschering@gmail.com>
2022-02-14 19:17:38 -05:00
joshindc 38220da46b
config: Update printer-wanhao-duplicator-i3-v2.1-2017.cfg (#5261)
Add correct kill_pin for stock Melzi board and LCD.

Signed-off-by: Joshua Whitman <whitmanj@gmail.com>
2022-02-14 19:16:40 -05:00
Yifei Ding 646bb02355
docs: Fix Translation Support Script (#5263)
Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
2022-02-14 14:13:12 -05:00
Kevin O'Connor c78676ff5f docs: Fixes for mkdocs translation support
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-14 11:35:07 -05:00
Yifei Ding 61329049a6
docs: Mkdocs i18n support (#5072)
Signed-off-by: Yifei DIng <yifeiding@protonmail.com>
2022-02-14 11:29:41 -05:00
Wilhelm Schuster f0241d7dec docs: Drop duplicated firmware_retraction G-Codes section
Signed-off-by: Wilhelm Schuster <dev@rot13.io>
2022-02-14 11:21:22 -05:00
Kevin O'Connor e3cbe7ea36 stm32: Clear SPE flag on a change to SPI CR1 register
The stm32 specs indicate that the SPE bit must be cleared before
changing the CPHA or CPOL bits.

Reported by @cbc02009 and @bigtreetech.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 18:12:01 -05:00
Kevin O'Connor 99d55185a2 stm32: Wait for transmission to complete before returning from spi_transfer()
It's possible for the SCLK pin to still be updating even after the
last byte of data has been read from the receive pin.  (In particular
in spi mode 0 and 1.)  Exiting early from spi_transfer() in this case
could result in the CS pin being raised before the final updates to
SCLK pin.

Add an additional wait at the end of spi_transfer() to avoid this
issue.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 17:27:55 -05:00
Kevin O'Connor 1c594ef27a bed_mesh: Fix integer division issue on Python3
Reported by @CODeRUS.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 14:09:15 -05:00
Kevin O'Connor 2e17519a7e extruder: Deprecate old extruder commands and shared_heater config option
Deprecate SET_EXTRUDER_STEP_DISTANCE and SYNC_STEPPER_TO_EXTRUDER.
Recommend using SET_EXTRUDER_ROTATION_DISTANCE and
SYNC_EXTRUDER_MOTION.

Deprecate the extruder "shared_heater" option and reocmmend using
extruder_stepper config sections to obtain the same functionality.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 13:25:16 -05:00
Kevin O'Connor 2af8c5aa86 extruder: Add new SYNC_EXTRUDER_MOTION command
This command is a rename of SYNC_STEPPER_TO_EXTRUDER.  This change is
in preparation for the removal of SYNC_STEPPER_TO_EXTRUDER.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 13:24:21 -05:00
Kevin O'Connor 9ec9742484 extruder: Add support for reversing the direction of extruder stepper movement
Extend SET_EXTRUDER_ROTATION_DISTANCE to support reversing the
direction of extruder movement.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 13:24:21 -05:00
Kevin O'Connor 189188e3ca extruder: Add a SET_EXTRUDER_ROTATION_DISTANCE command
Support altering the extruder distance using the higher-level
rotation_distance.  This is in preparation for removal of the
SET_EXTRUDER_STEP_DISTANCE command.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 13:24:21 -05:00
Kevin O'Connor 6d7c03365a logextract: Add support for reordering stepper queue messages by timestamp
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-07 00:06:40 -05:00
Kevin O'Connor c8560b367d logextract: Add support for reordering trapq moves by timestamp
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-06 23:42:01 -05:00
Kevin O'Connor 739ff465a7 logextract: Support reordering API Server messages by timestamp
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-06 23:15:28 -05:00
Kevin O'Connor 6cd1e794f7 logextract: Breakup shutdown parsing into classes
Separate out message parsing into individual classes.  This should
make the code a little eaiser to understand.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-06 23:14:31 -05:00
adelyser 9174c0241e
stm32: Fix ADC on stm32h7 (#5239)
Don't reset the ADC peripheral if the clock is already enabled.
Fixes #5236

Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
2022-02-06 18:29:53 -05:00