
FDI
NXP LPC3180 Demo
User’s Manual
FDI
Rev 2
Page 23
9/7/2007
ssdfb.h
${LINUX}/include/linux
Contains IOCTL defines and
others used by ssdfb.c. Should
be included by user applications
to access IOCTL commands.
LCD_SSD1783B.c ${LINUX}/drivers/video
This file contains the low-level
code to communicate with the
SSD1783U2 controller. It must
be linked with the ssdfb.c code
during module compilation.
LCD_SSD1783B.h ${LINUX}/include/linux
This file contains defines and
functional prototypes for all
capabilities of the SSD1783U2
controller.
LPC3180_GPIO.h ${LINUX}/include/linux
This file contains defines for
working with the LPC3180
GPIO pins.
Makefile
${LINUX}/drivers/video
This file has been modified to
include framebuffer support
directly into the linux kernel.
Also, lines were added to
successfully compile ssdfb.c and
link it during the ‘make
modules’ stage of compilation.
lpc3000evb_defconfig ${LINUX}/arch/arm/configs This file contains modifications
to enable framebuffer support
directly in the kernel when
building kernel images.
setup_links
${LINUX}
This file is sourced prior to
cross-compiling the linux kernel
for the ARM architecture. It
specifically sets the
CONFIG_FB_SOLSYS
environment variable to ‘m’ to
compile the ssdfb as a module.
During kernel compilation, it is important to set the following environment variable to
build the framebuffer module with the rest of the kernel:
export CONFIG_FB_SOLSYS=m
If desirable, this command can be placed within the setup_links file within the kernel
root.
Please consult section
14.0
APPENDIX C Framebuffer API
for a detailed list of IOCTL
commands to interact with the framebuffer in a user-space application.
Содержание LP3180
Страница 39: ...FDI NXP LPC3180 Demo User s Manual FDI Rev 2 Page 39 9 7 2007...
Страница 40: ......