Skip to content

Commit

Permalink
Autogenerated - Upstream 628648f
Browse files Browse the repository at this point in the history
  • Loading branch information
Klippy-Tools-Bot committed Nov 14, 2024
1 parent e868ee3 commit 790f228
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion klippy/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
599a71d
628648f
26 changes: 19 additions & 7 deletions klippy/docs/Benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,9 @@ micro-controller.
| 1 stepper | 85 |
| 3 stepper | 359 |

### RP2040 step rate benchmark
### RPxxxx step rate benchmark

The following configuration sequence is used on the RP2040:
The following configuration sequence is used on the RP2040 and RP2350:

```
allocate_oids count=3
Expand All @@ -407,15 +407,26 @@ config_stepper oid=2 step_pin=gpio27 dir_pin=gpio5 invert_step=-1 step_pulse_tic
finalize_config crc=0
```

The test was last run on commit `59314d99` with gcc version
`arm-none-eabi-gcc (Fedora 10.2.0-4.fc34) 10.2.0` on a Raspberry Pi
Pico board.
The test was last run on commit `f6718291` with gcc version
`arm-none-eabi-gcc (Fedora 14.1.0-1.fc40) 14.1.0` on Raspberry Pi
Pico and Pico 2 boards.

| rp2040 | ticks |
| rp2040 (*) | ticks |
| -------------------- | ----- |
| 1 stepper | 5 |
| 3 stepper | 22 |

| rp2350 | ticks |
| -------------------- | ----- |
| 1 stepper | 36 |
| 3 stepper | 169 |

(*) Note that the reported rp2040 ticks are relative to a 12Mhz
scheduling timer and do not correspond to its 125Mhz internal ARM
processing rate. It is expected that 5 scheduling ticks corresponds to
~47 ARM core cycles and 22 scheduling ticks corresponds to ~224 ARM
core cycles.

### Linux MCU step rate benchmark

The following configuration sequence is used on a Raspberry Pi:
Expand Down Expand Up @@ -476,7 +487,8 @@ hub.
| sam4s8c (USB) | 650K | 8d4a5c16 | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 |
| samd51 (USB) | 864K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 |
| stm32f446 (USB) | 870K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 |
| rp2040 (USB) | 873K | c5667193 | arm-none-eabi-gcc (Fedora 10.2.0-4.fc34) 10.2.0 |
| rp2040 (USB) | 885K | f6718291 | arm-none-eabi-gcc (Fedora 14.1.0-1.fc40) 14.1.0 |
| rp2350 (USB) | 885K | f6718291 | arm-none-eabi-gcc (Fedora 14.1.0-1.fc40) 14.1.0 |

## Host Benchmarks

Expand Down
1 change: 1 addition & 0 deletions klippy/docs/Features.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ represent total number of steps per second on the micro-controller.
| AR100 | 3529K | 2507K |
| STM32F407 | 3652K | 2459K |
| STM32F446 | 3913K | 2634K |
| RP2350 | 4167K | 2663K |
| SAME70 | 6667K | 4737K |
| STM32H743 | 9091K | 6061K |

Expand Down
2 changes: 1 addition & 1 deletion klippy/extras/temperature_mcu.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def handle_mcu_identify(self):
self.mcu_type = mcu.get_constants().get("MCU", "")
# Run MCU specific configuration
cfg_funcs = [
('rp2040', self.config_rp2040),
('rp2', self.config_rp2040),
('sam3', self.config_sam3), ('sam4', self.config_sam4),
('same70', self.config_same70), ('samd21', self.config_samd21),
('samd51', self.config_samd51), ('same5', self.config_samd51),
Expand Down
2 changes: 1 addition & 1 deletion testcases/configs/rp2040.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Base config file for rp2040 boards
CONFIG_MACH_RP2040=y
CONFIG_MACH_RPXXXX=y

0 comments on commit 790f228

Please sign in to comment.