Commit Graph

3912 Commits

Author SHA1 Message Date
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
Wilhelm Schuster 4ae307b10f config: Update Fysetc S6 compilation instructions
Signed-off-by: Wilhelm Schuster <ws@rot13.io>
2021-05-03 14:36:18 -04:00
Wilhelm Schuster 1fb091c4fa stm32: Allow selecting bootloader size for STM32F446
Signed-off-by: Wilhelm Schuster <ws@rot13.io>
2021-05-03 14:36:18 -04:00
Tircown f2c74ec023
kinematics: Add hybrid-corexy and hybrid-corexz (#4229)
Signed-off-by: Fabrice GALLET <tircown@gmail.com>
2021-05-03 14:31:23 -04:00
Kevin O'Connor f10247a498 gcode_macro: Deprecate default_parameter_<name>
The Jinja2 "set" directive is more flexible and easier to understand
than default_parameter_XXX parameters.  Deprecate it and encourage
using "set" as a replacement.

This also deprecates direct access to parameters via parameter name in
a macro.  Going forward, the `params` pseudo-variable must be used to
access a parameter.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-03 12:43:53 -04:00
Kevin O'Connor dd28c7aef7 config: Fix whitespace error in generic-fysetc-spider.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-03 12:40:11 -04:00
George Fu fee386b8e2 config: add example configs for fysetc spider board
Signed-off-by: George Fu <nailao_5918@163.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-03 12:01:00 -04:00
Kevin O'Connor 5ceb5a1b26 invalid-label-bot: Fix typo
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-03 11:06:09 -04:00
Kevin O'Connor f2b382dbcc invalid-label-bot: Reword the invalid label message
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-02 18:51:08 -04:00
Kevin O'Connor 89082b494f klippy: Report known software versions on a protocol error during connection
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-02 17:51:15 -04:00
shiftingtech 8443c0b0f8 docs: a slight clarity improvement for the rPi mcu
Just a small attempt to make the build process slightly clearer 
In the compilation instructions for the rPi mcu

Signed-off-by: Ben Eastep <shifting@shifting.ca>
2021-05-02 13:07:07 -04:00
Kevin O'Connor edea52863a endstop: Report trigger time in endstop_query response
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-30 11:40:37 -04:00
Kevin O'Connor 470b1e2e46 adxl345: Use "clock" suffix instead of "time" in commands
The debugging code knows how to handle fields that end in "clock".

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-30 11:40:37 -04:00
Kevin O'Connor b611e72a19 pulse_counter: Use "clock" suffix instead of "time" in commands
The debugging code knows how to handle fields that end in "clock".

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-30 11:40:37 -04:00
Kevin O'Connor 8f76e53c0e stepper: Remove min_stop_interval from mcu code
Now that the host never uses a min_stop_interval, remove it from the
mcu code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-30 11:26:19 -04:00
Kevin O'Connor b1ea4f3bef toolhead: Do not limit SET_VELOCITY_LIMIT to values specified in config
Allow a larger velocity, accel, and square_corner_velocity than what
is specified in the config file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-30 11:26:19 -04:00
Kevin O'Connor 5a5ecd88e2 stepper: Do not set min_stop_interval in micro-controller
The min_stop_interval safety check is fragile and leads to a notable
amount of complexity.  Avoid these issues by not programming this
safety check.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-30 11:09:08 -04:00
Kevin O'Connor d1946fb6ed graphstats: Support graphing multiple heaters
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-29 15:53:28 -04:00