aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Improve handling of board symbolic link creationKevin O'Connor2022-02-031-4/+8
| | | | | | | | | Running "make" directly after a "make distclean" can lead to a corrupt out/board symbolic link. Rework the make rules so that the board symbolic link is created in a new make instance that has the updated definition of CONFIG_BOARD_DIRECTORY. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix unescaped angle brackets in G-Codes.mdKevin O'Connor2022-02-011-7/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix link in G-Codes.mdKevin O'Connor2022-02-011-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Reorganize layout of G-Codes.mdKevin O'Connor2022-02-017-762/+1011
| | | | | | | Break listing up by module name. Provide links to "extended" commands. Sort reference by module name. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Resonance_Compensation.md to recommend SET_VELOCITY_LIMITKevin O'Connor2022-01-311-74/+64
| | | | | | | | | | It's no longer necessary to update the printer.cfg file to alter the max_accel and square_corner_velocity parameters. Update the Resonance_Compensation.md document to reflect this. Also, recommend using STEP_DELTA in the TUNING_TOWER commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: use sudo for rp2040 flashingLasse Dalegaard2022-01-312-4/+6
| | | | | | | | | | | The rp2040 can be flashed without sudo when using udev rules to give the user permission, but in a standard configuration sudo is required. Here we make it possible for flash_usb to use sudo for the rp2040 target, and make it the default when using `make flash` for the rp2040. As for other targets, one can set `NOSUDO=1` to not call through sudo. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* doc: Fix typo in Manual_Level.md (#5161)Haxk202022-01-291-1/+1
| | | | | Just a small commit fixing a tiny typo i noticed. Signed-off-by: Martin Botka <martin.botka@somainline.org>
* spi_flash: Add btt-skr-bx-se to the board types (#4951)adelyser2022-01-291-0/+5
| | | Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
* config: Add BIQU BX printer config (#4950)adelyser2022-01-293-0/+324
| | | Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
* docs: Improvements to RPi_microcontroller.mdKevin O'Connor2022-01-281-31/+59
| | | | | | | | Wraps lines to 80 columns. Only use triple backticks on multi-line code excerpts. Add backticks around "sudo raspi-config". Move "Enabling SPI" section to be near pwm and gpio configuration. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add remap CAN to PD0/PD1 for stm32f103 (#5173)Sergey15602022-01-262-1/+4
| | | Signed-off-by: Sergey Terentiev <sergey@terentiev.me>
* docs: Updated simulavr building instructionsDmitry Butyugin2022-01-261-9/+27
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* docs: Various minor fixes (#5175)Yifei Ding2022-01-268-13/+12
| | | Signed-off-by: Yifei Ding<yifeiding@protonmail.com
* gcode_arcs: detect CW / CCW move with renamed G2/G3 command (#5096)Nick Douma2022-01-221-2/+7
| | | | | The G2 / G3 command might be renamed using `gcode_macro` + `rename_existing`. This change allow detecting clockwise / anti-clockwise moves when the command gets renamed. Signed-off-by: Nick Douma <n.douma@nekoconeko.nl>
* tmc: Fix number of arguments in phase endstop warning (#5184)D4SK2022-01-221-1/+1
| | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net>
* gcode: Handle M117 and M118 commands that start with a special characterKevin O'Connor2022-01-181-11/+10
| | | | | | | | | | | Commit 7ef7bf60 broke the special handling for M117 commands that start with a number or special character. Fix that support and extend to M118 as well. Also improve handling of commands not separated by a space (eg, "M117HELLO"). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Support disassociating a stepper from all extrudersKevin O'Connor2022-01-164-5/+40
| | | | | | | Support SYNC_STEPPER_TO_EXTRUDER commands with an EXTRUDER parameter set to an empty string. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Support SYNC_STEPPER_TO_EXTRUDER on extruder objectsKevin O'Connor2022-01-163-42/+33
| | | | | | | | | | Refactor the extruder_stepper support so that it uses the ExtruderStepper class defined in extruder.py. Support the SYNC_STEPPER_TO_EXTRUDER command on steppers defined in either extruder_stepper or extruder config sections. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Separate extruder stepper tracking to new ExtruderStepper classKevin O'Connor2022-01-161-75/+97
| | | | | | | Move the stepper handling (including pressure advance handling) to a new class. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Don't store pressure_advance value in trapq movesKevin O'Connor2022-01-163-19/+26
| | | | | | | | | Store the pressure_advance value in "struct extruder_stepper" instead of in the trapq's "struct move". This makes it possible for multiple stepper motors to have different pressure advance values while still using the same trapq. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2130: Rework current selection to prefer vsense=1Kevin O'Connor2022-01-163-27/+45
| | | | | | | | | | | | | | It is preferable to program the tmc drivers with an irun (or cs) setting near 31, as otherwise the driver may have reduced microstep precision. It was possible for the driver to be programmed with irun=16 or irun=17 when it could have been configured with irun=31 with vsense=1 instead. This would occur on tmc2130/tmc2208/tmc2209 drivers for values around 0.900 to 1.000 amps (when using a typical sense_resistor settings of 0.110 Ohms). Change the code to prefer using vsense=1 to avoid this issue. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Correct Pin for the CR-6 SE 2021 Example Config (#5142)Filip Trplan2022-01-161-1/+1
| | | | | | | The fan pin PA0 is not correct for the 2021 revision of the CR-6 SE using the 4.5.3 revision of the Creality board. Changed the pin to PB15 in order to get it working Signed-off-by: Filip Trplan <filip@trplan.si>
* pause_resume: Do not clobber default state name by accident (#5156)individ-divided2022-01-161-2/+2
| | | | | | | Previously accidentally used 'default' state name instead of the stated one ('PAUSE_STATE'). This might collide with user usage of the SAVE_GCODE_STATE macro. Signed-off-by: David Grundberg <individ@acc.umu.se>
* neopixel: Update neopixel.py to add BRG color order (#5110)Tim Abraham2022-01-122-2/+4
| | | | | | Add BRG color option. Document BRG color option. Signed-off-by: Timothy Abraham <Timothyabe93@gmail.com>
* rp2040: implement I2CLasse Dalegaard2022-01-124-0/+227
| | | | | | | This implements I2C for the rp2040 target. All output groupings of both I2C blocks are available for use. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* config: Update generic-mellow-super-infinty-hv.cfg (#4876)maze2022-01-091-25/+9
| | | | | | | TMC2130/5160 can make use of `spi3`, which is operated on the software SPI pins in the current configuration. The supplied defaults for software SPI do not currently work. Heater0 pin was marked incorrectly, should be `PB0` Signed-Off-By: Wijnand Modderman-Lenstra <maze@maze.io>
* docs: Docs comma culture (#4822)Paul McGowan2022-01-0935-201/+201
| | | | | Many non-English speaking countries use a comma as a decimal separator for printed numbers. This can create some confusion in documentation and config files when not surrounded by contextual clues like parenthesis. Improve documentation by adding spaces to coordinates. Signed-off-by: Paul McGowan <mental450@gmail.com>
* stm32: Update Kconfig as CANBUS isn't available on stm32f401Kevin O'Connor2022-01-071-8/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: add make flash supportLasse Dalegaard2022-01-0610-7/+1124
| | | | | | | | | | | | | | | | This adds `make flash` support for the rp2040 target. Flashing is performed using a custom `rp2040_flash` tool that uses the PICOBOOT protocol. Root is not required. The user specifies the serial device of the rp2040 they wish to flash as the device. This device is reset into bootsel mode and `rp2040_flash` is invoked on the original USB device path. If the device is already in bootloader mode, the user can specify 'first' as `FLASH_DEVICE` which will simply invoke `rp2040_flash` with no bus/address options. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* docs: Note some BL-Touch clones do not support touch_mode in BLTouch.mdKevin O'Connor2022-01-031-4/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Upgrade to mkdocs-material v8.1.3Kevin O'Connor2021-12-311-1/+1
| | | | | | This version seems to fix an error in text highlighting during search. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Remove mkdocs-section-index from mkdocs-requirements.txtKevin O'Connor2021-12-311-1/+0
| | | | | | | Commit bd0185cf removed the section-index plugin. Remove it from the build requirements as well. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Fix toolhead stop on SET_VELOCITY_LIMIT (#5053)Stephen Hurd2021-12-301-1/+0
| | | | | This fixes issue #5050 Signed-off-by: Stephen Hurd <deuce@synchro.net>
* scripts: Migrated shaper calibration scripts to Python3Dmitry Butyugin2021-12-304-3/+13
| | | | | | | Also updated instructions to install python3-numpy and python3-matplotlib Python packages. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* stm32: Unify enable_pclock() codeKevin O'Connor2021-12-308-238/+125
| | | | | | | | | Unify the handling of the enable_pclock() and is_enabled_pclock() code across all stm32 chips. All chips will now perform a peripheral reset on enable_pclock() (this is a change for stm32f0 and stm32h7). The enable_pclock() code will now also disable irqs during the enable. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Fix the GPIO register for stm32h7 (#5077)adelyser2021-12-291-3/+3
| | | Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
* docs: Improve filament width sensor documentation (#5058)Yifei Ding2021-12-274-123/+67
| | | | | | | | | | | Add Filament Width Sensor to G-Codes.md Remove Redundant Filament Width Sensor Entries Remove Duplicate Status Reference In Hall Filament Width Sensor Fix Indentation For Filament Width Sensors Signed-off-by: Yifei Ding<yifeiding@protonmail.com>
* config: Minor updates to generic-bigtreetech-skr-pico-v1.0.cfgKevin O'Connor2021-12-272-2/+6
| | | | | | Small wording change and add to printer test cases. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add BigTreeTech SKR Pico V1.0 board (#5022)BigTreeTech2021-12-271-0/+132
| | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
* docs: Clarify the Thickness of PaperYifei Ding2021-12-271-6/+6
| | | | Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
* docs: Fix hybrid_corexy typo in Config_Reference.mdKevin O'Connor2021-12-271-1/+1
| | | | | | Reported by @controlflow. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add stm32g0b1 to benchmarksKevin O'Connor2021-12-272-0/+20
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Fix ADC on stm32f042Kevin O'Connor2021-12-241-0/+1
| | | | | | It seems the stm32f042 chip needs a small delay during ADC enable. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Add stm32g0 and generic-bigtreetech-skr-mini-e3-v3.0.cfg to test casesKevin O'Connor2021-12-242-0/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add BigTreeTech SKR mini E3 V3.0 board (#5040)BigTreeTech2021-12-241-0/+126
| | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
* spi_flash: Add btt-skr-mini-e3-v3 board definitionKevin O'Connor2021-12-231-0/+6
| | | | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Enable SPI support on stm32g0Kevin O'Connor2021-12-232-4/+8
| | | | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Enable ADC support on stm32g0Kevin O'Connor2021-12-234-12/+57
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Rework register access on stm32f0_adc.cKevin O'Connor2021-12-231-34/+25
| | | | | | | | | | | Avoid read-modify-write operations where possible. The register values are in a known state so prefer absolute writes. Improve handling of race conditions with hardware updates. Remove the adc reference from "struct gpio_adc" as it is a constant. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Minor whitespace changes to stm32f0_adc.cKevin O'Connor2021-12-231-12/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>