bunnie
f9c42f6176
rollback pddb to previous known good state
...
restart the refactor process now that the modals arc is finished.
2025-05-04 16:40:13 +08:00
bunnie
142d55a2b7
this was meant to be committed with the previous commit
2025-05-04 16:34:12 +08:00
bunnie
ae23121d6a
checkin work state before we rollback the pddb area
...
i have decided that the current approach sucks, and i'm going
to abort the work in the pddb area. however, the stuff in
the rest of the branch is pretty useful, so we'll just revert
the stuff inside the pddb directory.
2025-05-04 16:33:12 +08:00
bunnie
34a6b5a8a7
keystore to lockfile
2025-05-04 03:35:03 +08:00
bunnie
12a9511ae3
add keystore to the workspace
2025-05-04 03:34:44 +08:00
bunnie
abbffaaf20
more restructuring of pddb codebase
...
in particular, spinor driver stub does not belong in this crate
2025-05-04 03:34:01 +08:00
bunnie
9ca7b38222
add pddb into the hw config
2025-05-04 03:33:37 +08:00
bunnie
0b4ff70798
remove modal testing as it's not needed in this branch
2025-05-04 03:33:09 +08:00
bunnie
d985491c7f
add block erase routines
2025-05-04 03:32:52 +08:00
bunnie
b2098916c7
start to add a spinor driver into xous-swapper
...
the hardware interface for SPIM is shared between both
RAM and FLASH, therefore, the drivers need to be co-located
in the same crate.
2025-05-04 03:31:15 +08:00
bunnie
c6123f1aec
add a placeholder for keystore
2025-05-04 03:29:53 +08:00
bunnie
32ed73b4f8
Merge pull request #638 from betrusted-io/gc2145
...
GC2145
2025-05-01 16:46:30 +08:00
bunnie
2c534b6d4d
add cam-test option to xtask loader as a comment
2025-05-01 16:44:51 +08:00
bunnie
51b103d674
add cam-test target to the loader
2025-05-01 16:44:43 +08:00
bunnie
3f2c4e396a
cleanup the camera/QR testing loop in bootloader
...
This loop was useful in bringing up the GC2145 camera, so
we should keep this code around. had to be refactored/shuffled
around a bit to compensate for e.g. bitrot.
2025-05-01 16:43:53 +08:00
bunnie
2699146d62
integrate gc2145 into userspace
...
couple of notes:
- bw threshold is now dynamic, based on the average of the previous frame
- performance is a bit slower than ideal, because of the SPI back pressure
bug preventing us from reading out the video at full speed. This should
be better on NTO.
- rotation introduced so that the preview image should align up
with what we'll have in the final camera v. display orientation in
the baosec product
- tested against the TOTP test suite (edent.codeberg.page/TOTP_Test_Suite/)
and it can quickly capture all of the basic valid tests.
2025-05-01 16:41:03 +08:00
bunnie
7ee15b874d
cleanup on the gc2145 driver
2025-05-01 16:40:46 +08:00
bunnie
535153e0cb
switch cameras and move YUV setting into driver
2025-05-01 04:09:52 +08:00
bunnie
6fdf868b44
make camera pins generic
2025-05-01 04:09:36 +08:00
bunnie
6d1a362735
add gc2145 to cargo file
2025-05-01 04:09:17 +08:00
bunnie
0ca3caf917
add gc2145 module
2025-05-01 04:09:00 +08:00
bunnie
d7aafc6c50
put yuv mode into the ov2640 driver directly
2025-05-01 04:08:37 +08:00
bunnie
19e9bcb104
add emulation stub for gc2145
2025-05-01 04:08:06 +08:00
bunnie
2523b0afee
gc2145 talking and up
...
exposure and noise levels need to be fixed, and need
to find a way to rotate/flip the screen? i think.
2025-05-01 04:07:24 +08:00
bunnie
200b3a093d
Merge branch 'main' into pddb-feat-down
2025-04-29 22:36:26 +08:00
bunnie
efce9c8682
Merge pull request #636 from betrusted-io/finalize-nto
...
add a closer-to-final NTO SVD file and hw artifact
2025-04-29 22:36:12 +08:00
bunnie
77f81f8b75
add a closer-to-final NTO SVD file and hw artifact
2025-04-29 22:34:09 +08:00
bunnie
ef6445cb1c
bump lockfile
2025-04-29 22:33:44 +08:00
bunnie
bf20cd5ecf
move focus of pddb dev to emu mode
2025-04-29 22:33:11 +08:00
bunnie
e7a2c97ca3
some progress on compatibility
2025-04-29 22:32:59 +08:00
bunnie
eb7a861def
Merge branch 'pddb-feat-down' of github.com:betrusted-io/xous-core into pddb-feat-down
2025-04-29 22:31:40 +08:00
bunnie
3de9e58419
Merge branch 'main' into pddb-feat-down
2025-04-29 22:31:21 +08:00
bunnie
86fb450ab4
improve compatibility of signatures
2025-04-29 22:28:20 +08:00
bunnie
18de29f7a7
improve compatibility of api signatures
2025-04-29 22:27:59 +08:00
bunnie
f93ab192af
fix out of place text
2025-04-29 03:47:21 +08:00
bunnie
b285772ef4
Merge pull request #635 from betrusted-io/fix-deps
...
base64 should be an optional dependency in std
2025-04-29 03:38:54 +08:00
bunnie
bad5259f43
base64 should be an optional dependency in std
...
otherwise the loader breaks
2025-04-29 03:32:59 +08:00
bunnie
2cca6ac13f
Merge branch 'main' into pddb-feat-down
2025-04-29 03:27:33 +08:00
bunnie
4e95f7d7f4
Merge pull request #618 from betrusted-io/cram-dev
...
WIP cram dev branch
2025-04-29 03:27:18 +08:00
bunnie
16924d1c88
Merge branch 'cram-dev' of github.com:betrusted-io/xous-core into cram-dev
2025-04-29 03:21:24 +08:00
bunnie
901a5a785f
add updated header file
2025-04-29 03:20:59 +08:00
bunnie
a5fec5a1d1
fix formatting
2025-04-29 03:19:49 +08:00
bunnie
cb35696200
Merge branch 'main' of github.com:betrusted-io/xous-core into cram-dev
2025-04-29 03:18:57 +08:00
bunnie
47b97409af
Merge branch 'main' into cram-dev
2025-04-29 03:13:32 +08:00
bunnie
4dbefc9bc4
Merge pull request #634 from betrusted-io/modals-refactor
...
This should finish up the modals refactor!
2025-04-29 03:13:06 +08:00
bunnie
26464d4266
fix vertical scrollbar drawing offet bug
2025-04-29 03:10:41 +08:00
bunnie
ed797e6a82
scrolling tests
2025-04-29 03:03:54 +08:00
bunnie
735a93756f
add modes and flags for testing
2025-04-29 03:03:36 +08:00
bunnie
94969feb3c
modify the entry validator test to work the numeric OSK selection
2025-04-29 03:03:13 +08:00
bunnie
cad6519ce8
reflect base64 dep in lockfile
2025-04-29 03:02:56 +08:00