summaryrefslogtreecommitdiffstats
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
commit1165cb32facf7c346bad3abdc6a0f588111fa55d (patch)
tree7dcaf182711a2a4891d13a48d884ef222a1c409f /nuttx
parent7ea5202ab38f527bcd51eeca203e8220c7e9e74c (diff)
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 2437599247..2437599247 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 7f16e3d740..7f16e3d740 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 ba80f4b8b0..ba80f4b8b0 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 282aaa8aa6..282aaa8aa6 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 30f19c7dbc..30f19c7dbc 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 44dd8ee557..44dd8ee557 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 882eb6d86f..882eb6d86f 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 c7f123a98a..c7f123a98a 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 37dc211507..37dc211507 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 4ce8b46aaa..4ce8b46aaa 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 61313618ae..61313618ae 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 fa015585de..fa015585de 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 f84f83cddc..f84f83cddc 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 451ea901d6..451ea901d6 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 5f33d0776a..5f33d0776a 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 11ead57b3e..11ead57b3e 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 8c61af8af5..8c61af8af5 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 015f0bc86f..015f0bc86f 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 350294d2c4..350294d2c4 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 b4f499f16c..b4f499f16c 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 f86c77aef5..f86c77aef5 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 c4e027c6bd..c4e027c6bd 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 9468c16ae0..9468c16ae0 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 378295cfac..378295cfac 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 bd9b4f9caa..bd9b4f9caa 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 c392911de5..c392911de5 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 fb3a8a4eae..fb3a8a4eae 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 3fb75cf543..3fb75cf543 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 1cea3d0228..1cea3d0228 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 f817f8261c..f817f8261c 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 4b06974001..4b06974001 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 8a26e1eb2e..8a26e1eb2e 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 4dcd231c06..4dcd231c06 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 7721e7e941..7721e7e941 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 a84733cc01..a84733cc01 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 0c21e5d4b4..0c21e5d4b4 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 2992b00c12..2992b00c12 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 457e560913..457e560913 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 1592168d78..1592168d78 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 d21edc46b7..d21edc46b7 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 55f7688940..55f7688940 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 27899b5bfa..27899b5bfa 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 abc43d41c0..abc43d41c0 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 43237a0c2b..43237a0c2b 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 137df2f186..137df2f186 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 39c12e7916..39c12e7916 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 a47181bacd..a47181bacd 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 f3d884bb39..f3d884bb39 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 6c81c7a0dd..6c81c7a0dd 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 d368801226..d368801226 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 9841a90a5f..9841a90a5f 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 95b3da41ee..95b3da41ee 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 93d69bf505..93d69bf505 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 572e63a363..572e63a363 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 f8c46bc810..f8c46bc810 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 b027183c48..b027183c48 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 8425bfb8f6..8425bfb8f6 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 6c9a879a8f..6c9a879a8f 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 a65c9b4db4..a65c9b4db4 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 6808224cde..6808224cde 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 7cba3a91c7..7cba3a91c7 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 b277be76e9..b277be76e9 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 ec43c3bedb..ec43c3bedb 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 e6660b0c03..e6660b0c03 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 f3851fcf6d..f3851fcf6d 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 08681fa2d2..08681fa2d2 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 42a8b5cd2d..42a8b5cd2d 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 168b9aa1de..168b9aa1de 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 d4c44a4556..d4c44a4556 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 64eaad65e0..64eaad65e0 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 faf42bb516..faf42bb516 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 1c7e3b5b07..1c7e3b5b07 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 c3d074b54e..c3d074b54e 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 1d7e049c6e..1d7e049c6e 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 31159de52e..31159de52e 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 9d4c3ad3ba..9d4c3ad3ba 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 e9fe0aa367..e9fe0aa367 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 75c6a8ce0a..75c6a8ce0a 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 57789676cb..57789676cb 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 b3d1b05407..b3d1b05407 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 b92a9dc9e8..b92a9dc9e8 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 1319a49155..1319a49155 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 e360eb5cd1..e360eb5cd1 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 d6b2445ca7..d6b2445ca7 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 c6ffdd3686..c6ffdd3686 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 d24b99430c..c27d6cb342 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 126b4170ff..5c38867c87 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 f632086b5f..5543f8a43b 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 dceb3c070f..db523b67fe 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 6c60048712..426a707616 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 0000000000..26e4e70027
--- /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 56e00f2aea..1879352804 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 b6a2fea487..b6a2fea487 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 a3081bdf77..a3081bdf77 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 0de367ec94..0de367ec94 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 36e887b74a..36e887b74a 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 c593c49ce0..c593c49ce0 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 ad054c7023..ad054c7023 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 7aabae5c3d..7aabae5c3d 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 2ef0908f2a..2ef0908f2a 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 7eb3307c66..7eb3307c66 100755..100644
--- a/nuttx/configs/teensy/src/up_usbmsc.c
+++ b/nuttx/configs/teensy/src/up_usbmsc.c