bunnie
f6c7d9c89e
enable USB console by default
...
this helps with production & ci
2026-01-17 16:23:53 +08:00
bunnie
3a02dc125c
add rram debug commands & duart-debug mode for the HAL in std
2025-10-26 22:22:46 +08:00
bunnie
1255bf12d9
FLAG DAY: fix all names to harmonize around 'bao1x'
...
The code base had evolved through several code names, interim
names, company names and chip names that alternatively did or did
not exist.
Baochip is the definitive name of the company, and the Baochip1x
(full part number BAO1X2S4F-WA) is the definitivey part number of
the SoC. For convenience, the part number is shortened to 'bao1x'
in most feature flags and variable references.
This commit fixes all of the odd names and removes some unmaintained
early targets.
2025-09-18 21:25:51 +08:00
bunnie
08aa40e557
add ctap protocol testing routines
2025-09-09 23:11:30 +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
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
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
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
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