[GitHub] [mynewt-core] vikrant-proxy opened a new pull request #2648: sys/console/rtt_console: Fix CONSOLE_INPUT guards in RTT console

2021-07-28 Thread GitBox


vikrant-proxy opened a new pull request #2648:
URL: https://github.com/apache/mynewt-core/pull/2648


   Move console_rx_restart within CONSOLE_INPUT guards to compile correctly 
with CONSOLE_INPUT turned off


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] vikrant-proxy opened a new pull request #2649: sys/console/minimal: Fix RTT console compiler error for minimal console

2021-07-28 Thread GitBox


vikrant-proxy opened a new pull request #2649:
URL: https://github.com/apache/mynewt-core/pull/2649


   Compile `console_out` for UART console only. RTT console has it's own 
implementation of `console_out` which conflicts if RTT_CONSOLE is used with 
console/minimal


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] vrahane merged pull request #2648: sys/console/rtt_console: Fix CONSOLE_INPUT guards in RTT console

2021-07-28 Thread GitBox


vrahane merged pull request #2648:
URL: https://github.com/apache/mynewt-core/pull/2648


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[mynewt-core] branch master updated: sys/console/rtt_console: Move console_rx_restart within CONSOLE_INPUT guards to compile correctly with CONSOLE_INPUT turned off

2021-07-28 Thread vipulrahane
This is an automated email from the ASF dual-hosted git repository.

vipulrahane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
 new 4eecfae  sys/console/rtt_console: Move console_rx_restart within 
CONSOLE_INPUT guards to compile correctly with CONSOLE_INPUT turned off
 new 1a60f1b  Merge pull request #2648 from vikrant-proxy/console-rtt
4eecfae is described below

commit 4eecfae4f78673a80db068f744a42e6f45ee7972
Author: Vikrant More 
AuthorDate: Wed Jul 28 21:54:52 2021 -0700

sys/console/rtt_console: Move console_rx_restart within CONSOLE_INPUT 
guards to compile correctly with CONSOLE_INPUT turned off
---
 sys/console/full/src/rtt_console.c | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys/console/full/src/rtt_console.c 
b/sys/console/full/src/rtt_console.c
index cfe8c82..1f75de2 100644
--- a/sys/console/full/src/rtt_console.c
+++ b/sys/console/full/src/rtt_console.c
@@ -115,12 +115,6 @@ console_out_nolock(int character)
 return character;
 }
 
-void
-console_rx_restart(void)
-{
-os_cputime_timer_relative(_timer, 0);
-}
-
 #if MYNEWT_VAL(CONSOLE_INPUT)
 
 #define RTT_INPUT_POLL_INTERVAL_MIN 10 /* ms */
@@ -154,6 +148,12 @@ rtt_console_poll_func(void *arg)
 
 os_cputime_timer_relative(_timer, itvl_ms * 1000);
 }
+
+void
+console_rx_restart(void)
+{
+os_cputime_timer_relative(_timer, 0);
+}
 #endif
 
 int


[GitHub] [mynewt-core] vrahane merged pull request #2649: sys/console/minimal: Fix RTT console compiler error for minimal console

2021-07-28 Thread GitBox


vrahane merged pull request #2649:
URL: https://github.com/apache/mynewt-core/pull/2649


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[mynewt-core] branch master updated: sys/console/minimal: Compile `console_out` for UART console only. RTT console has it's own implementation of `console_out` which conflicts if RTT_CONSOLE is used w

2021-07-28 Thread vipulrahane
This is an automated email from the ASF dual-hosted git repository.

vipulrahane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
 new b22aea6  sys/console/minimal: Compile `console_out` for UART console 
only. RTT console has it's own implementation of `console_out` which conflicts 
if RTT_CONSOLE is used with console/minimal
 new 15cc93e  Merge pull request #2649 from 
vikrant-proxy/console-rtt-minimal
b22aea6 is described below

commit b22aea6433dd2663861ed8c2ea56cc229c6c64dd
Author: Vikrant More 
AuthorDate: Wed Jul 28 22:06:46 2021 -0700

sys/console/minimal: Compile `console_out` for UART console only. RTT 
console has it's own implementation of `console_out` which conflicts if 
RTT_CONSOLE is used with console/minimal
---
 sys/console/minimal/src/console.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/console/minimal/src/console.c 
b/sys/console/minimal/src/console.c
index 3b7c28f..bc920a4 100644
--- a/sys/console/minimal/src/console.c
+++ b/sys/console/minimal/src/console.c
@@ -134,6 +134,7 @@ end:
 return rc;
 }
 
+#if MYNEWT_VAL(CONSOLE_UART)
 int
 console_out(int c)
 {
@@ -150,6 +151,7 @@ console_out(int c)
 
 return rc;
 }
+#endif
 
 void
 console_prompt_set(const char *prompt, const char *line)


[GitHub] [mynewt-nimble] rahult-github opened a new pull request #1006: nimble/host : Check stack status before executing stack command

2021-07-28 Thread GitBox


rahult-github opened a new pull request #1006:
URL: https://github.com/apache/mynewt-nimble/pull/1006


   Added change of checking stack status in the APIs exposed to user. This 
check exists in few functions, extending them to all.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org