Commit graph

394 commits

Author SHA1 Message Date
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
bunnie
a40466b7b4 heap-allocate the framebuffer
this will make memory utilization a bit more efficient than
a heap-allocated page where a portion is wasted
2024-05-31 20:43:53 +08:00
bunnie
fba2736fff fix typo 2024-05-31 20:43:44 +08:00
bunnie
ea5e57bbc9 add cramium's version of the panic handler 2024-05-31 20:42:54 +08:00
bunnie
b175ffaddf add Precursor's panic handler 2024-05-31 20:42:33 +08:00
bunnie
4e347c3ad6 split panic handler into hardware-specific versions 2024-05-31 20:42:11 +08:00
bunnie
35e7cf3a5b bump xous dep revs 2024-05-29 02:07:06 +08:00
bunnie
c7036c1309 fix cram-soc impl for graphics 2024-05-28 23:04:16 +08:00
bunnie
34cfc7db5b temporarily allow more graphics server connections
this is for early testing and debug -- there's a note to
revert this in the console log once we're done with that.
2024-05-23 14:51:11 +08:00
bunnie
65caa55407 bump to minifb 0.26.0
solves #538
2024-05-12 12:32:45 +08:00
bunnie
52e5d21e6f work around white screen issue on Windows 11 (#538)
This is the work-around suggested at

https://github.com/emoon/rust_minifb/issues/351

until a new release is tagged.
2024-05-10 00:33:59 +08:00
bunnie
9e66c1bee2 commit the version bump 2024-05-07 01:03:05 +08:00
bunnie
d5b9036531 allow for alternate pin mapping on graphics server
use the SPIM port that is broken for QSPI for the display...
2024-05-06 02:29:34 +08:00
bunnie
7af47ec260 cleanup warnings, remove dead code 2024-04-29 04:07:08 +08:00
bunnie
f86b51a3b2 cleanup warning 2024-04-29 04:06:52 +08:00
bunnie
36534b4e3a frequency now confirmed 2024-04-28 02:42:18 +08:00
bunnie
c57debcf1c adjust location of fontmap to match latest build 2024-04-28 02:41:58 +08:00
bunnie
799d1554ae chore: CI fixes 2024-04-09 18:51:36 +08:00
bunnie
d6b33159a5 stage version pin bump 2024-04-01 15:46:26 +08:00
bunnie
699004e7b0 bump xous pins 2024-02-06 14:49:10 +08:00
bunnie
fdf10f369e fix default font settings
there's something....weird....going on in the initializers
here and ... something about configurations not being
applicable to expressions??

i'm a little confused, but, the original work-around I had to
this isuse somehow side-effected things in some way that I didn't
expect. this reverts those side effects.
2024-01-30 00:02:42 +08:00
bunnie
d0bf87d2e7 remove default feature that was used for configuring vscode 2024-01-29 03:47:48 +08:00
bunnie
fb7fccce6b susres not yet active in cramium target, make opcode conditional 2024-01-29 03:39:11 +08:00
bunnie
d58ef8c1df improve debug output on graphics-server 2024-01-29 03:38:43 +08:00
bunnie
1c9e2e16e7 add generated fontmap file 2024-01-29 03:38:01 +08:00
bunnie
39fb11457f cjk is not in the small font set, substitute Tall for that target 2024-01-29 03:37:25 +08:00
bunnie
f06ceea5e1 bug fixes to frame buffer driver for cramium target
now works, and works pretty well.
2024-01-29 03:34:41 +08:00
bunnie
13041ad043 add cramium-soc target for fonts 2024-01-29 03:33:20 +08:00
bunnie
ce78a24e10 add small font directory for loader 2024-01-29 03:32:54 +08:00
bunnie
2cb295ccf0 add switches for smaller memory targets for the loader side 2024-01-29 03:32:12 +08:00
bunnie
c20f6af52d add small and regular font options
doesn't break the mapping, makes code porting easier because
the character resolution macros don't require adjustment.
2024-01-29 03:31:29 +08:00
bunnie
be8c78a0db add font_map target for cramium 2024-01-28 02:17:31 +08:00
bunnie
70708671fe flesh out the SPIM driver back-end for the graphics driver 2024-01-28 02:16:28 +08:00