aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Kconfig: Add new WANT_I2C option to reduce code sizeKevin O'Connor2025-04-168-33/+43
| | | | | | | Make it possible to not compile in support for I2C on chips with small flash sizes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Add new WANT_SPI option to reduce code sizeKevin O'Connor2025-04-168-27/+34
| | | | | | | Make it possible to not compile in support for SPI on chips with small flash sizes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Add new WANT_HARD_PWM option to reduce code sizeKevin O'Connor2025-04-168-7/+14
| | | | | | | Make it possible to not compile in support for hardware pwm on chips with small flash sizes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Enable gcc -Os option on CONFIG_HAVE_LIMITED_CODE_SIZEKevin O'Connor2025-04-161-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Enable gcc -Os option on CONFIG_HAVE_LIMITED_CODE_SIZEKevin O'Connor2025-04-161-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Replace WANT_DISPLAYS with individual optionsKevin O'Connor2025-04-166-8/+18
| | | | | | Support setting WANT_ST7920 and WANT_HD44780 individually. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Replace WANT_GPIO_BITBANGING with individual optionsKevin O'Connor2025-04-165-10/+40
| | | | | | | | Support setting individual options instead of one global option ( WANT_BUTTONS, WANT_TMCUART, WANT_NEOPIXEL, WANT_PULSE_COUNTER, WANT_HX71X). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* workflows: Update github build-test.yaml to ubuntu-22.04Kevin O'Connor2025-04-161-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Disable optional features in atmega328 buildKevin O'Connor2025-04-161-0/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Makefile: Don't disable gcc's use-linker-plugin optionKevin O'Connor2025-04-162-2/+4
| | | | | | | | | | | | | | | | This option seems to be confusing ld's region usage checks (builds that could fit in small chips are being reported as not fitting). The option was disabled back in commit 4e8674d5 because it showed worse results. However, recent versions of gcc seem to produce the same results even if this option is enabled, so change the build to avoid disabling that option on newer versions of gcc (those that have the -ffat-lto-objects option - which is needed to ensure compile_time_requests sections can be extracted with objcopy). The PRU build is dependent on -fuse-linker-plugin, so enable that option explicitly in its build. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note the release of v0.13.0Kevin O'Connor2025-04-111-0/+29
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Features.md to reflect recent workKevin O'Connor2025-04-111-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* led: Fix off-by-one bug in SET_LED_TEMPLATE INDEX parameterKevin O'Connor2025-04-111-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ci-install: Use prebuilt pru gcc binariesKevin O'Connor2025-04-082-20/+12
| | | | | | | Don't build the pru binaries directly in the build test cases, instead use the upstream binaries provided. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* force_move: Make sure to use lower() on SET_KINEMATIC_POSITION CLEAR_HOMEDKevin O'Connor2025-04-081-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* force_move: Support a SET_HOMED parameter to SET_KINEMATIC_POSITIONKevin O'Connor2025-04-082-17/+57
| | | | | | | | | | | | | | | Commit 70838797 added support for clearing the homing state in SET_KINEMATIC_POSITION commands. However, it can be difficult to use that support as the default for SET_KINEMATIC_POSITION is to set all axes as homed. Add a new SET_HOMED parameter to allow one to explicitly request which axes to consider in a homed state. Also introduce a CLEAR_HOMED parameter and prefer that to the existing CLEAR parameter. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* i2c_software: Fix i2c_delay()Kevin O'Connor2025-04-081-12/+9
| | | | | | | The i2c_delay() function did not properly handle counter rollovers. It also performed an expensive run-time divide. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fixup G-Codes.md so that sections are sorted alphabeticallyKevin O'Connor2025-04-071-127/+126
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* axis_twist_compensation: Fix AttributeError on klippy connect state (#6881)Maksim Bolgov2025-04-051-3/+2
| | | | | Object 'configfile' has no attribute 'error' Signed-off-by: Maksim Bolgov <maksim8024@gmail.com>
* temperature_combined: avoid crash with temperature monitorsTimofey Titovets2025-04-051-5/+13
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* temperature_combined: delay initializationTimofey Titovets2025-04-051-1/+3
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* docs: Add icm20948 descriptionMRX80242025-04-031-0/+19
| | | | Signed-off-by: Maksim Bolgov maksim8024@gmail.com
* adxl345: Allow read and write 127 register addressMRX80242025-04-031-2/+2
| | | | | | icm20948 accelerometer has an ACCEL_CONFIG register at address 127 Signed-off-by: Maksim Bolgov maksim8024@gmail.com
* icm20948: Formatting refactorMRX80242025-04-031-29/+24
| | | | Signed-off-by: Maksim Bolgov maksim8024@gmail.com
* icm20948: Transition from 8g to 16g accels scaleMRX80242025-04-031-3/+3
| | | | | | During standard resonance measurements, the icm20948 in 8g mode may reach the accels max threshold. Signed-off-by: Maksim Bolgov maksim8024@gmail.com
* icm20948: Fix sample rate and accels scale selectionMRX80242025-04-031-0/+7
| | | | | | To set a value in the SET_ACCEL_CONFIG register, you must first go to BANK_2. Signed-off-by: Maksim Bolgov maksim8024@gmail.com
* mkdocs-requirements: Update to Jinja 3.1.6Kevin O'Connor2025-04-031-1/+1
| | | | | | | | A security vulnerability was found in Jinja 3.1.5 . The software is not impacted by this vulnerability, but there is no harm in updating to the fixed version. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* output_pin: Make it possible to assign dicts/lists as template parametersKevin O'Connor2025-04-031-3/+10
| | | | | | | | | The output_pin template code has a cache to speed up duplicate rendering of templates. However, this cache doesn't work if one of the parameters is a Python list or dictionary. Just disable the cache in this case. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Turn on can.c error interruptsKevin O'Connor2025-04-031-1/+1
| | | | | | | | It seems both ERRIE and LECIE must be enabled to get hardware error interrupts. Without this, the rx_error and tx_error reports are likely to always be zero. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add support for additional i2c busRussell Cloran2025-04-021-0/+3
| | | | Signed-off-by: Russell Cloran <rcloran@gmail.com>
* stm32: Fix RESERVE_PINS_CAN pin ordering in fdcan.cKevin O'Connor2025-04-011-1/+1
| | | | | | Always report the reserved pins in the same order (rx,tx). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix link syntax typo for bed_screwsRussell Cloran2025-04-011-1/+1
| | | | Signed-off-by: Russell Cloran <rcloran@gmail.com>
* docs: Fix typo in docs generation documentationRussell Cloran2025-04-011-2/+2
| | | | Signed-off-by: Russell Cloran <rcloran@gmail.com>
* docs: Fix typos in installation.mdTobias Rumiz2025-03-311-21/+21
| | | | | Fixed typos, hyphenation, and minor phrasing for better readability. Signed-off-by: Tobias Rumiz <TobiasRumiz@gmail.com>
* ldc_1612: Supports configurable external crystal frequency (#6734)XiaoK2025-03-292-5/+10
| | | | | | | You can use the 40Mhz crystal oscillator recommended by TI official manual to get the best performance. refer to: [ldc1612.pdf](https://www.ti.com/cn/lit/ds/symlink/ldc1612.pdf) 7.3.4 Signed-off-by: Xiaokui Zhao <xiaok@zxkxzk.cn>
* stm32: Added PH13/14 CAN pin option for stm32h743 (#6857)FrY Sennberg2025-03-272-0/+14
| | | | | Added the option to select PH13/PH14 as CAN pins. Signed-off-by: Christoph Frei <fryakatkop@gmail.com>
* rp2040: define spi bus on pins 12,11,10Timofey Titovets2025-03-251-0/+3
| | | | | | Mellow FLY SHT36 Pro toolboard uses those pins Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* output_pin: Fix handling of template rendering errorsKevin O'Connor2025-03-251-0/+1
| | | | | | | Make sure to assign 'value' on a rendering error to avoid an internal error. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* fan_generic: Fix handling of template rendering errorsKevin O'Connor2025-03-251-0/+1
| | | | | | | Make sure to assign 'value' on a rendering error to avoid an internal error. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add LED definitions to generic-bigtreetech-skr-mini-mz.cfgKevin O'Connor2025-03-241-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buttons: fixes incorrect parametersPedro Lamas2025-03-211-1/+1
| | | | Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
* stepper: Support disabling optimized "step on both edges" in "make menuconfig"Kevin O'Connor2025-03-202-9/+24
| | | | | | | Add a new "low level option" to allow users to configure if they want to optimize for Trinamic drivers or traditional stepper motor drivers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Support step on both edges with custom minimum pulse durationKevin O'Connor2025-03-2010-37/+74
| | | | | | | | | | Add support for "step on both edges" to the main stepper_event_full() code. This makes that mode of operation available even when the micro-controller is not compiled for "optimized step on both edges". It also enables the custom pulse duration support (step_pulse_ticks) when in "step on both edges" mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buttons: Debounce gcode_button and filament_switch_sensor (#6848)Gareth Farrington2025-03-206-14/+63
| | | | | Add `debounce_delay` config option which sets the debounce time, defaults to 0 Signed-off-by: Gareth Farrington <gareth@waves.ky>
* load_cell: Load cell gram scale (#6729)Gareth Farrington2025-03-2010-35/+685
| | | | | | | | | | | | | | * Add gram scale features to load_cell * Convert sensor counts to grams and make this available via unix socket and object status * Basic GCodes for tearing and reading the load cell * Guided Calibration * Diagnostic gcode to check the health of the load cell * Update load_cell Documentation * Add API server load_cell/dump_force endpoint * Update [load_cell] config with calibration fields * Add G-Code commands for working with load cells * Add status reference for load_cell objects Signed-off-by: Gareth Farrington <gareth@waves.ky>
* axis_twist_compensation: allow compensating both axis at oncePhilippe Daouadi2025-03-121-15/+0
| | | | | | | Restores the behavior before #6739 since people seemed to rely on it, even if the math is not exact. Signed-off-by: Philippe Daouadi <philippe@ud2.org>
* input_shaper: Fix for polar kinematicsDmitry Butyugin2025-03-111-0/+13
| | | | | | Forward post_cb calls from itersolve to the original kinematics. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* docs: Note AXIS_TWIST_COMPENSATION_CALIBRATE AUTO removal in Config_Changes.mdKevin O'Connor2025-03-081-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* axis_twist_compensation: Remove the auto parameteryochiwarez2025-03-083-177/+17
| | | | | | from axis_twist_compensation Signed-off-by: Jorge Apaza Merma <yochiwarez@gmail.com>
* gcode_macro: Expand template syntax errors (#6839)Timofey Titovets2025-03-071-0/+6
| | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>