Skip to content
Snippets Groups Projects
Select Git revision
  • d5074b3870d8aaecec96e617cf9cc93923e8deb8
  • master default protected
  • arch-docs
  • more-nohf
4 results

lib.rs

Blame
  • Forked from Astro / rust-card10
    Source project has a limited visibility.
    lib.rs 381 B
    #![no_std]
    
    pub use max32665;
    pub use cortex_m_rt as _;
    pub use cortex_m_rt::entry;
    
    pub mod lcd;
    
    #[link(name = "card10")]
    extern {
        fn card10_init();
        fn card10_diag();
    }
    
    #[no_mangle]
    pub extern "C" fn puts() {
        /* Stub */
    }
    
    #[no_mangle]
    pub extern "C" fn printf() {
        /* Stub */
    }
    
    pub fn init() {
        unsafe {
            card10_init();
            card10_diag();
        }
    }