I got a bench mark from this website
https://www.eembc.org/coremark/index.php
this is to check the performance of microcontroller the code is available at github
https://github.com/eembc/coremark
I have a linux 32 bit and eclipse neon does anyone have tried this benchmark or willing to ?
does anyone know how to do cross compilation in this particular case ?
challenging task (Benchmak)
Re: challenging task (Benchmak)
I spent a couple of minutes looking at the source and it seems to be vanilla C. What that means is that it should be able to be compiled and run quite easily. What I recommend you do is become familiar with the ESP-IDF and its associated build tools. You should then be able to create a "normal" ESP-IDF application and copy in the source files and run the ESP-IDF supplied make which will compile the source.
Treat the puzzle as follows (opinion):
1. Learn how to build an "ordinary" ESP-IDF application written in C.
2. Learn how to flash that application to an ESP32 and run it.
3. Take what you have learned and copy the source files from your Github repository and build/compile/flash/run those.
The docs for ESP32 ESP-IDF can be found here:
https://esp-idf.readthedocs.io/en/latest/
Now, it may be that someone has already built the binary for this application and could provide that to you ... but it no-one claims to have done such, then the above will be your best (opinion) path.
Treat the puzzle as follows (opinion):
1. Learn how to build an "ordinary" ESP-IDF application written in C.
2. Learn how to flash that application to an ESP32 and run it.
3. Take what you have learned and copy the source files from your Github repository and build/compile/flash/run those.
The docs for ESP32 ESP-IDF can be found here:
https://esp-idf.readthedocs.io/en/latest/
Now, it may be that someone has already built the binary for this application and could provide that to you ... but it no-one claims to have done such, then the above will be your best (opinion) path.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 20
- Joined: Sat May 12, 2018 5:02 pm
Re: challenging task (Benchmak)
having this error
make -j8 all
/bin/sh: 1: [[: not found
/bin/sh: 1: [[: not found
Makefile:45: *** PLEASE define PORT_DIR! (e.g. make PORT_DIR=simple). Stop.
linux 32bit
eclipse neon
board ESP32 DevkitC
make -j8 all
/bin/sh: 1: [[: not found
/bin/sh: 1: [[: not found
Makefile:45: *** PLEASE define PORT_DIR! (e.g. make PORT_DIR=simple). Stop.
linux 32bit
eclipse neon
board ESP32 DevkitC
Re: challenging task (Benchmak)
Have you followed the recipes described in the getting started section here:
https://esp-idf.readthedocs.io/en/lates ... index.html
Are you able to build a sample ESP32 ESP-IDF application?
Maybe if we can find a problem building an arbitrary app from these instructions we might spot something.
https://esp-idf.readthedocs.io/en/lates ... index.html
Are you able to build a sample ESP32 ESP-IDF application?
Maybe if we can find a problem building an arbitrary app from these instructions we might spot something.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 1
- Joined: Wed Jul 24, 2019 6:40 am
Re: challenging task (Benchmak)
I tried to port the coremark benchmark to the esp32, but I am receiving a "Stack smashing protect failure" at some point of the execution.
You find the sources at https://github.com/wawtg/esp32-coremark
It would be nice to have a coremark result for the esp32, but I do not manage to find the issue.
If it is working, it could also be ported to use both cores, since the benchmark provides this.
You find the sources at https://github.com/wawtg/esp32-coremark
It would be nice to have a coremark result for the esp32, but I do not manage to find the issue.
If it is working, it could also be ported to use both cores, since the benchmark provides this.
Re: challenging task (Benchmak)
Increase task's stack size.Stack smashing protect failure
Re: challenging task (Benchmak)
I did the port. You can have a look here:
viewtopic.php?t=14932
or
https://github.com/ochrin/coremark/tree/esp32
viewtopic.php?t=14932
or
https://github.com/ochrin/coremark/tree/esp32
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 128 guests