You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2015/12/19 01:41:03 UTC
incubator-mynewt-larva git commit: Remove newtmgr dependencies from
blinky project.
Repository: incubator-mynewt-larva
Updated Branches:
refs/heads/master be76a0b81 -> d34acdef7
Remove newtmgr dependencies from blinky project.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/commit/d34acdef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/tree/d34acdef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/diff/d34acdef
Branch: refs/heads/master
Commit: d34acdef713601d6e2cef9ce3f3433f953334a87
Parents: be76a0b
Author: Christopher Collins <cc...@gmail.com>
Authored: Fri Dec 18 16:18:54 2015 -0800
Committer: Christopher Collins <cc...@gmail.com>
Committed: Fri Dec 18 16:18:54 2015 -0800
----------------------------------------------------------------------
project/blinky/blinky.yml | 1 -
project/blinky/src/main.c | 7 -------
2 files changed, 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/d34acdef/project/blinky/blinky.yml
----------------------------------------------------------------------
diff --git a/project/blinky/blinky.yml b/project/blinky/blinky.yml
index 4fcdd7d..5bd9134 100644
--- a/project/blinky/blinky.yml
+++ b/project/blinky/blinky.yml
@@ -2,6 +2,5 @@ project.name: blinky
project.eggs:
- libs/console/full
- libs/shell
- - libs/newtmgr
- libs/util
- libs/os
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/d34acdef/project/blinky/src/main.c
----------------------------------------------------------------------
diff --git a/project/blinky/src/main.c b/project/blinky/src/main.c
index 5cad08b..223c1fd 100755
--- a/project/blinky/src/main.c
+++ b/project/blinky/src/main.c
@@ -20,7 +20,6 @@
#include "shell/shell.h"
#include "util/log.h"
#include "util/stats.h"
-#include <newtmgr/newtmgr.h>
#include <assert.h>
#include <string.h>
#ifdef ARCH_sim
@@ -48,10 +47,6 @@ os_stack_t stack2[TASK2_STACK_SIZE];
#define SHELL_TASK_STACK_SIZE (OS_STACK_ALIGN(1024))
os_stack_t shell_stack[SHELL_TASK_STACK_SIZE];
-#define NEWTMGR_TASK_PRIO (4)
-#define NEWTMGR_TASK_STACK_SIZE (OS_STACK_ALIGN(1024))
-os_stack_t newtmgr_stack[NEWTMGR_TASK_STACK_SIZE];
-
struct cbmem log_mem;
struct ul_handler log_mem_handler;
struct util_log my_log;
@@ -187,8 +182,6 @@ main(int argc, char **argv)
rc = os_msys_register(&default_mbuf_pool);
assert(rc == 0);
- nmgr_task_init(NEWTMGR_TASK_PRIO, newtmgr_stack, NEWTMGR_TASK_STACK_SIZE);
-
shell_task_init(SHELL_TASK_PRIO, shell_stack, SHELL_TASK_STACK_SIZE);
(void) console_init(shell_console_rx_cb);