File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ =======
11
+ ### Changed
12
+
13
+ - Updated stm32f0 dependency to v0.13 (breaking change)
14
+ - Move SPI busy polling to ` check_send() `
15
+ - Poll for SPI transaction completion before returning
16
+ - Update ` remap_pins() ` and remove critical section
17
+
18
+ ### Added
19
+
10
20
- Add CAN bus abstraction based on the [ bxcan] crate.
11
21
12
22
[ bxcan ] : https://crates.io/crates/bxcan
Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ targets = ["thumbv6m-none-eabi"]
32
32
[dependencies ]
33
33
bare-metal = { version = " 1.0.0" }
34
34
cast = { version = " 0.2" , default-features = false }
35
- cortex-m = " 0.6 "
35
+ cortex-m = " 0.7 "
36
36
embedded-hal = { version = " 0.2" , features = [" unproven" ] }
37
- stm32f0 = " 0.12.1 "
38
- nb = " 1.0 "
37
+ stm32f0 = " 0.13 "
38
+ nb = " 1"
39
39
void = { version = " 1.0" , default-features = false }
40
- stm32-usbd = { version = " 0.5.1 " , features = [ " ram_access_2x16 " ] , optional = true }
40
+ stm32-usbd = { version = " 0.6 " , optional = true }
41
41
bxcan = " 0.4.0"
42
42
43
43
[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ unsafe impl UsbPeripheral for Peripheral {
25
25
const DP_PULL_UP_FEATURE : bool = true ;
26
26
const EP_MEMORY : * const ( ) = 0x4000_6000 as _ ;
27
27
const EP_MEMORY_SIZE : usize = 1024 ;
28
+ const EP_MEMORY_ACCESS_2X16 : bool = true ;
28
29
29
30
fn enable ( ) {
30
31
let rcc = unsafe { & * RCC :: ptr ( ) } ;
You can’t perform that action at this time.
0 commit comments