File tree Expand file tree Collapse file tree 8 files changed +9
-117
lines changed Expand file tree Collapse file tree 8 files changed +9
-117
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: Apache-2.0
2
+
1
3
add_subdirectory (cores )
2
- add_subdirectory (variants )
4
+ add_subdirectory (variants )
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0 )
4
4
5
- set (DTC_OVERLAY_FILE $ENV{HOME} /zephyrproject /modules/lib/Arduino-Zephyr-API/variants/ARDUINO_NANO_33_BLE/arduino_nano_33_ble .overlay )
5
+ set (DTC_OVERLAY_FILE $ENV{ZEPHYR_BASE} /.. /modules/lib/Arduino-Zephyr-API/variants/${BOARD}/${BOARD} .overlay )
6
6
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
7
7
project (blinky )
8
8
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0 )
4
4
5
- set (DTC_OVERLAY_FILE $ENV{HOME} /zephyrproject /modules/lib/Arduino-Zephyr-API/variants/ARDUINO_NANO_33_BLE/arduino_nano_33_ble .overlay )
5
+ set (DTC_OVERLAY_FILE $ENV{ZEPHYR_BASE} /.. /modules/lib/Arduino-Zephyr-API/variants/${BOARD}/${BOARD} .overlay )
6
6
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
7
7
project (blinky )
8
8
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0 )
4
4
5
- set (DTC_OVERLAY_FILE $ENV{HOME} /zephyrproject /modules/lib/Arduino-Zephyr-API/variants/ARDUINO_NANO_33_BLE/arduino_nano_33_ble .overlay )
5
+ set (DTC_OVERLAY_FILE $ENV{ZEPHYR_BASE} /.. /modules/lib/Arduino-Zephyr-API/variants/${BOARD}/${BOARD} .overlay )
6
6
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
7
7
project (hello_world )
8
8
9
9
target_sources (app PRIVATE src/app.cpp )
10
10
11
- zephyr_compile_options (-Wno-unused-variable -Wno-comment )
11
+ zephyr_compile_options (-Wno-unused-variable -Wno-comment )
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0 )
4
4
5
- set (DTC_OVERLAY_FILE $ENV{HOME} /zephyrproject /modules/lib/Arduino-Zephyr-API/variants/ARDUINO_NANO_33_BLE/arduino_nano_33_ble .overlay )
5
+ set (DTC_OVERLAY_FILE $ENV{ZEPHYR_BASE} /.. /modules/lib/Arduino-Zephyr-API/variants/${BOARD}/${BOARD} .overlay )
6
6
7
7
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
8
8
project (threads )
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: Apache-2.0
2
2
zephyr_include_directories (. )
3
- zephyr_include_directories (ARDUINO_NANO_33_BLE )
4
- zephyr_include_directories (ARDUINO_NANO_33_BLE_SENSE )
5
- zephyr_include_directories (ARDUINO_NANO_33_IOT )
3
+ zephyr_include_directories (${BOARD} )
You can’t perform that action at this time.
0 commit comments