Crates.io | ufmt-stdio |
lib.rs | ufmt-stdio |
version | 0.4.0 |
source | src |
created_at | 2020-01-03 22:07:00.874355 |
updated_at | 2023-06-21 13:51:05.207729 |
description | C stdio writer for ufmt |
homepage | |
repository | https://github.com/DoumanAsh/ufmt-stdio |
max_upload_size | |
id | 194888 |
size | 15,736 |
Minimal printing facilities for ufmt
wasm
via wasm-bindings
;mos
microprocessors via linking putchar
;riscv32
via esp-*
features (see details in Features
section) or being no-op otherwise;write
function.esp-uart
- Enables UART writer on riscv32
targets. Mutually exclusive with esp-jtag
. Requires user to provide symbols:
ESP_UART_ADDR
(e.g. on ESP32-C3 it is #[no_mangle] static ESP_UART_ADDR: usize = 0x40000068
).esp-jtag
- Enables JTAG writer on riscv32
targets. Mutually exclusive with esp-jtag
. Requires user to provide symbols:
SERIAL_JTAG_FIFO_REG
(e.g. on ESP32-C3 it is #[no_mangle] static SERIAL_JTAG_FIFO_REG: usize = 0x60043000
)SERIAL_JTAG_CONF_REG
(e.g. on ESP32-C3 it is #[no_mangle] static SERIAL_JTAG_CONF_REG: usize = 0x60043004
).