summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/examples/pwm/pwm_main.c2
-rw-r--r--nuttx/configs/sure-pic32mx/README.txt29
-rw-r--r--nuttx/configs/sure-pic32mx/nsh/defconfig2
-rw-r--r--nuttx/configs/sure-pic32mx/ostest/defconfig2
4 files changed, 34 insertions, 1 deletions
diff --git a/apps/examples/pwm/pwm_main.c b/apps/examples/pwm/pwm_main.c
index 465fa8d5d..38e0e3da4 100644
--- a/apps/examples/pwm/pwm_main.c
+++ b/apps/examples/pwm/pwm_main.c
@@ -108,7 +108,7 @@ static void pwm_help(FAR struct pwm_state_s *pwm)
CONFIG_EXAMPLES_PWM_DUTYPCT, pwm->duty);
#ifdef CONFIG_PWM_PULSECOUNT
message(" [-n count] selects the pulse count. "
- "Default: %d Hz Current: %d\n",
+ "Default: %d Current: %d\n",
CONFIG_EXAMPLES_PWM_COUNT, pwm->count);
#endif
message(" [-t duration] is the duration of the pulse train in seconds. "
diff --git a/nuttx/configs/sure-pic32mx/README.txt b/nuttx/configs/sure-pic32mx/README.txt
index 365ac8277..de1a066f2 100644
--- a/nuttx/configs/sure-pic32mx/README.txt
+++ b/nuttx/configs/sure-pic32mx/README.txt
@@ -7,6 +7,29 @@ Demo Board," Model DB-DP11215, from Sure Electronics
PIC32MX440F512H. See also http://www.sureelectronics.net/goods.php?id=1168
for further information about the Sure DB-DP11215 board.
+DB_DP11215 PIC32 Storage Demo Board
+
+ - PIC32MX44F512H
+ - SD card slot
+ - RS-2323 Interface
+ - USB (MINI-B)
+ - 2x16 LCD display
+ - Three tactile switches
+ - Four user LEDs
+
+Also available (but not yet supported).
+
+DB-DP11212 PIC32 General Purpose Demo Board
+
+ - PIC32MX44F512H
+ - LM75A temperature sensor and temperature resistor (NTC-SMD thermistor)
+ - SPI FLASH: AT25DF041A
+ - USB (MINI-B)
+ - 2x16 LCD display
+ - 4 digit, 8 segment LED display
+ - Three tactile switches
+ - Four user LEDs
+
Contents
========
@@ -246,6 +269,12 @@ PIC32MX Configuration Options
CONFIG_ARCH_BOARD=sure-pic32mx
+ CONFIG_ARCH_DBDP11215 Distinguishes the DB_DP11215 PIC32 Storage
+ Demo Board
+
+ CONFIG_ARCH_DBDP11212 Distingustes the DB-DP11212 PIC32 General
+ Purpose Demo Board
+
CONFIG_ARCH_BOARD_name - For use in C code
CONFIG_ARCH_BOARD_SUREPIC32MX=y
diff --git a/nuttx/configs/sure-pic32mx/nsh/defconfig b/nuttx/configs/sure-pic32mx/nsh/defconfig
index 518c75acd..18fe82631 100644
--- a/nuttx/configs/sure-pic32mx/nsh/defconfig
+++ b/nuttx/configs/sure-pic32mx/nsh/defconfig
@@ -100,6 +100,8 @@ CONFIG_ARCH_CHIP=pic32mx
CONFIG_ARCH_CHIP_PIC32MX440F512H=y
CONFIG_ARCH_BOARD=sure-pic32mx
CONFIG_ARCH_BOARD_SUREPIC32MX=y
+CONFIG_ARCH_DBDP11215=y
+CONFIG_ARCH_DBDP11212=n
CONFIG_BOARD_LOOPSPERMSEC=4275
CONFIG_DRAM_SIZE=(32*1024)
CONFIG_DRAM_START=0xa0000000
diff --git a/nuttx/configs/sure-pic32mx/ostest/defconfig b/nuttx/configs/sure-pic32mx/ostest/defconfig
index d528c1bc9..3ef8060c1 100644
--- a/nuttx/configs/sure-pic32mx/ostest/defconfig
+++ b/nuttx/configs/sure-pic32mx/ostest/defconfig
@@ -88,6 +88,8 @@ CONFIG_ARCH_CHIP=pic32mx
CONFIG_ARCH_CHIP_PIC32MX440F512H=y
CONFIG_ARCH_BOARD=sure-pic32mx
CONFIG_ARCH_BOARD_SUREPIC32MX=y
+CONFIG_ARCH_DBDP11215=y
+CONFIG_ARCH_DBDP11212=n
CONFIG_BOARD_LOOPSPERMSEC=4275
CONFIG_DRAM_SIZE=(32*1024)
CONFIG_DRAM_START=0xa0000000