Skip to content

Instantly share code, notes, and snippets.

View cfriedt's full-sized avatar

Chris Friedt cfriedt

View GitHub Profile
@cfriedt
cfriedt / using-linux-zephyr-and-greybus-for-iot-with-the-cc1352r-sensortag.md
Last active October 10, 2020 00:18
using-linux-zephyr-and-greybus-for-iot-with-the-cc1352r-sensortag.md
@cfriedt
cfriedt / things-to-fix-in-and-around-chrome-os.md
Last active March 11, 2021 13:46
Things to Fix In and Around Chrome OS

Things to Fix In and Around Chrome OS

Expose All USB Devices to Crostini

Crostini is the codename for the Linux virtual machine in Chrome OS. It has a number of particular functions, such as running Docker containers. Recently, it also became possible to connect USB devices to the Linux VM.

Currently, only Android devices are usable within Crostini, as indicated by this phrase within the settings screen.

Only Android devices are currently supported

But to be specific, each Chrome Device should..

@cfriedt
cfriedt / using-linux-zephyr-and-greybus-to-blink-an-led-via-ieee-802154.md
Last active October 17, 2023 07:46
Blink an LED using Linux, Zephyr & Greybus via IEEE 802.15.4
@cfriedt
cfriedt / gist:817d88b96256020649a33f32487e114c
Created November 17, 2023 15:10
zephyr-release-stats.sh
#!/bin/bash
set -e
# usage:
# ./zephyr-release-stats.sh | tee zephyr-release-stats.csv
cd $HOME/zephyrproject/zephyr
RELEASES=( v2.0.0 v2.1.0 v2.2.0 v2.3.0 v2.4.0 v2.5.0 v2.6.0 v2.7.0 v3.0.0 v3.1.0 v3.2.0 v3.3.0 v3.4.0 v3.5.0 )
N=${#RELEASES[@]}
@cfriedt
cfriedt / zephyrrc.sh
Last active May 1, 2024 14:54
My Zephyr RC file
# The contents of this file should go into ~/.zephyrrc
# It is sourced with
# source zephyr-env.sh
# Download the Zephyr SDK from
# https://github.com/zephyrproject-rtos/sdk-ng/releases
ZEPHYR_SDK_VERSION=0.16.5-1
PREFIX=/opt/zephyr
VENV=$PREFIX/.venv