view src/cs/drivers/drv_app/r2d/r2d_lcds.c @ 281:a75eefbf8be4

Phone boot with PWON: weed out short button presses Every standard end user phone has a design provision, most naturally implemented in firmware, whereby the PWON button effects a boot only if it is held down long enough - short presses of this PWON button are detected, assumed to be spurious and cause the fw to power back off instead of proceeding with boot. The present change introduces this standard function in FreeCalypso.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 Sep 2021 02:03:08 +0000
parents c905daaff834
children
line wrap: on
line source

/**
                                                                          
	@file:	r2d_lcds.c
	
	@author Christophe Favergeon                              
                                                                          
    @version	0.5	

    Purpose:	Include LCDs dependent definitions (the LCD APIs)
	
*/

/*
																			
 	Date       	Modification												
  ------------------------------------									
    06/02/2001	Create		
	10/18/2001  Version 0.5 for first integration with Riviera database
																											    
																			
 (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved
*/

#include "rv/general.h"
#include "rvf/rvf_api.h"
#include "r2d/r2d_config.h"
#include "r2d/r2d.h"
#include "r2d/r2d_i.h"
#include "r2d/r2d_independance_layer.h"
#if (R2D_DEBUG == R2D_ON)
#include <stdio.h>
#endif

#ifdef _WINDOWS
#include "Windows.h"
#endif

#ifndef _WINDOWS
	#include "config/board.cfg"
#endif

//////////////////////////////////
//
// Include LCD dependent C code
//
#if (R2D_EMBEDDED_LCD == R2D_SIMPLE_LCD)
  #include "lcds/Simple/R2D_simple_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_PC_COLOR_LCD)
  #include "lcds/ColorPC/R2D_pc_color_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_PC_CSAMPLE)
  #include "lcds/PC_CSAMPLE/R2D_pc_csample_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_PC_DSAMPLE)
  #include "lcds/PC_DSAMPLE/R2D_pc_dsample_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_MIRRORED_LCD)
  #include "lcds/Simple/R2D_simple_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_CUSTOMER_LCD)
  #include "lcds/Customer/R2D_customer_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_HORIZONTAL_LCD)
  #include "lcds/Horizontal/R2D_horizontal_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_BOARD_COLOR_LCD)
  #include "lcds/ColorBoard/R2D_board_color_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE)
  #include "lcds/D_Sample/R2D_board_dsample_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE)
  #include "lcds/BW_D_Sample/R2D_board_bw_dsample_lcd_i.c"
#endif

#if (R2D_EMBEDDED_LCD == R2D_FB_96x64_BW)
  #include "lcds/BW_D_Sample/R2D_board_bw_dsample_lcd_i.c"
#endif