Skip to content

Commit

Permalink
Optimize for better IRQ handling latency.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyma98 committed Oct 6, 2024
1 parent dde8b33 commit 185fe27
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 7 deletions.
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ default-features = false
features = ["alloc"]

[dependencies.hopter_proc_macro]
version = "0.2.1"
version = "0.2.2"

[dependencies.hopter_conf_params]
version = "0.2.0"
Expand Down Expand Up @@ -84,9 +84,7 @@ version = "0.21.0"
default-features = false

[package.metadata.docs.rs]
targets = [
"thumbv7em-none-eabihf",
]
targets = ["thumbv7em-none-eabihf"]

# *** Tests for sync - mailbox ***

Expand Down
1 change: 1 addition & 0 deletions examples/tests/debug/cpu_load/load_40_percent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![no_main]
#![no_std]
#![feature(naked_functions)]
#![feature(asm_const)]

extern crate alloc;

Expand Down
1 change: 1 addition & 0 deletions examples/tests/interrupt/unwind/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![no_main]
#![no_std]
#![feature(naked_functions)]
#![feature(asm_const)]

extern crate alloc;

Expand Down
1 change: 1 addition & 0 deletions examples/tests/sync/channel/try_consume_from_isr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![no_main]
#![no_std]
#![feature(naked_functions)]
#![feature(asm_const)]

extern crate alloc;

Expand Down
1 change: 1 addition & 0 deletions examples/tests/sync/channel/try_produce_from_isr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#![no_main]
#![no_std]
#![feature(naked_functions)]
#![feature(asm_const)]

extern crate alloc;

Expand Down
1 change: 1 addition & 0 deletions examples/tests/sync/mailbox/notify_from_isr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![no_main]
#![no_std]
#![feature(naked_functions)]
#![feature(asm_const)]

extern crate alloc;

Expand Down
1 change: 1 addition & 0 deletions examples/tests/sync/semaphore/try_down_from_isr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![no_main]
#![no_std]
#![feature(naked_functions)]
#![feature(asm_const)]

extern crate alloc;

Expand Down
1 change: 1 addition & 0 deletions examples/tests/sync/semaphore/try_up_from_isr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![no_main]
#![no_std]
#![feature(naked_functions)]
#![feature(asm_const)]

extern crate alloc;

Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ mod assembly;
mod boot;
mod schedule;
mod unrecoverable;
mod unwind;

pub mod config;
pub mod debug;
pub mod interrupt;
pub mod sync;
pub mod task;
pub mod time;

#[doc(hidden)]
pub mod unwind;
4 changes: 2 additions & 2 deletions src/unwind/mod.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#[cfg(feature = "unwind")]
pub(crate) mod forced;
#[cfg(feature = "unwind")]
pub(crate) mod unw_catch;
pub mod unw_catch;
#[cfg(feature = "unwind")]
mod unw_lsda;
#[cfg(feature = "unwind")]
mod unw_table;
#[cfg(feature = "unwind")]
pub(crate) mod unwind;
pub mod unwind;

#[cfg(not(feature = "unwind"))]
mod panic;

0 comments on commit 185fe27

Please sign in to comment.