mirror of
https://github.com/espressif/openthread.git
synced 2026-09-16 06:00:13 +00:00
[core] define core/instance folder for instance modules (#9561)
This commit moves the `instance` module to a newly added folder `core/instance` (from `core/common`. Header file `extension.hpp` and its example is also moved to the same folder.
This commit is contained in:
@@ -188,7 +188,7 @@ build_all_features()
|
||||
reset_source
|
||||
"$(dirname "$0")"/cmake-build simulation \
|
||||
-DOT_THREAD_VERSION=1.1 \
|
||||
-DOT_VENDOR_EXTENSION=../../src/core/common/extension_example.cpp
|
||||
-DOT_VENDOR_EXTENSION=../../src/core/instance/extension_example.cpp
|
||||
|
||||
# Build Thread 1.3 with no additional features
|
||||
reset_source
|
||||
@@ -249,7 +249,7 @@ build_nest_common()
|
||||
mkdir build && cd build
|
||||
CFLAGS="${cppflags[*]} ${CFLAGS}" CXXFLAGS="${cppflags[*]} ${CXXFLAGS}" \
|
||||
cmake -GNinja -DOT_PLATFORM=simulation \
|
||||
-DOT_VENDOR_EXTENSION=common/extension_example.cpp \
|
||||
-DOT_VENDOR_EXTENSION=instance/extension_example.cpp \
|
||||
-DOT_NCP_VENDOR_HOOK_SOURCE=example_vendor_hook.cpp \
|
||||
..
|
||||
ninja
|
||||
|
||||
Reference in New Issue
Block a user