zephyr/samples/net/wifi/Kconfig
Ulf Magnusson d713033d5c Kconfig: Use new preprocessor syntax for env. variables
With the new Kconfig preprocessor (described in
https://github.com/torvalds/linux/blob/master/Documentation/kbuild/
kconfig-macro-language.txt), the syntax for expanding environment
variables is $(FOO) rather than $FOO.

$(FOO) is a general preprocessor variable expansion, which falls back to
environment variables if the variable isn't set (like in Make). It can
also be used in prompts, 'comment's, etc.

The old syntax will probably be supported forever in Kconfiglib for
backwards compatibility, but might as well make it consistent now that
people might start using the preprocessor more.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-09-11 19:17:25 -04:00

21 lines
386 B
Plaintext

mainmenu "Wi-Fi sample"
if WIFI_WINC1500
config WINC1500_GPIO_DRV_NAME
string "GPIO device name"
config WINC1500_GPIO_CHIP_EN
int "Pin number for Winc1500 CHIP_EN signal"
config WINC1500_GPIO_IRQN
int "Pin number for Winc1500 IRQn signal"
config WINC1500_GPIO_RESET_N
int "Pin number for Winc1500 RESET_N signal"
endif # WIFI_WINC1500
source "$(ZEPHYR_BASE)/Kconfig.zephyr"