aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gcode_arcs: Allow either one of I, J, K to be default-zero on G2/G3 (#5939)maze2022-12-142-1/+19
| | | Signed-off-by: Wijnand Modderman-Lenstra <maze@pyth0n.org>
* stm32: Apply race fixes to stm32h7_adc.cKevin O'Connor2022-12-121-19/+18
| | | | | | | Improve handling of race conditions with hardware updates. This is the same changes applied to stm32f0_adc.c in commit 88325b6c. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* save_variables: Verify filename path is writeable at startupJustin Schuh2022-12-111-0/+2
| | | | Signed-off-by: Justin Schuh <code@justinschuh.com>
* gcode_arcs: No need to import gcode module to access Coord()Kevin O'Connor2022-12-111-6/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode_arcs: support XY, XZ and YZ planesAndrew Mirsky2022-12-113-31/+98
| | | | | | | add G17, G18 and G19 commands to select arc planes enhance G2/G3 to support arc moves in XY, XZ and YZ planes Signed-off-by: Andrew Mirsky <andrew@mirsky.net>
* stm32g0: Do not disable SWD by accidentAlex Voinea2022-12-111-2/+5
| | | | | | Keep SWEN as 1 in FLASH->ACR register such that the SWD interface doesn't get disabled. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* stm32g4: Do not disable SWD by accidentAlex Voinea2022-12-111-1/+1
| | | | | | Keep SWEN as 1 in FLASH->ACR register such that the SWD interface doesn't get disabled. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* linux: add 'GPIOI' for linux process (#5926)BIGTREETECH2022-12-112-3/+4
| | | Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
* config: printer-artillery-sidewinder-x2-2022.cfgFrank Roth2022-12-111-2/+2
| | | | | | | Minor fix. The screw labels "back left" and "back right" where swapped in [screws_tilt_adjust] section. Signed-off-by: Frank Roth <developer@freakydu.de>
* parsedump: Support running on both python2 and python3Kevin O'Connor2022-12-072-14/+12
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: add STM32H723 supportbigtreetech2022-12-025-61/+119
| | | | | Signed-off-by: Chen.BJ from BigTreeTech chenbj@biqu3d.com Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: update lib/stm32h7 to v1.9.0 for stm32h723bigtreetech2022-12-0223-401/+149374
| | | | Signed-off-by: Chen.BJ from BigTreeTech chenbj@biqu3d.com
* stm32g4: implement build,usb,can,i2c,spi,serial,adc.Matt Baker2022-12-0212-20/+320
| | | | Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* stm32g4: add lib from stm32cubeg4 v1.4.0Matt Baker2022-12-0214-0/+147028
| | | | Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* corexz: Multiple steppers per axis on CoreXZNeko-vecter2022-12-021-7/+6
| | | | | | Allowing multiple steppers per axis. Signed-off-by: Vecter Fang <vecterfang@icloud.com>
* docs: Note the release of v0.11.0Kevin O'Connor2022-11-281-0/+25
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add a note about hardware independence to Features.mdKevin O'Connor2022-11-281-1/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Updates to Features.mdKevin O'Connor2022-11-281-6/+11
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update to latest can2040 codeKevin O'Connor2022-11-232-1/+3
| | | | | | | Clear PIO irq flags in pio_sm_setup() Set TXPENDING during pio_sm_setup() Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Minor update to safe_z_home change description in Config_Changes.mdKevin O'Connor2022-11-221-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* safe_z_home: Fix final z hop to use relative z coordinates (#5879)redstone992022-11-222-1/+10
| | | | | | | | | | | After a G28 z-axis homing, there is a final z hop. It was hoping to height z_hop as an absolute z height rather than relative. If the z-axis home leaves the head at a z height higher than z_hop, e.g. because you were using a probe to do z homing, this meant that it was z hopping in the negative z direction, which could result in crashing the toolhead. Signed-off-by: Joshua Redstone <redstone@gmail.com>
* lib: Update to latest can2040 codeKevin O'Connor2022-11-212-62/+76
| | | | | | | | | | Fix PIO "sync" register overflow check Reduce latency of tx scheduling Clear ackdone irq from report_note_eof_success() Defer ack inject until after rx fifo drained Improve passive/dominant bit conflict check on tx reschedule Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update to latest can2040 codeKevin O'Connor2022-11-193-82/+99
| | | | | | | | | | | | Minor comment change to unstuf_pull_bits() Introduce unstuf_get_raw() helper function Move crc stuffed bit calculation to data_state_go_crc() Restore stuffed_bits state on missing ack Use a single pio_irq_set() function Reschedule tx if previous tx unexpectedly finished transmit Simplify report_state handling Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Fix watchdog enableKevin O'Connor2022-11-191-0/+3
| | | | | | | | | | | | The rp2040 watchdog does not actually reset anything by default. The psm_hw->wdsel field must be programmed to actually get a reset on a watchdog failure. Program that field so the watchdog is usable. Also, disable the watchdog before attempting a reboot into the bootloader. Otherwise the machine may just reboot a second time due to a missed watchdog event in the bootloader. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Fix boundary check for max gpio pinKevin O'Connor2022-11-191-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mpu9250: add MPU6500 (#5767)Yifei Ding2022-11-195-18/+106
| | | Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
* .github: Minor update to github issue chooserKevin O'Connor2022-11-151-1/+1
| | | | | | Clarify that the Contact.md contains "Contact Directions". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* .github: Remove custom issue templateKevin O'Connor2022-11-151-6/+0
| | | | | | | Remove the custom.md github issue template so that github only shows the choices listed in the config.yml file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Contacts.md with improved github issue tracker descriptionKevin O'Connor2022-11-151-39/+31
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Create printer-anet-a8-2019.cfg (#5902)Bradley Methorst2022-11-152-0/+93
| | | | | Added config for Anet A8 2019 (Plus model) Signed-off-by: Bradley Methorst <bradley-methorst@outlook.com>
* config: Rename printer-geeetech-301.cfg to printer-geeetech-301-2019.cfgKevin O'Connor2022-11-142-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_mesh: disallow null profile namesEric Callahan2022-11-111-0/+6
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* config: Remove filament specific settings from printer-geeetech-301.cfgKevin O'Connor2022-11-111-9/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: create config for Geeetech 301 (#5830)Peter Gruber2022-11-112-0/+164
| | | | | Create a working config for the Geeetech 301 printer. Signed-off-by: Peter Gruber <gruberp@googlemail.com>
* linux: use correct gpio bias flags (#5878)Eric Callahan2022-11-081-3/+3
| | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* rp2040: Support CanBoot as bootloaderKevin O'Connor2022-11-083-14/+41
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_reset: Introduce Kconfig FLASH_BOOT_ADDRESS valueKevin O'Connor2022-11-088-6/+26
| | | | | | | Specify the arm architecture flash bootup address for each chip type in Kconfig using a new FLASH_BOOT_ADDRESS setting. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* fdcan: Remove spurious executable flag on fdcan.cKevin O'Connor2022-11-042-0/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: Conditional display of common Control utilsGrigi2022-11-031-3/+24
| | | | | | | | | | This will hide features in the Klipper Display menu that isn't applicable for the machine, therefore we can add extra alignment tools in the Control menu as well. Also conditionally displays Setup/Calibration options. Signed-off-by: Nickolas Grigoriadis <nagrigoriadis@gmail.com>
* stm32: Use consistent memory position/size on stm32h743Kevin O'Connor2022-11-021-3/+1
| | | | | | | Use the same memory start address and size on both stm32h750 and stm32h743. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Use stm32f0_serial.c on stm32h7 chipsKevin O'Connor2022-10-313-110/+36
| | | | | | | The stm32h7 uses similar usart hardware as the stm32f0 and stm32g0 chips. Use the same code implementation for all these chips. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: fix USART ORE status flag handlingAlex Voinea2022-10-313-3/+8
| | | | | | | | | | | If an USART RX overrun happened on a stm32g0/f0/h7, the ORE flag would get set by hardware. This flag would also trigger an interrupt. The problem was that this flag was never cleared on these 3 mcu families since the ORE flag clear sequence is different to all of the older chips. Since the ORE flag is not used in any meaningful way anyway, it was disabled during the init sequence. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* adxl345: Apply correct scaling for X,Y and Z axesDmitry Butyugin2022-10-251-3/+4
| | | | | | | | According to ADXL345/ADXL343 datasheets, at 3.3V supply voltage, which is most frequent in the various boards, the sensitivity of X and Y axes changes to 265 LSB/g from 256 LSB/g at 2.5V. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* docs: Add a note about fixing underlying bugs in CONTRIBUTING.mdKevin O'Connor2022-10-251-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add Artillery Sidewinder X2 2022 stock printer.cfg (#5810)freakyDude2022-10-213-0/+163
| | | | | | | | | | Works for unmodified stock Artillery Sidewinder X2, year 2022 with Artillery Ruby v1.2 mainboard. All by default connected things are working fine. Build firmware with architecture STM32F401 with "No bootloader". Other settings keep ther defaults Signed-off-by: Frank Roth <developer@freakydu.de>
* docs: Add step rate benchmark for stm32h7D4SK2022-10-212-0/+21
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Enable instruction and data cache on stm32h7D4SK2022-10-211-0/+3
| | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net>
* toolhead: Capture current junction_deviation in a Move classDmitry Butyugin2022-10-171-3/+4
| | | | | | | If a maximum acceleration is changed between two consecutive moves, this allows to correctly compute the junction velocity between them. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* stm32: Remove incorrect "spi3" definition from stm32h7Kevin O'Connor2022-10-171-4/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Update to fix SKR-3 config (#5827)JamesH19782022-10-131-2/+3
| | | | | it seems I made an error with my code for the SKR 3, and I copied the code from the wrong host , this PR fixes that. I have just retested with the right code and works as expected, this is confirmed by @adelyser who brought the issue to my attention. Signed-off-by: James Hartley <james@hartleyns.com>