protik09 / CoreMark-RP2040

This is the COREMARK® embedded benchmark ported by me to the RP2040 chip from the folks over at Raspberry Pi.
Apache License 2.0
12 stars 2 forks source link
benchmark c embedded embedded-c embedded-systems raspberry raspberrypi-pico rp2040 rpi-pico

CoreMark RP2040❤️

Build Status GitHub release (latest by date) GitHub stars

Coremark_RP2040_logo

This is the COREMARK® embedded benchmark ported for the RP2040 chip from the folks over at Raspberry Pi.

How to Use

Ensure that the Pico C/C++ SDK environment variables are set properly and you have cmake installed.

For Linux check here: Static Badge

For Windows, the setup files can be found here: Static Badge

For Microsoft Windows

Windows Terminal

Add the PICO_INSTALL_PATH to User Environment Variables.

For example, if you have installed the SDK in "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1" then add PICO_INSTALL_PATH as C:\Program Files\Raspberry Pi\Pico SDK v1.5.1 to User Environment Variables.

Then run the following commands in CMD in the project directory.

scripts/setup_env.bat

You can use the following command to clean the project directory.

make clean || ./scripts/clean.bat

You can use the following command to build the project.

make all || cmake . && ninja build

The useful files will be in the artifacts_to_upload directory.

For Linux

Shell Script

make all

The useful files will be in the artifacts_to_upload directory.

Copy the Coremark-RP2040.uf2 file to the RP2040 board.

Open a Serial Monitor at 115200 baud (or just maximum USB speed)

IMPORTANT: Press any key to start single core benchmark.

RELEASES

Static Badge

TODO