bunnie
9c4e7cabf6
add a "platonic" API crate for cramium
...
This is a distillation of cramium-hal items into "pure API"
items so that we can have a parallel cramium-emu crate.
The idea is that the API crate sits on top of both implementations;
the HAL goes to hardware, and EMU goes to hosted mode emulations.
2025-02-20 13:27:18 +08:00
bunnie
5809afebe0
add a crate dedicated to hosted-mode emulation of baosec-target items
2025-02-20 13:26:33 +08:00
bunnie
6969d6ca10
add emulation target to lockfile
2025-02-18 23:22:48 +08:00
bunnie
c9d72f8723
add emulation target to workspace
2025-02-18 23:22:35 +08:00
bunnie
3afb01b04c
add emulation HAL for cramium target
...
this is where we'll try to aggregate all the shims that allow
the target to work on hosted mode
2025-02-18 23:22:09 +08:00
bunnie
14bfa42aec
fixup feature specifiers
2025-02-18 23:21:41 +08:00
bunnie
e4292c38e7
cleanup path specifiers to methods to improve portability
2025-02-18 23:21:14 +08:00
bunnie
4872bbcee1
remove useless name argument in this version of the api
2025-02-18 23:20:48 +08:00
bunnie
f731fadf89
add emulation mode to log server
2025-02-18 23:19:41 +08:00
bunnie
4033a3a4d2
add emulation mode to names server
2025-02-18 23:19:29 +08:00
bunnie
4e59c0f07c
add emulation mode to ticktimer
2025-02-18 23:19:16 +08:00
bunnie
e9dcdb015b
modify hosted mode specifier to clarify build intentions
2025-02-18 23:18:47 +08:00
bunnie
49f14d32c9
add doc-deps target to modals
2025-02-18 10:16:06 +08:00
bunnie
1b5c292b05
note requirement of --doc-deps to build documentation
...
The hardware specification hierarchy is clarified to be as such:
- A `soc` flag specifies dependencies that are generic to a
system-on-chip (SoC). For example, the locations of registers, or
the extents of memory regions contained in the `soc`.
- A `board` flag specifies dependencies that are specific to a
board. For example, the resolution of displays, pin mappings to
peripherals, and sizes of external memory. Typically, a board
assumes a `soc`, so both a `board-*` and `*-soc` set of flags are
required to fully specify a build.
- Precursor (the first target for Xous) did not hold to this
abstraction and conflated the two, so it is a special case in the
build system.
- "Hosted" mode emulations are considered to be a `board` target; the
`soc` is assumed to be the host (linux, windows, etc.)
Since all builds require a `board` specifier, documentation now
requires a `doc-deps` flag to be passed. This effectively specifies a
set of dummy board dependencies so that the documentation can
build. Here is the recommended command line for building docs: `cargo
doc --no-deps --feature doc-deps`
2025-02-18 10:14:34 +08:00
bunnie
cb197a59c4
Merge pull request #621 from betrusted-io/modals-refactor
...
Fix doc build errors
2025-02-17 22:58:47 +08:00
bunnie
23c96f2d96
add a default graphics library for cargo doc runs
...
'gam' in the case of modals.
2025-02-17 22:55:29 +08:00
bunnie
13590c302a
fix warning in doc comment
2025-02-17 22:54:27 +08:00
bunnie
f78d54a834
add configuration for doc build
2025-02-17 22:53:56 +08:00
bunnie
416cf34aa0
Merge branch 'main' into pddb-feat-down
2025-02-17 18:35:57 +08:00
bunnie
88be6b66ba
Merge branch 'main' into cram-dev
2025-02-17 18:35:38 +08:00
bunnie
ba72717027
Merge pull request #620 from betrusted-io/modals-refactor
...
WIP: modals refactor
2025-02-17 18:34:12 +08:00
bunnie
9ba7d28d19
commit the blitstr2 changes to the lockfile
2025-02-17 18:29:33 +08:00
bunnie
66be51c9e4
add blitstr2 library to the workspace
2025-02-17 18:29:02 +08:00
bunnie
73114f8d8d
clean up ux-api integration with blitstr2
...
a bunch of imports were in here that should be in blitstr2
let's test this out and see how well these abstractions hold up
as we configure the rest of the OS around it.
2025-02-17 18:27:55 +08:00
bunnie
b67e8ac798
update gam to refer to blitstr2 crate
2025-02-17 18:27:36 +08:00
bunnie
5fd75ec373
update maintenance notes
2025-02-17 18:27:17 +08:00
bunnie
e4f1f8e15d
update generated artifacts in the loader
2025-02-17 18:26:55 +08:00
bunnie
adad07262e
fix warning about missing feature in compilation
2025-02-17 18:26:30 +08:00
bunnie
b474560fc3
status to use blitstr2
2025-02-17 18:26:02 +08:00
bunnie
0e6c344f7a
shellchat to use blitstr2
2025-02-17 18:25:52 +08:00
bunnie
812becb9a5
root-keys to use blitstr2
2025-02-17 18:25:40 +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
b76f02bb11
get past some configuration issues
2025-02-13 17:38:14 +08:00
bunnie
33db7cf039
configure in bao-video to the emu mode to start feeling out the changes
2025-02-13 17:30:36 +08:00
bunnie
edab1ddcf2
refactor bao-video structure to facilitate hw and hosted modes
2025-02-13 17:30:04 +08:00
bunnie
ae856ecc82
start to add in skeletons of trait implementations for ux elements
2025-02-13 17:28:56 +08:00
bunnie
c28c1f989a
add hosted option to cramium-hal
2025-02-13 17:27:45 +08:00
bunnie
0bfb864873
add boasec to font feature selection; prepare for moving blitstr crate
2025-02-13 17:26:54 +08:00
bunnie
3f592fbd8d
update svd from latest rtl
2025-02-13 01:51:15 +08:00
bunnie
79e95742b9
light-fingered changes to the modals layer to accommodate ux-api
...
trying to keep this layer as cross-compatible as possible while
compressing the stack underneath it
2025-02-11 16:26:13 +08:00
bunnie
6e18096247
ux-api needs to have the board specified when cramium features are selected
2025-02-11 16:25:22 +08:00
bunnie
c2c1c8bc91
update top level libs and cargo for all the ported-in files
2025-02-11 16:24:51 +08:00
bunnie
f7193ae29c
port in more helper routines
2025-02-11 16:24:30 +08:00
bunnie
3890008af1
make platform directory for graphics
...
trying to keep it as platform neutral as possible but it seems
we need to be able to know the size of the framebuffer at least
2025-02-11 16:23:45 +08:00
bunnie
5ed3f41bea
add blitstr to the minigfx lib
2025-02-11 16:23:26 +08:00
bunnie
2a4d91d9be
expand primitives in minigfx library
2025-02-11 16:23:06 +08:00
bunnie
79fae48bd8
add widget scaffolds
2025-02-11 16:22:50 +08:00
buncram
60c28c10b4
patch modals to handle multiple platform targets
2025-02-11 08:36:58 +08:00