Commit Graph

4831 Commits

Author SHA1 Message Date
Kevin O'Connor d2a1dcbbf3 docs: Update Contacts.md with improved github issue tracker description
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-11-15 16:54:19 -05:00
Bradley Methorst 3fb984e152
config: Create printer-anet-a8-2019.cfg (#5902)
Added config for Anet A8 2019 (Plus model)

Signed-off-by: Bradley Methorst <bradley-methorst@outlook.com>
2022-11-15 13:56:14 -05:00
Kevin O'Connor d883c57d77 config: Rename printer-geeetech-301.cfg to printer-geeetech-301-2019.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-11-14 11:30:27 -05:00
Eric Callahan 5e34b45063 bed_mesh: disallow null profile names
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-11-11 14:27:47 -05:00
Kevin O'Connor 6be0ba78ae config: Remove filament specific settings from printer-geeetech-301.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-11-11 14:12:20 -05:00
Peter Gruber 0233dd32cc
config: create config for Geeetech 301 (#5830)
Create a working config for the Geeetech 301 printer.

Signed-off-by: Peter Gruber <gruberp@googlemail.com>
2022-11-11 14:08:19 -05:00
Eric Callahan 5b1a667659
linux: use correct gpio bias flags (#5878)
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-11-08 09:56:52 -05:00
Kevin O'Connor 6485ff800b rp2040: Support CanBoot as bootloader
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-11-08 09:53:04 -05:00
Kevin O'Connor 42e9adcfc9 armcm_reset: Introduce Kconfig FLASH_BOOT_ADDRESS value
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>
2022-11-08 09:53:04 -05:00
Kevin O'Connor 11dd273b34 fdcan: Remove spurious executable flag on fdcan.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-11-04 11:15:32 -04:00
Grigi 342d3f1414 menu: Conditional display of common Control utils
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>
2022-11-03 16:05:24 -04:00
Kevin O'Connor 762e2c49c7 stm32: Use consistent memory position/size on stm32h743
Use the same memory start address and size on both stm32h750 and
stm32h743.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-11-02 15:35:50 -04:00
Kevin O'Connor 972ae4ab7c stm32: Use stm32f0_serial.c on stm32h7 chips
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>
2022-10-31 15:12:30 -04:00
Alex Voinea 26e6ade175 stm32: fix USART ORE status flag handling
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>
2022-10-31 13:50:15 -04:00
Dmitry Butyugin 96ea871b35 adxl345: Apply correct scaling for X,Y and Z axes
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>
2022-10-25 14:41:00 -04:00
Kevin O'Connor d46c95b758 docs: Add a note about fixing underlying bugs in CONTRIBUTING.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-25 11:53:55 -04:00
freakyDude ebc3b0def3
config: Add Artillery Sidewinder X2 2022 stock printer.cfg (#5810)
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>
2022-10-21 21:03:57 -04:00
D4SK a65e04aff7 docs: Add step rate benchmark for stm32h7
Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-21 20:33:28 -04:00
D4SK 00191b5cc4 stm32: Enable instruction and data cache on stm32h7
Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net>
2022-10-21 20:29:12 -04:00
Dmitry Butyugin 0d9b2cc1fa toolhead: Capture current junction_deviation in a Move class
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>
2022-10-17 11:08:56 -04:00
Kevin O'Connor e4c8a24711 stm32: Remove incorrect "spi3" definition from stm32h7
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-17 11:01:05 -04:00
JamesH1978 638303b396
spi_flash: Update to fix SKR-3 config (#5827)
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>
2022-10-13 19:35:07 -04:00
Kevin O'Connor 2bffa925c8 workflows: Lock comments on old PRs (no activity in a year)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 17:27:03 -04:00
Kevin O'Connor 6cc104677e lib: Update to latest can2040 code
Fix gpio function selection for PIO1 usage.
Minor variable name changes.
Allow scheduling tx "matched" event after a crc match.
Allow for up to 5 passive bits after unstuf_clear_state().
Pause PIO "rx" bit reception after 10 passive bits.
Signal the CPU to process data every 10 read bits.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 17:11:57 -04:00
Kevin O'Connor eb9cda91b5 config: Update duet3 mini config to recommend compiling for SAME54P20
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:32:43 -04:00
Kevin O'Connor 4b77f29c1b atsamd: Add support CANbus on ATSAME5x chips
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:28:27 -04:00
Kevin O'Connor 0a9becc391 atsamd: Move bootloader_request() from usbserial.c to main.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:27:14 -04:00
Kevin O'Connor bdf79caac4 atsamd: Add Kconfig definitions for same51j19 and same54p20 chips
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:27:14 -04:00
Kevin O'Connor 69bd26b757 lib: Add atmel same51 and same54 build definitions
This also replaces the samd51 component files with the definitions
from the same54 repository.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:27:14 -04:00
Kevin O'Connor 960fd0b1f3 lib: Remove unused gcc/ directories from samd21 and samd51 directories
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:27:14 -04:00
Kevin O'Connor 2c6671d8e1 stm32: Protect message ram with barrier() calls instead of voltaile in fdcan.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:21:37 -04:00
Kevin O'Connor ef98cd9aba stm32: No need for fdcan_ram global pointer in fdcan.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:21:37 -04:00
Kevin O'Connor 465aaf383f stm32: Minor code movement in fdcan.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:21:37 -04:00
Kevin O'Connor 2d4ce1b9b1 test: Add btt manta config files to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:16:59 -04:00
BIGTREETECH c51e87c11c
config: Add BigTreeTech Manta M4P & M8P board (#5812)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
2022-10-13 11:08:44 -04:00
Apulo 7290c14531
config: Update generic-th3d-ezboard-lite-v2.0.cfg (#5785)
Corrected the build instructions for the TH3D EZBoard V2 to include the command to convert Klipper.elf to a SREC bin format named firmware.bin. The SREC format is required for the bootloader installed on the board.

Signed-off-by: Anthony Dellett <anthony.dellett@gmail.com>
2022-10-06 11:16:13 -04:00
JamesH1978 5fad485b13
spi_flash: Add SKR2, SKR3 and Creality 4.2.2/7 to spi_flash (#5807)
As discussed with Arksine, he has created new working settings for the Creality 4.2.x boards as the original 4.2.7 entry did not work, plus addition of SKR2 and SKR3. Tested on 4.2.2 and SKR2 and SKR3EZ.

These are using the new skip_verify functionality that was recently merged due to them using SDIO

Also removed a double definition for `monster8` it was in main definitions and aliased.

Signed-off-by: James Hartley <james@hartleyns.com>
2022-10-05 15:05:58 -04:00
Stefan Dej b0ffb269d2
print_stats: add `SET_PRINT_STATS_INFO` G-Code for pass slicer variables to Klipper (#5726)
This adds a gcode command that can be used insight the slicer to pass the total layer count and current layer information.

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-10-05 15:02:28 -04:00
alchemyEngine a2482d4f95 z_thermal_adjust: get_temp hotfix
M105 expects get_temp method. Module crashes when gcode_id parameter
is set and M105 called. Add methods as hotfix.

Signed-off-by: Robert Pazdzior <robertp@norbital.com>
2022-09-30 11:19:01 -04:00
Kevin O'Connor 6288da13ac rp2040: Suppress spurious gcc v12 array bounds warning
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-29 11:03:22 -04:00
alchemyEngine 34870d3e2a
z_thermal_adjust: Add Z thermal adjuster module (#4157)
Use a frame-coupled temperature probe to compensate for thermal
expansion in real-time.

Signed-off by: Robert Pazdzior <robertp@norbital.com>
2022-09-25 12:39:14 -04:00
Kevin O'Connor 51da02b7f8 thermocouple: Only shutdown on multiple consecutive sensor errors
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-23 11:56:20 -04:00
Kevin O'Connor ec5719585e spi_temperature: Separate out fault handling from temperature calculation
Introduce a new handle_fault() method to handle processing of sensor
faults.  This simplifies the calc_temp() methods.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-23 11:56:18 -04:00
Kevin O'Connor 4e930294b8 thermocouple: Report fault information in fault field
Send the fault information explicitly in the query_thermocouple fault
field for max6675, max31855, and max31865.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-23 11:55:43 -04:00
Kevin O'Connor ddb59440a8 logextract: Improve detection of clock and tmc uart parameters
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-20 11:08:54 -04:00
Fisheiyy 7527e57e5a
config: Add Ender 3 S1 Plus (#5705)
Signed-off-by: Rob Casper <myallneedsemail@gmail.com>
2022-09-16 12:06:49 -04:00
Matt Baker d9c917b950 stm32l4: add stm32l412 support with adc,i2c,spi,usb
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
2022-09-15 11:51:26 -04:00
Matt Baker 57b0eb5d43 stm32l4: copy libs from STM32CubeL4 v1.17.0
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
2022-09-15 11:51:26 -04:00
Kevin O'Connor 8cdb2278d7 docs: Add an example corexy homing macro to TMC_Drivers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-14 17:49:25 -04:00
Kevin O'Connor 79be427757 docs: Reword sensorless homing high sensitivity test in TMC_Drivers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-14 17:13:48 -04:00