Skip to content

Commit

Permalink
Move apis to syscall directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mlvisaya committed Jan 10, 2025
1 parent 9077cb2 commit 3afd08a
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 31 deletions.
11 changes: 1 addition & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ members = [
"romtime",
"runtime",
"runtime/apps/example",
"runtime/apps/apis",
"runtime/apps/libtock/apis/interface/buttons",
"runtime/apps/libtock/apis/interface/buzzer",
"runtime/apps/libtock/apis/interface/console",
Expand Down Expand Up @@ -131,7 +130,6 @@ libtock_debug_panic = { path = "runtime/apps/libtock/panic_handlers/debug_panic"
libtock_platform = { path = "runtime/apps/libtock/platform" }
libtock_runtime = { path = "runtime/apps/libtock/runtime" }
libtock_unittest = { path = "runtime/apps/libtock/unittest" }
libtock_caliptra = { path = "runtime/apps/apis" }
libsyscall-caliptra = { path = "runtime/apps/syscall" }

# caliptra dependencies; keep git revs in sync
Expand Down
12 changes: 0 additions & 12 deletions runtime/apps/apis/Cargo.toml

This file was deleted.

5 changes: 0 additions & 5 deletions runtime/apps/apis/src/lib.rs

This file was deleted.

2 changes: 1 addition & 1 deletion runtime/apps/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ edition.workspace = true
[dependencies]
critical-section.workspace = true
embassy-executor.workspace = true
libsyscall-caliptra.workspace = true
libtock_alarm.workspace = true
libtock_caliptra.workspace = true
libtock_console.workspace = true
libtock_debug_panic.workspace = true
libtock_platform.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion runtime/apps/example/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#![allow(static_mut_refs)]

use core::fmt::Write;
use libsyscall_caliptra::mctp::{driver_num, Mctp};
use libtock::alarm::*;
use libtock_caliptra::mctp::{driver_num, Mctp};
use libtock_console::Console;
use libtock_platform::{self as platform};
use libtock_platform::{DefaultConfig, ErrorCode, Syscalls};
Expand Down
1 change: 1 addition & 0 deletions runtime/apps/syscall/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

pub mod dma;
pub mod mailbox;
pub mod mctp;
File renamed without changes.

0 comments on commit 3afd08a

Please sign in to comment.