File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ features = [ "smoltcp-phy", "stm32f429" ]
20
20
[dependencies ]
21
21
volatile-register = " 0.2"
22
22
aligned = " 0.3"
23
- stm32f7xx-hal = {version = " 0.2 .0" , optional = true }
23
+ stm32f7xx-hal = {version = " 0.5 .0" , optional = true }
24
24
stm32f4xx-hal = {version = " 0.8.3" , optional = true }
25
25
cortex-m = " 0.6.2"
26
26
log = { version = " 0.4" , optional = true }
Original file line number Diff line number Diff line change 5
5
pub use stm32f7xx_hal as hal;
6
6
/// Re-export
7
7
#[ cfg( feature = "stm32f7xx-hal" ) ]
8
- pub use stm32f7xx_hal:: device as stm32;
8
+ pub use stm32f7xx_hal:: pac as stm32;
9
9
10
10
/// Re-export
11
11
#[ cfg( feature = "stm32f4xx-hal" ) ]
Original file line number Diff line number Diff line change 1
1
#[ cfg( feature = "stm32f4xx-hal" ) ]
2
2
use stm32f4xx_hal:: stm32;
3
3
#[ cfg( feature = "stm32f7xx-hal" ) ]
4
- use stm32f7xx_hal:: device as stm32;
4
+ use stm32f7xx_hal:: pac as stm32;
5
5
6
6
use stm32:: ethernet_mac:: { MACMIIAR , MACMIIDR } ;
7
7
Original file line number Diff line number Diff line change 1
1
#[ cfg( feature = "stm32f4xx-hal" ) ]
2
2
use stm32f4xx_hal:: stm32;
3
3
#[ cfg( feature = "stm32f7xx-hal" ) ]
4
- use stm32f7xx_hal:: device as stm32;
4
+ use stm32f7xx_hal:: pac as stm32;
5
5
6
6
use stm32:: ETHERNET_DMA ;
7
7
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ use stm32f4xx_hal::{
16
16
use cortex_m:: interrupt;
17
17
#[ cfg( feature = "stm32f7xx-hal" ) ]
18
18
use stm32f7xx_hal:: {
19
- device:: { RCC , SYSCFG } ,
20
19
gpio:: {
21
20
gpioa:: { PA1 , PA2 , PA7 } ,
22
21
gpiob:: { PB11 , PB12 , PB13 } ,
@@ -25,6 +24,7 @@ use stm32f7xx_hal::{
25
24
Floating , Input ,
26
25
Speed :: VeryHigh ,
27
26
} ,
27
+ pac:: { RCC , SYSCFG } ,
28
28
} ;
29
29
30
30
// Enable syscfg and ethernet clocks. Reset the Ethernet MAC.
Original file line number Diff line number Diff line change 1
1
#[ cfg( feature = "stm32f4xx-hal" ) ]
2
2
use stm32f4xx_hal:: stm32;
3
3
#[ cfg( feature = "stm32f7xx-hal" ) ]
4
- use stm32f7xx_hal:: device as stm32;
4
+ use stm32f7xx_hal:: pac as stm32;
5
5
6
6
use stm32:: ethernet_mac:: { MACMIIAR , MACMIIDR } ;
7
7
Original file line number Diff line number Diff line change 1
1
#[ cfg( feature = "stm32f4xx-hal" ) ]
2
2
use stm32f4xx_hal:: stm32;
3
3
#[ cfg( feature = "stm32f7xx-hal" ) ]
4
- use stm32f7xx_hal:: device as stm32;
4
+ use stm32f7xx_hal:: pac as stm32;
5
5
6
6
use stm32:: ETHERNET_DMA ;
7
7
You can’t perform that action at this time.
0 commit comments