Lcd companion boards support (VKLCD50RTA & VKLCD70RT)

What is this ?

This is a demo program using Renesas RGA library & USB Camera to demonstrate VK-RZ/A1H's companion boards workability.


Supported companion Boards:

VKLCD50RTA

/media/uploads/tvendov/front_view_hmi_50.png /media/uploads/tvendov/side_view_hmi_50.png

VKLCD70RT

/media/uploads/tvendov/front_view_hmi_70.png/media/uploads/tvendov/side_view_hmi_70.png /media/uploads/tvendov/front_view_lvds.png/media/uploads/tvendov/back_view_lvds.png


How to Configure ?

You can choose which display is installed by altering the lcd_panel.h file

Leave the active one & comment out the others:

#define     LCD_VDC5_CH0_PANEL                  LCD_CH0_PANEL_VKLCD50RTA
//#define     LCD_VDC5_CH0_PANEL                  LCD_CH0_PANEL_VKLCD70RT

You can alter the whole demo with your pictures if you like:


How to compile ?

  • The Demo can be compiled in 3 modes:
    • I. Execution from the internal 10-MB on-chip SRAM.
      • After import in the online compiler just leave only the VKRZA1H_RAM.sct & delete all others linker files in the TOOLCHAIN_ARM_STD folder.
      • Save the result binary in the SD Card (<SD>:\vkrza1\lcd_sample ), altering vkrza1h.ini by this way
    • II. Execution from the on-board serial FALSH in dual (32-MB) mode.
      • After import in the online compiler just leave only the VKRZA1H_DOUBLE.sct & delete all others linker files in the TOOLCHAIN_ARM_STD folder.
      • Drag & drop the result binary in MBED disk, (previously inited in double flash mode)
    • III. Execution from the on-board serial FALSH in single (16-MB) mode.
      • After import in the online compiler just leave only the VKRZA1H_SINGLE.sct & delete all others linker files in the TOOLCHAIN_ARM_STD folder.
      • Drag & drop the result binary in MBED disk, (previously inited in single flash mode )

Quick presentation:


Other demos ?

More demos you can find on our FTP

Committer:
tvendov
Date:
Thu Feb 16 10:23:48 2017 +0000
Revision:
0:6435b67ad23c
Initial lcd support (VKLCD50RTA & VKLCD70RT companion boards)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tvendov 0:6435b67ad23c 1 /*
tvendov 0:6435b67ad23c 2 * jconfig.doc
tvendov 0:6435b67ad23c 3 *
tvendov 0:6435b67ad23c 4 * Copyright (C) 1991-1994, Thomas G. Lane.
tvendov 0:6435b67ad23c 5 * This file is part of the Independent JPEG Group's software.
tvendov 0:6435b67ad23c 6 * For conditions of distribution and use, see the accompanying README file.
tvendov 0:6435b67ad23c 7 *
tvendov 0:6435b67ad23c 8 * This file documents the configuration options that are required to
tvendov 0:6435b67ad23c 9 * customize the JPEG software for a particular system.
tvendov 0:6435b67ad23c 10 *
tvendov 0:6435b67ad23c 11 * The actual configuration options for a particular installation are stored
tvendov 0:6435b67ad23c 12 * in jconfig.h. On many machines, jconfig.h can be generated automatically
tvendov 0:6435b67ad23c 13 * or copied from one of the "canned" jconfig files that we supply. But if
tvendov 0:6435b67ad23c 14 * you need to generate a jconfig.h file by hand, this file tells you how.
tvendov 0:6435b67ad23c 15 *
tvendov 0:6435b67ad23c 16 * DO NOT EDIT THIS FILE --- IT WON'T ACCOMPLISH ANYTHING.
tvendov 0:6435b67ad23c 17 * EDIT A COPY NAMED JCONFIG.H.
tvendov 0:6435b67ad23c 18 */
tvendov 0:6435b67ad23c 19
tvendov 0:6435b67ad23c 20
tvendov 0:6435b67ad23c 21 /*
tvendov 0:6435b67ad23c 22 * These symbols indicate the properties of your machine or compiler.
tvendov 0:6435b67ad23c 23 * #define the symbol if yes, #undef it if no.
tvendov 0:6435b67ad23c 24 */
tvendov 0:6435b67ad23c 25
tvendov 0:6435b67ad23c 26 /* Does your compiler support function prototypes?
tvendov 0:6435b67ad23c 27 * (If not, you also need to use ansi2knr, see install.doc)
tvendov 0:6435b67ad23c 28 */
tvendov 0:6435b67ad23c 29 #define HAVE_PROTOTYPES
tvendov 0:6435b67ad23c 30
tvendov 0:6435b67ad23c 31 /* Does your compiler support the declaration "unsigned char" ?
tvendov 0:6435b67ad23c 32 * How about "unsigned short" ?
tvendov 0:6435b67ad23c 33 */
tvendov 0:6435b67ad23c 34 #define HAVE_UNSIGNED_CHAR
tvendov 0:6435b67ad23c 35 #define HAVE_UNSIGNED_SHORT
tvendov 0:6435b67ad23c 36
tvendov 0:6435b67ad23c 37 /* Define "void" as "char" if your compiler doesn't know about type void.
tvendov 0:6435b67ad23c 38 * NOTE: be sure to define void such that "void *" represents the most general
tvendov 0:6435b67ad23c 39 * pointer type, e.g., that returned by malloc().
tvendov 0:6435b67ad23c 40 */
tvendov 0:6435b67ad23c 41 /* #define void char */
tvendov 0:6435b67ad23c 42
tvendov 0:6435b67ad23c 43 /* Define "const" as empty if your compiler doesn't know the "const" keyword.
tvendov 0:6435b67ad23c 44 */
tvendov 0:6435b67ad23c 45 /* #define const */
tvendov 0:6435b67ad23c 46
tvendov 0:6435b67ad23c 47 /* Define this if an ordinary "char" type is unsigned.
tvendov 0:6435b67ad23c 48 * If you're not sure, leaving it undefined will work at some cost in speed.
tvendov 0:6435b67ad23c 49 * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal.
tvendov 0:6435b67ad23c 50 */
tvendov 0:6435b67ad23c 51 #undef CHAR_IS_UNSIGNED
tvendov 0:6435b67ad23c 52
tvendov 0:6435b67ad23c 53 /* Define this if your system has an ANSI-conforming <stddef.h> file.
tvendov 0:6435b67ad23c 54 */
tvendov 0:6435b67ad23c 55 #define HAVE_STDDEF_H
tvendov 0:6435b67ad23c 56
tvendov 0:6435b67ad23c 57 /* Define this if your system has an ANSI-conforming <stdlib.h> file.
tvendov 0:6435b67ad23c 58 */
tvendov 0:6435b67ad23c 59 #define HAVE_STDLIB_H
tvendov 0:6435b67ad23c 60
tvendov 0:6435b67ad23c 61 /* Define this if your system has an FILE* type of <stdio.h>.
tvendov 0:6435b67ad23c 62 */
tvendov 0:6435b67ad23c 63 /*#define HAVE_FILE_P_H*/
tvendov 0:6435b67ad23c 64
tvendov 0:6435b67ad23c 65 /* Define this if your system does not have an ANSI/SysV <string.h>,
tvendov 0:6435b67ad23c 66 * but does have a BSD-style <strings.h>.
tvendov 0:6435b67ad23c 67 */
tvendov 0:6435b67ad23c 68 #undef NEED_BSD_STRINGS
tvendov 0:6435b67ad23c 69
tvendov 0:6435b67ad23c 70 /* Define this if your system does not provide typedef size_t in any of the
tvendov 0:6435b67ad23c 71 * ANSI-standard places (stddef.h, stdlib.h, or stdio.h), but places it in
tvendov 0:6435b67ad23c 72 * <sys/types.h> instead.
tvendov 0:6435b67ad23c 73 */
tvendov 0:6435b67ad23c 74 #undef NEED_SYS_TYPES_H
tvendov 0:6435b67ad23c 75
tvendov 0:6435b67ad23c 76 /* For 80x86 machines, you need to define NEED_FAR_POINTERS,
tvendov 0:6435b67ad23c 77 * unless you are using a large-data memory model or 80386 flat-memory mode.
tvendov 0:6435b67ad23c 78 * On less brain-damaged CPUs this symbol must not be defined.
tvendov 0:6435b67ad23c 79 * (Defining this symbol causes large data structures to be referenced through
tvendov 0:6435b67ad23c 80 * "far" pointers and to be allocated with a special version of malloc.)
tvendov 0:6435b67ad23c 81 */
tvendov 0:6435b67ad23c 82 #undef NEED_FAR_POINTERS
tvendov 0:6435b67ad23c 83
tvendov 0:6435b67ad23c 84 /* Define this if your linker needs global names to be unique in less
tvendov 0:6435b67ad23c 85 * than the first 15 characters.
tvendov 0:6435b67ad23c 86 */
tvendov 0:6435b67ad23c 87 #undef NEED_SHORT_EXTERNAL_NAMES
tvendov 0:6435b67ad23c 88
tvendov 0:6435b67ad23c 89 /* Although a real ANSI C compiler can deal perfectly well with pointers to
tvendov 0:6435b67ad23c 90 * unspecified structures (see "incomplete types" in the spec), a few pre-ANSI
tvendov 0:6435b67ad23c 91 * and pseudo-ANSI compilers get confused. To keep one of these bozos happy,
tvendov 0:6435b67ad23c 92 * define INCOMPLETE_TYPES_BROKEN. This is not recommended unless you
tvendov 0:6435b67ad23c 93 * actually get "missing structure definition" warnings or errors while
tvendov 0:6435b67ad23c 94 * compiling the JPEG code.
tvendov 0:6435b67ad23c 95 */
tvendov 0:6435b67ad23c 96 #undef INCOMPLETE_TYPES_BROKEN
tvendov 0:6435b67ad23c 97
tvendov 0:6435b67ad23c 98
tvendov 0:6435b67ad23c 99 /*
tvendov 0:6435b67ad23c 100 * The following options affect code selection within the JPEG library,
tvendov 0:6435b67ad23c 101 * but they don't need to be visible to applications using the library.
tvendov 0:6435b67ad23c 102 * To minimize application namespace pollution, the symbols won't be
tvendov 0:6435b67ad23c 103 * defined unless JPEG_INTERNALS has been defined.
tvendov 0:6435b67ad23c 104 */
tvendov 0:6435b67ad23c 105
tvendov 0:6435b67ad23c 106 #ifdef JPEG_INTERNALS
tvendov 0:6435b67ad23c 107
tvendov 0:6435b67ad23c 108 /* Define this if your compiler implements ">>" on signed values as a logical
tvendov 0:6435b67ad23c 109 * (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift,
tvendov 0:6435b67ad23c 110 * which is the normal and rational definition.
tvendov 0:6435b67ad23c 111 */
tvendov 0:6435b67ad23c 112 #undef RIGHT_SHIFT_IS_UNSIGNED
tvendov 0:6435b67ad23c 113
tvendov 0:6435b67ad23c 114
tvendov 0:6435b67ad23c 115 #endif /* JPEG_INTERNALS */
tvendov 0:6435b67ad23c 116
tvendov 0:6435b67ad23c 117
tvendov 0:6435b67ad23c 118 /*
tvendov 0:6435b67ad23c 119 * The remaining options do not affect the JPEG library proper,
tvendov 0:6435b67ad23c 120 * but only the sample applications cjpeg/djpeg (see cjpeg.c, djpeg.c).
tvendov 0:6435b67ad23c 121 * Other applications can ignore these.
tvendov 0:6435b67ad23c 122 */
tvendov 0:6435b67ad23c 123
tvendov 0:6435b67ad23c 124 #ifdef JPEG_CJPEG_DJPEG
tvendov 0:6435b67ad23c 125
tvendov 0:6435b67ad23c 126 /* These defines indicate which image (non-JPEG) file formats are allowed. */
tvendov 0:6435b67ad23c 127
tvendov 0:6435b67ad23c 128 #undef BMP_SUPPORTED /* BMP image file format */
tvendov 0:6435b67ad23c 129 #undef GIF_SUPPORTED /* GIF image file format */
tvendov 0:6435b67ad23c 130 #undef PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
tvendov 0:6435b67ad23c 131 #undef RLE_SUPPORTED /* Utah RLE image file format */
tvendov 0:6435b67ad23c 132 #undef TARGA_SUPPORTED /* Targa image file format */
tvendov 0:6435b67ad23c 133
tvendov 0:6435b67ad23c 134 /* Define this if you want to name both input and output files on the command
tvendov 0:6435b67ad23c 135 * line, rather than using stdout and optionally stdin. You MUST do this if
tvendov 0:6435b67ad23c 136 * your system can't cope with binary I/O to stdin/stdout. See comments at
tvendov 0:6435b67ad23c 137 * head of cjpeg.c or djpeg.c.
tvendov 0:6435b67ad23c 138 */
tvendov 0:6435b67ad23c 139 #undef TWO_FILE_COMMANDLINE
tvendov 0:6435b67ad23c 140
tvendov 0:6435b67ad23c 141 /* Define this if your system needs explicit cleanup of temporary files.
tvendov 0:6435b67ad23c 142 * This is crucial under MS-DOS, where the temporary "files" may be areas
tvendov 0:6435b67ad23c 143 * of extended memory; on most other systems it's not as important.
tvendov 0:6435b67ad23c 144 */
tvendov 0:6435b67ad23c 145 #undef NEED_SIGNAL_CATCHER
tvendov 0:6435b67ad23c 146
tvendov 0:6435b67ad23c 147 /* By default, we open image files with fopen(...,"rb") or fopen(...,"wb").
tvendov 0:6435b67ad23c 148 * This is necessary on systems that distinguish text files from binary files,
tvendov 0:6435b67ad23c 149 * and is harmless on most systems that don't. If you have one of the rare
tvendov 0:6435b67ad23c 150 * systems that complains about the "b" spec, define this symbol.
tvendov 0:6435b67ad23c 151 */
tvendov 0:6435b67ad23c 152 #undef DONT_USE_B_MODE
tvendov 0:6435b67ad23c 153
tvendov 0:6435b67ad23c 154 /* Define this if you want percent-done progress reports from cjpeg/djpeg.
tvendov 0:6435b67ad23c 155 */
tvendov 0:6435b67ad23c 156 #undef PROGRESS_REPORT
tvendov 0:6435b67ad23c 157
tvendov 0:6435b67ad23c 158 #endif /* JPEG_CJPEG_DJPEG */
tvendov 0:6435b67ad23c 159
tvendov 0:6435b67ad23c 160 #define JDCT_DEFAULT JDCT_IFAST
tvendov 0:6435b67ad23c 161 #define JDCT_FASTEST JDCT_IFAST
tvendov 0:6435b67ad23c 162 #define NO_ZERO_ROW_TEST
tvendov 0:6435b67ad23c 163 #include "r_multi_compiler_typedef.h" /* INLINE */
tvendov 0:6435b67ad23c 164