Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@leoheck
leoheck / cc2538-and-openocd.md
Last active January 13, 2023 15:47 — forked from hwhw/cc2538-and-openocd.md
Flashing CC13*2 using OpenOCD

Flashing CC13x2 with OpenOCD Using XDS110 and JTAG.

Install OpenOCD version 0.11.0 (or maybe higher)

You can also build it yourself.

Boards setup

If you are using Launchpads to experiment this setup, you are going to need to prepare them as it is being shown in this image.

jtag_chain2

@leoheck
leoheck / userpic.sh
Created November 2, 2021 15:21 — forked from palmerc/userpic.sh
Updating a user's picture from a script
#!/bin/bash
set -e
declare -x USERNAME="$1"
declare -x USERPIC="$2"
declare -r DSIMPORT_CMD="/usr/bin/dsimport"
declare -r ID_CMD="/usr/bin/id"
@leoheck
leoheck / guide-crosscompile-transmission-for-wd-my-cloud.md
Last active October 24, 2018 02:45 — forked from sled/guide.text
Guid to cross compile transmission 2.82 for Western Digital MyCloud

########################################################

CROSS COMPILING TRANSMISSION 2.82 FOR WD MY CLOUD

########################################################

This is a guide to compile transmission 2.82 for the WD MyCloud 2/3/4 TB.

Because I didn't want to install the build tools and dependencies on my NAS I chose to setup a cross-compiler toolchain on my x86_64 Ubuntu 12.04 machine and create a .deb package that can be installed on the NAS. Furthermore the cross compiler can be used to compile anything for the My Cloud (printer drivers, etc.)