Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4634

C/C++ • Finding CLOCKS_PER_SEC

$
0
0
I am using CMAKE and FreeRTOS on a Pico. Eventually it gets around to compiling the runtime system, specifically pico-sdk/src/rp2_common/pico_runtime/runtime.c. But it does not see a definition for CLOCKS_PER_SEC. I did not write the CMakeLists.txt file for that - it is just part of the pico-sdk, but clearly it is not picking up the correct header files for the RP2040 hardware.

What do I put in my top level cmake files so it will find the right ones?

Statistics: Posted by TinyComputers — Sat Jun 22, 2024 4:00 pm — Replies 2 — Views 87



Viewing all articles
Browse latest Browse all 4634

Trending Articles