zephyr/samples/drivers
Torsten Rasmussen 407b49b35c cmake: use find_package to locate Zephyr
Using find_package to locate Zephyr.

Old behavior was to use $ENV{ZEPHYR_BASE} for inclusion of boiler plate
code.

Whenever an automatic run of CMake happend by the build system / IDE
then it was required that ZEPHYR_BASE was defined.
Using ZEPHYR_BASE only to locate the Zephyr package allows CMake to
cache the base variable and thus allowing subsequent invocation even
if ZEPHYR_BASE is not set in the environment.

It also removes the risk of strange build results if a user switchs
between different Zephyr based project folders and forgetting to reset
ZEPHYR_BASE before running ninja / make.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-03-27 16:23:46 +01:00
..
CAN cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
counter/alarm cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
crypto cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
current_sensing cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
display cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
entropy cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
espi cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
flash_shell cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
gpio/boards samples: gpio: add board overlay for up_squared 2020-02-05 12:00:36 +01:00
ht16k33 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
i2c_fujitsu_fram cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
kscan cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
lcd_hd44780 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
led_apa102 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
led_apa102c_bitbang cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
led_lp3943 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
led_lp5562 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
led_lpd8806 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
led_pca9633 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
led_ws2812 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
lora cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
peci cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
ps2 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
soc_flash_nrf cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
spi_flash cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
spi_fujitsu_fram cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
watchdog cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
drivers.rst