forked from M-Labs/humpback-dds
tcp_client: rm extra clk
This commit is contained in:
parent
eaaee84fbc
commit
d6a05a7579
@ -84,16 +84,14 @@ fn main() -> ! {
|
||||
let ccdr = rcc
|
||||
.use_hse(8.mhz())
|
||||
.sysclk(400.mhz())
|
||||
.hclk(200.mhz())
|
||||
.per_ck(100.mhz())
|
||||
// .hclk(200.mhz())
|
||||
// .per_ck(100.mhz())
|
||||
.pll1_q_ck(48.mhz()) // for SPI
|
||||
.pll1_r_ck(400.mhz()) // for TRACECK
|
||||
.pll2_p_ck(100.mhz())
|
||||
.pll2_q_ck(100.mhz())
|
||||
// .pll2_p_ck(100.mhz())
|
||||
// .pll2_q_ck(100.mhz())
|
||||
.freeze(vos, &dp.SYSCFG);
|
||||
|
||||
// info!("{}", ccdr.clocks.c_ck().0);
|
||||
|
||||
unsafe {
|
||||
logger::enable_itm(&dp.DBGMCU, &mut cp.DCB, &mut cp.ITM);
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ pub unsafe fn enable_itm(
|
||||
*(0x5c00_4fb0 as *mut u32) = 0xC5ACCE55;
|
||||
|
||||
// SWO CODR Register: Set SWO speed
|
||||
*(0x5c00_3010 as *mut _) = 200;
|
||||
*(0x5c00_3010 as *mut _) = 199;
|
||||
|
||||
// SWO SPPR Register:
|
||||
// 1 = Manchester
|
||||
|
Loading…
Reference in New Issue
Block a user