Code Monkey home page Code Monkey logo

cortex-m-log's Introduction

cortex-m-log

Rust Crates.io Documentation dependency status

Logging facilities for Cortex-M processors

Available features

  • log-integration - Enables log integration
  • semihosting - Enables facilities for cortex-m-semihosting.
  • itm - Enables ITM destination for logging (not available on Cortex-M0 microcontrollers)

Maintenance note

Please note that at the current moment I'm no longer working with cortex chips and unlikely to work on improving this crate further. If you wish to take over, please let me know and I'll consider giving full rights to access this crate.

cortex-m-log's People

Contributors

andete avatar doumanash avatar little-arhat avatar mabezdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cortex-m-log's Issues

Samples

It would be extremely helpful to see how semihosting and itm works with this crate

Cortex-M0+ and the log-integration feature

The log-integration feature can not be enabled for the thumbv6m-none-eabi target (build fails).
The log::set_logger() is called which is available only if #[cfg(atomic_cas)].
The unsafe log::set_logger_racy() could be used on platforms without atomic_cas.
Do you plan to support the log-integration feature on Cortex-M0+ somehow?

Provide logger on a serial port

I was wondering if it is possible to provide a logger for a serial port or whether you already though about this. I'm new to Rust, so right now I am trying to figure out how to define a static logger which will needs to be able to be set by the user depending on which serial port could be used.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.