Skip to content

OTP driver #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub mod hace_controller;
pub mod hash;
pub mod hmac;
pub mod i2c;
pub mod otp;
pub mod pinctrl;
pub mod rsa;
pub mod spi;
Expand Down
5 changes: 5 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use aspeed_ddk::tests::functional::gpio_test;
use aspeed_ddk::tests::functional::hash_test::run_hash_tests;
use aspeed_ddk::tests::functional::hmac_test::run_hmac_tests;
use aspeed_ddk::tests::functional::i2c_test;
use aspeed_ddk::tests::functional::otp_test;
use aspeed_ddk::tests::functional::rsa_test::run_rsa_tests;
use aspeed_ddk::tests::functional::timer_test::run_timer_tests;
use panic_halt as _;
Expand Down Expand Up @@ -171,6 +172,10 @@ fn main() -> ! {
test_wdt(&mut uart_controller);
run_timer_tests(&mut uart_controller);

if false {
otp_test::test_otp(&mut uart_controller);
}

let test_spicontroller = false;
if test_spicontroller {
spi::spitest::test_fmc(&mut uart_controller);
Expand Down
Loading