zephyr/arch/arm/soc/st_stm32/stm32l4
Erwan Gouriou 081c9c3bec scripts: extract_dts_includes: Generate'_0' defines only when needed
Indexed defines were systematically generated even when there
was only one element to generate.
So we ended up generated a lot of _0 defines.
Then we needed to generate aliases to these _0 indexed defines,
in order to get useful defines.
For instance:
 #define GPIO_LEDS_0_GPIO_FLAGS_0	4
 #define GPIO_LEDS_0_GPIO_PIN_0		5
 #define GPIO_LEDS_0_GPIO_FLAGS		GPIO_LEDS_0_GPIO_FLAGS_0
 #define GPIO_LEDS_0_GPIO_PIN		GPIO_LEDS_0_GPIO_PIN_0

This commit allows to generate _0 indexed define only if a
property has more than one elements to define.
Aliases generation to _0 indexed defines are also removed.

Note: IRQ are left untouched since this is frequent to handle
multiple IRQs in a driver

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2018-05-10 10:38:23 -05:00
..
CMakeLists.txt cmake: Use path-corrected version of ZEPHYR_BASE 2018-01-11 14:59:03 -05:00
Kconfig.defconfig.series kconfig: Make 'source' non-globbing and use 'gsource' 2018-05-08 11:14:12 +02:00
Kconfig.defconfig.stm32l432xx boards: stm32l4: Clean up driver generic flags 2018-01-11 14:35:45 -06:00
Kconfig.defconfig.stm32l475xg boards: stm32l4: Clean up driver generic flags 2018-01-11 14:35:45 -06:00
Kconfig.defconfig.stm32l476xx boards: stm32l4: Clean up driver generic flags 2018-01-11 14:35:45 -06:00
Kconfig.defconfig.stm32l496xx boards: stm32l4: Clean up driver generic flags 2018-01-11 14:35:45 -06:00
Kconfig.series arch: arm: Refactor CONFIG_CORTEX_M 2018-03-10 11:42:25 -06:00
Kconfig.soc arch: stm32: l4: factorize HAS_STM32CUBE 2017-07-26 09:52:59 -05:00
dts.fixup scripts: extract_dts_includes: Generate'_0' defines only when needed 2018-05-10 10:38:23 -05:00
flash_registers.h
linker.ld
soc.c arch: stm32l4: add HAL_Delay for hal library hooks 2018-05-10 07:47:13 -05:00
soc.h drivers: usb_dc_stm32: enable VDDUSB if needed 2018-05-10 07:47:13 -05:00
soc_gpio.c arch: arm: stm32: f3/f4/l4: write output speed to hardware register 2017-08-02 12:28:11 -05:00
soc_irq.h
soc_registers.h
syscfg_registers.h