From 00cbf86e7730d70595ed44aff1c39a25f7fa83c1 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 10 Nov 2015 23:16:39 +0000 Subject: [PATCH] scripts: clean generated cmsis headers too --- scripts/irq2nvic_h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/irq2nvic_h b/scripts/irq2nvic_h index 52f12653..95728cd2 100755 --- a/scripts/irq2nvic_h +++ b/scripts/irq2nvic_h @@ -159,6 +159,8 @@ def main(): os.unlink(nvic_h) if os.path.exists(vector_nvic_c): os.unlink(vector_nvic_c) + if os.path.exists(cmsis): + os.unlink(cmsis) sys.exit(0) if not needs_update([__file__, infile], [nvic_h, vector_nvic_c]):