Skip to content

Commit 62568d8

Browse files
committed
[Cherry-pick][VAL] Fix mcu_sram_protected_region test ending status (#1141)
* Small delay at MCU program test-end to allow Caliptra to observe status and quiesce DMA * MICROSOFT AUTOMATED PIPELINE: Stamp 'cwhitehead-msft-fix-mcu-sram-prot-reg-test' with updated timestamp and hash after successful run
1 parent 6f64d0e commit 62568d8

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflow_metadata/pr_hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c77afd8e70787e388446e6e9c27d379e6bf7dd066a9682399ec8696b7c73ba69f84cc997e73deea36854434fc4496df0
1+
2b7097cddb0fc96a6cea0223a8edd384318bf992819b1b9789d4803e7896afb0c1bc964cc21899f321f2f81518091a9a
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1767733373
1+
1777402477

src/integration/test_suites/smoke_test_mcu_sram_protected_region/smoke_test_mcu_sram_protected_region.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,8 @@ void main (void) {
102102
}
103103
mcu_mbox_update_status(0, MCU_MBOX_CMD_COMPLETE);
104104

105+
// Fudge factor to allow Caliptra to detect the status and quiesce the DMA poll loop
106+
mcu_sleep(100);
107+
105108
SEND_STDOUT_CTRL(0xff);
106109
}

0 commit comments

Comments
 (0)