xous-core/loader/src
bunnie c44f117331 fixes to udma SPIM for tx-only mode
- fix tx_await() condition to consider both control and tx channels
- make tx_async more efficient for the common case that the buffer
fits in a single transaction by appending the CS de-assert as part
of the initial command stream
- make trait for the udma global clock setting

The high bit in this exploration is that there seems to be no
way to actually confirm when a UDMA transaction has fully completed
on the hardware interface. All the completion signals tell you
when the software-side UDMA resources are freed up. However, in this
case, the hardware-side resources may still be transmitting/receiving
data.

This is a problem for the case of a '4-wire SPI' display where you
need to set an extra line to control command/data mode addressing.

In this case, the current work-around is to read back the state of
the chip select pin as a GPIO to determine when the hardware has
finished.

I suspect that if we can figure out how to use UDMA in a full duplex
mode that we could do something more essentially linked to the
hardware, but this would also require having a dummy Rx buffer allocated
that is the same depth as the hardware Tx buffer if all you cared about
is the hardware conclusion of a Tx.
2024-10-04 12:53:55 +08:00
..
fonts fix rustfmt::skip warning 2024-01-14 23:12:52 +08:00
platform fixes to udma SPIM for tx-only mode 2024-10-04 12:53:55 +08:00
args.rs format loader 2024-01-14 22:02:55 +08:00
asm.rs reserve the top-most word of RAM as a "gutter" for filtered DMA 2024-08-02 17:26:24 +08:00
bootconfig.rs fix debug formatting 2024-05-16 03:51:03 +08:00
consts.rs fix RPT/XPT alloc in swap; make swap resume-compatible 2024-05-12 21:50:53 +08:00
debug.rs extend debug to print swap bits 2024-04-08 23:55:24 +08:00
font6x12.png
font6x12_1bpp.raw
fonts.rs add small memory option for fonts to loader 2024-01-29 03:34:03 +08:00
lib.rs migrate loader board parameters to board files 2024-10-02 01:44:57 +08:00
main.rs add stubs for lifecycle management and update checking in loader 2024-10-01 23:15:54 +08:00
minielf.rs update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
murmur3.rs format loader 2024-01-14 22:02:55 +08:00
phase1.rs update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
phase2.rs quiet down warnings when debug-print is off 2024-05-21 01:52:30 +08:00
platform.rs
secboot.rs update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
swap.rs migrate loader board parameters to board files 2024-10-02 01:44:57 +08:00
test.rs update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00