Skip to content

Instantly share code, notes, and snippets.

Avatar
🥺
I can haz datasheet?

Niklas Hauser salkinium

🥺
I can haz datasheet?
View GitHub Profile
@salkinium
salkinium / DS11532.txt
Last active Feb 4, 2022
Reference Manual RM0410 and Datasheet DS11532 of STM32F76x in ASCII (best seen in raw text)
View DS11532.txt
=== 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 Jul 29, 2020
Python script to generate Gerber ZIP files from KiCAD files in the right format for JLCPCB
View gerberize.py
#!/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 / macros.cpp
Last active Aug 29, 2015
Concept for typesafe bit operations for register mappings
View macros.cpp
// 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