Commit graph

44 commits

Author SHA1 Message Date
bunnie
3f869ca389 bump utralib version for publication 2026-01-29 19:12:00 +08:00
bunnie
fba011db3a commit version bump so that we may publish our packages 2026-01-08 03:04:19 +08:00
bunnie
d874c3e5c2 commit for version bump 2025-12-16 02:02:37 +08:00
bunnie
dbb0a75118 bump versions
have to absorb a version change due to xous-semver change

might as well also update the utra/svd generator dependencies
since that's been held off for a long time now.
2025-10-06 13:23:18 +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
e2379821e6 republish xous-rs to fix cargo test 2025-05-11 15:36:17 +08:00
bunnie
8a4959056b bump version for xous crate update - commit so we can publish crates 2025-05-11 14:45:24 +08:00
bunnie
75954de8d6 commit the version bump 2024-09-23 01:46:25 +08:00
bunnie
6ddc8bc79a
Merge branch 'main' into nto-work 2024-06-27 00:41:07 +08:00
bunnie
311154e231 absorb version bump 2024-06-27 00:26:12 +08:00
bunnie
d0f94424db reformatting and shuffling of test order and printouts
just determining a good target length for instruction memory size
for the next iteration of the bio core
2024-06-25 03:32:12 +08:00
bunnie
3cefb722e6 harmonize register set for testing to what's in hw 2024-06-21 18:55:54 +08:00
bunnie
a360f3ee52 bump xous pins for RawTrng API 2024-06-13 15:49:35 +08:00
bunnie
907b0c543a move order of tests 2024-06-03 03:43:57 +08:00
bunnie
c4d787356b add aclk unit test 2024-06-02 20:20:06 +08:00
bunnie
5c9b91d22a integrate i2c driver and update test log 2024-06-02 19:17:27 +08:00
bunnie
cc7b1158f3 create a "proper" i2c driver for BIO
this is an actually usable driver for end applications.
maybe some massaging needs to be done on shared resources, but
from the i2c standpoint this can do SMB, I2C transactions with
a fairly "normal" API.
2024-06-02 19:16:27 +08:00
bunnie
3e263c1974 update docs to match small change to spec 2024-06-02 06:21:42 +08:00
bunnie
559be323b7 i2c demo about working 2024-06-02 06:21:29 +08:00
bunnie
935857a675 add basic i2c concept 2024-06-02 02:39:45 +08:00
bunnie
23f2b117ab dont use report_api inside the generation macro - just for debugging 2024-06-02 02:39:30 +08:00
bunnie
9fe1933611 minor cleanup 2024-06-02 02:39:06 +08:00
bunnie
41e636bb8c fix formatting 2024-06-01 22:00:30 +08:00
bunnie
c113c4e9bd incorporate i2c module, pretty prints 2024-06-01 22:00:07 +08:00
bunnie
24bd9da6ab pretty-print unit tests 2024-06-01 21:58:18 +08:00
bunnie
e0f3ee8e49 pretty-print spi 2024-06-01 21:58:05 +08:00
bunnie
ccc342d9f3 add debug pretty-printing to test 2024-06-01 21:53:54 +08:00
bunnie
ac95f9a6df
Merge branch 'main' into bio 2024-06-01 11:03:53 +05:30
bunnie
35e7cf3a5b bump xous dep revs 2024-05-29 02:07:06 +08:00
bunnie
9e66c1bee2 commit the version bump 2024-05-07 01:03:05 +08:00
bunnie
d6b33159a5 stage version pin bump 2024-04-01 15:46:26 +08:00
bunnie
62b2567ade add comprehensive host fifo test 2024-03-20 13:41:40 +08:00
bunnie
133bb2b74f fix a few minor details missing in the tests
also update docs and completion tracker
2024-03-12 13:54:07 +08:00
bunnie
4fa3dd3b59 add spi unit test 2024-03-12 04:53:37 +08:00
bunnie
2f5a717e65 add unit test for inter-core events and fifo events
synthetic test that exercises multiple cores triggering each
other, waiting on each other to complete tasks, and waiting on
the host to meet conditions such as fifo fullness levels before
running.

this proves out the basic concept of inter-core eventing.
2024-03-04 04:08:01 +08:00
bunnie
0844cfbc52 more unit tests
fifo input/output from host with back-pressure works
gpio loopback input testing works

framework for automated assertion testing is in place;
all tests from this point forward will endeavor to include
some asserts that will cause the test to fail, so we don't require
manual inspection to check test results.
2024-03-03 18:33:30 +08:00
bunnie
8a7b5e5627 add the FIFO basic unit test + todo list of tests 2024-03-03 02:39:12 +08:00
bunnie
91e0661e9d add test plan 2024-03-02 01:08:59 +08:00
bunnie
153db680f2 unit test for "hello multiverse"
four cores started all at once, each responsible for updating
a byte of the GPIO range, in unison.
2024-03-01 23:31:42 +08:00
bunnie
0045e32508 skip address tag embedded within the loadable program 2024-03-01 23:31:18 +08:00
bunnie
7af01fc5e9 wrap assembly code generator in a macro
This macro takes as arguments the name of the function
you want to use to retrieve the assembly code, and two labels,
one for the start and one for the end of the assembly code,
and the assembly code itself.

The labels for the start/end of assembly code are identifiers
and because of Rust's rules macros can't create identifiers out
of thin air (I wish instead of saying "partially hygienic", they
just said, "you can't create identifiers that don't exist". Yes,
I'm sure "partially hygienic" has some other meaning to computer
science people but to me it's just pretentious bullshit that
forces me to read through four blog posts and three issues to
come to the practical conclusion I really wanted to know; I
think maybe they wanted to refer to it as hygiene because the
limitation is super frustrating and hygiene sounds like a positive
way to spin something that is annoying. Sure. It's fine. You
didn't want to allow macros to make identifiers because it can lead
to surprising behavior and name space conflicts. That's your choice
as a language designer, just say it.).

Anyways. as usual, rust macro took way too long to write.
2024-03-01 16:39:30 +08:00
bunnie
27760d5477 start on a simple "multi-core" test 2024-03-01 03:38:48 +08:00
bunnie
7c30a6960c flesh out common useful routines for bio access 2024-03-01 03:38:22 +08:00
bunnie
347930d287 add crate for BIO - better I/O - driver 2024-03-01 00:39:54 +08:00