@@ -17,21 +17,21 @@ impl ConfigJedecId {
1717 pub fn execute ( & self , uart : & dyn Uart ) -> Result < ( ) > {
1818 TestCommand :: SpiConfigureJedecId . send_with_crc ( uart) ?;
1919 self . send_with_crc ( uart) ?;
20- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
20+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
2121 Ok ( ( ) )
2222 }
2323}
2424
2525impl StatusRegister {
2626 pub fn read ( uart : & dyn Uart ) -> Result < Self > {
2727 TestCommand :: SpiReadStatus . send_with_crc ( uart) ?;
28- Self :: recv ( uart, Duration :: from_secs ( 300 ) , false )
28+ Self :: recv ( uart, Duration :: from_secs ( 300 ) , false , false )
2929 }
3030
3131 pub fn write ( & self , uart : & dyn Uart ) -> Result < ( ) > {
3232 TestCommand :: SpiWriteStatus . send_with_crc ( uart) ?;
3333 self . send_with_crc ( uart) ?;
34- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
34+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
3535 Ok ( ( ) )
3636 }
3737}
@@ -40,7 +40,7 @@ impl SfdpData {
4040 pub fn write ( & self , uart : & dyn Uart ) -> Result < ( ) > {
4141 TestCommand :: SpiWriteSfdp . send_with_crc ( uart) ?;
4242 self . send_with_crc ( uart) ?;
43- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
43+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
4444 Ok ( ( ) )
4545 }
4646}
@@ -52,14 +52,14 @@ impl UploadInfo {
5252 {
5353 TestCommand :: SpiWaitForUpload . send_with_crc ( uart) ?;
5454 f ( ) ?;
55- Self :: recv ( uart, Duration :: from_secs ( 300 ) , false )
55+ Self :: recv ( uart, Duration :: from_secs ( 300 ) , false , false )
5656 }
5757}
5858
5959impl SpiFlashReadId {
6060 pub fn execute ( uart : & dyn Uart ) -> Result < Self > {
6161 TestCommand :: SpiFlashReadId . send_with_crc ( uart) ?;
62- let data = SpiFlashReadId :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
62+ let data = SpiFlashReadId :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
6363 Ok ( data)
6464 }
6565}
@@ -68,7 +68,7 @@ impl SpiFlashReadSfdp {
6868 pub fn execute ( & self , uart : & dyn Uart ) -> Result < SfdpData > {
6969 TestCommand :: SpiFlashReadSfdp . send_with_crc ( uart) ?;
7070 self . send_with_crc ( uart) ?;
71- let sfdp = SfdpData :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
71+ let sfdp = SfdpData :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
7272 Ok ( sfdp)
7373 }
7474}
@@ -77,7 +77,7 @@ impl SpiFlashEraseSector {
7777 pub fn execute ( & self , uart : & dyn Uart ) -> Result < ( ) > {
7878 TestCommand :: SpiFlashEraseSector . send_with_crc ( uart) ?;
7979 self . send_with_crc ( uart) ?;
80- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
80+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
8181 Ok ( ( ) )
8282 }
8383}
@@ -86,7 +86,7 @@ impl SpiFlashWrite {
8686 pub fn execute ( & self , uart : & dyn Uart ) -> Result < ( ) > {
8787 TestCommand :: SpiFlashWrite . send_with_crc ( uart) ?;
8888 self . send_with_crc ( uart) ?;
89- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
89+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
9090 Ok ( ( ) )
9191 }
9292}
@@ -95,7 +95,7 @@ impl SpiPassthruSwapMap {
9595 pub fn apply_address_swap ( & self , uart : & dyn Uart ) -> Result < ( ) > {
9696 TestCommand :: SpiPassthruSetAddressMap . send_with_crc ( uart) ?;
9797 self . send_with_crc ( uart) ?;
98- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
98+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
9999 Ok ( ( ) )
100100 }
101101}
@@ -104,13 +104,13 @@ impl SpiMailboxMap {
104104 pub fn apply ( & self , uart : & dyn Uart ) -> Result < ( ) > {
105105 TestCommand :: SpiMailboxMap . send_with_crc ( uart) ?;
106106 self . send_with_crc ( uart) ?;
107- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
107+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
108108 Ok ( ( ) )
109109 }
110110
111111 pub fn disable ( uart : & dyn Uart ) -> Result < ( ) > {
112112 TestCommand :: SpiMailboxUnmap . send_with_crc ( uart) ?;
113- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
113+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
114114 Ok ( ( ) )
115115 }
116116}
@@ -119,7 +119,7 @@ impl SpiMailboxWrite {
119119 pub fn execute ( & self , uart : & dyn Uart ) -> Result < ( ) > {
120120 TestCommand :: SpiMailboxWrite . send_with_crc ( uart) ?;
121121 self . send_with_crc ( uart) ?;
122- Status :: recv ( uart, Duration :: from_secs ( 300 ) , false ) ?;
122+ Status :: recv ( uart, Duration :: from_secs ( 300 ) , false , false ) ?;
123123 Ok ( ( ) )
124124 }
125125}
0 commit comments