Skip to content

Instantly share code, notes, and snippets.

@leoheck
leoheck / Freecad_Links_List.py
Last active October 5, 2022 19:46
This code presents files linked inside a FreeCad (.FCStd)
@leoheck
leoheck / fix-ubuntu-18.10-on-dell-xps-9570
Last active December 17, 2022 11:11
Fix Ubuntu 18.10 on Dell XPS 9570
#
# Run this from the Live USB.
#
#############################
# EDIT YOUR PARTITIONS HERE #
#############################
root_partition=/dev/nvm0n1p2
sudo mount ${root_partition} /mnt
@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 / kicad_cli_all
Last active February 17, 2023 06:56
Exports all Schematics pages and every Layer of the PCB in individual SVG files.
#!/bin/bash
# Usage: kicad_cli_all KICAD_PRO
kicad_pro=${1}
if [[ ! -f "${kicad_pro}" ]]; then
echo "Kicad project '${kicad_pro}' is missing"
exit
fi