Skip to content

Commit

Permalink
Merge pull request #2303 from lf-lang/rp2040-fixes
Browse files Browse the repository at this point in the history
Fixed CMake generator for pico platform
  • Loading branch information
lhstrh authored Jun 3, 2024
2 parents 2873a18 + 4657c87 commit 8d9e7bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,9 @@ private static String setUpMainTargetRp2040(
code.pr("pico_sdk_init()");
code.newLine();
code.pr("add_subdirectory(core)");
code.pr("target_link_libraries(core PUBLIC pico_stdlib)");
code.pr("target_link_libraries(core PUBLIC pico_multicore)");
code.pr("target_link_libraries(core PUBLIC pico_sync)");
code.pr("target_link_libraries(reactor-c PUBLIC pico_stdlib)");
code.pr("target_link_libraries(reactor-c PUBLIC pico_multicore)");
code.pr("target_link_libraries(reactor-c PUBLIC pico_sync)");
code.newLine();
code.pr("set(LF_MAIN_TARGET " + executableName + ")");

Expand Down

0 comments on commit 8d9e7bd

Please sign in to comment.