Skip to content

Instantly share code, notes, and snippets.

View salkinium's full-sized avatar
🥺
I can haz datasheet?

Niklas Hauser salkinium

🥺
I can haz datasheet?
View GitHub Profile
@salkinium
salkinium / DS11532.txt
Last active February 4, 2022 08:54
Reference Manual RM0410 and Datasheet DS11532 of STM32F76x in ASCII (best seen in raw text)
=== Cover #1 ===
Features
Includes ST state-of-the-art patented
technology
• Core: Arm® 32-bit Cortex®-M7 CPU with
DPFPU, ART Accelerator and L1-cache:
16 Kbytes I/D cache, allowing 0-wait state
@salkinium
salkinium / gerberize.py
Last active July 29, 2020 18:49
Python script to generate Gerber ZIP files from KiCAD files in the right format for JLCPCB
#!/Applications/Kicad/kicad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python
import sys
sys.path.insert(0,"/Applications/Kicad/kicad.app/Contents/Frameworks/python/site-packages/")
import os
import shutil
import zipfile
import tempfile
import pcbnew
@salkinium
salkinium / modm-devices.png
Last active February 8, 2018 21:05
Image stash
modm-devices.png
@salkinium
salkinium / macros.cpp
Last active August 29, 2015 14:10
Concept for typesafe bit operations for register mappings
// this is part of a xpcc unittest:
// https://github.com/roboterclubaachen/xpcc/blob/develop/src/xpcc/architecture/peripheral/test/register_test.hpp#L20
// more operations can be seen here:
// https://github.com/roboterclubaachen/xpcc/blob/develop/src/xpcc/architecture/peripheral/test/register_test.cpp#L16
// complete macro definitions are available here:
// https://github.com/roboterclubaachen/xpcc/blob/develop/src/xpcc/architecture/peripheral/register.hpp#L55
// see the type-safe registers in action here:
// https://github.com/roboterclubaachen/xpcc/blob/develop/src/xpcc/driver/inertial/lis302.hpp#L61