Commit graph

79 commits

Author SHA1 Message Date
Sam Chin
916c93e276 now with SI units 2025-06-09 17:37:12 +08:00
Sam Chin
b35f9cad33 working read 2025-06-09 17:37:12 +08:00
Sam Chin
b0b29f7d78 reestablishing devenv 2025-06-09 17:37:12 +08:00
bunnie
0d0267f0ea scaffolding the i2cdetect command 2025-06-09 17:37:12 +08:00
Sam Chin
526d8353fd hello world exercise 2025-06-09 17:37:12 +08:00
bunnie
ea3b032fbe add build flags to bao-console
two flags are added:

with-pddb - puts the PDDB commands into the console
battery-readout - turns on the periodic battery readout
2025-06-09 17:20:46 +08:00
bunnie
eb379e22ba figured out my "mystery problem"
I had a feature override in the shell script I was using to wrap
the build. :-/ oops
2025-05-23 13:04:31 +08:00
bunnie
d12bdf1494 fix the case of trying to retrieve shell history when none exists
fortunately rust handles this with a panic because it has strict
bounds checking, so this cleans up that panic.
2025-05-23 10:55:38 +08:00
bunnie
942a64ea3b fix saturation bug in index computation code 2025-05-21 18:22:30 +08:00
bunnie
938f808a8a revert debug flag 2025-05-21 18:05:57 +08:00
bunnie
3004c4ab7f work around a weird feature flag not behaving as we expect 2025-05-21 18:04:02 +08:00
bunnie
dd5e19878c update flash test routine to remove write flag request 2025-05-21 10:22:27 +08:00
bunnie
4251686c1f make the flash test optional based on the configuration
allow the console to be built for hosted targets
2025-05-18 09:25:01 +08:00
bunnie
4c69961448 rework the test program
this uses the new writepage mechanism, and also tests a couple
of cases. not hard edge cases, but enough that we're not just
testing the 0 case.
2025-05-18 04:28:15 +08:00
bunnie
7cad369a82 test cases for flash writing on real hardware
reading works fine

writing is still a work in progress.
2025-05-17 16:28:24 +08:00
bunnie
e47ed41726 add some prelim test routines for flash access 2025-05-16 19:04:12 +08:00
bunnie
4ef4b22cfc incorporate hal migration into bao-console 2025-05-11 12:41:39 +08:00
bunnie
5417c2bd87 add more test features to the console; absorb board:: api for sizes 2025-05-08 16:00:28 +08:00
bunnie
399742a3d4 feature-out some battery testing code in hosted mode 2025-05-07 23:10:04 +08:00
bunnie
c5d2689e12 add periodic updates from the charger 2025-05-06 19:06:04 +08:00
bunnie
feeaa6341c improve bao-console interaction and add pddb mount call 2025-05-06 02:06:41 +08:00
bunnie
8d896b4dba add pddb command to bao-console 2025-05-06 01:46:34 +08:00
bunnie
ed797e6a82 scrolling tests 2025-04-29 03:03:54 +08:00
bunnie
5a36ebbb58 setup modals testing feature in the console runner 2025-03-05 20:50:09 +08:00
bunnie
9297879f76 select trng based on emulation mode 2025-03-03 02:15:46 +08:00
bunnie
1cb2b1f7ca bring bao-console up to API spec 2025-02-20 15:05:34 +08:00
bunnie
99ab382d99 add a usb test routine to the console api
this one just sends a string as if typed on a keyboard.
2024-12-23 01:16:42 +08:00
bunnie
d1835f8e4b add PID reporting to console boot 2024-12-22 00:28:33 +08:00
bunnie
a9abba0bb0 add a minimal pure terminal based console for baosec target
The screen is tiny, so it's not useful for feedback -- all interaction
happens on the serial console for this target.

Main purpose for this console is debug/test/factory bringup.
2024-11-05 19:38:25 +08:00