Commit Graph

4754 Commits

Author SHA1 Message Date
Kevin O'Connor f0700c0985 pca9632: Support using hardware I2C
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-04-07 11:43:52 -04:00
Yifei Ding 61792e3e31 _klipper3d: Specify mkdocs language config options
Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-04-06 19:04:48 -04:00
Yifei Ding b35b6cb10b _klipper3d: New language translation deployment
Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-04-06 19:04:48 -04:00
Kevin O'Connor 444d209cce _klipper3d: Remove translation stubs
Support for language translations on the klipper3d.org site was
disabled in commit c067d4df.  Fully remove the support in this commit.
This is in preparation for an alternate implementation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-04-06 19:04:48 -04:00
Kevin O'Connor dc7b02f329 neopixel: Support arbitrary RGBW strings in color_order config
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-04-06 09:27:36 -04:00
Kevin O'Connor 92de6e91dc docs: Note that "minutes" in screws_tilt_adjust means minutes of a clock face
Reported by @kubik369 and @Sineos.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-04-05 20:35:56 -04:00
Kevin O'Connor b1ae50cfc7 test: Add an led test for led, neopixel, dotstar, pca9533, pca9632 configs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor e6bfc4c9aa led: Support setting display_template parameters via SET_LED_TEMPLATE
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 1ab3ac39e4 led: Support automated LED updates based on display_template results
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor a6ab56c0a6 display: Add a new PrinterDisplayTemplate class for tracking template macros
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 35ff49e546 docs: Note that neopixel doesn't work on "linux mcu"
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor a7f69caa37 docs: Note change to neopixel/dotstar API status fields
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 2001eecd5e pca9533: Add support for 4 brightness levels
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 47828b4056 pca9533: Update to use LEDHelper class
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 271c2ac95b pca9632: Update to use LEDHelper class
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 0c425cf014 mcp4018: Support setting minclock and reqclock in SoftwareI2C class
This is in preparation for pca9632 changes.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 9136a29196 dotstar: Update to use LEDHelper class
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 8b8818c0f7 neopixel: Update to use LEDHelper class
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 96795def9c led: Add support for PWM controlled LEDs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-31 13:08:12 -04:00
Kevin O'Connor 3340bb2ffd docs: Add explicit Jinja2 prerequisite to mkdocs-requirements.txt
Avoid build failures by adding explicit Jinja2 version.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:40:48 -04:00
Kevin O'Connor c08f83ff47 pid_calibrate: Improve Python3 compatibility in debug file output
Reported by @kpishere.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:37:03 -04:00
Kevin O'Connor 4d1c3478ab angle: Add support for reading tle5012b chip registers (for debugging)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:34:46 -04:00
Kevin O'Connor 1275281ab6 angle: Initialize tle5012b chip variants to same configuration
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:34:46 -04:00
Kevin O'Connor 1b08553a42 angle: Report tle5012b temperature
Export the tle5012b temperature readings when performing measurements.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:34:46 -04:00
Kevin O'Connor f9d505e376 sensor_angle: Support TLE5012b frame counter for timing
Use the tle5012b internal frame counter to calculate the time of each
measurement.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:34:46 -04:00
Kevin O'Connor 76558168d9 motan: Add support for analyzing "angle" sensor data
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:34:46 -04:00
Kevin O'Connor aec742ece4 angle: Initial support for angle sensor calibration
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:34:46 -04:00
Kevin O'Connor 74937326d3 sensor_angle: Add support for bulk querying of spi angle sensors
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:34:46 -04:00
Alex Maclean 91ba9c00e3 atsam: Fix typo in sam4e_afec
Accidentally introduced in 8049243221,
renders the AFE non-functional on SAME70. Should have had little impact
on SAM4E.

Signed-off-by: Alex Maclean <monkeh@monkeh.net>
2022-03-28 10:19:58 -04:00
Alex Maclean 8049243221 atsam: Add support for SAM E70
Signed-off-by: Alex Maclean <monkeh@monkeh.net>
2022-03-26 11:59:27 -04:00
Alex Maclean 99c2bf0ded lib: Add Atmel SAM E70 headers
Signed-off-by: Alex Maclean <monkeh@monkeh.net>
2022-03-26 11:59:27 -04:00
Kevin O'Connor befb503cf0 workflows: Add comment when adding reviewer-needed label to idle ticket
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-26 11:42:40 -04:00
Charles Pickering 7e654aed2f docs: Fix config snippet for polar
Previously the section for stepper_bed was intertwined with printer. This commit makes it match (../config/example-polar.cfg).

Signed-off-by: Charles Pickering <me@charlespick.xyz>
2022-03-20 11:43:32 -04:00
SyrasX 3e0c0e9ccf
config: Added Config for Creality Ender 5 Pro 2020 (#4836)
Signed-off-by:  Maxim Schessler <maxim.schessler@gmail.com>
2022-03-18 20:42:15 -04:00
Justin Schuh 1390b4d600 virtual_sdcard: Allow spaces in file path for M23
Also makes M23 work normally with rename_existing.

Signed-off-by: Justin Schuh <code@justinschuh.com>
2022-03-18 11:44:33 -04:00
Kevin O'Connor b4b19b8fc1 docs: Add a link to Rotation_Distance.md in Example_Configs.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-17 21:50:33 -04:00
Kevin O'Connor 98d3fffd79 palette2: Fix typo (gmcd vs gcmd)
Reported by @Ludy87.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-17 20:53:07 -04:00
Kevin O'Connor a43973b0e0 skew_corrections: Fix typo (gmcd vs gcmd)
Reported by @Ludy87.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-17 20:52:10 -04:00
Spencer Owen 743c766f47
config: Adds Ender 2 Pro config (#5359)
Adds a default config for Ender 2 Pro. Printer uses creality 4.2.3 board

Signed-off-by: Spencer Owen <owenspencer@gmail.com>
2022-03-17 20:43:55 -04:00
Kevin O'Connor d7f8bf351f docs: Fix section headers of [display] sections in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-16 12:04:41 -04:00
Kevin O'Connor 81283423f4 test: Minor file ordering change to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-14 14:50:20 -04:00
Apulo 1ccebfce1b
config: generic-th3d-ezboard-lite-v2.0.cfg (#5247)
This file includes the build instructions and generic configuration for the TH3D EZBoard Lite v2.0 3d printer control board.

Signed-off-by: Anthony Dellett <anthony.dellett@gmail.com>
2022-03-14 14:48:22 -04:00
Ricardo Alcântara 0761026e36
pca9632: LED module for FlashForge Dreamer 3D printer (#4654)
Added PCA9632 LED module support using software I2C from MCP4018
modulo drive the LED strip of a FlashForge Dreamer 3D printer.
Based on the PCA9533 module. 

Signed-off-by: Ricardo Alcantara <ricardo@vulcanolabs.xyz>
2022-03-14 14:28:42 -04:00
Blinker73 df79893dbc
linux: Update i2c.c (#5295)
Similarly to commit 8cf1b512 for SPI, the Rpi4 has more i2c busses to offer
This change allows klipper to use up to I2c bus 6
/boot/configtxt 
dtparam=i2c_arm=on
dtoverlay=i2c6

and 

pi@fluiddpi:~ $ ls -1 /dev/i2c*
/dev/i2c-1
/dev/i2c-6

Signed-off-by: Sylvain Dansereau <brutus_dansereau@hotmail.com>
2022-03-14 14:24:27 -04:00
Kevin O'Connor 082d773e2e test: Add printer-monoprice-select-mini-v1-2016.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-14 14:20:24 -04:00
jace c27a9182f3
config: Config for Monoprice Select Mini v1 (#5243)
Signed-off-by: Jace Wiseman <jwiseman@gmail.com>
2022-03-14 14:17:32 -04:00
Miklós Tusz c8cc2a1e27 scripts: Migrate `check_whitespace.py` to python3
Modified strings used in pattern matching to b-strings as are expected
with python3.

Signed-off-by: Miklos Tusz <miklos@aon3d.com>
2022-03-14 13:53:21 -04:00
Stefan Dej 12e304fbec temperature_fan: add missing round function to get_status temperature
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-03-14 13:48:38 -04:00
Ofir Petrushka 5d0d6d5a32
config: Adding bed_screws to Ender 3 (#5252)
Signed-off-by: Ofir Petrushka <ofir.petrushka@gmail.com>
2022-03-14 13:38:05 -04:00
just-trey 352f735297
config: Elegoo Neptune 2 config update (#5213)
Signed-off-by: Trey Wentz <trey.wentz@gmail.com>
2022-03-14 12:50:38 -04:00