Skip to content

Instantly share code, notes, and snippets.

@brainstorm
brainstorm / openocd_xpc56_session.md
Last active June 10, 2023 14:32
Hyundai CCM OpenOCD

First clone this OpenOCD fork which contains patches for our target board:

git clone https://github.com/calandoa/openocd && cd openocd

Then apply some fixes/patch to the code above:

diff --git a/configure.ac b/configure.ac
@darkxst
darkxst / rules.txt
Last active September 18, 2024 19:39 — forked from denniskupec/rules.txt
KiCad DRC rules for JLCPCB, 2 & 4-layer PCB
(version 1)
#Kicad 7
# 2-layer, 1oz copper
(rule "Minimum Trace Width (outer layer)"
(constraint track_width (min 5mil))
(layer outer)
(condition "A.Type == 'track'"))
(rule "Minimum Trace Spacing (outer layer)"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; BACK UP YOUR LOGSEQ DIR BEFORE RUNNING THIS!
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Copyright (C) Aug 4 2022, William R. Burdick Jr.
;;
;; LICENSE
;; This code is dual-licensed with MIT and GPL licenses.