https://github.com/projectgus/car_hacking/tree/main/mitsubishi_outlander_phev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b08ec678a9e4cd3cb8d41979c4049315004a94dd Mon Sep 17 00:00:00 2001 | |
From: Angus Gratton <[email protected]> | |
Date: Wed, 6 May 2015 11:19:42 +1000 | |
Subject: [PATCH] XTensa call0 ABI: Reference register cache from a0 when | |
unwinding | |
Fixes bug where wrong Frame Pointer value was read during backtrace, | |
leading to corrupt stack traces. | |
--- | |
gdb/xtensa-tdep.c | 7 ++++--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /sys/devices/virtual/input/lge_touch | |
$ cat firmware | |
====== Firmware Info ====== | |
manufacturer_id = 1 | |
product_id = TM2369 | |
fw_version = E159 | |
fw_image_product_id = SynaReadCo | |
fw_image_version = ]�� | |
$ cat platform_data | |
====== Platform data ====== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cpu xtensa | |
# Show up to this many raw bytes of code/data | |
show bytes 4 | |
# Load an arbitrary esp8266 ELF file | |
# See example.def if you want to load raw binaries instead | |
load /home/gus/dev/esp/rtos/open-rtos/examples/http_get/build/http_get.out elf | |
# First attempt at loading BootROM binary image and symbols |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# i3 thread: https://faq.i3wm.org/question/150/how-to-launch-a-terminal-from-here/?answer=152#post-id-152 | |
CMD=sakura | |
CWD='' | |
# Get window ID | |
ID=$(xdpyinfo | grep focus | cut -f4 -d " ") | |
# Get PID of process whose window this is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Hacky script to quantize a KiCAD eeschema file back onto a standard grid | |
# | |
# Useful if someone somehow moved some components off grid and you want to clean it up. | |
# | |
# Usage is kicad-regrid.py <schematic file> | |
# | |
# Outputs <schematic file>-regrid.sch. I recommend NOT OPENING the regrid file directly in KiCAD as it assumes a new project | |
# with that name exists, and you'll probably get a bunch of errors. Just rename it over the original schematic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From bd3a676daae9c94afda2720d2e023312cf2d019d Mon Sep 17 00:00:00 2001 | |
From: Angus Gratton <[email protected]> | |
Date: Tue, 11 Jul 2017 17:59:02 +0800 | |
Subject: [PATCH] WIP allow first 128KB of DRAM to be allocated statically | |
- Moves stacks to end of RAM | |
- Doesn't yet provide a way to block out this RAM from heap | |
--- | |
components/bootloader/src/main/bootloader_jump.S | 55 ++++++++++++++++++++++ | |
components/bootloader/src/main/bootloader_start.c | 23 +++++---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Quick and rough KiCAD Netlist to text & CSV BoM file converter | |
# | |
# Usage: net2bom.py <project.net> | |
# | |
# Outputs: | |
# - project_bom.txt | |
# - project_bom.csv | |
# - project_bom_grouped.csv (has all of same value/footprint grouped on the same line) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import csv | |
import base64 | |
import re | |
import struct | |
last_counter = [None, None] | |
lines = 0 | |
with open("spammer.txt") as f: |