aboutsummaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-25 02:10:42 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-25 02:10:42 +0000
commita2432bdb9c2983d736f95b99330a635237beea13 (patch)
tree7dcaf182711a2a4891d13a48d884ef222a1c409f /nuttx
parent823d7a394a016e981b56fb3bdb12673c9c3f360d (diff)
downloadpx4-firmware-a2432bdb9c2983d736f95b99330a635237beea13.tar.gz
px4-firmware-a2432bdb9c2983d736f95b99330a635237beea13.tar.bz2
px4-firmware-a2432bdb9c2983d736f95b99330a635237beea13.zip
Turn PIC32MXMMB backlight off
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4653 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx')
-rw-r--r--[-rwxr-xr-x]nuttx/configs/amber/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/amber/src/amber_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/amber/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/avr32dev1/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/avr32dev1/src/avr32dev1_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/avr32dev1/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/avr32dev1/src/up_buttons.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/avr32dev1/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/demo9s12ne64/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/demo9s12ne64/src/demo9s12ne64.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/demo9s12ne64/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/demo9s12ne64/src/up_buttons.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/demo9s12ne64/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/demo9s12ne64/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/demo9s12ne64/src/up_spi.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/ez80f910200zco/src/ez80_buttons.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/kwikstik-k40/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/kwikstik-k40/src/kwikstik-internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/kwikstik-k40/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/kwikstik-k40/src/up_lcd.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/kwikstik-k40/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/kwikstik-k40/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/kwikstik-k40/src/up_spi.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/kwikstik-k40/src/up_usbmsc.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/README.txt0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/up_ethernet.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/up_oled.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s6965-ek/src/up_ssi.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/README.txt0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/lm3s8962ek_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/up_ethernet.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/up_oled.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lm3s8962-ek/src/up_ssi.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lpcxpresso-lpc1768/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lpcxpresso-lpc1768/src/up_ssp.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/mbed/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/mbed/src/mbed_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/mbed/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/mbed/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/mbed/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/micropendous3/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/micropendous3/src/micropendous3_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/micropendous3/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/mx1ads/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/ne64badge/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/ne64badge/src/ne64badge_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/ne64badge/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/ne64badge/src/up_buttons.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/ne64badge/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/ne64badge/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/ne64badge/src/up_spi.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/nucleus2g/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/nucleus2g/src/nucleus2g_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/nucleus2g/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/nucleus2g/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/nucleus2g/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/nucleus2g/src/up_ssp.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/nucleus2g/src/up_usbmsc.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc1766stk/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc1766stk/src/lpc1766stk_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc1766stk/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc1766stk/src/up_lcd.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc1766stk/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc1766stk/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc1766stk/src/up_ssp.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc1766stk/src/up_usbmsc.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc2378/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc2378/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-lpc2378/src/up_nsh.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/olimex-strp711/src/up_enc28j60.c0
-rw-r--r--nuttx/configs/pic32mx7mmb/README.txt11
-rw-r--r--nuttx/configs/pic32mx7mmb/include/board.h6
-rw-r--r--nuttx/configs/pic32mx7mmb/src/Makefile2
-rw-r--r--nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h26
-rw-r--r--nuttx/configs/pic32mx7mmb/src/up_boot.c7
-rw-r--r--nuttx/configs/pic32mx7mmb/src/up_lcd.c81
-rw-r--r--nuttx/configs/pic32mx7mmb/src/up_leds.c14
-rw-r--r--[-rwxr-xr-x]nuttx/configs/qemu-i486/src/qemui486_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/qemu-i486/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/sam3u-ek/src/up_touchscreen.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/teensy/src/Makefile0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/teensy/src/teensy_internal.h0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/teensy/src/up_boot.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/teensy/src/up_leds.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/teensy/src/up_spi.c0
-rw-r--r--[-rwxr-xr-x]nuttx/configs/teensy/src/up_usbmsc.c0
101 files changed, 135 insertions, 12 deletions
diff --git a/nuttx/configs/amber/src/Makefile b/nuttx/configs/amber/src/Makefile
index 243759924..243759924 100755..100644
--- a/nuttx/configs/amber/src/Makefile
+++ b/nuttx/configs/amber/src/Makefile
diff --git a/nuttx/configs/amber/src/amber_internal.h b/nuttx/configs/amber/src/amber_internal.h
index 7f16e3d74..7f16e3d74 100755..100644
--- a/nuttx/configs/amber/src/amber_internal.h
+++ b/nuttx/configs/amber/src/amber_internal.h
diff --git a/nuttx/configs/amber/src/up_boot.c b/nuttx/configs/amber/src/up_boot.c
index ba80f4b8b..ba80f4b8b 100755..100644
--- a/nuttx/configs/amber/src/up_boot.c
+++ b/nuttx/configs/amber/src/up_boot.c
diff --git a/nuttx/configs/avr32dev1/src/Makefile b/nuttx/configs/avr32dev1/src/Makefile
index 282aaa8aa..282aaa8aa 100755..100644
--- a/nuttx/configs/avr32dev1/src/Makefile
+++ b/nuttx/configs/avr32dev1/src/Makefile
diff --git a/nuttx/configs/avr32dev1/src/avr32dev1_internal.h b/nuttx/configs/avr32dev1/src/avr32dev1_internal.h
index 30f19c7db..30f19c7db 100755..100644
--- a/nuttx/configs/avr32dev1/src/avr32dev1_internal.h
+++ b/nuttx/configs/avr32dev1/src/avr32dev1_internal.h
diff --git a/nuttx/configs/avr32dev1/src/up_boot.c b/nuttx/configs/avr32dev1/src/up_boot.c
index 44dd8ee55..44dd8ee55 100755..100644
--- a/nuttx/configs/avr32dev1/src/up_boot.c
+++ b/nuttx/configs/avr32dev1/src/up_boot.c
diff --git a/nuttx/configs/avr32dev1/src/up_buttons.c b/nuttx/configs/avr32dev1/src/up_buttons.c
index 882eb6d86..882eb6d86 100755..100644
--- a/nuttx/configs/avr32dev1/src/up_buttons.c
+++ b/nuttx/configs/avr32dev1/src/up_buttons.c
diff --git a/nuttx/configs/avr32dev1/src/up_leds.c b/nuttx/configs/avr32dev1/src/up_leds.c
index c7f123a98..c7f123a98 100755..100644
--- a/nuttx/configs/avr32dev1/src/up_leds.c
+++ b/nuttx/configs/avr32dev1/src/up_leds.c
diff --git a/nuttx/configs/demo9s12ne64/src/Makefile b/nuttx/configs/demo9s12ne64/src/Makefile
index 37dc21150..37dc21150 100755..100644
--- a/nuttx/configs/demo9s12ne64/src/Makefile
+++ b/nuttx/configs/demo9s12ne64/src/Makefile
diff --git a/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h b/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h
index 4ce8b46aa..4ce8b46aa 100755..100644
--- a/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h
+++ b/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h
diff --git a/nuttx/configs/demo9s12ne64/src/up_boot.c b/nuttx/configs/demo9s12ne64/src/up_boot.c
index 61313618a..61313618a 100755..100644
--- a/nuttx/configs/demo9s12ne64/src/up_boot.c
+++ b/nuttx/configs/demo9s12ne64/src/up_boot.c
diff --git a/nuttx/configs/demo9s12ne64/src/up_buttons.c b/nuttx/configs/demo9s12ne64/src/up_buttons.c
index fa015585d..fa015585d 100755..100644
--- a/nuttx/configs/demo9s12ne64/src/up_buttons.c
+++ b/nuttx/configs/demo9s12ne64/src/up_buttons.c
diff --git a/nuttx/configs/demo9s12ne64/src/up_leds.c b/nuttx/configs/demo9s12ne64/src/up_leds.c
index f84f83cdd..f84f83cdd 100755..100644
--- a/nuttx/configs/demo9s12ne64/src/up_leds.c
+++ b/nuttx/configs/demo9s12ne64/src/up_leds.c
diff --git a/nuttx/configs/demo9s12ne64/src/up_nsh.c b/nuttx/configs/demo9s12ne64/src/up_nsh.c
index 451ea901d..451ea901d 100755..100644
--- a/nuttx/configs/demo9s12ne64/src/up_nsh.c
+++ b/nuttx/configs/demo9s12ne64/src/up_nsh.c
diff --git a/nuttx/configs/demo9s12ne64/src/up_spi.c b/nuttx/configs/demo9s12ne64/src/up_spi.c
index 5f33d0776..5f33d0776 100755..100644
--- a/nuttx/configs/demo9s12ne64/src/up_spi.c
+++ b/nuttx/configs/demo9s12ne64/src/up_spi.c
diff --git a/nuttx/configs/ez80f910200zco/src/ez80_buttons.c b/nuttx/configs/ez80f910200zco/src/ez80_buttons.c
index 11ead57b3..11ead57b3 100755..100644
--- a/nuttx/configs/ez80f910200zco/src/ez80_buttons.c
+++ b/nuttx/configs/ez80f910200zco/src/ez80_buttons.c
diff --git a/nuttx/configs/kwikstik-k40/src/Makefile b/nuttx/configs/kwikstik-k40/src/Makefile
index 8c61af8af..8c61af8af 100755..100644
--- a/nuttx/configs/kwikstik-k40/src/Makefile
+++ b/nuttx/configs/kwikstik-k40/src/Makefile
diff --git a/nuttx/configs/kwikstik-k40/src/kwikstik-internal.h b/nuttx/configs/kwikstik-k40/src/kwikstik-internal.h
index 015f0bc86..015f0bc86 100755..100644
--- a/nuttx/configs/kwikstik-k40/src/kwikstik-internal.h
+++ b/nuttx/configs/kwikstik-k40/src/kwikstik-internal.h
diff --git a/nuttx/configs/kwikstik-k40/src/up_boot.c b/nuttx/configs/kwikstik-k40/src/up_boot.c
index 350294d2c..350294d2c 100755..100644
--- a/nuttx/configs/kwikstik-k40/src/up_boot.c
+++ b/nuttx/configs/kwikstik-k40/src/up_boot.c
diff --git a/nuttx/configs/kwikstik-k40/src/up_lcd.c b/nuttx/configs/kwikstik-k40/src/up_lcd.c
index b4f499f16..b4f499f16 100755..100644
--- a/nuttx/configs/kwikstik-k40/src/up_lcd.c
+++ b/nuttx/configs/kwikstik-k40/src/up_lcd.c
diff --git a/nuttx/configs/kwikstik-k40/src/up_leds.c b/nuttx/configs/kwikstik-k40/src/up_leds.c
index f86c77aef..f86c77aef 100755..100644
--- a/nuttx/configs/kwikstik-k40/src/up_leds.c
+++ b/nuttx/configs/kwikstik-k40/src/up_leds.c
diff --git a/nuttx/configs/kwikstik-k40/src/up_nsh.c b/nuttx/configs/kwikstik-k40/src/up_nsh.c
index c4e027c6b..c4e027c6b 100755..100644
--- a/nuttx/configs/kwikstik-k40/src/up_nsh.c
+++ b/nuttx/configs/kwikstik-k40/src/up_nsh.c
diff --git a/nuttx/configs/kwikstik-k40/src/up_spi.c b/nuttx/configs/kwikstik-k40/src/up_spi.c
index 9468c16ae..9468c16ae 100755..100644
--- a/nuttx/configs/kwikstik-k40/src/up_spi.c
+++ b/nuttx/configs/kwikstik-k40/src/up_spi.c
diff --git a/nuttx/configs/kwikstik-k40/src/up_usbmsc.c b/nuttx/configs/kwikstik-k40/src/up_usbmsc.c
index 378295cfa..378295cfa 100755..100644
--- a/nuttx/configs/kwikstik-k40/src/up_usbmsc.c
+++ b/nuttx/configs/kwikstik-k40/src/up_usbmsc.c
diff --git a/nuttx/configs/lm3s6965-ek/src/Makefile b/nuttx/configs/lm3s6965-ek/src/Makefile
index bd9b4f9ca..bd9b4f9ca 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/Makefile
+++ b/nuttx/configs/lm3s6965-ek/src/Makefile
diff --git a/nuttx/configs/lm3s6965-ek/src/README.txt b/nuttx/configs/lm3s6965-ek/src/README.txt
index c392911de..c392911de 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/README.txt
+++ b/nuttx/configs/lm3s6965-ek/src/README.txt
diff --git a/nuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h b/nuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h
index fb3a8a4ea..fb3a8a4ea 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h
+++ b/nuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h
diff --git a/nuttx/configs/lm3s6965-ek/src/up_boot.c b/nuttx/configs/lm3s6965-ek/src/up_boot.c
index 3fb75cf54..3fb75cf54 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/up_boot.c
+++ b/nuttx/configs/lm3s6965-ek/src/up_boot.c
diff --git a/nuttx/configs/lm3s6965-ek/src/up_ethernet.c b/nuttx/configs/lm3s6965-ek/src/up_ethernet.c
index 1cea3d022..1cea3d022 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/up_ethernet.c
+++ b/nuttx/configs/lm3s6965-ek/src/up_ethernet.c
diff --git a/nuttx/configs/lm3s6965-ek/src/up_leds.c b/nuttx/configs/lm3s6965-ek/src/up_leds.c
index f817f8261..f817f8261 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/up_leds.c
+++ b/nuttx/configs/lm3s6965-ek/src/up_leds.c
diff --git a/nuttx/configs/lm3s6965-ek/src/up_nsh.c b/nuttx/configs/lm3s6965-ek/src/up_nsh.c
index 4b0697400..4b0697400 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/up_nsh.c
+++ b/nuttx/configs/lm3s6965-ek/src/up_nsh.c
diff --git a/nuttx/configs/lm3s6965-ek/src/up_oled.c b/nuttx/configs/lm3s6965-ek/src/up_oled.c
index 8a26e1eb2..8a26e1eb2 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/up_oled.c
+++ b/nuttx/configs/lm3s6965-ek/src/up_oled.c
diff --git a/nuttx/configs/lm3s6965-ek/src/up_ssi.c b/nuttx/configs/lm3s6965-ek/src/up_ssi.c
index 4dcd231c0..4dcd231c0 100755..100644
--- a/nuttx/configs/lm3s6965-ek/src/up_ssi.c
+++ b/nuttx/configs/lm3s6965-ek/src/up_ssi.c
diff --git a/nuttx/configs/lm3s8962-ek/src/Makefile b/nuttx/configs/lm3s8962-ek/src/Makefile
index 7721e7e94..7721e7e94 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/Makefile
+++ b/nuttx/configs/lm3s8962-ek/src/Makefile
diff --git a/nuttx/configs/lm3s8962-ek/src/README.txt b/nuttx/configs/lm3s8962-ek/src/README.txt
index a84733cc0..a84733cc0 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/README.txt
+++ b/nuttx/configs/lm3s8962-ek/src/README.txt
diff --git a/nuttx/configs/lm3s8962-ek/src/lm3s8962ek_internal.h b/nuttx/configs/lm3s8962-ek/src/lm3s8962ek_internal.h
index 0c21e5d4b..0c21e5d4b 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/lm3s8962ek_internal.h
+++ b/nuttx/configs/lm3s8962-ek/src/lm3s8962ek_internal.h
diff --git a/nuttx/configs/lm3s8962-ek/src/up_boot.c b/nuttx/configs/lm3s8962-ek/src/up_boot.c
index 2992b00c1..2992b00c1 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/up_boot.c
+++ b/nuttx/configs/lm3s8962-ek/src/up_boot.c
diff --git a/nuttx/configs/lm3s8962-ek/src/up_ethernet.c b/nuttx/configs/lm3s8962-ek/src/up_ethernet.c
index 457e56091..457e56091 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/up_ethernet.c
+++ b/nuttx/configs/lm3s8962-ek/src/up_ethernet.c
diff --git a/nuttx/configs/lm3s8962-ek/src/up_leds.c b/nuttx/configs/lm3s8962-ek/src/up_leds.c
index 1592168d7..1592168d7 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/up_leds.c
+++ b/nuttx/configs/lm3s8962-ek/src/up_leds.c
diff --git a/nuttx/configs/lm3s8962-ek/src/up_nsh.c b/nuttx/configs/lm3s8962-ek/src/up_nsh.c
index d21edc46b..d21edc46b 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/up_nsh.c
+++ b/nuttx/configs/lm3s8962-ek/src/up_nsh.c
diff --git a/nuttx/configs/lm3s8962-ek/src/up_oled.c b/nuttx/configs/lm3s8962-ek/src/up_oled.c
index 55f768894..55f768894 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/up_oled.c
+++ b/nuttx/configs/lm3s8962-ek/src/up_oled.c
diff --git a/nuttx/configs/lm3s8962-ek/src/up_ssi.c b/nuttx/configs/lm3s8962-ek/src/up_ssi.c
index 27899b5bf..27899b5bf 100755..100644
--- a/nuttx/configs/lm3s8962-ek/src/up_ssi.c
+++ b/nuttx/configs/lm3s8962-ek/src/up_ssi.c
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/Makefile b/nuttx/configs/lpcxpresso-lpc1768/src/Makefile
index abc43d41c..abc43d41c 100755..100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/Makefile
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/Makefile
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h b/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h
index 43237a0c2..43237a0c2 100755..100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c
index 137df2f18..137df2f18 100755..100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c
index 39c12e791..39c12e791 100755..100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c
index a47181bac..a47181bac 100755..100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c
index f3d884bb3..f3d884bb3 100755..100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_ssp.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_ssp.c
index 6c81c7a0d..6c81c7a0d 100755..100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_ssp.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_ssp.c
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c
index d36880122..d36880122 100755..100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c
diff --git a/nuttx/configs/mbed/src/Makefile b/nuttx/configs/mbed/src/Makefile
index 9841a90a5..9841a90a5 100755..100644
--- a/nuttx/configs/mbed/src/Makefile
+++ b/nuttx/configs/mbed/src/Makefile
diff --git a/nuttx/configs/mbed/src/mbed_internal.h b/nuttx/configs/mbed/src/mbed_internal.h
index 95b3da41e..95b3da41e 100755..100644
--- a/nuttx/configs/mbed/src/mbed_internal.h
+++ b/nuttx/configs/mbed/src/mbed_internal.h
diff --git a/nuttx/configs/mbed/src/up_boot.c b/nuttx/configs/mbed/src/up_boot.c
index 93d69bf50..93d69bf50 100755..100644
--- a/nuttx/configs/mbed/src/up_boot.c
+++ b/nuttx/configs/mbed/src/up_boot.c
diff --git a/nuttx/configs/mbed/src/up_leds.c b/nuttx/configs/mbed/src/up_leds.c
index 572e63a36..572e63a36 100755..100644
--- a/nuttx/configs/mbed/src/up_leds.c
+++ b/nuttx/configs/mbed/src/up_leds.c
diff --git a/nuttx/configs/mbed/src/up_nsh.c b/nuttx/configs/mbed/src/up_nsh.c
index f8c46bc81..f8c46bc81 100755..100644
--- a/nuttx/configs/mbed/src/up_nsh.c
+++ b/nuttx/configs/mbed/src/up_nsh.c
diff --git a/nuttx/configs/micropendous3/src/Makefile b/nuttx/configs/micropendous3/src/Makefile
index b027183c4..b027183c4 100755..100644
--- a/nuttx/configs/micropendous3/src/Makefile
+++ b/nuttx/configs/micropendous3/src/Makefile
diff --git a/nuttx/configs/micropendous3/src/micropendous3_internal.h b/nuttx/configs/micropendous3/src/micropendous3_internal.h
index 8425bfb8f..8425bfb8f 100755..100644
--- a/nuttx/configs/micropendous3/src/micropendous3_internal.h
+++ b/nuttx/configs/micropendous3/src/micropendous3_internal.h
diff --git a/nuttx/configs/micropendous3/src/up_boot.c b/nuttx/configs/micropendous3/src/up_boot.c
index 6c9a879a8..6c9a879a8 100755..100644
--- a/nuttx/configs/micropendous3/src/up_boot.c
+++ b/nuttx/configs/micropendous3/src/up_boot.c
diff --git a/nuttx/configs/mx1ads/src/up_boot.c b/nuttx/configs/mx1ads/src/up_boot.c
index a65c9b4db..a65c9b4db 100755..100644
--- a/nuttx/configs/mx1ads/src/up_boot.c
+++ b/nuttx/configs/mx1ads/src/up_boot.c
diff --git a/nuttx/configs/ne64badge/src/Makefile b/nuttx/configs/ne64badge/src/Makefile
index 6808224cd..6808224cd 100755..100644
--- a/nuttx/configs/ne64badge/src/Makefile
+++ b/nuttx/configs/ne64badge/src/Makefile
diff --git a/nuttx/configs/ne64badge/src/ne64badge_internal.h b/nuttx/configs/ne64badge/src/ne64badge_internal.h
index 7cba3a91c..7cba3a91c 100755..100644
--- a/nuttx/configs/ne64badge/src/ne64badge_internal.h
+++ b/nuttx/configs/ne64badge/src/ne64badge_internal.h
diff --git a/nuttx/configs/ne64badge/src/up_boot.c b/nuttx/configs/ne64badge/src/up_boot.c
index b277be76e..b277be76e 100755..100644
--- a/nuttx/configs/ne64badge/src/up_boot.c
+++ b/nuttx/configs/ne64badge/src/up_boot.c
diff --git a/nuttx/configs/ne64badge/src/up_buttons.c b/nuttx/configs/ne64badge/src/up_buttons.c
index ec43c3bed..ec43c3bed 100755..100644
--- a/nuttx/configs/ne64badge/src/up_buttons.c
+++ b/nuttx/configs/ne64badge/src/up_buttons.c
diff --git a/nuttx/configs/ne64badge/src/up_leds.c b/nuttx/configs/ne64badge/src/up_leds.c
index e6660b0c0..e6660b0c0 100755..100644
--- a/nuttx/configs/ne64badge/src/up_leds.c
+++ b/nuttx/configs/ne64badge/src/up_leds.c
diff --git a/nuttx/configs/ne64badge/src/up_nsh.c b/nuttx/configs/ne64badge/src/up_nsh.c
index f3851fcf6..f3851fcf6 100755..100644
--- a/nuttx/configs/ne64badge/src/up_nsh.c
+++ b/nuttx/configs/ne64badge/src/up_nsh.c
diff --git a/nuttx/configs/ne64badge/src/up_spi.c b/nuttx/configs/ne64badge/src/up_spi.c
index 08681fa2d..08681fa2d 100755..100644
--- a/nuttx/configs/ne64badge/src/up_spi.c
+++ b/nuttx/configs/ne64badge/src/up_spi.c
diff --git a/nuttx/configs/nucleus2g/src/Makefile b/nuttx/configs/nucleus2g/src/Makefile
index 42a8b5cd2..42a8b5cd2 100755..100644
--- a/nuttx/configs/nucleus2g/src/Makefile
+++ b/nuttx/configs/nucleus2g/src/Makefile
diff --git a/nuttx/configs/nucleus2g/src/nucleus2g_internal.h b/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
index 168b9aa1d..168b9aa1d 100755..100644
--- a/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
+++ b/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
diff --git a/nuttx/configs/nucleus2g/src/up_boot.c b/nuttx/configs/nucleus2g/src/up_boot.c
index d4c44a455..d4c44a455 100755..100644
--- a/nuttx/configs/nucleus2g/src/up_boot.c
+++ b/nuttx/configs/nucleus2g/src/up_boot.c
diff --git a/nuttx/configs/nucleus2g/src/up_leds.c b/nuttx/configs/nucleus2g/src/up_leds.c
index 64eaad65e..64eaad65e 100755..100644
--- a/nuttx/configs/nucleus2g/src/up_leds.c
+++ b/nuttx/configs/nucleus2g/src/up_leds.c
diff --git a/nuttx/configs/nucleus2g/src/up_nsh.c b/nuttx/configs/nucleus2g/src/up_nsh.c
index faf42bb51..faf42bb51 100755..100644
--- a/nuttx/configs/nucleus2g/src/up_nsh.c
+++ b/nuttx/configs/nucleus2g/src/up_nsh.c
diff --git a/nuttx/configs/nucleus2g/src/up_ssp.c b/nuttx/configs/nucleus2g/src/up_ssp.c
index 1c7e3b5b0..1c7e3b5b0 100755..100644
--- a/nuttx/configs/nucleus2g/src/up_ssp.c
+++ b/nuttx/configs/nucleus2g/src/up_ssp.c
diff --git a/nuttx/configs/nucleus2g/src/up_usbmsc.c b/nuttx/configs/nucleus2g/src/up_usbmsc.c
index c3d074b54..c3d074b54 100755..100644
--- a/nuttx/configs/nucleus2g/src/up_usbmsc.c
+++ b/nuttx/configs/nucleus2g/src/up_usbmsc.c
diff --git a/nuttx/configs/olimex-lpc1766stk/src/Makefile b/nuttx/configs/olimex-lpc1766stk/src/Makefile
index 1d7e049c6..1d7e049c6 100755..100644
--- a/nuttx/configs/olimex-lpc1766stk/src/Makefile
+++ b/nuttx/configs/olimex-lpc1766stk/src/Makefile
diff --git a/nuttx/configs/olimex-lpc1766stk/src/lpc1766stk_internal.h b/nuttx/configs/olimex-lpc1766stk/src/lpc1766stk_internal.h
index 31159de52..31159de52 100755..100644
--- a/nuttx/configs/olimex-lpc1766stk/src/lpc1766stk_internal.h
+++ b/nuttx/configs/olimex-lpc1766stk/src/lpc1766stk_internal.h
diff --git a/nuttx/configs/olimex-lpc1766stk/src/up_boot.c b/nuttx/configs/olimex-lpc1766stk/src/up_boot.c
index 9d4c3ad3b..9d4c3ad3b 100755..100644
--- a/nuttx/configs/olimex-lpc1766stk/src/up_boot.c
+++ b/nuttx/configs/olimex-lpc1766stk/src/up_boot.c
diff --git a/nuttx/configs/olimex-lpc1766stk/src/up_lcd.c b/nuttx/configs/olimex-lpc1766stk/src/up_lcd.c
index e9fe0aa36..e9fe0aa36 100755..100644
--- a/nuttx/configs/olimex-lpc1766stk/src/up_lcd.c
+++ b/nuttx/configs/olimex-lpc1766stk/src/up_lcd.c
diff --git a/nuttx/configs/olimex-lpc1766stk/src/up_leds.c b/nuttx/configs/olimex-lpc1766stk/src/up_leds.c
index 75c6a8ce0..75c6a8ce0 100755..100644
--- a/nuttx/configs/olimex-lpc1766stk/src/up_leds.c
+++ b/nuttx/configs/olimex-lpc1766stk/src/up_leds.c
diff --git a/nuttx/configs/olimex-lpc1766stk/src/up_nsh.c b/nuttx/configs/olimex-lpc1766stk/src/up_nsh.c
index 57789676c..57789676c 100755..100644
--- a/nuttx/configs/olimex-lpc1766stk/src/up_nsh.c
+++ b/nuttx/configs/olimex-lpc1766stk/src/up_nsh.c
diff --git a/nuttx/configs/olimex-lpc1766stk/src/up_ssp.c b/nuttx/configs/olimex-lpc1766stk/src/up_ssp.c
index b3d1b0540..b3d1b0540 100755..100644
--- a/nuttx/configs/olimex-lpc1766stk/src/up_ssp.c
+++ b/nuttx/configs/olimex-lpc1766stk/src/up_ssp.c
diff --git a/nuttx/configs/olimex-lpc1766stk/src/up_usbmsc.c b/nuttx/configs/olimex-lpc1766stk/src/up_usbmsc.c
index b92a9dc9e..b92a9dc9e 100755..100644
--- a/nuttx/configs/olimex-lpc1766stk/src/up_usbmsc.c
+++ b/nuttx/configs/olimex-lpc1766stk/src/up_usbmsc.c
diff --git a/nuttx/configs/olimex-lpc2378/src/Makefile b/nuttx/configs/olimex-lpc2378/src/Makefile
index 1319a4915..1319a4915 100755..100644
--- a/nuttx/configs/olimex-lpc2378/src/Makefile
+++ b/nuttx/configs/olimex-lpc2378/src/Makefile
diff --git a/nuttx/configs/olimex-lpc2378/src/up_leds.c b/nuttx/configs/olimex-lpc2378/src/up_leds.c
index e360eb5cd..e360eb5cd 100755..100644
--- a/nuttx/configs/olimex-lpc2378/src/up_leds.c
+++ b/nuttx/configs/olimex-lpc2378/src/up_leds.c
diff --git a/nuttx/configs/olimex-lpc2378/src/up_nsh.c b/nuttx/configs/olimex-lpc2378/src/up_nsh.c
index d6b2445ca..d6b2445ca 100755..100644
--- a/nuttx/configs/olimex-lpc2378/src/up_nsh.c
+++ b/nuttx/configs/olimex-lpc2378/src/up_nsh.c
diff --git a/nuttx/configs/olimex-strp711/src/up_enc28j60.c b/nuttx/configs/olimex-strp711/src/up_enc28j60.c
index c6ffdd368..c6ffdd368 100755..100644
--- a/nuttx/configs/olimex-strp711/src/up_enc28j60.c
+++ b/nuttx/configs/olimex-strp711/src/up_enc28j60.c
diff --git a/nuttx/configs/pic32mx7mmb/README.txt b/nuttx/configs/pic32mx7mmb/README.txt
index d24b99430..c27d6cb34 100644
--- a/nuttx/configs/pic32mx7mmb/README.txt
+++ b/nuttx/configs/pic32mx7mmb/README.txt
@@ -257,13 +257,20 @@ LEDs
The Mikroelektronika PIC32MX7 MMB has 3 user LEDs labeled LED0-2 in the
schematics:
+ --- ----- ---------------------------------------------------------
PIN Board Notes
- --- ----- --------------------------------
+ --- ----- ---------------------------------------------------------
RA0 LED0 Pulled-up, low value illuminates
RA1 LED1 Pulled-up, low value illuminates
RD9 LED2 Pulled-up, low value illuminates
+ RA9 LED4 Not available for general use*, indicates MMC/SD activity
+ --- LED5 Not controllable by software, indicates power-on
- If CONFIG_ARCH_LEDS is defined, then NuttX will control these LEDs as follows:
+ * RA9 is also the SD chip select. It will illuminate whenever the SD card
+ is selected. If SD is not used, then LED4 could also be used as a user-
+ controlled LED.
+
+ If CONFIG_ARCH_LEDS is defined, then NuttX will control these LEDs as follows:
ON OFF
------------------------- ---- ---- ---- ---- ---- ----
diff --git a/nuttx/configs/pic32mx7mmb/include/board.h b/nuttx/configs/pic32mx7mmb/include/board.h
index 126b4170f..5c38867c8 100644
--- a/nuttx/configs/pic32mx7mmb/include/board.h
+++ b/nuttx/configs/pic32mx7mmb/include/board.h
@@ -108,8 +108,12 @@
* RA0 LED0 Pulled-up, low value illuminates
* RA1 LED1 Pulled-up, low value illuminates
* RD9 LED2 Pulled-up, low value illuminates
- * --- LED4 Not controllable by software, indicates MMC/SD activity
+ * RA9 LED4 Not available for general use*, indicates MMC/SD activity
* --- LED5 Not controllable by software, indicates power-on
+ *
+ * * RA9 is also the SD chip select. It will illuminate whenever the SD card
+ * is selected. If SD is not used, then LED4 could also be used as a user-
+ * controlled LED.
*/
/* LED index values for use with pic32mx_setled() */
diff --git a/nuttx/configs/pic32mx7mmb/src/Makefile b/nuttx/configs/pic32mx7mmb/src/Makefile
index f632086b5..5543f8a43 100644
--- a/nuttx/configs/pic32mx7mmb/src/Makefile
+++ b/nuttx/configs/pic32mx7mmb/src/Makefile
@@ -38,7 +38,7 @@
CFLAGS += -I$(TOPDIR)/sched
ASRCS =
-CSRCS = up_boot.c up_leds.c up_spi.c
+CSRCS = up_boot.c up_lcd.c up_leds.c up_spi.c
ifeq ($(CONFIG_PIC32MX_USBDEV),y)
CSRCS += up_usbdev.c
diff --git a/nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h b/nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h
index dceb3c070..db523b67f 100644
--- a/nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h
+++ b/nuttx/configs/pic32mx7mmb/src/pic32mx7mmb_internal.h
@@ -55,8 +55,12 @@
* RA0 LED0 Pulled-up, low value illuminates
* RA1 LED1 Pulled-up, low value illuminates
* RD9 LED2 Pulled-up, low value illuminates
- * --- LED4 Not controllable by software, indicates MMC/SD activity
+ * RA9 LED4 Not available for general use*, indicates MMC/SD activity
* --- LED5 Not controllable by software, indicates power-on
+ *
+ * * RA9 is also the SD chip select. It will illuminate whenever the SD card
+ * is selected. If SD is not used, then LED4 could also be used as a user-
+ * controlled LED.
*/
/* The Mikroelektronika PIC32MX7 MMB has a joystick:
@@ -71,6 +75,14 @@
* RA10 JOY-CP Joystick CP, HDR1 pin 25 Pulled up, low value when closed
*/
+/* LCD
+ *
+ * ------ -------- ------------------------- --------------------------------
+ * GPIO SIGNAL BOARD CONNECTION NOTES
+ * ------ -------- ------------------------- --------------------------------
+ * RD2 LCD-BLED Backlight Light Low value turns off
+ */
+
/****************************************************************************
* Public Types
****************************************************************************/
@@ -116,6 +128,18 @@ EXTERN void weak_function pic32mx_spiinitialize(void);
EXTERN void pic32mx_ledinit(void);
#endif
+/****************************************************************************
+ * Name: pic32mx_lcdinitialize
+ *
+ * Description:
+ * Initialize the LCD. This function should be called early in the boot
+ * sequence -- even if the LCD is not enabled. In that case we should
+ * at a minimum at least disable the LCD backlight.
+ *
+ ****************************************************************************/
+
+EXTERN void pic32mx_lcdinitialize(void);
+
#undef EXTERN
#ifdef __cplusplus
}
diff --git a/nuttx/configs/pic32mx7mmb/src/up_boot.c b/nuttx/configs/pic32mx7mmb/src/up_boot.c
index 6c6004871..426a70761 100644
--- a/nuttx/configs/pic32mx7mmb/src/up_boot.c
+++ b/nuttx/configs/pic32mx7mmb/src/up_boot.c
@@ -86,6 +86,13 @@ void pic32mx_boardinitialize(void)
}
#endif
+/* Initialize the LCD. The LCD initialization function should be called early in the
+ * boot sequence -- even if the LCD is not enabled. In that case we should
+ * at a minimum at least disable the LCD backlight.
+ */
+
+ pic32mx_lcdinitialize();
+
/* Configure on-board LEDs if LED support has been selected. */
#ifdef CONFIG_ARCH_LEDS
diff --git a/nuttx/configs/pic32mx7mmb/src/up_lcd.c b/nuttx/configs/pic32mx7mmb/src/up_lcd.c
new file mode 100644
index 000000000..26e4e7002
--- /dev/null
+++ b/nuttx/configs/pic32mx7mmb/src/up_lcd.c
@@ -0,0 +1,81 @@
+/****************************************************************************
+ * configs/pic32mx7mmb/src/up_lcd.c
+ *
+ * Copyright (C) 2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ * 3. Neither the name NuttX nor the names of its contributors may be
+ * used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ *
+ ****************************************************************************/
+
+/****************************************************************************
+ * Included Files
+ ****************************************************************************/
+
+#include <nuttx/config.h>
+
+#include <debug.h>
+
+#include "pic32mx-internal.h"
+#include "pic32mx7mmb_internal.h"
+
+/****************************************************************************
+ * Pre-Processor Definitions
+ ****************************************************************************/
+/* LCD
+ *
+ * ------ -------- ------------------------- --------------------------------
+ * GPIO SIGNAL BOARD CONNECTION NOTES
+ * ------ -------- ------------------------- --------------------------------
+ * RD2 LCD-BLED Backlight Light Low value turns off
+ */
+
+#define GPIO_BLED (GPIO_OUTPUT|GPIO_VALUE_ZERO|GPIO_PORTD|GPIO_PIN2)
+
+/****************************************************************************
+ * Public Functions
+ ****************************************************************************/
+
+/****************************************************************************
+ * Name: pic32mx_lcdinitialize
+ *
+ * Description:
+ * Initialize the LCD. This function should be called early in the boot
+ * sequendce -- Even if the LCD is not enabled. In that case we should
+ * at a minimum at least disable the LCD backlight.
+ *
+ ****************************************************************************/
+
+void pic32mx_lcdinitialize(void)
+{
+ /* Just configure the backlight control as an output and turn off the
+ * backlight for now.
+ */
+
+ pic32mx_configgpio(GPIO_BLED);
+}
diff --git a/nuttx/configs/pic32mx7mmb/src/up_leds.c b/nuttx/configs/pic32mx7mmb/src/up_leds.c
index 56e00f2ae..187935280 100644
--- a/nuttx/configs/pic32mx7mmb/src/up_leds.c
+++ b/nuttx/configs/pic32mx7mmb/src/up_leds.c
@@ -46,12 +46,7 @@
#include <arch/board/board.h>
-#include "chip.h"
-#include "up_arch.h"
-#include "up_internal.h"
-
#include "pic32mx-internal.h"
-#include "pic32mx-ioport.h"
#include "pic32mx7mmb_internal.h"
/****************************************************************************
@@ -67,11 +62,15 @@
* RA0 LED0 Pulled-up, low value illuminates
* RA1 LED1 Pulled-up, low value illuminates
* RD9 LED2 Pulled-up, low value illuminates
- * --- LED4 Not controllable by software, indicates MMC/SD activity
+ * RA9 LED4 Not available for general use*, indicates MMC/SD activity
* --- LED5 Not controllable by software, indicates power-on
*
- * If CONFIG_ARCH_LEDS is defined, then NuttX will control these LEDs as follows:
+ * * RA9 is also the SD chip select. It will illuminate whenever the SD card
+ * is selected. If SD is not used, then LED4 could also be used as a user-
+ * controlled LED.
*
+ * If CONFIG_ARCH_LEDS is defined, then NuttX will control these LEDs as
+ * follows:
* ON OFF
* ------------------------- ---- ---- ---- ---- ---- ----
* LED0 LED1 LED2 LED0 LED1 LED2
@@ -89,6 +88,7 @@
#define GPIO_LED_0 (GPIO_OUTPUT|GPIO_VALUE_ONE|GPIO_PORTA|GPIO_PIN0)
#define GPIO_LED_1 (GPIO_OUTPUT|GPIO_VALUE_ONE|GPIO_PORTA|GPIO_PIN1)
#define GPIO_LED_2 (GPIO_OUTPUT|GPIO_VALUE_ONE|GPIO_PORTD|GPIO_PIN9)
+#define GPIO_LED_4 (GPIO_OUTPUT|GPIO_VALUE_ONE|GPIO_PORTA|GPIO_PIN9)
/* LED Management Definitions ***********************************************/
diff --git a/nuttx/configs/qemu-i486/src/qemui486_internal.h b/nuttx/configs/qemu-i486/src/qemui486_internal.h
index b6a2fea48..b6a2fea48 100755..100644
--- a/nuttx/configs/qemu-i486/src/qemui486_internal.h
+++ b/nuttx/configs/qemu-i486/src/qemui486_internal.h
diff --git a/nuttx/configs/qemu-i486/src/up_boot.c b/nuttx/configs/qemu-i486/src/up_boot.c
index a3081bdf7..a3081bdf7 100755..100644
--- a/nuttx/configs/qemu-i486/src/up_boot.c
+++ b/nuttx/configs/qemu-i486/src/up_boot.c
diff --git a/nuttx/configs/sam3u-ek/src/up_touchscreen.c b/nuttx/configs/sam3u-ek/src/up_touchscreen.c
index 0de367ec9..0de367ec9 100755..100644
--- a/nuttx/configs/sam3u-ek/src/up_touchscreen.c
+++ b/nuttx/configs/sam3u-ek/src/up_touchscreen.c
diff --git a/nuttx/configs/teensy/src/Makefile b/nuttx/configs/teensy/src/Makefile
index 36e887b74..36e887b74 100755..100644
--- a/nuttx/configs/teensy/src/Makefile
+++ b/nuttx/configs/teensy/src/Makefile
diff --git a/nuttx/configs/teensy/src/teensy_internal.h b/nuttx/configs/teensy/src/teensy_internal.h
index c593c49ce..c593c49ce 100755..100644
--- a/nuttx/configs/teensy/src/teensy_internal.h
+++ b/nuttx/configs/teensy/src/teensy_internal.h
diff --git a/nuttx/configs/teensy/src/up_boot.c b/nuttx/configs/teensy/src/up_boot.c
index ad054c702..ad054c702 100755..100644
--- a/nuttx/configs/teensy/src/up_boot.c
+++ b/nuttx/configs/teensy/src/up_boot.c
diff --git a/nuttx/configs/teensy/src/up_leds.c b/nuttx/configs/teensy/src/up_leds.c
index 7aabae5c3..7aabae5c3 100755..100644
--- a/nuttx/configs/teensy/src/up_leds.c
+++ b/nuttx/configs/teensy/src/up_leds.c
diff --git a/nuttx/configs/teensy/src/up_spi.c b/nuttx/configs/teensy/src/up_spi.c
index 2ef0908f2..2ef0908f2 100755..100644
--- a/nuttx/configs/teensy/src/up_spi.c
+++ b/nuttx/configs/teensy/src/up_spi.c
diff --git a/nuttx/configs/teensy/src/up_usbmsc.c b/nuttx/configs/teensy/src/up_usbmsc.c
index 7eb3307c6..7eb3307c6 100755..100644
--- a/nuttx/configs/teensy/src/up_usbmsc.c
+++ b/nuttx/configs/teensy/src/up_usbmsc.c