Skip to content

Instantly share code, notes, and snippets.

@kosmik641
kosmik641 / ida_stm32f1xx.py
Created February 15, 2026 22:03
IDA script for STM32F1xx family microcontrollers
'''
IDA script for STM32F1xx family microcontrollers.
Based on https://github.com/SerYojKa59/IDA-scripts/blob/master/STM32/ida_stm32f1xx.py
This program is free software. It comes without any warranty, to the extent permitted by applicable law.
You can redistribute it and/or modify it under the terms of the WTFPL, Version 2, as published by Sam Hocevar.
See http://www.wtfpl.net/ for more details
'''
import sys