fix path stuff and kconfig references
This commit is contained in:
15
firmware/CMakeLists.txt
Normal file
15
firmware/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# This CMake file is picked by the Zephyr build system because it is defined
|
||||
# as the module CMake entry point (see zephyr/module.yml).
|
||||
|
||||
|
||||
# This is needed so that custom driver classes using system calls are taken into
|
||||
# account
|
||||
zephyr_syscall_include_directories(include)
|
||||
|
||||
zephyr_include_directories(include)
|
||||
|
||||
add_subdirectory(drivers)
|
||||
add_subdirectory(lib)
|
9
firmware/Kconfig
Normal file
9
firmware/Kconfig
Normal file
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# This Kconfig file is picked by the Zephyr build system because it is defined
|
||||
# as the module Kconfig entry point (see zephyr/module.yml). You can browse
|
||||
# module options by going to Zephyr -> Modules in Kconfig.
|
||||
|
||||
rsource "drivers/Kconfig"
|
||||
rsource "lib/Kconfig"
|
17
firmware/zephyr/module.yml
Normal file
17
firmware/zephyr/module.yml
Normal file
@ -0,0 +1,17 @@
|
||||
build:
|
||||
# Path to the Kconfig file that will be sourced into Zephyr Kconfig tree under
|
||||
# Zephyr > Modules > example-application. Path is relative from root of this
|
||||
# repository.
|
||||
kconfig: Kconfig
|
||||
# Path to the folder that contains the CMakeLists.txt file to be included by
|
||||
# Zephyr build system. The `.` is the root of this repository.
|
||||
cmake: .
|
||||
settings:
|
||||
# Additional roots for boards and DTS files. Zephyr will use the
|
||||
# `<board_root>/boards` for additional boards. The `.` is the root of this
|
||||
# repository.
|
||||
board_root: .
|
||||
# Zephyr will use the `<dts_root>/dts` for additional dts files and
|
||||
# `<dts_root>/dts/bindings` for additional dts binding files. The `.` is
|
||||
# the root of this repository.
|
||||
dts_root: .
|
Reference in New Issue
Block a user