Skip to content

Reduce/remove debug logging in flash #548

@crawfxrd

Description

@crawfxrd

Firmware is currently set to build with logging at DEBUG level. Compared to disabling logging (NONE), this takes up ~8 KiB of flash space. We don't utilize banking, so this represents ~12% of the available 64 KiB space being used for logging.

Preferably, we could get some logging mechanism that doesn't depend on printf and formatting on the EC, and instead sends some kind of event index and the raw bytes to the host for it to format and display.

Ref: https://defmt.ferrous-systems.com/#operating-principle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions