Commit graph

9793 commits

Author SHA1 Message Date
bunnie
e676ccbed8 cleanup dead code warnings found by latest rustc 2026-01-06 13:41:04 +08:00
bunnie
a6320ef290 fix missing csw update - maybe this resolves some of the debian issues?
this was found by the latest version of rustc
2026-01-06 13:40:17 +08:00
bunnie
1087405eb9 add compatibility for APS6064L SRAM parts 2026-01-06 12:14:20 +08:00
bunnie
5a32e47d38 make touch demo a little more dramatic
changing the saturation is too subtle. change brightness instead.
2026-01-05 22:49:11 +08:00
bunnie
e675ca231c cleanup warning 2026-01-05 22:02:54 +08:00
bunnie
9248804d81 fix api change that propagates into boot1 2026-01-05 22:00:59 +08:00
bunnie
ecf6aedba9 bump lockfile 2026-01-05 21:55:29 +08:00
bunnie
b49856ce7b change the pin set API to something more usable 2026-01-05 21:55:14 +08:00
bunnie
92180af349 move the AV trng into the BIO subsystem
this also removes the board-specific hacks that track BIO usage
for the TRNG as set up by the loader
2026-01-05 21:54:30 +08:00
bunnie
dd18ddf97c convert avalanche TRNG interface into the Xous BIO API 2026-01-05 21:53:39 +08:00
bunnie
bf78ba150f debug and implementation for composable I/O 2026-01-05 08:57:57 +08:00
bunnie
556e920981 add a demo of captouch + ws2812 composed BIO apps 2026-01-05 08:57:24 +08:00
bunnie
b02f1563ae don't put pin snapping into ws2812 implementation
the pin snapping makes the application not composable with
other applications that don't use the exact same snapping mode.
2026-01-05 08:56:38 +08:00
bunnie
40e740d869 implementation for the composeable I/O modes 2026-01-05 08:56:20 +08:00
bunnie
d647e41822 fix API to allow for composition of IO configurations
the main issue is that if the IO configuration fully replaces
a previous configuration, two apps can't be loaded at the same
time because the later one replaces the previous one's configuration.
now the I/O settings take an option for a configuration mode,
which is somewhat clumsily expressed as either replacing the
I/O configuration, setting bits only, or clearing bits only.

This maybe could use a cleaner API but not quite sure how to
do it yet.
2026-01-05 08:54:29 +08:00
bunnie
1bc7cfc7d2 add touch debug console commands 2026-01-05 08:53:59 +08:00
bunnie
9a94ea48ad add captouch demo
some basic APIs in place to help make touch a little easier
to use.
2026-01-05 08:53:13 +08:00
bunnie
d26399a9dd refactor ws2812 to be dynamic BIO machines & add mac test
the BIO is dynamically allocated based on the ws2812 command allowing
the BIO to be used for other demos instead of being locked up by the
ws2812 object even when not in use.
2026-01-03 22:55:56 +08:00
bunnie
6398415265 update lib refs 2026-01-03 22:55:47 +08:00
bunnie
e2097f171e add demo for doing multiply instructions 2026-01-03 22:55:20 +08:00
bunnie
e0fddfbe04 improve readme slightly 2026-01-03 22:55:04 +08:00
bunnie
e0f335f954
Merge pull request #768 from betrusted-io/bio-api
move readme to a customary location
2026-01-02 05:55:28 +01:00
bunnie
c81911e498 move readme to a customary location 2026-01-02 12:54:01 +08:00
bunnie
602b5e8ab3
Merge pull request #765 from betrusted-io/bio-api
WIP: BIO API
2026-01-02 05:52:48 +01:00
bunnie
369192591e Merge branch 'bio-api' of github.com:betrusted-io/xous-core into bio-api 2026-01-02 12:46:18 +08:00
bunnie
f1b9212b75 re-organize code so that the APIs are up top 2026-01-02 12:45:40 +08:00
bunnie
ca3f39e2e1
Merge branch 'main' into bio-api 2026-01-02 05:43:08 +01:00
bunnie
f9e17f7a63 add a README for the BIO libraries 2026-01-02 12:42:46 +08:00
bunnie
785daf253c update comments 2026-01-02 12:30:10 +08:00
bunnie
8203c62374 restructure demo code 2026-01-02 12:26:35 +08:00
bunnie
5f2cbd4ca4 quiet down debug 2026-01-02 12:26:27 +08:00
bunnie
acaa3b6874 cleanup warnings 2026-01-02 12:26:09 +08:00
bunnie
93ec0872d3 add bio-lib to workspace 2026-01-02 11:27:39 +08:00
bunnie
85574f5601 adjustments to demo code and testing 2026-01-02 11:27:26 +08:00
bunnie
5971187a62 add BIO services for resource tracking 2026-01-02 11:26:47 +08:00
bunnie
437c5e1d85 start the bio-lib
this is where a collection of BIO applications will eventually live...
2026-01-02 11:25:49 +08:00
bunnie
35cdc0c0f5 resource tracking implementation 2026-01-02 11:25:37 +08:00
bunnie
8d84345444 add resource tracking 2026-01-02 11:25:18 +08:00
bunnie
e28918e9ef
Merge pull request #767 from betrusted-io/bunnie-patch-1
Update README-baochip.md
2026-01-01 21:23:40 +01:00
bunnie
bf5d755fd7
Update README-baochip.md 2026-01-02 04:18:20 +08:00
bunnie
588b851f43 initial draft of a working ws2812b implementation 2025-12-31 23:37:10 +08:00
bunnie
c7f835a93f fix xous implementation 2025-12-31 23:36:00 +08:00
bunnie
24b6d4cb42 fix bugs in implementation 2025-12-31 23:34:35 +08:00
bunnie
06501a9032 fix handle API to reflect actual implementation
I had a bit of a brain fart while drafting the original code
2025-12-31 23:32:39 +08:00
bunnie
58df51ae43 bio implementation in bao1x-hal-service 2025-12-26 21:03:40 +08:00
bunnie
5be682b37f cleanup apis after std implementation 2025-12-26 21:03:19 +08:00
bunnie
1c0d8eea17 update the xous API to handle bitmask-based setting of the BIO pins 2025-12-26 20:18:49 +08:00
bunnie
acc9771886 first cut at the low level implementation 2025-12-26 20:18:06 +08:00
bunnie
c239d79ead cleanup the API after running through an implementation 2025-12-26 20:17:34 +08:00
bunnie
8c3c23ea85 add the core hardware API implemenation for bio
should work for both no-std and std environments, but lots and
lots of testing TBD...
2025-12-26 20:16:47 +08:00