Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,093 changes: 576 additions & 517 deletions common/lcd.c

Large diffs are not rendered by default.

2,722 changes: 1,284 additions & 1,438 deletions common/main.c

Large diffs are not rendered by default.

483 changes: 246 additions & 237 deletions common/menu.c

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions include/lcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,13 @@ void lcd_disable (void);
#endif


/* int lcd_init (void *lcdbase); */
void lcd_putc (const char c);
void lcd_puts (const char *s);
void lcd_printf (const char *fmt, ...);
void lcd_setprops(uchar orient, ushort xoff, ushort yoff);
void lcd_console_setpos (short row, short col);
void lcd_console_setcolor(int fg, int bg);
void lcd_bitmap_plot(ushort x, ushort y, uchar which);


#ifdef CONFIG_3621EVT1A
Expand Down Expand Up @@ -340,12 +341,12 @@ void lcd_show_board_info(void);
/************************************************************************/
/* ** CONSOLE DEFINITIONS & FUNCTIONS */
/************************************************************************/
//#if defined(CONFIG_LCD_LOGO) && !defined(CONFIG_LCD_INFO_BELOW_LOGO)
//# define CONSOLE_ROWS ((panel_info.vl_row-BMP_LOGO_HEIGHT_B) \
// / VIDEO_FONT_HEIGHT)
//#else
#if defined(CONFIG_LCD_LOGO) && !defined(CONFIG_LCD_INFO_BELOW_LOGO)
# define CONSOLE_ROWS ((panel_info.vl_row-BMP_LOGO_HEIGHT_B) \
/ VIDEO_FONT_HEIGHT)
#else
# define CONSOLE_ROWS (panel_info.vl_row / VIDEO_FONT_HEIGHT)
//#endif
#endif

#define CONSOLE_COLS (panel_info.vl_col / VIDEO_FONT_WIDTH)
#define CONSOLE_ROW_SIZE (VIDEO_FONT_HEIGHT * lcd_line_length)
Expand Down
2 changes: 0 additions & 2 deletions common/menu.h → include/menu.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ enum boot_action {
BOOT_SD_NORMAL,
BOOT_SD_RECOVERY,
BOOT_SD_ALTBOOT,
// BOOT_FASTBOOT,
DEFAULT_BOOT_STR,
CHANGE_BOOT_DEV,
CHANGE_BOOT_IMG,
INVALID,
Expand Down
Binary file modified tools/logos/connect_charge.bmp
Binary file not shown.
Binary file modified tools/logos/lowbatt_charge.bmp
Binary file not shown.
Binary file modified tools/logos/o_nookcolor_logo_large.bmp
Binary file not shown.