You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/12/01 20:01:46 UTC

[incubator-nuttx] branch master updated (c2b0006 -> 86e4197)

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 c2b0006  net/tcp: implement the fast retransmit
     new cff63d1  arch/stm32: Fix nxstyle errors
     new b002698  arch/stm32: Fix nxstyle errors
     new 86e4197  arch/stm32: Fix nxstyle errors

The 3 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/stm32/stm32_tim_lowerhalf.c | 22 +++++++++++++---------
 arch/arm/src/stm32/stm32_uid.c           | 14 +++++++-------
 arch/arm/src/stm32/stm32_userspace.h     | 26 +++++++++++++-------------
 3 files changed, 33 insertions(+), 29 deletions(-)


[incubator-nuttx] 02/03: arch/stm32: Fix nxstyle errors

Posted by ag...@apache.org.
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 b0026988655880d8bf9fbf0661f7f7582434966b
Author: Nathan Hartman <59...@users.noreply.github.com>
AuthorDate: Tue Dec 1 12:12:40 2020 -0500

    arch/stm32: Fix nxstyle errors
    
    arch/arm/src/stm32/stm32_uid.c:
    
        * Fix nxstyle errors.
---
 arch/arm/src/stm32/stm32_uid.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/arm/src/stm32/stm32_uid.c b/arch/arm/src/stm32/stm32_uid.c
index e008877..f4db968 100644
--- a/arch/arm/src/stm32/stm32_uid.c
+++ b/arch/arm/src/stm32/stm32_uid.c
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32/stm32_uid.c
  *
  *   Copyright (C) 2015 Marawan Ragab. All rights reserved.
@@ -31,11 +31,11 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -44,9 +44,9 @@
 
 #ifdef STM32_SYSMEM_UID /* Not defined for the STM32L */
 
-/************************************************************************************
+/****************************************************************************
  * Public Functions
- ************************************************************************************/
+ ****************************************************************************/
 
 void stm32_get_uniqueid(uint8_t uniqueid[12])
 {
@@ -54,7 +54,7 @@ void stm32_get_uniqueid(uint8_t uniqueid[12])
 
   for (i = 0; i < 12; i++)
     {
-      uniqueid[i] = *((uint8_t*)(STM32_SYSMEM_UID)+i);
+      uniqueid[i] = *((uint8_t *)(STM32_SYSMEM_UID) + i);
     }
 }
 


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

Posted by ag...@apache.org.
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 86e41979b4c5a0f250e9ed28523b0bb7ea95359a
Author: Nathan Hartman <59...@users.noreply.github.com>
AuthorDate: Tue Dec 1 12:15:23 2020 -0500

    arch/stm32: Fix nxstyle errors
    
    arch/arm/src/stm32/stm32_tim_lowerhalf.c:
    
        * Fix nxstyle errors.
---
 arch/arm/src/stm32/stm32_tim_lowerhalf.c | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/arch/arm/src/stm32/stm32_tim_lowerhalf.c b/arch/arm/src/stm32/stm32_tim_lowerhalf.c
index 0c6ead4..597adb0 100644
--- a/arch/arm/src/stm32/stm32_tim_lowerhalf.c
+++ b/arch/arm/src/stm32/stm32_tim_lowerhalf.c
@@ -93,6 +93,7 @@
 /****************************************************************************
  * Private Types
  ****************************************************************************/
+
 /* This structure provides the private representation of the "lower-half"
  * driver state structure.  This structure must be cast-compatible with the
  * timer_lowerhalf_s structure.
@@ -111,6 +112,7 @@ struct stm32_lowerhalf_s
 /****************************************************************************
  * Private Function Prototypes
  ****************************************************************************/
+
 static int stm32_timer_handler(int irq, void * context, void * arg);
 
 /* "Lower half" driver methods **********************************************/
@@ -125,6 +127,7 @@ static void stm32_setcallback(FAR struct timer_lowerhalf_s *lower,
 /****************************************************************************
  * Private Data
  ****************************************************************************/
+
 /* "Lower half" driver methods */
 
 static const struct timer_ops_s g_timer_ops =
@@ -294,8 +297,8 @@ static int stm32_timer_handler(int irq, void * context, void * arg)
  *   Start the timer, resetting the time to the current timeout,
  *
  * Input Parameters:
- *   lower - A pointer the publicly visible representation of the "lower-half"
- *           driver state structure.
+ *   lower - A pointer the publicly visible representation of the
+ *           "lower-half" driver state structure.
  *
  * Returned Value:
  *   Zero on success; a negated errno value on failure.
@@ -332,8 +335,8 @@ static int stm32_start(FAR struct timer_lowerhalf_s *lower)
  *   Stop the timer
  *
  * Input Parameters:
- *   lower - A pointer the publicly visible representation of the "lower-half"
- *           driver state structure.
+ *   lower - A pointer the publicly visible representation of the
+ *           "lower-half" driver state structure.
  *
  * Returned Value:
  *   Zero on success; a negated errno value on failure.
@@ -365,8 +368,8 @@ static int stm32_stop(struct timer_lowerhalf_s *lower)
  *   Set a new timeout value (and reset the timer)
  *
  * Input Parameters:
- *   lower   - A pointer the publicly visible representation of the "lower-half"
- *             driver state structure.
+ *   lower   - A pointer the publicly visible representation of the
+ *             "lower-half" driver state structure.
  *   timeout - The new timeout value in microseconds.
  *
  * Returned Value:
@@ -374,7 +377,8 @@ static int stm32_stop(struct timer_lowerhalf_s *lower)
  *
  ****************************************************************************/
 
-static int stm32_settimeout(FAR struct timer_lowerhalf_s *lower, uint32_t timeout)
+static int stm32_settimeout(FAR struct timer_lowerhalf_s *lower,
+                            uint32_t timeout)
 {
   FAR struct stm32_lowerhalf_s *priv = (FAR struct stm32_lowerhalf_s *)lower;
   uint64_t maxtimeout;
@@ -407,8 +411,8 @@ static int stm32_settimeout(FAR struct timer_lowerhalf_s *lower, uint32_t timeou
  *   Call this user provided timeout callback.
  *
  * Input Parameters:
- *   lower      - A pointer the publicly visible representation of the "lower-half"
- *                driver state structure.
+ *   lower      - A pointer the publicly visible representation of the
+ *                "lower-half" driver state structure.
  *   callback - The new timer expiration function pointer.  If this
  *                function pointer is NULL, then the reset-on-expiration
  *                behavior is restored,


[incubator-nuttx] 01/03: arch/stm32: Fix nxstyle errors

Posted by ag...@apache.org.
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 cff63d1b1ee936cac237ee76e1822a918217d463
Author: Nathan Hartman <59...@users.noreply.github.com>
AuthorDate: Tue Dec 1 12:08:59 2020 -0500

    arch/stm32: Fix nxstyle errors
    
    arch/arm/src/stm32/stm32_userspace.h:
    
        * Fix nxstyle errors.
---
 arch/arm/src/stm32/stm32_userspace.h | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/arch/arm/src/stm32/stm32_userspace.h b/arch/arm/src/stm32/stm32_userspace.h
index 7061455..5237141 100644
--- a/arch/arm/src/stm32/stm32_userspace.h
+++ b/arch/arm/src/stm32/stm32_userspace.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32/stm32_userspace.h
  *
  *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
@@ -31,32 +31,32 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32_STM32_USERSPACE_H
 #define __ARCH_ARM_SRC_STM32_STM32_USERSPACE_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Function Prototypes
+ ****************************************************************************/
 
 /****************************************************************************
  * Name: stm32_userspace