mirror of
https://github.com/espressif/openthread.git
synced 2026-09-18 07:00:08 +00:00
Include platform details in version information (#347)
- add --with-platform-info configuration option to specify platform information - add otGetVersionString() interface to get OpenThread version
This commit is contained in:
@@ -45,6 +45,7 @@ configure_OPTIONS = \
|
||||
--enable-cli \
|
||||
--enable-ncp \
|
||||
--with-examples=cc2538 \
|
||||
--with-platform-info=CC2538 \
|
||||
$(NULL)
|
||||
|
||||
COMMONCFLAGS := \
|
||||
|
||||
@@ -86,7 +86,12 @@ TargetTuple = $(shell ${AbsTopSourceDir}/third_party/nlbuild
|
||||
# If the user has asserted COVERAGE, alter the configuration options
|
||||
# accordingly.
|
||||
|
||||
configure_OPTIONS = --with-examples=posix --enable-cli --enable-ncp
|
||||
configure_OPTIONS = \
|
||||
--enable-cli \
|
||||
--enable-ncp \
|
||||
--with-examples=posix \
|
||||
--with-platform-info=POSIX \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(COVERAGE),1)
|
||||
configure_OPTIONS += --enable-coverage
|
||||
|
||||
Reference in New Issue
Block a user