Skip to content

Commit

Permalink
feat: enable i-cache
Browse files Browse the repository at this point in the history
Signed-off-by: tfx2001 <tfx2001@outlook.com>
  • Loading branch information
tfx2001 committed Jul 21, 2024
1 parent 1eb36fb commit d2cbfe9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/board/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ macro_rules! println {
}

pub fn board_init() {
hpm_rt::cache::icache_enable();

let sysctl = pac::SYSCTL;
let pllctl = pac::PLLCTL;
let clock = unsafe { ClockConfigurator::new(sysctl, pllctl).freeze() };
Expand Down

0 comments on commit d2cbfe9

Please sign in to comment.