mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
Cosmetic update to comments/README
This commit is contained in:
@@ -42,7 +42,7 @@ Serial Console
|
||||
to 165-5.5V.
|
||||
|
||||
2) In addition, a second UART provides RS-232 support via a MAX3232 driver
|
||||
and is connected via a 3.5mm jack: Sleeve = GND, RING=SERIAL1_RXD, and
|
||||
and is connected via a 3.5mm jack: Sleeve=GND, RING=SERIAL1_RXD, and
|
||||
TIP=SERIAL1_TXD.
|
||||
|
||||
UART1 may be convenient because of its built-in RS232 drivers. But if you
|
||||
@@ -64,8 +64,8 @@ Running from SRAM
|
||||
To map and enable the 512KB block page, the following steps should be
|
||||
followed:
|
||||
|
||||
- Set ESRAMPGCTRL_BLOCK.BLOCK_PG_SYSTEM_ADDRESS_16MB to the required
|
||||
address value
|
||||
- Set ESRAMPGCTRL_BLOCK.BLOCK_PG_SYSTEM_ADDRESS_16MB to the required
|
||||
address value
|
||||
- Set ESRAMPGCTRL_BLOCK.BLOCK_ENABLE_PG to 1
|
||||
|
||||
Once an eSRAM page is enabled, it is implicitly locked and any further
|
||||
|
||||
+13
-13
@@ -240,16 +240,16 @@ union inode_ops_u
|
||||
|
||||
struct inode
|
||||
{
|
||||
FAR struct inode *i_peer; /* Link to same level inode */
|
||||
FAR struct inode *i_child; /* Link to lower level inode */
|
||||
int16_t i_crefs; /* References to inode */
|
||||
uint16_t i_flags; /* Flags for inode */
|
||||
union inode_ops_u u; /* Inode operations */
|
||||
FAR struct inode *i_peer; /* Link to same level inode */
|
||||
FAR struct inode *i_child; /* Link to lower level inode */
|
||||
int16_t i_crefs; /* References to inode */
|
||||
uint16_t i_flags; /* Flags for inode */
|
||||
union inode_ops_u u; /* Inode operations */
|
||||
#ifdef CONFIG_FILE_MODE
|
||||
mode_t i_mode; /* Access mode flags */
|
||||
mode_t i_mode; /* Access mode flags */
|
||||
#endif
|
||||
FAR void *i_private; /* Per inode driver private data */
|
||||
char i_name[1]; /* Name of inode (variable) */
|
||||
FAR void *i_private; /* Per inode driver private data */
|
||||
char i_name[1]; /* Name of inode (variable) */
|
||||
};
|
||||
#define FSNODE_SIZE(n) (sizeof(struct inode) + (n))
|
||||
|
||||
@@ -260,10 +260,10 @@ struct inode
|
||||
|
||||
struct file
|
||||
{
|
||||
int f_oflags; /* Open mode flags */
|
||||
off_t f_pos; /* File position */
|
||||
FAR struct inode *f_inode; /* Driver interface */
|
||||
void *f_priv; /* Per file driver private data */
|
||||
int f_oflags; /* Open mode flags */
|
||||
off_t f_pos; /* File position */
|
||||
FAR struct inode *f_inode; /* Driver interface */
|
||||
void *f_priv; /* Per file driver private data */
|
||||
};
|
||||
|
||||
/* This defines a list of files indexed by the file descriptor */
|
||||
@@ -271,7 +271,7 @@ struct file
|
||||
#if CONFIG_NFILE_DESCRIPTORS > 0
|
||||
struct filelist
|
||||
{
|
||||
sem_t fl_sem; /* Manage access to the file list */
|
||||
sem_t fl_sem; /* Manage access to the file list */
|
||||
struct file fl_files[CONFIG_NFILE_DESCRIPTORS];
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user