File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ jobs:
333333 # if there are breaking changes in `ec-test-cli`
334334 #
335335 # We can update this commit when we want to pull in a new `ec-test-cli`
336- EC_TEST_CLI_REV : d705cd4f
336+ EC_TEST_CLI_REV : 20347787
337337
338338 # Tag of the prebuilt QEMU image pulled from the odp-qemu-builder GHCR package
339339 ODP_QEMU_TAG : sha-7e461b3
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ use static_cell::StaticCell;
1717#[ embassy_executor:: task]
1818async fn uart_service ( uart : uart:: Uart < ' static , uart:: Async > , relay : MockOdpRelayHandler ) {
1919 info ! ( "Starting uart service" ) ;
20- static UART_SERVICE : StaticCell < uart_service:: DefaultService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
21- let uart_service = uart_service:: DefaultService :: default_smbusespi ( relay) . unwrap ( ) ;
20+ static UART_SERVICE : StaticCell < uart_service:: MctpSerialService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
21+ let uart_service =
22+ uart_service:: MctpSerialService :: default_mctp_serial ( relay) . expect ( "failed to init MctpSerial uart-service" ) ;
2223 let uart_service = UART_SERVICE . init ( uart_service) ;
2324
2425 let Err ( e) = uart_service:: task:: uart_service ( uart_service, uart) . await ;
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ use static_cell::StaticCell;
1717#[ embassy_executor:: task]
1818async fn uart_service ( uart : lpuart:: LpuartBbq , relay : MockOdpRelayHandler ) {
1919 info ! ( "Starting uart service" ) ;
20- static UART_SERVICE : StaticCell < uart_service:: DefaultService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
21- let uart_service = uart_service:: DefaultService :: default_smbusespi ( relay) . unwrap ( ) ;
20+ static UART_SERVICE : StaticCell < uart_service:: MctpSerialService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
21+ let uart_service =
22+ uart_service:: MctpSerialService :: default_mctp_serial ( relay) . expect ( "failed to init MctpSerial uart-service" ) ;
2223 let uart_service = UART_SERVICE . init ( uart_service) ;
2324
2425 let Err ( e) = uart_service:: task:: uart_service ( uart_service, uart) . await ;
Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ use static_cell::StaticCell;
1616#[ embassy_executor:: task]
1717async fn uart_service ( uart : uart:: Uart < ' static , uart:: Async > , relay : MockOdpRelayHandler ) {
1818 info ! ( "Starting uart service" ) ;
19- static UART_SERVICE : StaticCell < uart_service:: DefaultService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
20- let uart_service = uart_service:: DefaultService :: default_smbusespi ( relay) . unwrap ( ) ;
19+ static UART_SERVICE : StaticCell < uart_service:: MctpSerialService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
20+ let uart_service =
21+ uart_service:: MctpSerialService :: default_mctp_serial ( relay) . expect ( "failed to init MctpSerial uart-service" ) ;
2122 let uart_service = UART_SERVICE . init ( uart_service) ;
2223
2324 let Err ( e) = uart_service:: task:: uart_service ( uart_service, uart) . await ;
Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ async fn uart_service(
1818) {
1919 info ! ( "Starting uart service" ) ;
2020
21- static UART_SERVICE : StaticCell < uart_service:: DefaultService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
22- let uart_service = uart_service:: DefaultService :: default_smbusespi ( relay) . unwrap ( ) ;
21+ static UART_SERVICE : StaticCell < uart_service:: MctpSerialService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
22+ let uart_service =
23+ uart_service:: MctpSerialService :: default_mctp_serial ( relay) . expect ( "failed to init MctpSerial uart-service" ) ;
2324 let uart_service = UART_SERVICE . init ( uart_service) ;
2425 let Err ( e) = uart_service:: task:: uart_service ( uart_service, uart) . await ;
2526 panic ! ( "uart-service error: {:?}" , e) ;
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ use static_cell::StaticCell;
1717#[ embassy_executor:: task]
1818async fn uart_service ( uart : buffered:: Uart < ' static , Async > , relay : MockOdpRelayHandler ) {
1919 info ! ( "Starting uart service" ) ;
20- static UART_SERVICE : StaticCell < uart_service:: DefaultService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
21- let uart_service = uart_service:: DefaultService :: default_smbusespi ( relay) . unwrap ( ) ;
20+ static UART_SERVICE : StaticCell < uart_service:: MctpSerialService < MockOdpRelayHandler > > = StaticCell :: new ( ) ;
21+ let uart_service =
22+ uart_service:: MctpSerialService :: default_mctp_serial ( relay) . expect ( "failed to init MctpSerial uart-service" ) ;
2223 let uart_service = UART_SERVICE . init ( uart_service) ;
2324 let Err ( e) = uart_service:: task:: uart_service ( uart_service, uart) . await ;
2425 panic ! ( "uart-service error: {:?}" , e) ;
You can’t perform that action at this time.
0 commit comments