File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ maintenance = { status = "actively-developed" }
18
18
name = " atat"
19
19
20
20
[dependencies ]
21
- embedded-io = " 0.6.0 "
22
- embedded-io-async = " 0.6.0 "
21
+ embedded-io = " 0.6"
22
+ embedded-io-async = " 0.6"
23
23
futures = { version = " 0.3" , default-features = false }
24
24
embassy-sync = " 0.6"
25
25
embassy-time = " 0.4"
26
26
heapless = { version = " ^0.8" , features = [" serde" ] }
27
27
serde_at = { path = " ../serde_at" , version = " ^0.23.0" , optional = true }
28
28
atat_derive = { path = " ../atat_derive" , version = " ^0.23.0" , optional = true }
29
29
serde_bytes = { version = " 0.11.14" , default-features = false , optional = true }
30
- heapless-bytes = { version = " 0.3 .0" , optional = true }
30
+ heapless-bytes = { version = " 0.4 .0" , optional = true }
31
31
32
32
33
33
nom = { version = " ^7.1" , default-features = false }
Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ embassy-executor = { version = "0.7", features = [
35
35
" arch-cortex-m" ,
36
36
" executor-thread" ,
37
37
], optional = true }
38
- embassy-time = " 0.4"
38
+ embassy-time = { version = " 0.4" }
39
39
embassy-rp = { version = " 0.3" , features = [
40
+ " rp2040" ,
40
41
" unstable-pac" ,
41
42
" time-driver" ,
42
43
" critical-section-impl" ,
@@ -69,6 +70,7 @@ std = [
69
70
" dep:tokio" ,
70
71
" dep:tokio-serial" ,
71
72
" atat/log" ,
73
+ " embassy-time/generic-queue-8" ,
72
74
" embassy-time/std" ,
73
75
" critical-section/std" ,
74
76
" embedded-io-adapters" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ async fn main(spawner: Spawner) {
41
41
RX_BUF . init ( [ 0 ; 16 ] ) ,
42
42
uart:: Config :: default ( ) ,
43
43
) ;
44
- let ( reader , writer ) = uart. split ( ) ;
44
+ let ( writer , reader ) = uart. split ( ) ;
45
45
46
46
static RES_SLOT : ResponseSlot < INGRESS_BUF_SIZE > = ResponseSlot :: new ( ) ;
47
47
static URC_CHANNEL : UrcChannel < common:: Urc , URC_CAPACITY , URC_SUBSCRIBERS > = UrcChannel :: new ( ) ;
You can’t perform that action at this time.
0 commit comments