Commit graph

426 commits

Author SHA1 Message Date
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
1a2d6bf772 intercept and warn on more v2 calls in v1 implementation 2025-03-04 19:02:15 +08:00
bunnie
85a216ff0f add a warning if v2 api is sent into graphics-server which is v1 only 2025-03-03 02:14:05 +08:00
bunnie
286bfb8135 fix hosted mode build 2025-02-28 17:52:20 +08:00
bunnie
4710b416be cleanup trait implementation to match modifications
remove mutability from get_pixel
2025-02-28 16:36:24 +08:00
bunnie
3e11c37400 fix missing path expansion in precursor target 2025-02-26 14:59:23 +08:00
bunnie
d0793b0aef fix dependencies on testing routine 2025-02-26 14:36:26 +08:00
bunnie
111d8f8d3d refactor graphics server to use reply_and_receive_next()
This new api allows for scalar-5 returns as well as more
efficient use of the scheduler's quantum by not simply yielding
time when a message is returned; it will fetch the next message
and process it until its time is up.
2025-02-26 14:35:33 +08:00
bunnie
e0462f1603 modify graphics-server to use shared handlers 2025-02-23 18:07:16 +08:00
bunnie
ef79ececb7 modify graphics-server to ignore unimplemented opcodes
the opcode list is shared between multiple implementations, so
an invalid opcode might not necessarily be a severe bug.
2025-02-23 12:03:09 +08:00
bunnie
9d76eda111 modify graphics-server to use the framebuffer trait 2025-02-21 23:43:26 +08:00
bunnie
10b7246bcc modify graphics-server backends to use the framebuffer traits 2025-02-21 23:43:05 +08:00
bunnie
7c4a97da97 formatting fixes 2025-02-21 18:02:20 +08:00
bunnie
629d5c632d cleanup redundant files
this code has now all been migrated to ux-api
2025-02-21 17:58:29 +08:00
bunnie
813b72c863 refactor graphics-server to use ux-api for the "lib" layer
graphics-server now becomes just one possible implementation
of the API layer
2025-02-21 17:47:02 +08:00
bunnie
13590c302a fix warning in doc comment 2025-02-17 22:54:27 +08:00
bunnie
10a1c72f35 refactor graphics-server to use new blitstr2 crate 2025-02-17 18:25:18 +08:00
bunnie
b788ed6633 move blitstr2 to its own library
this allows us to share font data between platforms without
replicating the code base
2025-02-17 18:24:39 +08:00
bunnie
e1bc6eac56 remove copy of blitstr2 from ux-api; move blitstr2 to lib location 2025-02-13 17:41:07 +08:00
bunnie
0bfb864873 add boasec to font feature selection; prepare for moving blitstr crate 2025-02-13 17:26:54 +08:00
bunnie
4f14a67504 formatting changes due to changes in nightly rust
needed to get a clean check on gh
2025-02-01 22:26:40 +08:00
Jeanie
e1ff04b1fc fix set_devboot docs 2024-12-24 00:59:09 +08:00
Jeanie
f8bce54bd0 fix circle docs typo 2024-12-24 00:59:09 +08:00
Jeanie
9e888252c1 note for stash method, a few other updates 2024-12-24 00:59:09 +08:00
Jeanie
e8f165000c a few more drawings 2024-12-24 00:59:09 +08:00
Jeanie
16782f1f25 first half of images 2024-12-24 00:59:09 +08:00
Jeanie
6257fb4640 placeholders for example images, small docs update 2024-12-24 00:59:09 +08:00
Jeanie
52869a21f2 take out some repetitive wording 2024-12-24 00:59:09 +08:00
Jeanie
61f1ffdc9d all examples are now tested/fixed 2024-12-24 00:59:09 +08:00
Jeanie
5043a7bd39 some basic documentation 2024-12-24 00:59:09 +08:00
bunnie
45a8eb2227 stage tomls for version bump: try_send added to xous-ipc 2024-12-16 18:50:11 +08:00
bunnie
93b9ec00bf bump version numbers on all the packages so we can absorb num-derive changes 2024-12-02 19:14:11 +08:00
bunnie
83e26ff4c7 update num-derive dependency
this became mandatory in 1.83 to remove warnings. I think it
should have no impact on functionality.
2024-12-02 18:52:59 +08:00
bunnie
6b48aee498 fix gfx server to comply with updated cram-soc apis 2024-10-10 02:08:13 +08:00
bunnie
8deeac91ee update existing api to match hw api
however, the actual driver is kind of bogus
2024-10-04 13:09:05 +08:00
bunnie
728fab3b62 consolidate spi pin setup 2024-10-02 00:24:03 +08:00
bunnie
043dfd84ae update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
bunnie
f494da21cc absorb new xous-ipc version 2024-09-23 22:05:50 +08:00
bunnie
921be1cf8b add bounds checking to a TextView string length
Before xous-ipc's fixed-length string guaranteed this thing
fit into a single page. Now, we can send potentially unbounded
amounts of text between servers.

I don't think it makes sense to send more than a few k of text to
render on the screen at once, given our screen sizes, so I've added
a patch that truncates the text to the previous length that things
would truncate to.

The behavior is the same as before, except that you will
over-allocate memory on the heap in the sending process
as you shove more string data into a TextView than can be rendered.
Previously, the TextView would just truncate the data and discard
the data.

The truncation happens at the point where you try to hand the
record off to another process, so, one could in theory try
to make this recoverable by adding a layer that splits the
textview into more manageable chunks or pages the data, but that
is an exercise for another day.
2024-09-23 17:35:27 +08:00
bunnie
75954de8d6 commit the version bump 2024-09-23 01:46:25 +08:00
bunnie
4c7c9312c1 change xous-ipc api to 0.10.0 2024-09-23 00:24:48 +08:00
bunnie
1b0fa6e04b regex search/replace instances of xous_ipc::String to String 2024-09-22 14:24:49 +08:00
bunnie
311154e231 absorb version bump 2024-06-27 00:26:12 +08:00
bunnie
8414f08aae autoformat the logo file 2024-06-16 02:10:27 +08:00
bunnie
fe6fad2847 change the boot logo in the graphics server 2024-06-16 01:52:28 +08:00
bunnie
782e94aa65 add mappings for additional fonts in cramium target 2024-06-13 22:06:04 +08:00
bunnie
5f05e15105 add backing storage
this is used to accelerate menu foreground/background as well
as susres
2024-06-13 22:05:20 +08:00
bunnie
a360f3ee52 bump xous pins for RawTrng API 2024-06-13 15:49:35 +08:00
bunnie
73b075716b add cramium panic display support 2024-05-31 20:44:46 +08:00