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

36 lines
920 B
JSON

{
"irqs": {
"0": "rtc",
"1": "m4core",
"2": "dma",
"4": "flasheepromat",
"5": "ethernet",
"6": "sdio",
"7": "lcd",
"8": "usb0",
"9": "usb1",
"10": "sct",
"11": "ritimer_or_wwdt",
"12": "timer0",
"13": "gint1",
"14": "pin_int4",
"15": "timer3",
"16": "mcpwm",
"17": "adc0",
"18": "i2c0_or_irc1",
"19": "sgpio",
"20": "spi_or_dac",
"21": "adc1",
"22": "ssp0_or_ssp1",
"23": "eventrouter",
"24": "usart0",
"25": "uart1",
"26": "usart2_or_c_can1",
"27": "usart3",
"28": "i2s0_or_i2s1",
"29": "c_can0"
},
"partname_humanreadable": "LPC 43xx series M0 core",
"partname_doxygen": "LPC43xx (M0)",
"includeguard": "LIBOPENCM3_LPC43xx_M0_NVIC_H"
}