File tree Expand file tree Collapse file tree 5 files changed +6
-12
lines changed
src/modm/platform/gpio/rpi Expand file tree Collapse file tree 5 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def init(module):
17
17
18
18
19
19
def prepare (module , options ):
20
- if not options [":target" ].has_driver ("gpio:rpi" ):
20
+ if not options [":target" ].has_driver ("gpio:wiring- rpi" ):
21
21
return False
22
22
23
23
module .depends (":architecture:gpio" )
Original file line number Diff line number Diff line change 4
4
<device platform =" hosted" family =" darwin" >
5
5
<naming-schema >{platform}-{family}</naming-schema >
6
6
7
- <attribute-core value =" x86" />
8
-
9
7
<driver name =" can" type =" hosted" />
10
8
<driver name =" can" type =" canusb" />
11
- <driver name =" core" type =" hosted" />
9
+ <driver name =" core" type =" hosted-x86_64 " />
12
10
<driver name =" gpio" type =" hosted" />
13
11
<driver name =" uart" type =" hosted" />
14
12
</device >
Original file line number Diff line number Diff line change 4
4
<device platform =" hosted" family =" linux" >
5
5
<naming-schema >{platform}-{family}</naming-schema >
6
6
7
- <attribute-core value =" x86" />
8
-
9
7
<driver name =" can" type =" socketcan" />
10
8
<driver name =" can" type =" canusb" />
11
- <driver name =" core" type =" hosted" />
9
+ <driver name =" core" type =" hosted-x86_64 " />
12
10
<driver name =" graphics" type =" hosted" />
13
11
<driver name =" gpio" type =" hosted" />
14
12
<driver name =" uart" type =" hosted" />
Original file line number Diff line number Diff line change 4
4
<device platform =" hosted" family =" rpi" >
5
5
<naming-schema >{platform}-{family}</naming-schema >
6
6
7
- <driver name =" core" type =" rpi " />
8
- <driver name =" gpio" type =" rpi" />
7
+ <driver name =" core" type =" hosted-arm64 " />
8
+ <driver name =" gpio" type =" wiring- rpi" />
9
9
<driver name =" uart" type =" hosted" />
10
10
</device >
11
11
</modm >
Original file line number Diff line number Diff line change 4
4
<device platform =" hosted" family =" windows" >
5
5
<naming-schema >{platform}-{family}</naming-schema >
6
6
7
- <attribute-core value =" x86" />
8
-
9
- <driver name =" core" type =" hosted" />
7
+ <driver name =" core" type =" hosted-x86_64" />
10
8
<driver name =" graphics" type =" hosted" />
11
9
<driver name =" gpio" type =" hosted" />
12
10
</device >
You can’t perform that action at this time.
0 commit comments