ecos-ssc1 0.1.3

Rust SDK for ECOS StarrySky C1
docs.rs failed to build ecos-ssc1-0.1.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

ecos_ssc1

ECOS SDK Rust bindings for RISC-V bare metal development.

Usage

#![no_std]
#![no_main]

use ecos_ssc1::ecos_main;

/// # Same As
///
/// ```rust
/// #![no_std]
/// #![no_main]
///
/// use ecos_ssc1::{rust_main, println, Uart::init as init_stdout};
///
/// #[rust_main]
/// fn emm() {
///     init_stdout();
///     println!("QwQ!");
/// }
/// ```
#[ecos_main]
fn xxx() {
    println!("QwQ!");
}

原则上,由于会自动扫ECOS_SDK_HOME环境变量下的C1的board目录以及通用的components和devices目录,所以C的驱动全部都可以自动集成

todo-list:之后将基础的embedded-*全家桶适配,且可以使用features启用...