aboutsummaryrefslogtreecommitdiffstats
path: root/src/rp2040
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-04-07 12:40:47 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-04-17 12:09:19 -0400
commit871637d3f2362ce839f3018040eda670f6a10dd9 (patch)
tree8c39596cb4bcc4b8c21c2de33ab52e099b809db5 /src/rp2040
parent0fbcc156c5ec30b5f8a2bac3ee5e4ca9a635ab69 (diff)
downloadkutter-871637d3f2362ce839f3018040eda670f6a10dd9.tar.gz
kutter-871637d3f2362ce839f3018040eda670f6a10dd9.tar.xz
kutter-871637d3f2362ce839f3018040eda670f6a10dd9.zip
Kconfig: Note which chips require software divide operations
Add a new HAVE_SOFTWARE_DIVIDE_REQUIRED that indicates which chips require software divide. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/rp2040')
-rw-r--r--src/rp2040/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rp2040/Kconfig b/src/rp2040/Kconfig
index 97c31b85..8415592d 100644
--- a/src/rp2040/Kconfig
+++ b/src/rp2040/Kconfig
@@ -14,6 +14,8 @@ config RPXXXX_SELECT
select HAVE_GPIO_HARD_PWM
select HAVE_STEPPER_OPTIMIZED_BOTH_EDGE
select HAVE_BOOTLOADER_REQUEST
+ # Software divide needed on rp2040 in spi rate, i2c rate, hard_pwm rate
+ select HAVE_SOFTWARE_DIVIDE_REQUIRED if MACH_RP2040
config BOARD_DIRECTORY
string