summaryrefslogtreecommitdiff
path: root/nuttx/configs/pcblogic-pic32mx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-02 23:56:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-02 23:56:54 +0000
commitbed10d9288e1c61599580049d63fe74873c08b37 (patch)
treec2045a94c067d8c6d0bf486449349494b9f1c1ff /nuttx/configs/pcblogic-pic32mx
parent2cc0db0c264e064ee203c2f19b91f7ba013fdf25 (diff)
downloadnuttx-bed10d9288e1c61599580049d63fe74873c08b37.tar.gz
nuttx-bed10d9288e1c61599580049d63fe74873c08b37.tar.bz2
nuttx-bed10d9288e1c61599580049d63fe74873c08b37.zip
Correct a memory leak in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5600 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pcblogic-pic32mx')
-rw-r--r--nuttx/configs/pcblogic-pic32mx/README.txt4
-rw-r--r--nuttx/configs/pcblogic-pic32mx/src/up_lcd1602.c34
2 files changed, 19 insertions, 19 deletions
diff --git a/nuttx/configs/pcblogic-pic32mx/README.txt b/nuttx/configs/pcblogic-pic32mx/README.txt
index bd81f0c42..5fd4ba6f2 100644
--- a/nuttx/configs/pcblogic-pic32mx/README.txt
+++ b/nuttx/configs/pcblogic-pic32mx/README.txt
@@ -159,7 +159,7 @@ MAX3232 Connection
RX -- Pin 52: U1RX/RF2
GND -- POWER POINT: GND
Vcc -- POWER POINT: Vdd (3.3V) -- Or P32_VBUS (+5V)
- -- Or +5V from a USB PC port.
+ Or +5V from a USB PC port.
Toolchains
==========
@@ -524,7 +524,7 @@ PIC32MX Configuration Options
Configurations
==============
-Each PIC32MX configuration is maintained in a sudirectory and can be
+Each PIC32MX configuration is maintained in a sub-directory and can be
selected as follow:
cd tools
diff --git a/nuttx/configs/pcblogic-pic32mx/src/up_lcd1602.c b/nuttx/configs/pcblogic-pic32mx/src/up_lcd1602.c
index 3f99baee1..b8af46ee7 100644
--- a/nuttx/configs/pcblogic-pic32mx/src/up_lcd1602.c
+++ b/nuttx/configs/pcblogic-pic32mx/src/up_lcd1602.c
@@ -40,25 +40,25 @@
/* LCD pin mapping (see configs/pcblogic-pic32mx/README.txt)
*
* ----------------------------------- ---------- ----------------------------------
- * PIC32 LCD1602 UBW32 PIN
+ * PIC32 LCD1602 PCBLogic PIN
* PIN SIGNAL NAME PIN NAME(s)
* ----------------------------------- ---------- ----------------------------------
- * 1. Vss GND
- * 2. Vdd Vcc (5V)
- * 3. Vee To ground via 10K potentiometer
- * 4 AN15/OCFB/PMALL/PMA0/CN12/RB15 4. RS PMA0, Selects registers
- * 82 PMRD/CN14/RD5 5. RW PMRD/PMWR, Selects read or write
- * 81 OC5/PMWR/CN13/RD4 6. E PMENB, Starts data read/write
- * 93 PMD0/RE0 7. D0 PMD0
- * 94 PMD1/RE1 8. D1 PMD1
- * 98 PMD2/RE2 9. D2 PMD2
- * 99 PMD3/RE3 10. D3 PMD3
- * 100 PMD4/RE4 11. D4 PMD4
- * 3 PMD5/RE5 12. D5 PMD5
- * 4 PMD6/RE6 13. D6 PMD6
- * 5 PMD7/RE7 14. D7 PMD7
- * 15. A To Vcc (5V) via 10K potentiometer
- * 16. K GND
+ * 1. Vss --> Powerpoint GND
+ * 2. Vdd --> Powerpoint USB+5V
+ * 3. Vee N/C To ground via 10K potentiometer
+ * 4 AN15/OCFB/PMALL/PMA0/CN12/RB15 4. RS 4 PMA0, Selects registers
+ * 82 PMRD/CN14/RD5 5. RW 82 PMRD/PMWR, Selects read or write
+ * 81 OC5/PMWR/CN13/RD4 6. E 81 PMENB, Starts data read/write
+ * 93 PMD0/RE0 7. D0 93 PMD0
+ * 94 PMD1/RE1 8. D1 94 PMD1
+ * 98 PMD2/RE2 9. D2 98 PMD2
+ * 99 PMD3/RE3 10. D3 99 PMD3
+ * 100 PMD4/RE4 11. D4 100 PMD4
+ * 3 PMD5/RE5 12. D5 3 PMD5
+ * 4 PMD6/RE6 13. D6 4 PMD6
+ * 5 PMD7/RE7 14. D7 5 PMD7
+ * 15. A N/C To Vcc (5V) via 10K potentiometer
+ * 16. K --> Powerpoint GND
* ----------------------------------- ---------- ----------------------------------
*/