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 2016/11/10 22:40:19 UTC

[1/3] incubator-mynewt-blinky git commit: blinky; use OS_TICKS_PER_SEC with os_time_delay()

Repository: incubator-mynewt-blinky
Updated Branches:
  refs/heads/master 82f09fa2c -> ea4b8b8ba


blinky; use OS_TICKS_PER_SEC with os_time_delay()


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/commit/4aaf2a8d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/tree/4aaf2a8d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/diff/4aaf2a8d

Branch: refs/heads/master
Commit: 4aaf2a8d54a48b5bf2cb8daf134dc5e978043ec6
Parents: 82f09fa
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Fri Aug 19 15:35:57 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Fri Aug 19 15:35:57 2016 -0700

----------------------------------------------------------------------
 apps/blinky/src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/blob/4aaf2a8d/apps/blinky/src/main.c
----------------------------------------------------------------------
diff --git a/apps/blinky/src/main.c b/apps/blinky/src/main.c
index 816aa96..dac38ac 100755
--- a/apps/blinky/src/main.c
+++ b/apps/blinky/src/main.c
@@ -55,7 +55,7 @@ blinky_task_handler(void *arg)
         ++g_task1_loops;
 
         /* Wait one second */
-        os_time_delay(1000);
+        os_time_delay(OS_TICKS_PER_SEC);
 
         /* Toggle the LED */
         hal_gpio_toggle(g_led_pin);


[3/3] incubator-mynewt-blinky git commit: blinky - use sysinit.

Posted by cc...@apache.org.
blinky - use sysinit.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/commit/ea4b8b8b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/tree/ea4b8b8b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/diff/ea4b8b8b

Branch: refs/heads/master
Commit: ea4b8b8ba73c21cb597bc7e886d7b48696b5eebe
Parents: 05b4cc4
Author: Christopher Collins <cc...@apache.org>
Authored: Sun Oct 2 13:42:26 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Sun Oct 2 13:42:26 2016 -0700

----------------------------------------------------------------------
 apps/blinky/src/main.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/blob/ea4b8b8b/apps/blinky/src/main.c
----------------------------------------------------------------------
diff --git a/apps/blinky/src/main.c b/apps/blinky/src/main.c
index dac38ac..f822f87 100755
--- a/apps/blinky/src/main.c
+++ b/apps/blinky/src/main.c
@@ -16,13 +16,16 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
+#include <assert.h>
+#include <string.h>
+
+#include "sysinit/sysinit.h"
 #include "os/os.h"
 #include "bsp/bsp.h"
 #include "hal/hal_gpio.h"
-#include <assert.h>
-#include <string.h>
 #ifdef ARCH_sim
-#include <mcu/mcu_sim.h>
+#include "mcu/mcu_sim.h"
 #endif
 
 /* Init all tasks */
@@ -99,7 +102,7 @@ main(int argc, char **argv)
     mcu_sim_parse_args(argc, argv);
 #endif
 
-    os_init();
+    sysinit();
 
     rc = init_tasks();
     os_start();


[2/3] incubator-mynewt-blinky git commit: update to new directory structure

Posted by cc...@apache.org.
update to new directory structure


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/commit/05b4cc40
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/tree/05b4cc40
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/diff/05b4cc40

Branch: refs/heads/master
Commit: 05b4cc40305fd1e737696cd2df7348c0634e35aa
Parents: 4aaf2a8
Author: Sterling Hughes <st...@apache.org>
Authored: Wed Sep 28 20:28:52 2016 -0700
Committer: Sterling Hughes <st...@apache.org>
Committed: Wed Sep 28 20:28:52 2016 -0700

----------------------------------------------------------------------
 apps/blinky/pkg.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky/blob/05b4cc40/apps/blinky/pkg.yml
----------------------------------------------------------------------
diff --git a/apps/blinky/pkg.yml b/apps/blinky/pkg.yml
index 709481b..99a0163 100644
--- a/apps/blinky/pkg.yml
+++ b/apps/blinky/pkg.yml
@@ -25,6 +25,6 @@ pkg.homepage: "http://mynewt.apache.org/"
 pkg.keywords:
 
 pkg.deps:
-    - "@apache-mynewt-core/libs/os"
+    - "@apache-mynewt-core/kernel/os"
     - "@apache-mynewt-core/hw/hal"
-    - "@apache-mynewt-core/libs/console/full"
+    - "@apache-mynewt-core/sys/console/full"