Skip to content

Commit 38cc993

Browse files
committed
[rp2040] check delay tune
1 parent ea5d389 commit 38cc993

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/generic/delay/project.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<!-- <extends>modm:nucleo-l432kc</extends> -->
1818
<!-- <extends>modm:nucleo-l476rg</extends> -->
1919
<!-- <extends>modm:samd21-mini</extends> -->
20+
<!-- <extends>modm:rp-pico</extends> -->
2021
<options>
2122
<option name="modm:build:build.path">../../../build/generic/delay</option>
2223
<option name="modm:io:with_printf">true</option>

src/modm/platform/core/rp/module.lb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ def build(env):
4242
env.template("startup_platform.cpp.in")
4343

4444
# delay code that must be tuned for each family
45-
# (cycles per loop, setup cost in loops, max cpu frequency)
45+
# (cycles per loop, setup cost in loops)
4646
tuning = {
47-
"rp20": (3, 4, 48), # @todo
47+
"rp20": (3, 4)
4848
}["{}{}".format(target.platform,target.family)]
4949

5050
# us_shift is an optimization to limit error via fractional math

0 commit comments

Comments
 (0)