mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
userspace: fix typos in comments
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
0afb1d8dbb
commit
d23ad9b9b0
@@ -230,10 +230,10 @@ EXTERN uint32_t g_intstacktop; /* Initial top of interrupt stack */
|
|||||||
* meaningfully in the following way:
|
* meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1944,7 +1944,7 @@ config SAMV7_DAC_TRIGGER_SELECT
|
|||||||
default 3
|
default 3
|
||||||
range 1 3
|
range 1 3
|
||||||
---help---
|
---help---
|
||||||
Define DAC trigger source. Snly support for TC0, TC1, TC2 output is
|
Define DAC trigger source. Only support for TC0, TC1, TC2 output is
|
||||||
currently implemented:
|
currently implemented:
|
||||||
|
|
||||||
1 -> TC0
|
1 -> TC0
|
||||||
|
|||||||
@@ -80,10 +80,10 @@ extern void g_intstacktop;
|
|||||||
* in the following way:
|
* in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data
|
* that the value _sdata is the address of a uint32_t variable _data
|
||||||
* (it is not!).
|
* (it is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ extern void g_intstacktop;
|
|||||||
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -153,10 +153,10 @@ EXTERN uint32_t g_intstacktop; /* Initial top of interrupt stack */
|
|||||||
* in the following way:
|
* in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data
|
* that the value _sdata is the address of a uint32_t variable _data
|
||||||
* (it is not!).
|
* (it is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -128,10 +128,10 @@ EXTERN uint32_t g_intstacktop; /* Initial top of interrupt stack */
|
|||||||
* in the following way:
|
* in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -115,10 +115,10 @@ extern uint32_t g_intstacktop;
|
|||||||
* in the following way:
|
* in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data
|
* that the value _sdata is the address of a uint32_t variable _data
|
||||||
* (it is not!).
|
* (it is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -134,10 +134,10 @@ extern uint64_t g_intstacktop;
|
|||||||
* meaningfully in the following way:
|
* meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data
|
* that the value _sdata is the address of a uint32_t variable _data
|
||||||
* (it is not!).
|
* (it is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ extern uint32_t g_idlestack[IDLETHREAD_STACKWORDS];
|
|||||||
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data
|
* that the value _sdata is the address of a uint32_t variable _data
|
||||||
* (it is not!).
|
* (it is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data
|
* that the value _sdata is the address of a uint32_t variable _data
|
||||||
* (it is not!).
|
* (it is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* the following way:
|
* the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* the following way:
|
* the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* They are only used meaningfully in the following way:
|
* They are only used meaningfully in the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* the following way:
|
* the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* the following way:
|
* the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@
|
|||||||
* the following way:
|
* the following way:
|
||||||
*
|
*
|
||||||
* - The linker script defines, for example, the symbol_sdata.
|
* - The linker script defines, for example, the symbol_sdata.
|
||||||
* - The declareion extern uint32_t _sdata; makes C happy. C will believe
|
* - The declaration extern uint32_t _sdata; makes C happy. C will believe
|
||||||
* that the value _sdata is the address of a uint32_t variable _data (it
|
* that the value _sdata is the address of a uint32_t variable _data (it
|
||||||
* is not!).
|
* is not!).
|
||||||
* - We can recoved the linker value then by simply taking the address of
|
* - We can recover the linker value then by simply taking the address of
|
||||||
* of _data. like: uint32_t *pdata = &_sdata;
|
* of _data. like: uint32_t *pdata = &_sdata;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user