mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-20 14:31:15 +02:00
Changes to do bare-metal from chromebook (#2510)
On my chromebook: * I needed build-essentials to install cc * I needed to enable sharing the USB device with linux. This instruction was from a support.google.com article so well-known but not obvious. --------- Co-authored-by: Martin Geisler <martin@geisler.net>
This commit is contained in:
parent
d686ab83cf
commit
d7ed1944c2
@ -29,7 +29,7 @@ To get started, install some tools we'll need later. On gLinux or Debian:
|
||||
<!-- mdbook-xgettext: skip -->
|
||||
|
||||
```bash
|
||||
sudo apt install gdb-multiarch libudev-dev picocom pkg-config qemu-system-arm
|
||||
sudo apt install gdb-multiarch libudev-dev picocom pkg-config qemu-system-arm build-essentials
|
||||
rustup update
|
||||
rustup target add aarch64-unknown-none thumbv7em-none-eabihf
|
||||
rustup component add llvm-tools-preview
|
||||
@ -47,6 +47,11 @@ echo 'SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0d28", MODE="0660", GROUP="logindev
|
||||
sudo udevadm control --reload-rules
|
||||
```
|
||||
|
||||
You should see "NXP ARM mbed" in the output of `lsusb` if the device is
|
||||
available. If you are using a Linux environment on a Chromebook, you will need
|
||||
to share the USB device with Linux, via
|
||||
`chrome://os-settings/crostini/sharedUsbDevices`.
|
||||
|
||||
On MacOS:
|
||||
|
||||
<!-- mdbook-xgettext: skip -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user