From 8090d365f640eb6c6e6157adefbfe94e37d6227f Mon Sep 17 00:00:00 2001
From: Kevin O'Connor <kevin@koconnor.net>
Date: Mon, 27 Dec 2021 10:47:52 -0500
Subject: [PATCH] docs: Add stm32g0b1 to benchmarks

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
---
 docs/Benchmarks.md | 19 +++++++++++++++++++
 docs/Features.md   |  1 +
 2 files changed, 20 insertions(+)

diff --git a/docs/Benchmarks.md b/docs/Benchmarks.md
index c1f298cd5..7149c64ad 100644
--- a/docs/Benchmarks.md
+++ b/docs/Benchmarks.md
@@ -248,6 +248,25 @@ results were obtained by running an STM32F407 binary on an STM32F446
 | 1 stepper            | 46    |
 | 3 stepper            | 205   |
 
+### STM32G0B1 step rate benchmark
+
+The following configuration sequence is used on the STM32G0B1:
+```
+allocate_oids count=3
+config_stepper oid=0 step_pin=PB13 dir_pin=PB12 invert_step=-1 step_pulse_ticks=0
+config_stepper oid=1 step_pin=PB10 dir_pin=PB2 invert_step=-1 step_pulse_ticks=0
+config_stepper oid=2 step_pin=PB0 dir_pin=PC5 invert_step=-1 step_pulse_ticks=0
+finalize_config crc=0
+```
+
+The test was last run on commit `247cd753` with gcc version
+`arm-none-eabi-gcc (Fedora 10.2.0-4.fc34) 10.2.0`.
+
+| stm32f042        | ticks |
+| ---------------- | ----- |
+| 1 stepper        | 58    |
+| 3 stepper        | 243   |
+
 ### LPC176x step rate benchmark
 
 The following configuration sequence is used on the LPC176x:
diff --git a/docs/Features.md b/docs/Features.md
index 2ba6e23e3..2303132c1 100644
--- a/docs/Features.md
+++ b/docs/Features.md
@@ -164,6 +164,7 @@ represent total number of steps per second on the micro-controller.
 | Arduino Zero (SAMD21)           | 686K              | 471K              |
 | STM32F042                       | 814K              | 578K              |
 | Beaglebone PRU                  | 866K              | 708K              |
+| STM32G0B1                       | 1103K             | 790K              |
 | "Blue Pill" (STM32F103)         | 1180K             | 818K              |
 | Arduino Due (SAM3X8E)           | 1273K             | 981K              |
 | Duet2 Maestro (SAM4S8C)         | 1690K             | 1385K             |