[GitHub] [incubator-nuttx-testing] yamt commented on pull request #88: Revert "Disable AVR targets on macOS due to homebrew issue"

2021-01-15 Thread GitBox


yamt commented on pull request #88:
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/88#issuecomment-761414113


   i didn't know it has --quiet option.
   
   i don't know if it's avr-gcc specific or not. i assumed it wasn't. but i 
might be wrong.



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.

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




[incubator-nuttx-testing] branch revert-85-disable-avr updated (80ec90f -> 873ba44)

2021-01-15 Thread yamamoto
This is an automated email from the ASF dual-hosted git repository.

yamamoto pushed a change to branch revert-85-disable-avr
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git.


from 80ec90f  Remove 2to3 link as suggested
 add 873ba44  cibuild.sh: add --quiet option to brew update to reduce log 
output

No new revisions were added by this update.

Summary of changes:
 cibuild.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[GitHub] [incubator-nuttx-testing] btashton commented on pull request #88: Revert "Disable AVR targets on macOS due to homebrew issue"

2021-01-15 Thread GitBox


btashton commented on pull request #88:
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/88#issuecomment-761386930


   What do you think about doing `brew update --quiet` instead to cut down the 
log spam? Do you think we should move that command and 2to3 fix to the start 
since it is not really avr specific?



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.

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




[GitHub] [incubator-nuttx] masayuki2009 opened a new pull request #2689: arch: tiva: Fix lm3s_ethernet.c with DEBUGASSERT

2021-01-15 Thread GitBox


masayuki2009 opened a new pull request #2689:
URL: https://github.com/apache/incubator-nuttx/pull/2689


   ## Summary
   
   - This commit fixes DEBUGASSERT in lm3s_ethernet.c
   
   ## Impact
   
   - lm3s_ethernet.c only
   
   ## Testing
   
   - Tested with lm3s6965-ek:discover with QEMU
   



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.

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




[incubator-nuttx-website] branch asf-site updated: Publishing web: 59c4fb7620bc9aabf46df895f9e5cdb361f50177 docs: 75d3ae959fa713139a67bb6beabc4c2c39f2a52f

2021-01-15 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 91ce334  Publishing web: 59c4fb7620bc9aabf46df895f9e5cdb361f50177 
docs: 75d3ae959fa713139a67bb6beabc4c2c39f2a52f
91ce334 is described below

commit 91ce334f06e0ce8406fc5c7865b211c459b1acc3
Author: Ouss4 
AuthorDate: Sat Jan 16 01:28:51 2021 +

Publishing web: 59c4fb7620bc9aabf46df895f9e5cdb361f50177 docs: 
75d3ae959fa713139a67bb6beabc4c2c39f2a52f
---
 content/docs/10.0.0/index.html | 2 +-
 content/docs/10.0.1/index.html | 2 +-
 content/docs/latest/index.html | 2 +-
 content/feed.xml   | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html
index 32d6cdf..d55d958 100644
--- a/content/docs/10.0.0/index.html
+++ b/content/docs/10.0.0/index.html
@@ -207,7 +207,7 @@ by following these 
 NuttX Documentation¶
 NuttX is a real-time operating system (RTOS) with an emphasis on standards 
compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller 
environments, the primary governing standards in NuttX are Posix and ANSI 
standards. Additional standard APIs from Unix and other common RTOS’s (such as 
VxWorks) are adopted for functionality not available under these standards, or 
for functionality that is not appropriate for deeply-embedded environments 
(such as fork()).
-Last Updated: 15 January 21 at 01:26
+Last Updated: 16 January 21 at 01:26
 
 Table of Contents
 
diff --git a/content/docs/10.0.1/index.html b/content/docs/10.0.1/index.html
index a67c624..1ccf382 100644
--- a/content/docs/10.0.1/index.html
+++ b/content/docs/10.0.1/index.html
@@ -211,7 +211,7 @@ by following these 
 NuttX Documentation¶
 NuttX is a real-time operating system (RTOS) with an emphasis on standards 
compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller 
environments, the primary governing standards in NuttX are Posix and ANSI 
standards. Additional standard APIs from Unix and other common RTOS’s (such as 
VxWorks) are adopted for functionality not available under these standards, or 
for functionality that is not appropriate for deeply-embedded environments 
(such as fork()).
-Last Updated: 15 January 21 at 01:26
+Last Updated: 16 January 21 at 01:26
 
 Table of Contents
 
diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html
index 74e039a..50c3914 100644
--- a/content/docs/latest/index.html
+++ b/content/docs/latest/index.html
@@ -210,7 +210,7 @@ by following these 
 NuttX Documentation¶
 NuttX is a real-time operating system (RTOS) with an emphasis on standards 
compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller 
environments, the primary governing standards in NuttX are POSIX and ANSI 
standards. Additional standard APIs from Unix and other common RTOS’s (such as 
VxWorks) are adopted for functionality not available under these standards, or 
for functionality that is not appropriate for deeply-embedded environments 
(such as fork()).
-Last Updated: 15 January 21 at 01:26
+Last Updated: 16 January 21 at 01:27
 
 Table of Contents
 
diff --git a/content/feed.xml b/content/feed.xml
index b6c916f..754be05 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -5,8 +5,8 @@
 
 /
 
-Fri, 15 Jan 2021 01:28:01 +
-Fri, 15 Jan 2021 01:28:01 +
+Sat, 16 Jan 2021 01:28:49 +
+Sat, 16 Jan 2021 01:28:49 +
 Jekyll v3.8.5
 
   



[GitHub] [incubator-nuttx] Ouss4 opened a new pull request #2688: net/pkt/pkt.h: struct socket is already forward referenced.

2021-01-15 Thread GitBox


Ouss4 opened a new pull request #2688:
URL: https://github.com/apache/incubator-nuttx/pull/2688


   ## Summary
   Remove a duplicate forward reference.
   ## Impact
   N/A
   ## Testing
   N/A
   



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.

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




[GitHub] [incubator-nuttx-testing] yamt commented on pull request #88: Revert "Disable AVR targets on macOS due to homebrew issue"

2021-01-15 Thread GitBox


yamt commented on pull request #88:
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/88#issuecomment-761231469


   I looked at the log of macOS "other" job. it looks ok.



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.

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




[GitHub] [incubator-nuttx] Ouss4 merged pull request #2686: Stm32h7 userspace nxstyle

2021-01-15 Thread GitBox


Ouss4 merged pull request #2686:
URL: https://github.com/apache/incubator-nuttx/pull/2686


   



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.

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




[incubator-nuttx] 04/05: arch/stm32h7: Fix nxstyle errors

2021-01-15 Thread aguettouche
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit fda9f63bd8ffe40eca403bd1e474f02fb9a3e910
Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com>
AuthorDate: Fri Jan 15 15:43:20 2021 -0500

arch/stm32h7: Fix nxstyle errors

arch/arm/src/stm32h7/stm32_tim.c:

* Fix nxstyle issues.
---
 arch/arm/src/stm32h7/stm32_tim.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32h7/stm32_tim.c b/arch/arm/src/stm32h7/stm32_tim.c
index d59001f..df6a5ef 100644
--- a/arch/arm/src/stm32h7/stm32_tim.c
+++ b/arch/arm/src/stm32h7/stm32_tim.c
@@ -508,7 +508,9 @@ static void stm32_tim_disable(FAR struct stm32_tim_dev_s 
*dev)
   stm32_putreg16(dev, STM32_BTIM_CR1_OFFSET, val);
 }
 
-/* Reset timer into system default state, but do not affect output/input pins 
*/
+/* Reset timer into system default state, but do not affect output/input
+ * pins
+ */
 
 static void stm32_tim_reset(FAR struct stm32_tim_dev_s *dev)
 {



[incubator-nuttx] branch master updated (6385408 -> 75d3ae9)

2021-01-15 Thread aguettouche
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


from 6385408  net/: Correct some comments.
 new 938db2f  arch/stm32h7: Fix nxstyle errors
 new 07b1014  arch/stm32h7: Fix nxstyle errors
 new c76fd28  arch/stm32h7: Fix nxstyle errors
 new fda9f63  arch/stm32h7: Fix nxstyle errors
 new 75d3ae9  arch/stm32h7: Fix nxstyle errors

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 arch/arm/src/stm32h7/stm32_sdmmc.h |   4 +-
 arch/arm/src/stm32h7/stm32_tim.c   |   4 +-
 arch/arm/src/stm32h7/stm32_uid.c   |   2 +-
 arch/arm/src/stm32h7/stm32_usbhost.h   | 122 +
 arch/arm/src/stm32h7/stm32_userspace.c |   4 ++
 arch/arm/src/stm32h7/stm32_userspace.h |  28 
 6 files changed, 86 insertions(+), 78 deletions(-)



[incubator-nuttx] 03/05: arch/stm32h7: Fix nxstyle errors

2021-01-15 Thread aguettouche
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit c76fd28b835f399cd5baeb68912a150bb8369a6e
Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com>
AuthorDate: Fri Jan 15 15:42:02 2021 -0500

arch/stm32h7: Fix nxstyle errors

arch/arm/src/stm32h7/stm32_uid.c:

* Fix nxstyle issues.
---
 arch/arm/src/stm32h7/stm32_uid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32h7/stm32_uid.c b/arch/arm/src/stm32h7/stm32_uid.c
index 6d08c2a..5e0785d 100644
--- a/arch/arm/src/stm32h7/stm32_uid.c
+++ b/arch/arm/src/stm32h7/stm32_uid.c
@@ -1,4 +1,4 @@
-/**
+/
  * arch/arm/src/stm32/stm32_uid.c
  *
  *   Copyright (C) 2015 Marawan Ragab. All rights reserved.



[incubator-nuttx] 02/05: arch/stm32h7: Fix nxstyle errors

2021-01-15 Thread aguettouche
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 07b1014ef0a491bac3eca47d4fd3ac6a3a3c8105
Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com>
AuthorDate: Fri Jan 15 15:40:11 2021 -0500

arch/stm32h7: Fix nxstyle errors

arch/arm/src/stm32h7/stm32_usbhost.h:

* Fix nxstyle issues.
---
 arch/arm/src/stm32h7/stm32_usbhost.h | 122 ++-
 1 file changed, 62 insertions(+), 60 deletions(-)

diff --git a/arch/arm/src/stm32h7/stm32_usbhost.h 
b/arch/arm/src/stm32h7/stm32_usbhost.h
index bcfc8af..cf16af8 100644
--- a/arch/arm/src/stm32h7/stm32_usbhost.h
+++ b/arch/arm/src/stm32h7/stm32_usbhost.h
@@ -1,4 +1,4 @@
-/
+/
  * arch/arm/src/stm32h7/stm32_usbhost.h
  *
  *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
@@ -31,7 +31,7 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- 
/
+ /
 
 #ifndef __ARCH_ARM_SRC_STM32H7_STM32_USBHOST_H
 #define __ARCH_ARM_SRC_STM32H7_STM32_USBHOST_H
@@ -61,9 +61,9 @@
  *debug.  Depends on CONFIG_DEBUG_FEATURES.
  */
 
-/
+/
  * Included Files
- 
/
+ /
 
 #include 
 #include 
@@ -71,59 +71,58 @@
 #if (defined(CONFIG_STM32H7_OTGFS) || defined(CONFIG_STM32H7_OTGHS)) && \
 defined(CONFIG_USBHOST)
 
-
 #ifdef HAVE_USBHOST_TRACE
 enum usbhost_trace1codes_e
 {
   __TRACE1_BASEVALUE = 0,   /* This will force the first value to be 1 
*/
 
-  OTG_TRACE1_DEVDISCONN,   /* OTG ERROR: Host Port Device disconnected 
*/
-  OTG_TRACE1_IRQATTACH,/* OTG ERROR: Failed to attach IRQ */
-  OTG_TRACE1_TRNSFRFAILED, /* OTG ERROR: Host Port Transfer Failed */
-  OTG_TRACE1_SENDSETUP,/* OTG ERROR: sendsetup() failed with: */
-  OTG_TRACE1_SENDDATA, /* OTG ERROR: senddata() failed with: */
-  OTG_TRACE1_RECVDATA, /* OTG ERROR: recvdata() failed with: */
+  OTG_TRACE1_DEVDISCONN,/* OTG ERROR: Host Port Device 
disconnected */
+  OTG_TRACE1_IRQATTACH, /* OTG ERROR: Failed to attach IRQ */
+  OTG_TRACE1_TRNSFRFAILED,  /* OTG ERROR: Host Port Transfer Failed */
+  OTG_TRACE1_SENDSETUP, /* OTG ERROR: sendsetup() failed with: */
+  OTG_TRACE1_SENDDATA,  /* OTG ERROR: senddata() failed with: */
+  OTG_TRACE1_RECVDATA,  /* OTG ERROR: recvdata() failed with: */
 
 #ifdef HAVE_USBHOST_TRACE_VERBOSE
 
-  OTG_VTRACE1_CONNECTED,   /* OTG Host Port connected */
-  OTG_VTRACE1_DISCONNECTED,/* OTG Host Port disconnected */
-  OTG_VTRACE1_GINT,/* OTG Handling Interrupt. Entry Point */
-  OTG_VTRACE1_GINT_SOF,/* OTG Handle the start of frame interrupt 
*/
-  OTG_VTRACE1_GINT_RXFLVL, /* OTG Handle the RxFIFO non-empty 
interrupt */
-  OTG_VTRACE1_GINT_NPTXFE, /* OTG Handle the non-periodic TxFIFO empty 
interrupt */
-  OTG_VTRACE1_GINT_PTXFE,  /* OTG Handle the periodic TxFIFO empty 
interrupt */
-  OTG_VTRACE1_GINT_HC, /* OTG Handle the host channels interrupt */
-  OTG_VTRACE1_GINT_HPRT,   /* OTG Handle the host port interrupt */
-  OTG_VTRACE1_GINT_HPRT_POCCHNG,   /* OTG  HPRT: Port Over-Current Change*/
-  OTG_VTRACE1_GINT_HPRT_PCDET, /* OTG  HPRT: Port Connect Detect */
-  OTG_VTRACE1_GINT_HPRT_PENCHNG,   /* OTG  HPRT: Port Enable Changed */
-  OTG_VTRACE1_GINT_HPRT_LSDEV, /* OTG  HPRT: Low Speed Device Connected */
-  OTG_VTRACE1_GINT_HPRT_FSDEV, /* OTG  HPRT: Full Speed Device Connected */
-  OTG_VTRACE1_GINT_HPRT_LSFSSW,/* OTG  HPRT: Host Switch: LS -> FS */
-  OTG_VTRACE1_GINT_HPRT_FSLSSW,/* OTG  HPRT: Host Switch: FS -> LS */
-  OTG_VTRACE1_GINT_DISC,   /* OTG Handle the disconnect detected 
interrupt */
-  OTG_VTRACE1_GINT_IPXFR,  /* OTG Handle the incomplete periodic 
transfer */
+  OTG_VTRACE1_CONNECTED,/* OTG Host Port connected */
+  OTG_VTRACE1_DISCONNECTED, /* OTG Host Port disconnected */
+  OTG_VTRACE1_GINT, /* OTG Handling Interrupt. Entry Point */
+  OTG_VTRACE1_GINT_SOF, /* OTG Handle the start of frame interrupt 
*/
+  OTG_VTRACE1_GINT_RXFLVL,  /* OTG Handle the RxFIFO non-empty 

[incubator-nuttx] 05/05: arch/stm32h7: Fix nxstyle errors

2021-01-15 Thread aguettouche
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 75d3ae959fa713139a67bb6beabc4c2c39f2a52f
Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com>
AuthorDate: Fri Jan 15 15:44:55 2021 -0500

arch/stm32h7: Fix nxstyle errors

arch/arm/src/stm32h7/stm32_sdmmc.h:

* Fix nxstyle issues.
---
 arch/arm/src/stm32h7/stm32_sdmmc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/src/stm32h7/stm32_sdmmc.h 
b/arch/arm/src/stm32h7/stm32_sdmmc.h
index 5b8a1c3..351e204 100644
--- a/arch/arm/src/stm32h7/stm32_sdmmc.h
+++ b/arch/arm/src/stm32h7/stm32_sdmmc.h
@@ -31,7 +31,7 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ***/
+ /
 
 #ifndef __ARCH_ARM_SRC_STM32H7_STM32_SDMMC_H
 #define __ARCH_ARM_SRC_STM32H7_STM32_SDMMC_H
@@ -48,7 +48,7 @@
 #include "hardware/stm32_sdmmc.h"
 
 /
- * Public Functions
+ * Public Function Prototypes
  /
 
 #ifndef __ASSEMBLY__



[incubator-nuttx] 01/05: arch/stm32h7: Fix nxstyle errors

2021-01-15 Thread aguettouche
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 938db2fa9e51ca47f38671756f5fdaa11a6bb1af
Author: Nathan Hartman <59230071+hartmannat...@users.noreply.github.com>
AuthorDate: Fri Jan 15 15:32:16 2021 -0500

arch/stm32h7: Fix nxstyle errors

arch/arm/src/stm32h7/stm32_userspace.c:
arch/arm/src/stm32h7/stm32_userspace.h:

* Fix nxstyle issues.
---
 arch/arm/src/stm32h7/stm32_userspace.c |  4 
 arch/arm/src/stm32h7/stm32_userspace.h | 28 ++--
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/arch/arm/src/stm32h7/stm32_userspace.c 
b/arch/arm/src/stm32h7/stm32_userspace.c
index 7c6aea0..3547a51 100644
--- a/arch/arm/src/stm32h7/stm32_userspace.c
+++ b/arch/arm/src/stm32h7/stm32_userspace.c
@@ -55,6 +55,10 @@
 #endif
 
 /
+ * Public Functions
+ /
+
+/
  * Name: stm32_userspace
  *
  * Description:
diff --git a/arch/arm/src/stm32h7/stm32_userspace.h 
b/arch/arm/src/stm32h7/stm32_userspace.h
index d809d09..183da20 100644
--- a/arch/arm/src/stm32h7/stm32_userspace.h
+++ b/arch/arm/src/stm32h7/stm32_userspace.h
@@ -1,4 +1,4 @@
-/
+/
  * arch/arm/src/stm32h7/stm32_userspace.h
  *
  *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
@@ -31,14 +31,14 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- 
/
+ /
 
 #ifndef __ARCH_ARM_SRC_STM32H7_STM32_USERSPACE_H
 #define __ARCH_ARM_SRC_STM32H7_STM32_USERSPACE_H
 
-/
+/
  * Included Files
- 
/
+ /
 
 #include 
 #include 
@@ -50,23 +50,23 @@
 #include "arm_internal.h"
 #include "chip.h"
 
-/
+/
  * Pre-processor Definitions
- 
/
+ /
 
-/
+/
  * Public Types
- 
/
+ /
 
-/
+/
  * Inline Functions
- 
/
+ /
 
 #ifndef __ASSEMBLY__
 
-/
+/
  * Public Data
- 
/
+ /
 
 #undef EXTERN
 #if defined(__cplusplus)
@@ -77,9 +77,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/
+/
  * Public Function Prototypes
- 
/
+ /
 
 /
  * Name: stm32_userspace



[incubator-nuttx] branch master updated: net/: Correct some comments.

2021-01-15 Thread hartmannathan
This is an automated email from the ASF dual-hosted git repository.

hartmannathan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
 new 6385408  net/: Correct some comments.
6385408 is described below

commit 638540848322cf77149c11ed5b48525dfd35a0ff
Author: Abdelatif Guettouche 
AuthorDate: Fri Jan 15 10:01:00 2021 +0100

net/: Correct some comments.

Signed-off-by: Abdelatif Guettouche 
---
 net/bluetooth/bluetooth_sockif.c   |  4 ++--
 net/can/can_sockif.c   | 10 +-
 net/devif/devif_poll.c |  4 ++--
 net/ieee802154/ieee802154_sockif.c |  4 ++--
 net/local/local_sockif.c   |  4 ++--
 net/pkt/pkt_send.c |  6 +++---
 net/pkt/pkt_sockif.c   |  8 
 net/utils/net_chksum.c |  5 +++--
 net/utils/net_lock.c   |  8 
 9 files changed, 27 insertions(+), 26 deletions(-)

diff --git a/net/bluetooth/bluetooth_sockif.c b/net/bluetooth/bluetooth_sockif.c
index 9eeb533..bafa80c 100644
--- a/net/bluetooth/bluetooth_sockif.c
+++ b/net/bluetooth/bluetooth_sockif.c
@@ -177,8 +177,8 @@ static int bluetooth_sockif_alloc(FAR struct socket *psock)
 static int bluetooth_setup(FAR struct socket *psock, int protocol)
 {
   /* Allocate the appropriate connection structure.  This reserves the
-   * the connection structure is is unallocated at this point.  It will
-   * not actually be initialized until the socket is connected.
+   * connection structure, it is unallocated at this point.  It will not
+   * actually be initialized until the socket is connected.
*
* Only SOCK_RAW is supported
*/
diff --git a/net/can/can_sockif.c b/net/can/can_sockif.c
index 5571edf..3083ff7 100644
--- a/net/can/can_sockif.c
+++ b/net/can/can_sockif.c
@@ -189,7 +189,7 @@ static uint16_t can_poll_eventhandler(FAR struct 
net_driver_s *dev,
  * Input Parameters:
  *   psock- A pointer to a user allocated socket structure to be
  *  initialized.
- *   protocol - NetLink socket protocol (see sys/socket.h)
+ *   protocol - CAN socket protocol (see sys/socket.h)
  *
  * Returned Value:
  *   Zero (OK) is returned on success.  Otherwise, a negated errno value is
@@ -226,7 +226,7 @@ static int can_setup(FAR struct socket *psock, int protocol)
 
   if (domain == PF_CAN && (type == SOCK_RAW || type == SOCK_DGRAM))
 {
-  /* Allocate the NetLink socket connection structure and save it in the
+  /* Allocate the CAN socket connection structure and save it in the
* new socket instance.
*/
 
@@ -322,7 +322,7 @@ static void can_addref(FAR struct socket *psock)
  *   space (address family) but has no name assigned.
  *
  * Input Parameters:
- *   conn NetLink socket connection structure
+ *   conn CAN socket connection structure
  *   addr Socket local address
  *   addrlen  Length of 'addr'
  *
@@ -384,7 +384,7 @@ static int can_bind(FAR struct socket *psock,
  *   the object pointed to by address is unspecified.
  *
  * Input Parameters:
- *   conn NetLink socket connection structure
+ *   conn CAN socket connection structure
  *   addr sockaddr structure to receive data [out]
  *   addrlen  Length of sockaddr structure [in/out]
  *
@@ -801,7 +801,7 @@ static ssize_t can_sendmsg(FAR struct socket *psock, FAR 
struct msghdr *msg,
  * Name: can_close
  *
  * Description:
- *   Performs the close operation on a NetLink socket instance
+ *   Performs the close operation on a CAN socket instance
  *
  * Input Parameters:
  *   psock   Socket instance
diff --git a/net/devif/devif_poll.c b/net/devif/devif_poll.c
index 15c42c7..c80063d 100644
--- a/net/devif/devif_poll.c
+++ b/net/devif/devif_poll.c
@@ -240,7 +240,7 @@ static int devif_poll_pkt_connections(FAR struct 
net_driver_s *dev,
 #endif /* CONFIG_NET_PKT */
 
 /
- * Name: devif_poll_pkt_connections
+ * Name: devif_poll_can_connections
  *
  * Description:
  *   Poll all packet connections for available packets to send.
@@ -705,7 +705,7 @@ int devif_poll(FAR struct net_driver_s *dev, 
devif_poll_callback_t callback)
 #endif
 #ifdef CONFIG_NET_CAN
 {
-  /* Check for pending packet socket transfer */
+  /* Check for pending CAN socket transfer */
 
   bstop = devif_poll_can_connections(dev, callback);
 }
diff --git a/net/ieee802154/ieee802154_sockif.c 
b/net/ieee802154/ieee802154_sockif.c
index 19661e8..c831ed7 100644
--- a/net/ieee802154/ieee802154_sockif.c
+++ b/net/ieee802154/ieee802154_sockif.c
@@ -178,8 +178,8 @@ static int ieee802154_sockif_alloc(FAR struct socket *psock)
 static int ieee802154_setup(FAR struct socket *psock, int protocol)
 {
   /* Allocate the appropriate connection structure.  This reserves the
-   * the connection structure is is unallocated at this point.  It will
-   * not 

[GitHub] [incubator-nuttx] hartmannathan merged pull request #2685: net/: Fix typos in comments.

2021-01-15 Thread GitBox


hartmannathan merged pull request #2685:
URL: https://github.com/apache/incubator-nuttx/pull/2685


   



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.

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




[GitHub] [incubator-nuttx] hartmannathan commented on pull request #2685: net/: Fix typos in comments.

2021-01-15 Thread GitBox


hartmannathan commented on pull request #2685:
URL: https://github.com/apache/incubator-nuttx/pull/2685#issuecomment-761204373


   Done. Thank you!



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.

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




[GitHub] [incubator-nuttx] acassis opened a new pull request #2687: Move LWL python script to tools/lwl and add README.txt

2021-01-15 Thread GitBox


acassis opened a new pull request #2687:
URL: https://github.com/apache/incubator-nuttx/pull/2687


   ## Summary
   Move the LWL console communication script to tools/lwl
   ## Impact
   It will make clear the purpose of ocdconsole.py and clear the mess inside 
tools/
   ## Testing
   STM32F103-Minimum board
   



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.

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




[GitHub] [incubator-nuttx] Ouss4 commented on pull request #2685: net/: Fix typos in comments.

2021-01-15 Thread GitBox


Ouss4 commented on pull request #2685:
URL: https://github.com/apache/incubator-nuttx/pull/2685#issuecomment-761195418


   Yes,  this one should be ready to go.
   



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.

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




[GitHub] [incubator-nuttx] hartmannathan commented on pull request #2685: net/: Fix typos in comments.

2021-01-15 Thread GitBox


hartmannathan commented on pull request #2685:
URL: https://github.com/apache/incubator-nuttx/pull/2685#issuecomment-761190142


   Let us know if you're done pushing to this branch and it's ready for 
merging...



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.

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




[GitHub] [incubator-nuttx] hartmannathan opened a new pull request #2686: Stm32h7 userspace nxstyle

2021-01-15 Thread GitBox


hartmannathan opened a new pull request #2686:
URL: https://github.com/apache/incubator-nuttx/pull/2686


   ## Summary
   
   arch/stm32h7: Fix nxstyle errors in several files.
   
   ## Impact
   
   Removes nxstyle errors.
   
   ## Testing
   
   nxstyle



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.

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




[GitHub] [incubator-nuttx] Ouss4 opened a new pull request #2685: net/: Fix typos in comments.

2021-01-15 Thread GitBox


Ouss4 opened a new pull request #2685:
URL: https://github.com/apache/incubator-nuttx/pull/2685


   ## Summary
   Correct some comments.
   ## Impact
   N/A
   ## Testing
   N/A
   



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.

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




[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2628: Add generic efuse driver for NuttX

2021-01-15 Thread GitBox


xiaoxiang781216 merged pull request #2628:
URL: https://github.com/apache/incubator-nuttx/pull/2628


   



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.

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




[incubator-nuttx] branch master updated: Add generic efuse driver for NuttX

2021-01-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
 new 1549494  Add generic efuse driver for NuttX
1549494 is described below

commit 154949403c3867ea596617e47953ec83171576a4
Author: Alan C. Assis 
AuthorDate: Fri Jan 15 10:52:43 2021 -0300

Add generic efuse driver for NuttX

Squashed commits:

Fix small typos on efuse driver
Fix nxstyle issues
Fix aligment and missing FAR
Improvements to efuse driver
Fix: don't free 'lower' on efuse_unregister
Describe the efuse_param
Remove upper pointer from lowerhalt
Fix blank line at end of function

Co-authored-by: saramonteiro 
Co-authored-by: Xiang Xiao 
---
 drivers/Kconfig |   1 +
 drivers/Makefile|   1 +
 drivers/efuse/Kconfig   |  11 ++
 drivers/efuse/Make.defs |  31 
 drivers/efuse/efuse.c   | 394 
 include/nuttx/efuse/efuse.h | 174 +++
 include/nuttx/fs/ioctl.h|   6 +
 7 files changed, 618 insertions(+)

diff --git a/drivers/Kconfig b/drivers/Kconfig
index 57c8961..3e2ad26 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -95,6 +95,7 @@ source drivers/mmcsd/Kconfig
 source drivers/modem/Kconfig
 source drivers/mtd/Kconfig
 source drivers/eeprom/Kconfig
+source drivers/efuse/Kconfig
 source drivers/net/Kconfig
 source drivers/note/Kconfig
 source drivers/pipes/Kconfig
diff --git a/drivers/Makefile b/drivers/Makefile
index d58a78b..ad8ea5e 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -55,6 +55,7 @@ include mmcsd/Make.defs
 include modem/Make.defs
 include mtd/Make.defs
 include eeprom/Make.defs
+include efuse/Make.defs
 include net/Make.defs
 include note/Make.defs
 include pipes/Make.defs
diff --git a/drivers/efuse/Kconfig b/drivers/efuse/Kconfig
new file mode 100644
index 000..da2b1ee
--- /dev/null
+++ b/drivers/efuse/Kconfig
@@ -0,0 +1,11 @@
+#
+# For a description of the syntax of this configuration file,
+# see the file kconfig-language.txt in the NuttX tools repository.
+#
+
+menuconfig EFUSE
+   bool "EFUSE support"
+   default n
+   ---help---
+   This directory holds implementations of EFUSE subsystem.
+
diff --git a/drivers/efuse/Make.defs b/drivers/efuse/Make.defs
new file mode 100644
index 000..9f99f73
--- /dev/null
+++ b/drivers/efuse/Make.defs
@@ -0,0 +1,31 @@
+
+# drivers/efuse/Make.defs
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+
+
+# Include EFUSE support
+
+ifeq ($(CONFIG_EFUSE),y)
+
+CSRCS += efuse.c
+
+# Include build support
+
+DEPPATH += --dep-path efuse
+VPATH += :efuse
+endif
diff --git a/drivers/efuse/efuse.c b/drivers/efuse/efuse.c
new file mode 100644
index 000..d200fc4
--- /dev/null
+++ b/drivers/efuse/efuse.c
@@ -0,0 +1,394 @@
+/
+ * drivers/efuse/efuse.c
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
+ /
+
+/
+ 

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2684: boards: lm3s6965-ek: Add iperf to discover/defconfig

2021-01-15 Thread GitBox


xiaoxiang781216 merged pull request #2684:
URL: https://github.com/apache/incubator-nuttx/pull/2684


   



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.

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




[incubator-nuttx] branch master updated (2016f96 -> aa4a30f)

2021-01-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


from 2016f96  boards/xtensa/esp32/esp32-wrover-kit/README.txt: Document the 
configurations.
 add aa4a30f  boards: lm3s6965-ek: Add iperf to discover/defconfig

No new revisions were added by this update.

Summary of changes:
 boards/arm/tiva/lm3s6965-ek/configs/discover/defconfig | 3 +++
 1 file changed, 3 insertions(+)



[GitHub] [incubator-nuttx] acassis commented on pull request #2628: Add generic efuse driver for NuttX

2021-01-15 Thread GitBox


acassis commented on pull request #2628:
URL: https://github.com/apache/incubator-nuttx/pull/2628#issuecomment-760951349


   > @acassis why not merge into one patch? it doesn't make sense to left the 
intermediate result in the history.
   
   Ok, I was separating your and Sara commits, but I will squash them all in 
the original PR



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.

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




[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #2628: Add generic efuse driver for NuttX

2021-01-15 Thread GitBox


xiaoxiang781216 commented on pull request #2628:
URL: https://github.com/apache/incubator-nuttx/pull/2628#issuecomment-760949883


   @acassis why not merge into one patch? it doesn't make sense to left the 
intermediate result in the history. 



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.

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




[GitHub] [incubator-nuttx] acassis commented on pull request #2628: Add generic efuse driver for NuttX

2021-01-15 Thread GitBox


acassis commented on pull request #2628:
URL: https://github.com/apache/incubator-nuttx/pull/2628#issuecomment-760941563


   Sure, I will do it now! Thank you very much @xiaoxiang781216 



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.

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




[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #2628: Add generic efuse driver for NuttX

2021-01-15 Thread GitBox


xiaoxiang781216 commented on pull request #2628:
URL: https://github.com/apache/incubator-nuttx/pull/2628#issuecomment-760930549


   @acassis the change look perfect, could you squash all patches into one?



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.

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




[GitHub] [incubator-nuttx] acassis commented on a change in pull request #2628: Add generic efuse driver for NuttX

2021-01-15 Thread GitBox


acassis commented on a change in pull request #2628:
URL: https://github.com/apache/incubator-nuttx/pull/2628#discussion_r558266312



##
File path: include/nuttx/efuse/efuse.h
##
@@ -0,0 +1,155 @@
+/
+ * include/nuttx/efuse/efuse.h
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
+ /
+
+#ifndef __INCLUDE_NUTTX_EFUSE_EFUSE_H
+#define __INCLUDE_NUTTX_EFUSE_EFUSE_H
+
+/
+ * Included Files
+ /
+
+#include 
+#include 
+
+#include 
+#include 
+
+#ifdef CONFIG_EFUSE
+
+/
+ * Pre-processor Definitions
+ /
+
+/* Command: EFUSEIOC_READ_FIELD
+ * Description: Read a blob of bits from an efuse field.
+ * Arguments:   A structure containing the field[], a dst pointer, and size
+ *  of bits to be read from efuses.
+ * Return:  Zero (OK) on success.  Minus one will be returned on failure
+ *  with the errno value set appropriately.
+ */
+
+#define EFUSEIOC_READ_FIELD  _EFUSEIOC(0x0001)
+
+/* Command: EFUSEIOC_WRITE_FIELD
+ * Description: Write a blob of bits to an efuse's field
+ * Arguments:   A structure containing the field[], the src memory and the
+ *  amount of bits to write.
+ * Return:  Zero (OK) on success.  Minus one will be returned on failure
+ *  with the errno value set appropriately.
+ */
+
+#define EFUSEIOC_WRITE_FIELD _EFUSEIOC(0x0002)
+
+/
+ * Public Types
+ /
+
+/* Structure eFuse field */
+
+struct efuse_desc_s
+{
+  uint16_t   bit_offset; /* Bit offset related to beginning of efuse */
+  uint16_t   bit_count;  /* Length of bit field */
+};
+
+/* Type definition for an eFuse field */
+
+typedef struct efuse_desc_s efuse_desc_t;
+
+/* Structs with the parameters passed to the IOCTLs */
+
+struct efuse_param
+{
+  FAR const efuse_desc_t **field;
+  size_t  size;
+  FAR uint8_t *data;
+};
+
+/* This structure provides the "lower-half" driver operations available to
+ * the "upper-half" driver.
+ */
+
+struct efuse_lowerhalf_s;
+struct efuse_ops_s
+{
+  /* Required methods ***/
+
+  /* Read an EFUSE bit */
+
+  CODE int (*read_field)(FAR struct efuse_lowerhalf_s *lower,
+ FAR const efuse_desc_t *field[],
+ FAR uint8_t *data, size_t bit_size);
+
+  /* Write an EFUSE bit */
+
+  CODE int (*write_field)(FAR struct efuse_lowerhalf_s *lower,
+  FAR const efuse_desc_t *field[],
+  FAR const uint8_t *data, size_t bit_size);
+
+  /* Any ioctl commands that are not recognized by the "upper-half" driver
+   * are forwarded to the lower half driver through this method.
+   */
+
+  CODE int (*ioctl)(FAR struct efuse_lowerhalf_s *lower, int cmd,
+unsigned long arg);
+};
+
+/* This structure provides the publicly visible representation of the
+ * "lower-half" driver state structure.  "lower half" drivers will have an
+ * internal structure definition that will be cast-compatible with this
+ * structure definitions.
+ */
+
+struct efuse_lowerhalf_s
+{
+  /* Publicly visible portion of the "lower-half" driver state structure. */
+
+  FAR const struct efuse_ops_s  *ops;  /* Lower half operations */
+
+  /* The remainder of the structure is used by the "lower-half" driver
+   * for whatever state storage that it may need.
+   */
+
+  void   *upper;   /* Pointer to watchdog_upperhalf_s */
+};
+
+/
+ * Public Data
+ /
+
+#ifdef __cplusplus
+#define 

[GitHub] [incubator-nuttx] masayuki2009 opened a new pull request #2684: boards: lm3s6965-ek: Add iperf to discover/defconfig

2021-01-15 Thread GitBox


masayuki2009 opened a new pull request #2684:
URL: https://github.com/apache/incubator-nuttx/pull/2684


   ## Summary
   
   - This commit adds the following configs
 +CONFIG_EXAMPLES_IPERF=y
 +CONFIG_EXAMPLES_IPERFTEST_DEVNAME="eth0"
 +CONFIG_NET_ETH_PKTSIZE=1514
   
   ## Impact
   
   - lm3s6965-ek:discover only
   
   ## Testing
   
   - Tested with qemu
   



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.

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




[GitHub] [incubator-nuttx] jerpelea merged pull request #2671: arch/xtensa/Kconfig: Fix disabling ESP32 interrupts based on IRQs numbers.

2021-01-15 Thread GitBox


jerpelea merged pull request #2671:
URL: https://github.com/apache/incubator-nuttx/pull/2671


   



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.

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




[incubator-nuttx] branch master updated (eaae5dc -> 2016f96)

2021-01-15 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


from eaae5dc  graphics: nxmu: Fix a compile warning with 
CONFIG_DEBUG_ASSERTIONS=y
 add c00141c  arch/xtensa/Kconfig: The ESP32 has a different numbers for 
vectors and IRQs.
 add 6875207  boards/xtensa/esp32/esp32-wrover-kit: Add an example on how 
to use GPIO interrupts.
 add 2016f96  boards/xtensa/esp32/esp32-wrover-kit/README.txt: Document the 
configurations.

No new revisions were added by this update.

Summary of changes:
 arch/xtensa/Kconfig|   1 +
 boards/xtensa/esp32/esp32-wrover-kit/README.txt|  34 +++
 .../configs/{leds => gpio}/defconfig   |   7 +-
 .../xtensa/esp32/esp32-wrover-kit/include/board.h  |   5 +
 boards/xtensa/esp32/esp32-wrover-kit/src/Make.defs |   4 +
 .../esp32/esp32-wrover-kit/src/esp32-wrover-kit.h  |   8 +
 .../esp32/esp32-wrover-kit/src/esp32_bringup.c |   9 +
 .../esp32/esp32-wrover-kit/src/esp32_gpio.c}   | 256 ++---
 8 files changed, 193 insertions(+), 131 deletions(-)
 copy boards/xtensa/esp32/esp32-wrover-kit/configs/{leds => gpio}/defconfig 
(93%)
 copy boards/{arm/stm32/nucleo-f429zi/src/stm32_gpio.c => 
xtensa/esp32/esp32-wrover-kit/src/esp32_gpio.c} (51%)



[GitHub] [incubator-nuttx] Ouss4 commented on pull request #2671: arch/xtensa/Kconfig: Fix disabling ESP32 interrupts based on IRQs numbers.

2021-01-15 Thread GitBox


Ouss4 commented on pull request #2671:
URL: https://github.com/apache/incubator-nuttx/pull/2671#issuecomment-760755117


   @jerpelea could you merge it please?



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.

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




[incubator-nuttx-apps] branch master updated: netutils : iperf: Fix compile warnings with Arm GCC 9.3.1

2021-01-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
 new 7f079d1  netutils : iperf: Fix compile warnings with Arm GCC 9.3.1
7f079d1 is described below

commit 7f079d1c3c07b9e3385348b2128a8ad75b75c6c3
Author: Masayuki Ishikawa 
AuthorDate: Fri Jan 15 14:57:35 2021 +0900

netutils : iperf: Fix compile warnings with Arm GCC 9.3.1

Summary:
- This commit fixes compile warnings with Arm GCC 9.3.1

Impact:
- None

Testing:
- Tested with lm3s6965-ek:discover
- NOTE: need to add the following configs
  +CONFIG_EXAMPLES_IPERF=y
  +CONFIG_EXAMPLES_IPERFTEST_DEVNAME="eth0"

Signed-off-by: Masayuki Ishikawa 
---
 netutils/iperf/iperf.c  | 8 +---
 netutils/iperf/iperf_main.c | 6 --
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/netutils/iperf/iperf.c b/netutils/iperf/iperf.c
index b24764d..59570bd 100644
--- a/netutils/iperf/iperf.c
+++ b/netutils/iperf/iperf.c
@@ -208,8 +208,10 @@ static void iperf_report_task(void *arg)
   while (!s_iperf_ctrl.finish)
 {
   sleep(interval);
-  printf("%4d-%4d sec,  %.2f Mbits/sec\n", cur, cur + interval,
-(double)((s_iperf_ctrl.total_len - last_len) * 8) / interval / 1e6);
+  printf("%4" PRId32 "-%4" PRId32 " sec,  %.2f Mbits/sec\n",
+ cur, cur + interval,
+ (double)((s_iperf_ctrl.total_len - last_len) * 8) /
+ interval / 1e6);
   cur += interval;
   last_len = s_iperf_ctrl.total_len;
   if (cur >= time)
@@ -220,7 +222,7 @@ static void iperf_report_task(void *arg)
 
   if (cur != 0)
 {
-  printf("%4d-%4d sec,  %.2f Mbits/sec\n", 0, time,
+  printf("%4d-%4" PRId32 " sec,  %.2f Mbits/sec\n", 0, time,
 (double)(s_iperf_ctrl.total_len * 8) / cur / 1e6);
 }
 
diff --git a/netutils/iperf/iperf_main.c b/netutils/iperf/iperf_main.c
index 7e29314..f559a86 100644
--- a/netutils/iperf/iperf_main.c
+++ b/netutils/iperf/iperf_main.c
@@ -215,8 +215,10 @@ int main(int argc, FAR char *argv[])
 }
 }
 
-  printf("\n mode=%s-%s sip=%d.%d.%d.%d:%d,\
- dip=%d.%d.%d.%d:%d, interval=%d, time=%d\n",
+  printf("\n mode=%s-%s "
+ "sip=%" PRId32 ".%" PRId32 ".%" PRId32 ".%" PRId32 ":%d,"
+ "dip=%" PRId32 ".%" PRId32 ".%" PRId32 ".%" PRId32 ":%d, "
+ "interval=%" PRId32 ", time=%" PRId32 " \n",
  cfg.flag & IPERF_FLAG_TCP ?"tcp":"udp",
  cfg.flag & IPERF_FLAG_SERVER ?"server":"client",
  cfg.sip & 0xff, (cfg.sip >> 8) & 0xff, (cfg.sip >> 16) & 0xff,



[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #564: netutils : iperf: Fix compile warnings with Arm GCC 9.3.1

2021-01-15 Thread GitBox


xiaoxiang781216 merged pull request #564:
URL: https://github.com/apache/incubator-nuttx-apps/pull/564


   



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.

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