Skip to content

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

License

Notifications You must be signed in to change notification settings

protik09/CoreMark-RP2040

Repository files navigation

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

  • Add multi-core support to the benchmark.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages