bunnie
eb7a861def
Merge branch 'pddb-feat-down' of github.com:betrusted-io/xous-core into pddb-feat-down
2025-04-29 22:31:40 +08:00
bunnie
18de29f7a7
improve compatibility of api signatures
2025-04-29 22:27:59 +08:00
bunnie
bad5259f43
base64 should be an optional dependency in std
...
otherwise the loader breaks
2025-04-29 03:32:59 +08:00
bunnie
a5fec5a1d1
fix formatting
2025-04-29 03:19:49 +08:00
bunnie
cb35696200
Merge branch 'main' of github.com:betrusted-io/xous-core into cram-dev
2025-04-29 03:18:57 +08:00
bunnie
26464d4266
fix vertical scrollbar drawing offet bug
2025-04-29 03:10:41 +08:00
bunnie
ae5ff3addd
add strings for bip39 entry in small screen mode
2025-04-29 03:02:09 +08:00
bunnie
14740d0cc1
add a numeric-priority mode to the OSK
...
if the pre-populated field looks numeric, prioritize numbers
over letters for the OSK.
2025-04-29 03:01:29 +08:00
bunnie
0e5410eb36
add more convenience apis
2025-04-29 03:01:10 +08:00
bunnie
9512defd2d
add base64 dep for showing bip39 seeds
2025-04-29 03:00:44 +08:00
bunnie
9b5510985f
initial take at bip39 entry
2025-04-29 03:00:30 +08:00
bunnie
da7efec6a6
add clone operation for gfx
2025-04-28 19:02:27 +08:00
bunnie
e55630fd57
allow for centering of list items
...
and make OSK entries centered
this makes the list a little nicer to navigate
2025-04-28 19:01:59 +08:00
bunnie
8be197a2b5
initial slider implementation
2025-04-28 19:01:31 +08:00
bunnie
3b0543a5f0
add supporting changes for textentry
2025-04-28 18:19:36 +08:00
bunnie
e690da3f77
add textentry implementation
...
includes a simple on-screen keyboard element
2025-04-28 18:18:57 +08:00
bunnie
87b4b18210
cleanup an api change in gfx visibility
2025-04-28 15:18:54 +08:00
bunnie
500df9714e
an initial take at a checkbox implementation
2025-04-28 15:18:38 +08:00
bunnie
0d3563412e
add more APIs to scrolling list widget
...
these facilitate checkbox implementation
2025-04-28 15:18:10 +08:00
bunnie
c90c449d32
make pane height adjustable
...
this allows for top/bottom text on modals...
2025-04-28 03:18:07 +08:00
bunnie
1ac5a55d25
cleanup height calculations
2025-04-28 03:17:50 +08:00
bunnie
a40279ef1e
remove errant clear
2025-04-28 03:17:27 +08:00
bunnie
10044579aa
initial take at radiobuttons
2025-04-28 02:27:41 +08:00
bunnie
39b0fb9e12
remove lifetime from builder pattern
...
this causes integration issues with the enum_dispatch macro
2025-04-28 02:27:16 +08:00
bunnie
c657d4db54
fix typo
2025-04-28 02:03:23 +08:00
bunnie
ac19def8df
add scrollbars
2025-04-28 02:01:24 +08:00
bunnie
e56acbd243
first take at a 2-d scrolling widget
2025-04-28 01:18:25 +08:00
bunnie
bb6820419f
sanity check AXP2101 e-fuse settings
2025-04-27 15:12:07 +08:00
bunnie
e22997874d
add DCDC5 configuration
2025-04-21 02:42:40 +08:00
bunnie
1484453100
add scroll widget stub
2025-04-21 00:38:25 +08:00
bunnie
31dcab40aa
add a test target with limited scope
...
this is for SoC testing with i.e. no peripherals or simulated
peripherals in a simulated environment
2025-04-20 07:48:29 -07:00
bunnie
2f467d6f23
Merge remote-tracking branch 'origin/cram-dev' into cram-dev
2025-04-20 04:06:41 -07:00
bunnie
1bad10fb21
work-arounds for DMA on BIO
...
- writes need at least a "pipe cleaner" to set the pipe in the correct
state
- may also need a "double-write" to commit the data - this is to be
explored with a smaller test case
- DMA write only works over all corners at 700MHz when
FCLK=ACLK (i.e. FCLK is at half rate)
2025-04-20 03:28:40 -07:00
bunnie
7bd545e95c
minimize character output during tests
...
this significantly improves runtime in GLS mode
2025-04-20 03:28:40 -07:00
bunnie
66ec140cf3
limit spi debug output
2025-04-20 03:28:40 -07:00
bunnie
b390a824d4
fix slew and drive rating for SPI interface
...
this is necessary to meet 50MHz timing on NTO
2025-04-20 03:28:40 -07:00
bunnie
72763dc3c7
modify fast dma test for clocking option
2025-04-20 03:28:40 -07:00
bunnie
019f342c98
update bio tests for clkmode option
2025-04-20 03:28:40 -07:00
bunnie
5e7a687c8b
found the offending Debug deriver that was causing fp library bloat
...
this one derive was causing the bootloader to be about 20% bigger.
2025-03-05 22:42:56 +08:00
bunnie
f394ccab42
Merge branch 'main' into cram-dev
2025-03-05 20:56:36 +08:00
bunnie
c49c41699b
cleanup warning
2025-03-05 20:54:03 +08:00
bunnie
57a4f24a02
restrict ObjectList to std targets only
2025-03-04 19:11:23 +08:00
bunnie
63a9a2b0a0
implement notification models for small screens
2025-03-04 19:06:41 +08:00
bunnie
1e9e02435b
add missing model boilerplate
...
a lot of routines were left blank in the initial port to get
through the core graphics primitives porting. This commit
fills in those missing bits in a fashion that optimizes the
modals for drawing on small displays.
2025-03-04 19:05:41 +08:00
bunnie
3c5975715d
kind of hack to make font rendering work on oled displays
...
so, there is a fundamental abstraction mismatch in the blitstr
library. In Precursor, I created a rule that you can't draw text
on black backgrounds without some special permissions in highly
trusted contexts.
For baosec, this restriction is removed because the whole OS
can run inside a single chip (i.e. we have eliminated most
easy RAM modification attacks, requires probing/glitching; but
as a trade-off, we don't have as much RAM so we can't afford the
extra abstractions).
The compromise is for OLED-type platforms where inverse drawing
is very common to save power, all text ops are assumed to be XOR
operations (so you're always flipping pixels instead of drawing
at a defined color).
2025-03-04 19:02:45 +08:00
bunnie
15f41a5f5b
object list API elements
2025-03-04 19:01:47 +08:00
bunnie
5d4d009e64
add object list draw routine
...
this can accelerate drawing of complicated objects, such as
QR codes, that are composed of many rectangles.
there are some warts...in theory, this should be able to seralize
arbitrary-sized lists, but there must be some bug somewhere
that is preventing it from happening. For now, the list length
is clipped to the capacity of a page of memory.
2025-03-04 19:00:33 +08:00
bunnie
8602af4d18
add modals adapter code
...
initial take just lifted directly from the gam version;
layout details needs adapting for small screen still
2025-03-04 02:07:17 +08:00
bunnie
c67cb7666c
fixup feature dependencies
2025-03-04 01:26:03 +08:00
bunnie
06d8760209
add routine to set pwm mode on axp2101
2025-03-04 01:24:41 +08:00