You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/07/13 19:57:24 UTC

[incubator-nuttx] branch master updated (7d3eefbdce -> 9695659620)

This is an automated email from the ASF dual-hosted git repository.

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


    from 7d3eefbdce Review: Small improvements
     new 8a4c9c3489 arch: Fix typo in "register" word
     new 9695659620 boards: Fix typo in "register" word

The 2 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/risc-v/src/esp32c3/esp32c3_partition.c      | 2 +-
 arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c   | 2 +-
 arch/xtensa/src/esp32/esp32_partition.c          | 2 +-
 arch/xtensa/src/esp32/esp32_spi_slave.c          | 4 ++--
 arch/xtensa/src/esp32/esp32_spiflash.c           | 6 +++---
 arch/xtensa/src/esp32/esp32_wifi_adapter.c       | 2 +-
 arch/xtensa/src/esp32/hardware/esp32_dport.h     | 4 ++--
 boards/risc-v/bl602/bl602evb/src/bl602_bringup.c | 2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)


[incubator-nuttx] 02/02: boards: Fix typo in "register" word

Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 969565962062f8cb1d8863e4d690ca81cf5ede96
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Wed Jul 13 15:28:06 2022 -0300

    boards: Fix typo in "register" word
    
    Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
 boards/risc-v/bl602/bl602evb/src/bl602_bringup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/risc-v/bl602/bl602evb/src/bl602_bringup.c b/boards/risc-v/bl602/bl602evb/src/bl602_bringup.c
index 7e5ac4e8e7..0a3c072908 100644
--- a/boards/risc-v/bl602/bl602evb/src/bl602_bringup.c
+++ b/boards/risc-v/bl602/bl602evb/src/bl602_bringup.c
@@ -511,7 +511,7 @@ int bl602_bringup(void)
   ret = register_mtddriver(path, mtd_part, 0777, NULL);
   if (ret < 0)
     {
-      syslog(LOG_DEBUG, "ERROR: Failed to regitser MTD: %d\n", ret);
+      syslog(LOG_DEBUG, "ERROR: Failed to register MTD: %d\n", ret);
       return -1;
     }
 


[incubator-nuttx] 01/02: arch: Fix typo in "register" word

Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8a4c9c348999d47d688f613c98a70582e29cc412
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Wed Jul 13 15:26:33 2022 -0300

    arch: Fix typo in "register" word
    
    Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
 arch/risc-v/src/esp32c3/esp32c3_partition.c    | 2 +-
 arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c | 2 +-
 arch/xtensa/src/esp32/esp32_partition.c        | 2 +-
 arch/xtensa/src/esp32/esp32_spi_slave.c        | 4 ++--
 arch/xtensa/src/esp32/esp32_spiflash.c         | 6 +++---
 arch/xtensa/src/esp32/esp32_wifi_adapter.c     | 2 +-
 arch/xtensa/src/esp32/hardware/esp32_dport.h   | 4 ++--
 7 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/arch/risc-v/src/esp32c3/esp32c3_partition.c b/arch/risc-v/src/esp32c3/esp32c3_partition.c
index 56bc02e347..fdd73ac879 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_partition.c
+++ b/arch/risc-v/src/esp32c3/esp32c3_partition.c
@@ -652,7 +652,7 @@ int esp32c3_partition_init(void)
       ret = register_mtddriver(path, mtd_part, 0777, NULL);
       if (ret < 0)
         {
-          ferr("ERROR: Failed to regitser MTD @ %s\n", path);
+          ferr("ERROR: Failed to register MTD @ %s\n", path);
           kmm_free(mtd_priv);
           ret = -1;
           goto errout_with_mtd;
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c b/arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c
index d12d054dc3..85af699582 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c
+++ b/arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c
@@ -4394,7 +4394,7 @@ static int esp_freq_to_channel(int freq)
  * Name: esp_dport_access_reg_read
  *
  * Description:
- *   Read regitser value safely in SMP
+ *   Read register value safely in SMP
  *
  * Input Parameters:
  *   reg - Register address
diff --git a/arch/xtensa/src/esp32/esp32_partition.c b/arch/xtensa/src/esp32/esp32_partition.c
index a1f5a8d412..46bb0952d7 100644
--- a/arch/xtensa/src/esp32/esp32_partition.c
+++ b/arch/xtensa/src/esp32/esp32_partition.c
@@ -650,7 +650,7 @@ int esp32_partition_init(void)
       ret = register_mtddriver(path, mtd_part, 0777, NULL);
       if (ret < 0)
         {
-          ferr("ERROR: Failed to regitser MTD @ %s\n", path);
+          ferr("ERROR: Failed to register MTD @ %s\n", path);
           kmm_free(mtd_priv);
           ret = -1;
           goto errout_with_mtd;
diff --git a/arch/xtensa/src/esp32/esp32_spi_slave.c b/arch/xtensa/src/esp32/esp32_spi_slave.c
index 213d518dd9..e65202a0aa 100644
--- a/arch/xtensa/src/esp32/esp32_spi_slave.c
+++ b/arch/xtensa/src/esp32/esp32_spi_slave.c
@@ -109,7 +109,7 @@ struct esp32_spislv_config_s
   uint32_t rst_bit;           /* I2C reset bit */
 
   bool use_dma;               /* Use DMA */
-  uint8_t dma_chan_s;         /* DMA channel regitser shift */
+  uint8_t dma_chan_s;         /* DMA channel register shift */
   uint8_t dma_chan;           /* DMA channel */
   uint32_t dma_clk_bit;       /* DMA clock enable bit */
   uint32_t dma_rst_bit;       /* DMA reset bit */
@@ -789,7 +789,7 @@ static int esp32_spislv_interrupt(int irq, void *context, void *arg)
 
   if (!priv->dma_chan)
     {
-      /** With DMA, software should copy data from regitser
+      /** With DMA, software should copy data from register
        *  to receive buffer
        */
 
diff --git a/arch/xtensa/src/esp32/esp32_spiflash.c b/arch/xtensa/src/esp32/esp32_spiflash.c
index a14d028be7..fec38f0c67 100644
--- a/arch/xtensa/src/esp32/esp32_spiflash.c
+++ b/arch/xtensa/src/esp32/esp32_spiflash.c
@@ -681,7 +681,7 @@ static void IRAM_ATTR esp32_set_write_opt(struct esp32_spiflash_s *priv)
  * Name: esp32_read_status
  *
  * Description:
- *   Read SPI Flash status regitser value.
+ *   Read SPI Flash status register value.
  *
  * Input Parameters:
  *   spi    - ESP32 SPI Flash chip data
@@ -772,7 +772,7 @@ static int IRAM_ATTR esp32_wait_idle(struct esp32_spiflash_s *priv)
  * Name: esp32_read_highstatus
  *
  * Description:
- *   Read SPI Flash high status regitser value.
+ *   Read SPI Flash high status register value.
  *
  * Input Parameters:
  *   spi    - ESP32 SPI Flash chip data
@@ -809,7 +809,7 @@ static int esp32_read_highstatus(struct esp32_spiflash_s *priv,
  * Name: esp32_write_status
  *
  * Description:
- *   Write status value to SPI Flash status regitser.
+ *   Write status value to SPI Flash status register.
  *
  * Input Parameters:
  *   spi    - ESP32 SPI Flash chip data
diff --git a/arch/xtensa/src/esp32/esp32_wifi_adapter.c b/arch/xtensa/src/esp32/esp32_wifi_adapter.c
index 0eca116155..7ccadb5b2b 100644
--- a/arch/xtensa/src/esp32/esp32_wifi_adapter.c
+++ b/arch/xtensa/src/esp32/esp32_wifi_adapter.c
@@ -4300,7 +4300,7 @@ static int esp_freq_to_channel(uint16_t freq)
  * Name: esp_dport_access_reg_read
  *
  * Description:
- *   Read regitser value safely in SMP
+ *   Read register value safely in SMP
  *
  * Input Parameters:
  *   reg - Register address
diff --git a/arch/xtensa/src/esp32/hardware/esp32_dport.h b/arch/xtensa/src/esp32/hardware/esp32_dport.h
index 968efaac61..330b431b8b 100644
--- a/arch/xtensa/src/esp32/hardware/esp32_dport.h
+++ b/arch/xtensa/src/esp32/hardware/esp32_dport.h
@@ -4393,11 +4393,11 @@
 #define DPORT_DATE_S  0
 #define DPORT_DPORT_DATE_VERSION 0x1605190
 
-/* SPI Flash MMU table regitser base address for PRO CPU */
+/* SPI Flash MMU table register base address for PRO CPU */
 
 #define DPORT_PRO_FLASH_MMU_TABLE_REG       (DR_REG_DPORT_BASE + 0x10000)
 
-/* SPI Flash MMU table regitser base address for APP CPU */
+/* SPI Flash MMU table register base address for APP CPU */
 
 #define DPORT_APP_FLASH_MMU_TABLE_REG       (DR_REG_DPORT_BASE + 0x12000)