You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/06/27 22:50:21 UTC
[4/4] incubator-mynewt-core git commit: slinky;
include sys/id in the sample app.
slinky; include sys/id in the sample app.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/2f2db14b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/2f2db14b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/2f2db14b
Branch: refs/heads/develop
Commit: 2f2db14be16633c3b0b0da787e9ee21a24e15fdc
Parents: 0abba44
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Jun 27 15:48:22 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Jun 27 15:48:22 2016 -0700
----------------------------------------------------------------------
apps/slinky/pkg.yml | 1 +
apps/slinky/src/main.c | 3 +++
2 files changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/2f2db14b/apps/slinky/pkg.yml
----------------------------------------------------------------------
diff --git a/apps/slinky/pkg.yml b/apps/slinky/pkg.yml
index add0c27..3219caa 100644
--- a/apps/slinky/pkg.yml
+++ b/apps/slinky/pkg.yml
@@ -34,6 +34,7 @@ pkg.deps:
- libs/shell
- libs/util
- sys/config
+ - sys/id
- sys/log
- sys/stats
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/2f2db14b/apps/slinky/src/main.c
----------------------------------------------------------------------
diff --git a/apps/slinky/src/main.c b/apps/slinky/src/main.c
index 59c569d..00eec39 100755
--- a/apps/slinky/src/main.c
+++ b/apps/slinky/src/main.c
@@ -47,6 +47,7 @@
#include <flash_test/flash_test.h>
#include <reboot/log_reboot.h>
#include <os/os_time.h>
+#include <id/id.h>
#ifdef ARCH_sim
#include <mcu/mcu_sim.h>
@@ -374,6 +375,8 @@ main(int argc, char **argv)
setup_for_fcb();
#endif
+ id_init();
+
shell_task_init(SHELL_TASK_PRIO, shell_stack, SHELL_TASK_STACK_SIZE,
SHELL_MAX_INPUT_LEN);