Merge pull request #16511 from rgrunbla/master

cpu/stm32: Generate the irqs in a reproducible manner
This commit is contained in:
Alexandre Abadie 2021-05-29 21:58:17 +02:00 committed by GitHub
commit 3d18f1ad67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ def list_cpu_lines(cpu_fam):
headers.remove("partition_stm32l5xx.h") headers.remove("partition_stm32l5xx.h")
headers.remove("stm32{}xx.h".format(cpu_fam)) headers.remove("stm32{}xx.h".format(cpu_fam))
headers.remove("system_stm32{}xx.h".format(cpu_fam)) headers.remove("system_stm32{}xx.h".format(cpu_fam))
return [header.split(".")[0] for header in headers] return sorted([header.split(".")[0] for header in headers])
def irq_numof(cpu_fam, cpu_line): def irq_numof(cpu_fam, cpu_line):