samples: sensor: change to use the app.overlay file
The DTC_OVERLAY_FILE variable is specified on the command line. It's not preferable to set it in CMakeLists.txt. The app.overlay file is used as the default overlay file, so use it. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
This commit is contained in:
parent
3112b6de1a
commit
b2b0901c0d
|
@ -2,8 +2,6 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
|
||||
set(DTC_OVERLAY_FILE "${CMAKE_CURRENT_SOURCE_DIR}/iaq_core.overlay")
|
||||
|
||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(iAQcore)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Building and Running
|
|||
********************
|
||||
|
||||
This sample application uses the sensor connected to the i2c stated in the
|
||||
iaq_core.overlay file.
|
||||
app.overlay file.
|
||||
Flash the binary to a board of choice with a sensor connected.
|
||||
This sample can run on every board with i2c.
|
||||
For example build for a nucleo_f446re board:
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
|
||||
set(DTC_OVERLAY_FILE "${CMAKE_CURRENT_SOURCE_DIR}/ens210.overlay")
|
||||
|
||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(ens210)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Building and Running
|
|||
********************
|
||||
|
||||
This sample application uses the sensor connected to the i2c stated in the
|
||||
ens210.overlay file.
|
||||
app.overlay file.
|
||||
Flash the binary to a board of choice with a sensor connected.
|
||||
For example build for a nucleo_f446re board:
|
||||
|
||||
|
|
Loading…
Reference in a new issue