Skip to content

Commit d627c48

Browse files
committed
Build critical RP2040 for Pico-SDK too
1 parent 882d55a commit d627c48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

builder/frameworks/picosdk.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,13 @@ def configure_printf_impl():
452452
env.Append(
453453
CPPPATH=[
454454
join(FRAMEWORK_DIR, "src", "rp2_common", "hardware_rtc", "include"),
455+
join(FRAMEWORK_DIR, "src", "rp2040", "pico_platform", "include"),
455456
])
457+
env.BuildSources(
458+
join("$BUILD_DIR", "PicoSDKRP2040Platform"),
459+
join(FRAMEWORK_DIR, "src", "rp2040", "pico_platform")
460+
)
461+
456462

457463
for component, src_filter in default_common_rp2_components:
458464
env.BuildSources(

0 commit comments

Comments
 (0)