hashmismatch / freertos.rs

A Rust wrapper for FreeRTOS.
232 stars 22 forks source link

Run a simple program in stm32 #24

Open tasosxak opened 5 years ago

tasosxak commented 5 years ago

Hi, Any idea how to run a simple program for stm32 using this wrapper?

#![no_std]

extern crate freertos_rs;

use freertos_rs::*;
use prelude::v1::*;

#[no_mangle]
pub extern fn main_entry() {

}
error[E0603]: module `prelude` is private
 --> src/main.rs:6:18
  |
6 | use prelude::v1::*;