-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed "interfaces" folder and .rs file to "channels"
- Loading branch information
1 parent
c44f626
commit f14e916
Showing
9 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
src/interfaces/jlink/board_interface.rs → src/channels/jlink/board_interface.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
18 changes: 9 additions & 9 deletions
18
src/interfaces/openocd/board_interface.rs → src/channels/openocd/board_interface.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
use crate::errors::TockloaderError; | ||
use crate::interfaces::traits::BoardChannel; | ||
use crate::interfaces::OpenOCDChannel; | ||
|
||
impl BoardChannel for OpenOCDChannel { | ||
fn open(&mut self) -> Result<(), TockloaderError> { | ||
todo!() | ||
} | ||
} | ||
use crate::channels::traits::BoardChannel; | ||
use crate::channels::OpenOCDChannel; | ||
use crate::errors::TockloaderError; | ||
|
||
impl BoardChannel for OpenOCDChannel { | ||
fn open(&mut self) -> Result<(), TockloaderError> { | ||
todo!() | ||
} | ||
} |
File renamed without changes.
18 changes: 9 additions & 9 deletions
18
src/interfaces/serial/board_interface.rs → src/channels/serial/board_interface.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
use crate::errors::TockloaderError; | ||
use crate::interfaces::traits::BoardChannel; | ||
use crate::interfaces::SerialChannel; | ||
|
||
impl BoardChannel for SerialChannel { | ||
fn open(&mut self) -> Result<(), TockloaderError> { | ||
todo!() | ||
} | ||
} | ||
use crate::channels::traits::BoardChannel; | ||
use crate::channels::SerialChannel; | ||
use crate::errors::TockloaderError; | ||
|
||
impl BoardChannel for SerialChannel { | ||
fn open(&mut self) -> Result<(), TockloaderError> { | ||
todo!() | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
mod channels; | ||
mod cli; | ||
mod errors; | ||
mod interfaces; | ||
use cli::make_cli; | ||
|
||
fn main() { | ||
|