Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New improved printk implementation #101

Merged
merged 1 commit into from
Oct 20, 2023

Commits on Oct 18, 2023

  1. feat(util/printk): new more readable and robust printk implemenation

    A from-sratch improved implementation of printk that allows printing
    strings larger than the allocated print buffer. It also makes this
    buffer statically allocated instead of allocating it on the printing cpu
    stack.
    
    Finally, it removes the per-uart implementation uart_puts function as this is
    essnetially replicated behavior, only the uart_putc is needed. This
    logic is now part of the console itself.
    
    The format printf attribute is also added so that errors in the format
    string type identifiers are detected at compile time.
    
    Signed-off-by: Jose Martins <josemartins90@gmail.com>
    josecm committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    1201159 View commit details
    Browse the repository at this point in the history