From 7e279ed87cfae1eaf74fd5abfc4ec7f76a946ad3 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Sun, 21 Jun 2020 14:39:23 +0200 Subject: [PATCH] Re-enabling the HSE --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 55365ca..eb7d282 100644 --- a/src/main.rs +++ b/src/main.rs @@ -171,6 +171,9 @@ const APP: () = { eeprom_i2c: hal::i2c::I2c, timer: hal::timer::Timer, + + // Note: Do not rustfmt the following definition, as it appears to cause a bug in GDB that + // results in failing to set breakpoints at correct locations. net_interface: net::iface::EthernetInterface< 'static, 'static, @@ -197,8 +200,7 @@ const APP: () = { let rcc = dp.RCC.constrain(); let mut clocks = rcc - //TODO: Re-enable HSE for Stabilizer platform. - // .use_hse(8.mhz()) + .use_hse(8.mhz()) .sysclk(400.mhz()) .hclk(200.mhz()) .per_ck(100.mhz())