File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -36,26 +36,26 @@ rustc-args = ["--cfg", "docsrs"]
3636[dependencies ]
3737cfg-if = " 1.0.0"
3838cortex-m = " 0.7.2"
39- cortex-m-rt = { version = " >=0.6.13, <0.8 " }
40- defmt = { version = " 0.2.3" , optional = true }
39+ cortex-m-rt = " 0.7 "
40+ defmt = { version = " >= 0.2.3, <0.4.0 " , optional = true }
4141embedded-dma = " 0.1.2"
4242embedded-hal = { version = " 0.2.5" , features = [" unproven" ] }
4343embedded-time = " 0.12.0"
4444nb = " 1.0.0"
4545paste = " 1.0.5"
4646rtcc = { version = " 0.2.1" , optional = true }
4747stm32f3 = { version = " 0.14.0" , default-features = false }
48- bxcan = { version = " >=0.4, <0.6 " , optional = true }
48+ bxcan = { version = " 0.6.2 " , optional = true }
4949stm32-usbd = { version = " 0.6.0" , optional = true }
5050void = { version = " 1.0.2" , default-features = false }
5151enumset = { version = " 1.0.6" , optional = true }
5252
5353[dev-dependencies ]
5454cortex-m = " 0.7.2"
5555cortex-m-semihosting = " 0.3.7"
56- defmt-rtt = " 0.2 .0"
57- defmt-test = " 0.2.3 "
58- panic-probe = " 0.2 .0"
56+ defmt-rtt = " 0.3 .0"
57+ defmt-test = " 0.3.0 "
58+ panic-probe = " 0.3 .0"
5959panic-semihosting = " 0.5.6"
6060usbd-serial = " 0.1.1"
6161usb-device = " 0.2.8"
Original file line number Diff line number Diff line change 6666 apb1. rstr ( ) . modify ( |_, w| w. canrst ( ) . set_bit ( ) ) ;
6767 apb1. rstr ( ) . modify ( |_, w| w. canrst ( ) . clear_bit ( ) ) ;
6868
69- bxcan:: Can :: new ( Can { can, tx, rx } )
69+ bxcan:: Can :: builder ( Can { can, tx, rx } ) . enable ( )
7070 }
7171
7272 /// Releases the CAN peripheral and associated pins
Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ harness = false
5050[dependencies ]
5151cfg-if = " 1.0"
5252cortex-m = " 0.7.0"
53- cortex-m-rt = " 0.6.13 "
54- defmt = " 0.2 .0"
55- defmt-rtt = " 0.2 .0"
56- defmt-test = " 0.2 .0"
53+ cortex-m-rt = " 0.7 "
54+ defmt = " 0.3 .0"
55+ defmt-rtt = " 0.3 .0"
56+ defmt-test = " 0.3 .0"
5757enumset = { version = " 1.0.6" }
5858# TODO: Set stm32f303xc as default, but make it overwritable
5959stm32f3xx-hal = { path = " .." , features = [" defmt-trace" ]}
60- panic-probe = { version = " 0.2 .0" , features = [" print-defmt" ] }
60+ panic-probe = { version = " 0.3 .0" , features = [" print-defmt" ] }
6161nb = " 1.0.0"
6262num-traits = { version = " 0.2.14" , default-features = false }
6363
You can’t perform that action at this time.
0 commit comments