wpan: re-enable HIL tests
This commit is contained in:
parent
b012a67df7
commit
bb8a1b7f1f
2
ci.sh
2
ci.sh
@ -201,8 +201,6 @@ cargo batch \
|
|||||||
$BUILD_EXTRA
|
$BUILD_EXTRA
|
||||||
|
|
||||||
|
|
||||||
rm out/tests/stm32wb55rg/wpan_mac
|
|
||||||
rm out/tests/stm32wb55rg/wpan_ble
|
|
||||||
|
|
||||||
if [[ -z "${TELEPROBE_TOKEN-}" ]]; then
|
if [[ -z "${TELEPROBE_TOKEN-}" ]]; then
|
||||||
echo No teleprobe token found, skipping running HIL tests
|
echo No teleprobe token found, skipping running HIL tests
|
||||||
|
@ -88,6 +88,8 @@ impl BackupDomain {
|
|||||||
))]
|
))]
|
||||||
#[allow(dead_code, unused_variables)]
|
#[allow(dead_code, unused_variables)]
|
||||||
pub fn configure_ls(clock_source: RtcClockSource, lsi: bool, lse: Option<LseDrive>) {
|
pub fn configure_ls(clock_source: RtcClockSource, lsi: bool, lse: Option<LseDrive>) {
|
||||||
|
use atomic_polyfill::{compiler_fence, Ordering};
|
||||||
|
|
||||||
match clock_source {
|
match clock_source {
|
||||||
RtcClockSource::LSI => assert!(lsi),
|
RtcClockSource::LSI => assert!(lsi),
|
||||||
RtcClockSource::LSE => assert!(&lse.is_some()),
|
RtcClockSource::LSE => assert!(&lse.is_some()),
|
||||||
@ -173,5 +175,7 @@ impl BackupDomain {
|
|||||||
}
|
}
|
||||||
|
|
||||||
trace!("BDCR configured: {:08x}", Self::read().0);
|
trace!("BDCR configured: {:08x}", Self::read().0);
|
||||||
|
|
||||||
|
compiler_fence(Ordering::SeqCst);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user