[riot-notifications] [RIOT-OS/RIOT] tools: added tool for auto-generating ISR vectors (#7553)
notifications at github.com
Fri Sep 1 11:54:10 CEST 2017
Creating the ISR vector tables is error prone and cumbersome, so why don't we just do it automatically?!
This PR proposes a tool that parses CMSIS-style header files and outputs a compact version of vector table(s), for a single CPU or a group of CPU models. I parses the list of CPU(s) from the `cpu_conf.h` files, using the `#include' statements in those files to find the header files.
The output table style depends on #7535.
I tested the tools for all the STM and the Kinetis CPUs, and the results are valid as far as I can see and test it. But as I am a poor python noob, the code of the tool might be far from perfect... But instead of having a thousand change requests, I would prefer to merge it in the current state and improve it with separate PRs: this way we can already use the tool for cleaning up existing vector definitions while tuning the tool itself...
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* tools: added tool for auto-generating ISR vectors
-- File Changes --
A dist/tools/isrvecgen/isrvecgen.py (200)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications