incubator-mynewt-core git commit: lorashell; Enable LORA_NODE_CLI by default.

2017-05-03 Thread marko
Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/master ae4596c41 -> b022ac7c0


lorashell; Enable LORA_NODE_CLI by default.


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/b022ac7c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b022ac7c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b022ac7c

Branch: refs/heads/master
Commit: b022ac7c08ec7f570dd5216847291adf723983fc
Parents: ae4596c
Author: Marko Kiiskila 
Authored: Wed May 3 11:17:27 2017 -0700
Committer: Marko Kiiskila 
Committed: Wed May 3 11:17:27 2017 -0700

--
 apps/lorashell/syscfg.yml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b022ac7c/apps/lorashell/syscfg.yml
--
diff --git a/apps/lorashell/syscfg.yml b/apps/lorashell/syscfg.yml
index 19b0bf6..a3953d0 100644
--- a/apps/lorashell/syscfg.yml
+++ b/apps/lorashell/syscfg.yml
@@ -26,3 +26,4 @@ syscfg.vals:
 STATS_CLI: 1
 STATS_NAMES: 1
 SHELL_TASK: 1
+LORA_NODE_CLI: 1



incubator-mynewt-core git commit: iptest, stm32_eth; console_printf() function prototype has changed.

2017-05-03 Thread marko
Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/master a819c9bfd -> ae4596c41


iptest, stm32_eth; console_printf() function prototype has changed.


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/ae4596c4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/ae4596c4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/ae4596c4

Branch: refs/heads/master
Commit: ae4596c41b724c97a06bcee136fd9e1044fb1304
Parents: a819c9b
Author: Marko Kiiskila 
Authored: Wed May 3 11:09:15 2017 -0700
Committer: Marko Kiiskila 
Committed: Wed May 3 11:09:15 2017 -0700

--
 apps/iptest/src/main.c| 4 ++--
 hw/drivers/lwip/stm32_eth/src/stm32_eth.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ae4596c4/apps/iptest/src/main.c
--
diff --git a/apps/iptest/src/main.c b/apps/iptest/src/main.c
index 3ec726e..96820a2 100755
--- a/apps/iptest/src/main.c
+++ b/apps/iptest/src/main.c
@@ -299,9 +299,9 @@ net_cli(int argc, char **argv)
 console_printf(" %s/%d\n", addr_str, itf_addr.mifa_plen);
 }
 }
-#ifndef ARCH_sim
+#if MYNEWT_VAL(MCU_STM32F4) || MYNEWT_VAL(MCU_STM32F7)
 } else if (!strcmp(argv[1], "mii")) {
-extern int stm32_mii_dump(void (*func)(const char *fmt, ...));
+extern int stm32_mii_dump(int (*func)(const char *fmt, ...));
 
 stm32_mii_dump(console_printf);
 #endif

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ae4596c4/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
--
diff --git a/hw/drivers/lwip/stm32_eth/src/stm32_eth.c 
b/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
index c9f028d..6aa8a8d 100755
--- a/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
+++ b/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
@@ -462,7 +462,7 @@ stm32_lwip_init(struct netif *nif)
 }
 
 int
-stm32_mii_dump(void (*func)(const char *fmt, ...))
+stm32_mii_dump(int (*func)(const char *fmt, ...))
 {
 int i;
 struct stm32_eth_state *ses = _eth_state;