This is the COREMARK® embedded benchmark ported for the RP2040 chip from the folks over at Raspberry Pi.
Ensure that the Pico C/C++ SDK environment variables are set properly and you have cmake installed.
For Windows, the setup files can be found here:
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.
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.
- Add multi-core support to the benchmark.