zephyr/boards/arm/nrf52_pca20020
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
..
doc boards: arm: nrf52_pca20020: Add board documentation 2018-04-09 17:09:06 -05:00
CMakeLists.txt boards: Add support for nRF52 Thingy:52 (PCA20020) 2018-04-09 17:09:06 -05:00
Kconfig boards: Add support for nRF52 Thingy:52 (PCA20020) 2018-04-09 17:09:06 -05:00
Kconfig.board boards: Add support for nRF52 Thingy:52 (PCA20020) 2018-04-09 17:09:06 -05:00
Kconfig.defconfig boards: Add support for nRF52 Thingy:52 (PCA20020) 2018-04-09 17:09:06 -05:00
board.c gpio: nrf5: Make the init priority configurable 2018-04-09 17:09:06 -05:00
board.cmake boards: Add support for nRF52 Thingy:52 (PCA20020) 2018-04-09 17:09:06 -05:00
board.h boards: Add support for nRF52 Thingy:52 (PCA20020) 2018-04-09 17:09:06 -05:00
dts.fixup scripts: extract_dts_includes: Generate'_0' defines only when needed 2018-05-10 10:38:23 -05:00
nrf52_pca20020.dts subsys: fs: fix generic storage partition selection 2018-05-04 10:14:01 -04:00
nrf52_pca20020.yaml boards: arduino_due, nrf52_pca20020: Add "ram" and "flash" properties 2018-04-12 04:03:21 -05:00
nrf52_pca20020_defconfig boards: Add support for nRF52 Thingy:52 (PCA20020) 2018-04-09 17:09:06 -05:00