Karl Palsson 5c14780403 [build] Remove PyYAML dependency
This converts all the YAML files to JSON files, as json parsing is built
into python instead of being a separate library requiring installation.

YAML is a superset of JSON, but putting comments in is not quite as obvious
as it is in yaml.

The following glue was used to convert yaml to json:
python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=4)' < $1 > $2

Clearly I haven't tested this on every single platform, and this
doesn't address the large blobs of yaml in the lpc4300 scripts directory,
only the cortex NVIC generation process.

I've tested a few IRQ driven example apps, and I've checked the generated
output of some known cases like the LM3s that has explicit gaps, and they are
all generated correctly.
2014-01-02 20:55:15 +01:00

88 lines
1.9 KiB
JSON

{
"irqs": [
"nvic_wwdg",
"pvd",
"tamp_stamp",
"rtc_wkup",
"flash",
"rcc",
"exti0",
"exti1",
"exti2_tsc",
"exti3",
"exti4",
"dma1_ch1",
"dma1_ch2",
"dma1_ch3",
"dma1_ch4",
"dma1_ch5",
"dma1_ch6",
"dma1_ch7",
"adc1_2",
"usb_hp_can1_tx",
"usb_lp_can1_rx0",
"can1_rx1",
"can1_sce",
"exti9_5",
"tim1_brk_tim15",
"tim1_up_tim16",
"tim1_trg_com_tim17",
"tim1_cc",
"tim2",
"tim3",
"tim4",
"i2c1_ev_exti23",
"i2c1_er",
"i2c2_ev_exti24",
"i2c2_er",
"spi1",
"spi2",
"usart1_exti25",
"usart2_exti26",
"usart3_exti28",
"exti15_10",
"rtc_alarm",
"usb_wkup_a",
"tim8_brk",
"tim8_up",
"tim8_trg_com",
"tim8_cc",
"adc3",
"reserved_1",
"reserved_2",
"reserved_3",
"spi3",
"uart4_exti34",
"uart5_exti35",
"tim6_dac",
"tim7",
"dma2_ch1",
"dma2_ch2",
"dma2_ch3",
"dma2_ch4",
"dma2_ch5",
"eth",
"reserved_4",
"reserved_5",
"comp123",
"comp456",
"comp7",
"reserved_6",
"reserved_7",
"reserved_8",
"reserved_9",
"reserved_10",
"reserved_11",
"reserved_12",
"usb_hp",
"usb_lp",
"usb_wkup",
"reserved_13",
"reserved_14",
"reserved_15",
"reserved_16"
],
"partname_humanreadable": "STM32 F3 series",
"partname_doxygen": "STM32F3",
"includeguard": "LIBOPENCM3_STM32_F3_NVIC_H"
}