From d7ed1944c280444a9930b749d47a66c93a4999b2 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Wed, 11 Dec 2024 16:49:46 -0500 Subject: [PATCH] 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 --- src/bare-metal.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/bare-metal.md b/src/bare-metal.md index f4675b53..8d54f3bc 100644 --- a/src/bare-metal.md +++ b/src/bare-metal.md @@ -29,7 +29,7 @@ To get started, install some tools we'll need later. On gLinux or Debian: ```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: