https://github.com/protik09/coremark-rp2040
This is the COREMARK® embedded benchmark ported by me to the RP2040 chip from the folks over at Raspberry Pi.
https://github.com/protik09/coremark-rp2040
benchmark c embedded embedded-c embedded-systems raspberry raspberrypi-pico rp2040 rpi-pico
Last synced: 10 days ago
JSON representation
This is the COREMARK® embedded benchmark ported by me to the RP2040 chip from the folks over at Raspberry Pi.
- Host: GitHub
- URL: https://github.com/protik09/coremark-rp2040
- Owner: protik09
- License: apache-2.0
- Created: 2021-03-18T23:57:20.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T00:22:08.000Z (about 1 year ago)
- Last Synced: 2024-04-12T10:13:07.185Z (about 1 year ago)
- Topics: benchmark, c, embedded, embedded-c, embedded-systems, raspberry, raspberrypi-pico, rp2040, rpi-pico
- Language: C
- Homepage:
- Size: 246 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CoreMark RP2040❤️
  [](https://github.com/username/repository/stargazers)

This is the [COREMARK®](https://github.com/eembc/coremark) embedded benchmark ported for the [RP2040](https://github.com/raspberrypi/pico-sdk)
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: [](https://github.com/raspberrypi/pico-sdk
)For Windows, the setup files can be found here: [](https://github.com/raspberrypi/pico-setup-windows/releases/latest/download/pico-setup-windows-x64-standalone.exe
)### For Microsoft Windows

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.
```cmd
scripts/setup_env.bat
```You can use the following command to clean the project directory.
```cmd
make clean || ./scripts/clean.bat```
You can use the following command to build the project.
```cmd
make all || cmake . && ninja build
```The useful files will be in the **artifacts_to_upload** directory.
### For Linux

```bash
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
[](https://github.com/protik09/CoreMark-RP2040/releases/latest)
## TODO
* Add multi-core support to the benchmark.