Commit 865a03f7 authored by Iulian Gheorghiu's avatar Iulian Gheorghiu

Add support for LCD device IP on FPGA XMEGA platform using a GFX accelerator IP.

Add a bounch of display resolution configs.
parent 7808c91b
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5,7 +5,7 @@
<ProjectVersion>6.2</ProjectVersion>
<ToolchainName>com.Atmel.AVRGCC8.CPP</ToolchainName>
<ProjectGuid>{4bcca38f-80f4-4515-9bd6-cc6697519c63}</ProjectGuid>
<avrdevice>ATxmega128A1</avrdevice>
<avrdevice>ATxmega64A1</avrdevice>
<avrdeviceseries>none</avrdeviceseries>
<OutputType>Executable</OutputType>
<Language>CPP</Language>
......@@ -139,7 +139,7 @@
<Value>..</Value>
</ListValues>
</avrgcc.compiler.directories.IncludePaths>
<avrgcc.compiler.optimization.level>Optimize more (-O2)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
......@@ -161,7 +161,7 @@
<Value>..</Value>
</ListValues>
</avrgcccpp.compiler.directories.IncludePaths>
<avrgcccpp.compiler.optimization.level>Optimize more (-O2)</avrgcccpp.compiler.optimization.level>
<avrgcccpp.compiler.optimization.level>Optimize for size (-Os)</avrgcccpp.compiler.optimization.level>
<avrgcccpp.compiler.optimization.PackStructureMembers>True</avrgcccpp.compiler.optimization.PackStructureMembers>
<avrgcccpp.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcccpp.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcccpp.compiler.optimization.DebugLevel>Default (-g2)</avrgcccpp.compiler.optimization.DebugLevel>
......
......@@ -11,14 +11,16 @@
#define USE_GPIO true
#define USE_UART false
#define USE_I2C true
#define USE_SPI false
#define USE_SCREEN false
#define USE_SPI true
#define USE_SCREEN true
#define CALIBRATE_TOUCH_ON_STARTUP false
#define USE_WINDOW false
#define USE_SCREEN_GUI true
#define USE_SCREEN_GUI false
#define _USE_PASSWORD_PROTECTION false
#define SHOW_SENSORS_RESULT_ON_SCREEN false
#define CONSOLE_UART_IN "uart-0"
#define CONSOLE_UART_OUT "uart-0"
......@@ -66,7 +68,8 @@
//#define _USE_MCP79410 "i2c-0"
//#define _USE_TCN75A "i2c-0"
//#define _USE_SSD1331 &lcd_UG9664HDDAG01_LANDSCAPE, (string)"spi-0.0", (string)"pc1", (string)"pc13", (string)"pb13", (string)"pb12"
//#define _USE_SSD1306 &lcd_UG2832HSWEG04_LANDSCAPE, (string)"spi-0.0", (string)"oled-dc", (string)"oled-res"
#define _USE_SSD1306 &lcd_UG2832HSWEG04_LANDSCAPE, (string)"spi-0.0", (string)"oled-dc", (string)"oled-res"
//#define _USE_LCD_FPGA &lcd_fpga_1440_900_60_display_106_00_mhz, &FPGA_GFX_ACCELA
/* Need for update */
//#define _USE_MS5611 false
......@@ -77,8 +80,6 @@
//#define _USE_SRF02 false
//#define _USE_nRF25l01 false
#define SHOW_SENSORS_RESULT_ON_SCREEN true
#define _USE_INT_ADC false
#define USE_DRIVER_SEMAPHORE false
......
......@@ -485,7 +485,8 @@ LCD_TIMINGS lcd_S035Q01_beaglebone_exp =
/*hbp*/22,
/*vsw*/3,
/*vfp*/13,
/*vbp*/11 };
/*vbp*/11,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_TFT43AB_OMAP35x_devkit8600_exp =
{
......@@ -503,7 +504,8 @@ LCD_TIMINGS lcd_TFT43AB_OMAP35x_devkit8600_exp =
/*hbp*/6,
/*vsw*/9,
/*vfp*/22,
/*vbp*/15 };
/*vbp*/15,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_TFT43_TMDSSK3358 =
{
......@@ -521,7 +523,8 @@ LCD_TIMINGS lcd_TFT43_TMDSSK3358 =
/*hbp*/6,
/*vsw*/9,
/*vfp*/22,
/*vbp*/15 };
/*vbp*/15,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_AT070TN92_beaglebone_exp =
{
......@@ -539,7 +542,8 @@ LCD_TIMINGS lcd_AT070TN92_beaglebone_exp =
/*hbp*/160,
/*vsw*/3,
/*vfp*/1,
/*vbp*/21 };
/*vbp*/21,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_720p_480_60hz_beaglebone_exp =
{
......@@ -557,7 +561,8 @@ LCD_TIMINGS lcd_720p_480_60hz_beaglebone_exp =
/*hbp*/16,
/*vsw*/6,
/*vfp*/30,
/*vbp*/9 };
/*vbp*/9,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_720p_50hz_beaglebone_exp =
{
......@@ -575,7 +580,8 @@ LCD_TIMINGS lcd_720p_50hz_beaglebone_exp =
/*hbp*/440,
/*vsw*/6,
/*vfp*/4,
/*vbp*/20 };
/*vbp*/20,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_1080p_24hz_beaglebone_exp =
{
......@@ -593,7 +599,8 @@ LCD_TIMINGS lcd_1080p_24hz_beaglebone_exp =
/*hbp*/638,
/*vsw*/5,
/*vfp*/4,
/*vbp*/36 };
/*vbp*/36,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_640_480_60_crt_27_17_mhz =
{
......@@ -611,7 +618,8 @@ LCD_TIMINGS lcd_fpga_640_480_60_crt_27_17_mhz =
/*hbp*/48,
/*vsw*/2,
/*vfp*/10,
/*vbp*/33 };
/*vbp*/33,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_640_480_60_display_24_20_mhz =
{
......@@ -629,7 +637,8 @@ LCD_TIMINGS lcd_fpga_640_480_60_display_24_20_mhz =
/*hbp*/72,
/*vsw*/3,
/*vfp*/10,
/*vbp*/32 };
/*vbp*/32,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_720_480_60_display_27_00_mhz =
{
......@@ -647,7 +656,8 @@ LCD_TIMINGS lcd_fpga_720_480_60_display_27_00_mhz =
/*hbp*/60,
/*vsw*/6,
/*vfp*/9,
/*vbp*/30 };
/*vbp*/30,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_800_600_60_display_40_00_mhz =
{
......@@ -665,7 +675,8 @@ LCD_TIMINGS lcd_fpga_800_600_60_display_40_00_mhz =
/*hbp*/88,
/*vsw*/5,
/*vfp*/4,
/*vbp*/23 };
/*vbp*/23,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_1024_768_60_display_65_00_mhz =
{
......@@ -683,7 +694,8 @@ LCD_TIMINGS lcd_fpga_1024_768_60_display_65_00_mhz =
/*hbp*/160,
/*vsw*/6,
/*vfp*/3,
/*vbp*/29 };
/*vbp*/29,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_1280_720_60_display_74_25_mhz =
{
......@@ -701,7 +713,8 @@ LCD_TIMINGS lcd_fpga_1280_720_60_display_74_25_mhz =
/*hbp*/220,
/*vsw*/5,
/*vfp*/3,
/*vbp*/25 };
/*vbp*/25,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_1400_1060_60_display_119_00_mhz =
{
......@@ -719,7 +732,8 @@ LCD_TIMINGS lcd_fpga_1400_1060_60_display_119_00_mhz =
/*hbp*/80,
/*vsw*/6,
/*vfp*/3,
/*vbp*/21 };
/*vbp*/21,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_1440_900_60_display_106_00_mhz =
{
......@@ -737,7 +751,8 @@ LCD_TIMINGS lcd_fpga_1440_900_60_display_106_00_mhz =
/*hbp*/232,
/*vsw*/6,
/*vfp*/3,
/*vbp*/25 };
/*vbp*/25,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_1680_1050_60_display_146_25_mhz =
{
......@@ -755,7 +770,8 @@ LCD_TIMINGS lcd_fpga_1680_1050_60_display_146_25_mhz =
/*hbp*/280,
/*vsw*/6,
/*vfp*/3,
/*vbp*/30 };
/*vbp*/30,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
LCD_TIMINGS lcd_fpga_1920_1080_60_display_148_50_mhz =
{
......@@ -773,4 +789,5 @@ LCD_TIMINGS lcd_fpga_1920_1080_60_display_148_50_mhz =
/*hbp*/236,
/*vsw*/5,
/*vfp*/4,
/*vbp*/40 };
/*vbp*/40,
/*LCD_ORIENTATION*/LCD_ORIENTATION_LANDSCAPE, };
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment