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

47 lines
991 B
JSON

{
"_source": "The names and sequence are taken from d0183_efm32lg_reference_manual.pdf table 4.1.",
"irqs": [
"dma",
"gpio_even",
"timer0",
"usart0_rx",
"usart0_tx",
"usb",
"acmp01",
"adc0",
"dac0",
"i2c0",
"i2c1",
"gpio_odd",
"timer1",
"timer2",
"timer3",
"usart1_rx",
"usart1_tx",
"lesense",
"usart2_rx",
"usart2_tx",
"uart0_rx",
"uart0_tx",
"uart1_rx",
"uart1_tx",
"leuart0",
"leuart1",
"letimer0",
"pcnt0",
"pcnt1",
"pcnt2",
"rtc",
"burtc",
"cmu",
"vcmp",
"lcd",
"msc",
"aes",
"ebi"
],
"partname_humanreadable": "EFM32 Leopard Gecko series",
"partname_doxygen": "EFM32LG",
"includeguard": "LIBOPENCM3_EFM32LG_NVIC_H"
}