7 unstable releases (3 breaking)

0.4.0 Jun 21, 2023
0.3.0 Oct 16, 2022
0.2.0 Jan 18, 2022
0.1.3 Jan 12, 2020

#764 in Embedded development

Download history 58/week @ 2024-04-01 8/week @ 2024-04-08 53/week @ 2024-04-15 31/week @ 2024-04-22 7/week @ 2024-04-29 6/week @ 2024-05-06 6/week @ 2024-05-13 8/week @ 2024-05-20 16/week @ 2024-05-27 17/week @ 2024-06-03 8/week @ 2024-06-10 6/week @ 2024-06-17 13/week @ 2024-06-24 64/week @ 2024-07-01 21/week @ 2024-07-08

106 downloads per month
Used in 4 crates

BSL-1.0 license

16KB
369 lines

ufmt-stdio

Crates.io Documentation Build

Minimal printing facilities for ufmt

Supported platforms:

  • wasm via wasm-bindings;
  • mos microprocessors via linking putchar;
  • riscv32 via esp-* features (see details in Features section) or being no-op otherwise;
  • All other platforms are built upon standard C library write function.

Features

  • 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).

Dependencies

~1.5MB
~39K SLoC