Created
October 15, 2022 03:00
-
-
Save agrif/eb1b99e355488b18d3b4306804683523 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bluegrass Kitchen Sink | |
Run `help` to list commands. | |
> help | |
Main | |
==== | |
help show this help text | |
test run the built-in test | |
EEMBC CoreMark | |
============== | |
coremark run the EEMBC CoreMark benchmark | |
On-board LED | |
============ | |
led on turn LED on | |
led off turn LED off | |
led blink blink LED | |
VBUS sensing | |
============ | |
vbus get read VBUS pin | |
Real-time Clock | |
=============== | |
rtc get read the RTC | |
rtc get epoch read the RTC as unix time | |
rtc get weekday get the weekday | |
rtc set date <int:year> <int:month> <int:day> | |
set the RTC date | |
rtc set time <int:hour> <int:minute> <int:second> | |
set the RTC time | |
rtc set epoch <int:epoch> | |
set the RTC time as unix time | |
Fuel Gauge (MAX17048) | |
===================== | |
fuel info get the fuel IC info | |
fuel get get the fuel state | |
I2C Bus (STEMMA) | |
================ | |
i2c read <int:address> <int:bytes> | |
read bytes from device | |
i2c write <int:address> <int:byte> | |
write a byte to device | |
SD Card | |
======= | |
sd info get card info | |
sd ls <path> get card info | |
sd write <filename> <contents> | |
write a file | |
sd read <filename> read a file | |
sd rm <filename> delete a file | |
> test | |
[On-board LED] turn on [ok] | |
[On-board LED] turn off [ok] | |
[On-board LED] blink [ok] | |
[VBUS sensing] checking [ok] | |
[Real-time Clock] sanity check [ok] | |
[Real-time Clock] timing check [ok] | |
[Real-time Clock] set and get [ok] | |
[Fuel Gauge (MAX17048)] connecting [ok] | |
[Fuel Gauge (MAX17048)] checking version [ok] | |
[Fuel Gauge (MAX17048)] voltage sanity check [ok] | |
[SD Card] connect [ok] | |
[SD Card] write [ok] | |
[SD Card] read [ok] | |
[SD Card] delete [ok] | |
All 14 tests succeeded. | |
> coremark | |
EEMBC CoreMark Performance Benchmark | |
CoreMark measures how quickly your processor can manage linked | |
lists, compute matrix multiply, and execute state machine code. | |
Iterations/Sec is the main benchmark result, higher numbers are better | |
Running.... (usually requires 12 to 20 seconds) | |
2K performance run parameters for coremark. | |
CoreMark Size : 666 | |
Total ticks : 16124 | |
Total time (secs): 16.12 | |
Iterations/Sec : 124.04 | |
Iterations : 2000 | |
Compiler version : GCC9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] | |
Compiler flags : (flags unknown) | |
Memory location : STACK | |
seedcrc : 0xE9F5 | |
[0]crclist : 0xE714 | |
[0]crcmatrix : 0x1FD7 | |
[0]crcstate : 0x8E3A | |
[0]crcfinal : 0x4983 | |
Correct operation validated. See README.md for run and reporting rules. | |
CoreMark 1.0 : 124.04 / GCC9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] (flags unknown) / STACK | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment