more fixes

This commit is contained in:
Jorge Aparicio 2018-08-24 16:31:04 +02:00
parent 5a3605050e
commit abca829926
41 changed files with 30 additions and 65 deletions

View file

@ -1,7 +1,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(const_fn)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,5 +1,4 @@
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,5 +1,4 @@
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,7 +1,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(const_fn)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;
@ -8,8 +7,9 @@ extern crate stm32f103xx;
use rtfm::app;
app! { //~ error attempt to subtract with overflow
//~^ error constant evaluation error
app! { //~ error referenced constant has errors
//~^ error could not evaluate constant
//~| error constant evaluation error
device: stm32f103xx,
tasks: {

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;
@ -8,8 +7,9 @@ extern crate stm32f103xx;
use rtfm::app;
app! { //~ error attempt to subtract with overflow
//~^ error constant evaluation error
app! { //~ error referenced constant has errors
//~^ error could not evaluate constant
//~| error constant evaluation error
device: stm32f103xx,
tasks: {

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,7 +1,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(const_fn)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;
@ -47,7 +46,7 @@ fn exti0(_t: &mut Threshold, r: EXTI0::Resources) {
// ERROR resource proxies are not `Send`able across tasks
is_send(&r.SHARED);
//~^ error the trait bound `*const (): core::marker::Send` is not satisfied
//~^ error `*const ()` cannot be sent between threads safely
}
fn exti1(_t: &mut Threshold, _r: EXTI1::Resources) {

View file

@ -1,7 +1,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(const_fn)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;

View file

@ -1,7 +1,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(const_fn)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;
@ -9,7 +8,7 @@ extern crate stm32f103xx;
use rtfm::{app, Threshold};
app! { //~ error bound `*const (): core::marker::Send` is not satisfied
app! { //~ error `*const ()` cannot be sent between threads safely
device: stm32f103xx,
resources: {

View file

@ -1,6 +1,5 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;