Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cortex-m-rtfm-klee
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KLEE
cortex-m-rtfm-klee
Commits
c64e7dec
Commit
c64e7dec
authored
8 years ago
by
Jorge Aparicio
Browse files
Options
Downloads
Patches
Plain Diff
doc tweaks
parent
0788a15a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
macros/src/lib.rs
+5
-0
5 additions, 0 deletions
macros/src/lib.rs
src/lib.rs
+3
-2
3 additions, 2 deletions
src/lib.rs
with
8 additions
and
2 deletions
macros/src/lib.rs
+
5
−
0
View file @
c64e7dec
//! Procedural macros for the RTFM framework
#![deny(warnings)]
#![feature(proc_macro)]
#![feature(proc_macro)]
#![recursion_limit
=
"128"
]
#![recursion_limit
=
"128"
]
...
@@ -18,6 +21,8 @@ mod analyze;
...
@@ -18,6 +21,8 @@ mod analyze;
mod
check
;
mod
check
;
mod
trans
;
mod
trans
;
/// The `app!` macro, a macro used to specify the tasks and resources of a
/// RTFM application.
#[proc_macro]
#[proc_macro]
pub
fn
app
(
ts
:
TokenStream
)
->
TokenStream
{
pub
fn
app
(
ts
:
TokenStream
)
->
TokenStream
{
match
run
(
ts
)
{
match
run
(
ts
)
{
...
...
This diff is collapsed.
Click to expand it.
src/lib.rs
+
3
−
2
View file @
c64e7dec
...
@@ -48,7 +48,8 @@
...
@@ -48,7 +48,8 @@
//!
//!
//! # Examples
//! # Examples
//!
//!
//! In increasing grade of complexity: [examples](./examples/index.html)
//! In increasing grade of complexity, see the [examples](./examples/index.html)
//! module.
#![deny(missing_docs)]
#![deny(missing_docs)]
#![deny(warnings)]
#![deny(warnings)]
...
@@ -64,10 +65,10 @@ extern crate static_ref;
...
@@ -64,10 +65,10 @@ extern crate static_ref;
use
core
::
cell
::
UnsafeCell
;
use
core
::
cell
::
UnsafeCell
;
pub
use
cortex_m_rtfm_macros
::
app
;
pub
use
cortex_m
::
asm
::{
bkpt
,
wfi
};
pub
use
cortex_m
::
asm
::{
bkpt
,
wfi
};
pub
use
cortex_m
::
interrupt
::
CriticalSection
;
pub
use
cortex_m
::
interrupt
::
CriticalSection
;
pub
use
cortex_m
::
interrupt
::
free
as
atomic
;
pub
use
cortex_m
::
interrupt
::
free
as
atomic
;
pub
use
cortex_m_rtfm_macros
::
app
;
pub
use
static_ref
::
Static
;
pub
use
static_ref
::
Static
;
use
cortex_m
::
interrupt
::
Nr
;
use
cortex_m
::
interrupt
::
Nr
;
#[cfg(not(armv6m))]
#[cfg(not(armv6m))]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment