forked from probe-rs/probe-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cross.toml
27 lines (24 loc) · 1.05 KB
/
Cross.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[target.armv7-unknown-linux-gnueabihf]
# The following lines can be uncommented to use a native
# ARM image when compiling on a ARM machine, like the new Apple devices.
#
# This needs the master version of cross (as of 2023-02-05).
#image.name = "ahuszagh/aarch64-cross:armv7-unknown-linux-gnueabihf"
#image.toolchain = ["aarch64-unknown-linux-gnu"]
pre-build = [
"dpkg --add-architecture armhf",
"apt-get update",
"apt-get install --assume-yes libusb-1.0-0-dev:armhf libftdi1-dev:armhf libudev-dev:armhf libssl-dev:armhf",
]
[target.aarch64-unknown-linux-gnu]
# The following lines can be uncommented to use a native
# ARM image when compiling on a ARM machine, like the new Apple devices.
#
# This needs the master version of cross (as of 2023-02-05).
# image.name = "ahuszagh/aarch64-cross:aarch64-unknown-linux-gnu"
# image.toolchain = ["aarch64-unknown-linux-gnu"]
pre-build = [
"dpkg --add-architecture arm64",
"apt-get update",
"apt-get install --assume-yes libusb-1.0-0-dev:arm64 libftdi1-dev:arm64 libudev-dev:arm64 libssl-dev:arm64",
]