summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDryw Wade <dryw.wade@sparkfun.com>2024-11-09 15:04:35 -0700
committerDamien George <damien@micropython.org>2025-01-11 14:23:51 +1100
commit7964a435ea8cafed185e41eeb6dc24b269773650 (patch)
tree2093eb65558dbd91535ce10347118c6f58bed29d
parent065d45f9ec7d5597bfcfe075d45abb76197c1319 (diff)
rp2/machine_bitstream: Tweak MP_HAL_BITSTREAM_NS_OVERHEAD for RP2350.
See https://github.com/micropython/micropython/issues/16190#issuecomment-2466155919 Signed-off-by: Dryw Wade <dryw.wade@sparkfun.com>
-rw-r--r--ports/rp2/machine_bitstream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/rp2/machine_bitstream.c b/ports/rp2/machine_bitstream.c
index 4ef97f0c8..8411179f1 100644
--- a/ports/rp2/machine_bitstream.c
+++ b/ports/rp2/machine_bitstream.c
@@ -32,7 +32,11 @@
#if MICROPY_PY_MACHINE_BITSTREAM
+#if PICO_RP2350
+#define MP_HAL_BITSTREAM_NS_OVERHEAD (5)
+#else
#define MP_HAL_BITSTREAM_NS_OVERHEAD (9)
+#endif
#if PICO_RISCV