Skip to content

Commit

Permalink
[devices] Add ARM64 version of hosted targets
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Jan 18, 2024
1 parent ce10452 commit 0002fcf
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
13 changes: 13 additions & 0 deletions tools/devices/hosted/darwin-arm64.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE rca SYSTEM "../devicefile.dtd">
<modm version="1.0">
<device platform="hosted" family="darwin" arch="arm64">
<naming-schema>{platform}-{family}-{arch}</naming-schema>

<driver name="can" type="hosted"/>
<driver name="can" type="canusb"/>
<driver name="core" type="hosted-arm64"/>
<driver name="gpio" type="hosted"/>
<driver name="uart" type="hosted"/>
</device>
</modm>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE rca SYSTEM "../devicefile.dtd">
<modm version="1.0">
<device platform="hosted" family="darwin">
<device platform="hosted" family="darwin" arch="x86_64">
<naming-schema>{platform}-{family}</naming-schema>

<driver name="can" type="hosted"/>
Expand Down
14 changes: 14 additions & 0 deletions tools/devices/hosted/linux-arm64.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE rca SYSTEM "../devicefile.dtd">
<modm version="1.0">
<device platform="hosted" family="linux" arch="arm64">
<naming-schema>{platform}-{family}-{arch}</naming-schema>

<driver name="can" type="socketcan"/>
<driver name="can" type="canusb"/>
<driver name="core" type="hosted-arm64"/>
<driver name="graphics" type="hosted"/>
<driver name="gpio" type="hosted"/>
<driver name="uart" type="hosted"/>
</device>
</modm>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE rca SYSTEM "../devicefile.dtd">
<modm version="1.0">
<device platform="hosted" family="linux">
<device platform="hosted" family="linux" arch="x86_64">
<naming-schema>{platform}-{family}</naming-schema>

<driver name="can" type="socketcan"/>
Expand Down
2 changes: 1 addition & 1 deletion tools/devices/hosted/windows.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE rca SYSTEM "../devicefile.dtd">
<modm version="1.0">
<device platform="hosted" family="windows">
<device platform="hosted" family="windows" arch="x86_64">
<naming-schema>{platform}-{family}</naming-schema>

<driver name="core" type="hosted-x86_64"/>
Expand Down

0 comments on commit 0002fcf

Please sign in to comment.