mirror of
https://github.com/espressif/openthread.git
synced 2026-07-26 22:09:05 +00:00
Add "--enable-ftd" build option (#1384)
* Add a new build target: ncp-mtd. * Platform with "--enable-ftd" build option will build both MTD and FTD. * Platform without "--enable-ftd" build option will only build MTD.
This commit is contained in:
@@ -75,9 +75,9 @@ class otCli:
|
||||
else:
|
||||
srcdir = os.path.dirname(os.path.realpath(__file__))
|
||||
srcdir += "/../../.."
|
||||
cmd = 'python %s/tools/spinel-cli/spinel-cli.py -p %s/examples/apps/ncp/ot-ncp -n' % (srcdir, builddir)
|
||||
cmd = 'python %s/tools/spinel-cli/spinel-cli.py -p %s/examples/apps/ncp/ot-ncp-ftd -n' % (srcdir, builddir)
|
||||
else:
|
||||
cmd = './ot-ncp'
|
||||
cmd = './ot-ncp-ftd'
|
||||
cmd += ' %d' % nodeid
|
||||
print ("%s" % cmd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user