You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by we...@apache.org on 2017/03/24 23:15:42 UTC
[20/50] [abbrv] incubator-mynewt-core git commit: MYNEWT-671 Allow
bletiny to be run from sim.
MYNEWT-671 Allow bletiny to be run from sim.
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/90b34f81
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/90b34f81
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/90b34f81
Branch: refs/heads/nrf_cputime
Commit: 90b34f810bc19662a317643d7b1b06f599002a83
Parents: 5490c39
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Mar 15 11:47:41 2017 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Mar 15 11:47:41 2017 -0700
----------------------------------------------------------------------
apps/bletiny/src/main.c | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/90b34f81/apps/bletiny/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/main.c b/apps/bletiny/src/main.c
index c0177c0..8ee724e 100755
--- a/apps/bletiny/src/main.c
+++ b/apps/bletiny/src/main.c
@@ -1851,6 +1851,10 @@ main(void)
{
int rc;
+#ifdef ARCH_sim
+ mcu_sim_parse_args(argc, argv);
+#endif
+
/* Initialize OS */
sysinit();