Renamed HVGA_X81 to ILI9481

ugfx_release_2.6
Abhishek Kumar 2013-04-30 17:47:25 +07:00
parent b2252bb7be
commit 048a057902
8 changed files with 20 additions and 20 deletions

View File

@ -1,5 +0,0 @@
# List the required driver.
GFXSRC += $(GFXLIB)/drivers/gdisp/HVGA_X81/gdisp_lld.c
# Required include directories
GFXINC += $(GFXLIB)/drivers/gdisp/HVGA_X81

View File

@ -19,7 +19,7 @@
*/ */
/** /**
* @file drivers/gdisp/HVGA_X81/gdisp_lld.c * @file drivers/gdisp/ILI9481/gdisp_lld.c
* @brief GDISP Graphics Driver subsystem low level driver source for * @brief GDISP Graphics Driver subsystem low level driver source for
* the ILI9481 and compatible HVGA display * the ILI9481 and compatible HVGA display
* *

View File

@ -0,0 +1,5 @@
# List the required driver.
GFXSRC += $(GFXLIB)/drivers/gdisp/ILI9481/gdisp_lld.c
# Required include directories
GFXINC += $(GFXLIB)/drivers/gdisp/ILI9481

View File

@ -19,7 +19,7 @@
*/ */
/** /**
* @file drivers/gdisp/HVGA_X81/gdisp_lld_board_example.h * @file drivers/gdisp/ILI9481/gdisp_lld_board_example.h
* @brief GDISP Graphics Driver subsystem low level driver source for * @brief GDISP Graphics Driver subsystem low level driver source for
* the ILI9481 and compatible HVGA display * the ILI9481 and compatible HVGA display
* *
@ -37,7 +37,7 @@
*/ */
static inline void init_board(void) { static inline void init_board(void) {
/* Code here */ /* Code here */
#error "HVGA_X81: You must supply a definition for init_board for your board" #error "ILI9481: You must supply a definition for init_board for your board"
} }
/** /**
@ -49,7 +49,7 @@ static inline void init_board(void) {
*/ */
static inline void setpin_reset(bool_t state) { static inline void setpin_reset(bool_t state) {
/* Code here */ /* Code here */
#error "HVGA_X81: You must supply a definition for setpin_reset for your board" #error "ILI9481: You must supply a definition for setpin_reset for your board"
} }
/** /**
@ -61,7 +61,7 @@ static inline void setpin_reset(bool_t state) {
*/ */
static inline void set_backlight(uint8_t percent) { static inline void set_backlight(uint8_t percent) {
/* Code here */ /* Code here */
#error "HVGA_X81: You must supply a definition for set_backlight for your board" #error "ILI9481: You must supply a definition for set_backlight for your board"
} }
/** /**
@ -70,7 +70,7 @@ static inline void set_backlight(uint8_t percent) {
* @notapi * @notapi
*/ */
static inline void acquire_bus(void) { static inline void acquire_bus(void) {
#error "HVGA_X81: You must supply a definition for acquire_bus for your board" #error "ILI9481: You must supply a definition for acquire_bus for your board"
} }
/** /**
@ -79,7 +79,7 @@ static inline void acquire_bus(void) {
* @notapi * @notapi
*/ */
static inline void release_bus(void) { static inline void release_bus(void) {
#error "HVGA_X81: You must supply a definition for release_bus for your board" #error "ILI9481: You must supply a definition for release_bus for your board"
} }
/** /**
@ -91,7 +91,7 @@ static inline void release_bus(void) {
*/ */
static inline void write_index(uint16_t index) { static inline void write_index(uint16_t index) {
/* Code here */ /* Code here */
#error "HVGA_X81: You must supply a definition for write_index for your board" #error "ILI9481: You must supply a definition for write_index for your board"
} }
/** /**
@ -103,7 +103,7 @@ static inline void write_index(uint16_t index) {
*/ */
static inline void write_data(uint16_t data) { static inline void write_data(uint16_t data) {
/* Code here */ /* Code here */
#error "HVGA_X81: You must supply a definition for write_data for your board" #error "ILI9481: You must supply a definition for write_data for your board"
} }
#if GDISP_HARDWARE_READPIXEL || GDISP_HARDWARE_SCROLL || defined(__DOXYGEN__) #if GDISP_HARDWARE_READPIXEL || GDISP_HARDWARE_SCROLL || defined(__DOXYGEN__)
@ -118,7 +118,7 @@ static inline void write_data(uint16_t data) {
*/ */
static inline uint16_t read_data(void) { static inline uint16_t read_data(void) {
/* Code here */ /* Code here */
#error "HVGA_X81: You must supply a definition for read_data for your board" #error "ILI9481: You must supply a definition for read_data for your board"
} }
#endif #endif

View File

@ -19,7 +19,7 @@
*/ */
/** /**
* @file drivers/gdisp/HVGA_X81/gdisp_lld_board_example_fsmc.h * @file drivers/gdisp/ILI9481/gdisp_lld_board_example_fsmc.h
* @brief GDISP Graphics Driver subsystem low level driver source for * @brief GDISP Graphics Driver subsystem low level driver source for
* the ILI9481 and compatible HVGA display * the ILI9481 and compatible HVGA display
* *

View File

@ -19,7 +19,7 @@
*/ */
/** /**
* @file drivers/gdisp/HVGA_X81/gdisp_lld_board_firebullstm32f103.h * @file drivers/gdisp/ILI9481/gdisp_lld_board_firebullstm32f103.h
* @brief GDISP Graphics Driver subsystem low level driver source for * @brief GDISP Graphics Driver subsystem low level driver source for
* the ILI9481 and compatible HVGA display * the ILI9481 and compatible HVGA display
* *

View File

@ -19,7 +19,7 @@
*/ */
/** /**
* @file drivers/gdisp/SSD1289/gdisp_lld_config.h * @file drivers/gdisp/ILI9481/gdisp_lld_config.h
* @brief GDISP Graphics Driver subsystem low level driver source for * @brief GDISP Graphics Driver subsystem low level driver source for
* the ILI9481 and compatible HVGA display * the ILI9481 and compatible HVGA display
* *
@ -36,7 +36,7 @@
/* Driver hardware support. */ /* Driver hardware support. */
/*===========================================================================*/ /*===========================================================================*/
#define GDISP_DRIVER_NAME "HVGA_X81" #define GDISP_DRIVER_NAME "ILI9481"
#define GDISP_HARDWARE_CLEARS TRUE #define GDISP_HARDWARE_CLEARS TRUE
#define GDISP_HARDWARE_FILLS TRUE #define GDISP_HARDWARE_FILLS TRUE

View File

@ -12,4 +12,4 @@ To use this driver:
BOARD_FIREBULL_STM32_F103 - GPIO interface: requires GDISP_CMD_PORT and GDISP_DATA_PORT to be defined BOARD_FIREBULL_STM32_F103 - GPIO interface: requires GDISP_CMD_PORT and GDISP_DATA_PORT to be defined
2. To your makefile add the following lines: 2. To your makefile add the following lines:
include $(GFXLIB)/drivers/gdisp/HVGA_X81/gdisp_lld.mk include $(GFXLIB)/drivers/gdisp/ILI9481/gdisp_lld.mk