mirror of
https://github.com/qmk/qmk_firmware
synced 2025-01-03 05:30:18 +00:00
Move GDISP drivers to /drivers/ugfx
This commit is contained in:
Fred Sundvik
committed by
Jack Humbert
parent
1ff5fb000f
commit
aca0f4dcae
2
drivers/ugfx/gdisp/IS31FL3731C/driver.mk
Normal file
2
drivers/ugfx/gdisp/IS31FL3731C/driver.mk
Normal file
@ -0,0 +1,2 @@
|
||||
GFXINC += drivers/ugfx/gdisp/IS31FL3731C
|
||||
GFXSRC += drivers/ugfx/gdisp/IS31FL3731C/gdisp_IS31FL3731C.c
|
@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#if GFX_USE_GDISP
|
||||
|
||||
#define GDISP_DRIVER_VMT GDISPVMT_IS31FL3731C_ERGODOX
|
||||
#include "drivers/gdisp/IS31FL3731C/gdisp_lld_config.h"
|
||||
#include "gdisp_lld_config.h"
|
||||
#include "src/gdisp/gdisp_driver.h"
|
||||
|
||||
#include "board_IS31FL3731C.h"
|
2
drivers/ugfx/gdisp/st7565ergodox/driver.mk
Normal file
2
drivers/ugfx/gdisp/st7565ergodox/driver.mk
Normal file
@ -0,0 +1,2 @@
|
||||
GFXINC += drivers/ugfx/gdisp/st7565ergodox
|
||||
GFXSRC += drivers/ugfx/gdisp/st7565ergodox/gdisp_lld_ST7565.c
|
@ -10,7 +10,7 @@
|
||||
#if GFX_USE_GDISP
|
||||
|
||||
#define GDISP_DRIVER_VMT GDISPVMT_ST7565_ERGODOX
|
||||
#include "drivers/gdisp/st7565ergodox/gdisp_lld_config.h"
|
||||
#include "gdisp_lld_config.h"
|
||||
#include "src/gdisp/gdisp_driver.h"
|
||||
|
||||
#include "board_ST7565.h"
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
#define GDISP_FLG_NEEDFLUSH (GDISP_FLG_DRIVER<<0)
|
||||
|
||||
#include "drivers/gdisp/st7565ergodox/st7565.h"
|
||||
#include "st7565.h"
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver config defaults for backward compatibility. */
|
@ -1,2 +0,0 @@
|
||||
GFXINC += drivers/gdisp/IS31FL3731C
|
||||
GFXSRC += drivers/gdisp/IS31FL3731C/gdisp_IS31FL3731C.c
|
@ -1,2 +0,0 @@
|
||||
GFXINC += drivers/gdisp/st7565ergodox
|
||||
GFXSRC += drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c
|
@ -67,5 +67,5 @@ LCD_BACKLIGHT_ENABLE = yes
|
||||
MIDI_ENABLE = no
|
||||
RGBLIGHT_ENABLE = no
|
||||
|
||||
include $(SUBPROJECT_PATH)/drivers/gdisp/st7565ergodox/driver.mk
|
||||
include $(SUBPROJECT_PATH)/drivers/gdisp/IS31FL3731C/driver.mk
|
||||
include $(TOP_DIR)/drivers/ugfx/gdisp/st7565ergodox/driver.mk
|
||||
include $(TOP_DIR)/drivers/ugfx/gdisp/IS31FL3731C/driver.mk
|
@ -1,2 +0,0 @@
|
||||
GFXINC += drivers/gdisp/IS31FL3731C
|
||||
GFXSRC += drivers/gdisp/IS31FL3731C/gdisp_IS31FL3731C.c
|
File diff suppressed because it is too large
Load Diff
@ -1,36 +0,0 @@
|
||||
/*
|
||||
Copyright 2016 Fred Sundvik <fsundvik@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _GDISP_LLD_CONFIG_H
|
||||
#define _GDISP_LLD_CONFIG_H
|
||||
|
||||
#if GFX_USE_GDISP
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver hardware support. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#define GDISP_HARDWARE_FLUSH TRUE // This controller requires flushing
|
||||
#define GDISP_HARDWARE_DRAWPIXEL TRUE
|
||||
#define GDISP_HARDWARE_PIXELREAD TRUE
|
||||
#define GDISP_HARDWARE_CONTROL TRUE
|
||||
|
||||
#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_GRAY256
|
||||
|
||||
#endif /* GFX_USE_GDISP */
|
||||
|
||||
#endif /* _GDISP_LLD_CONFIG_H */
|
@ -70,4 +70,4 @@ CUSTOM_MATRIX = yes # Custom matrix file
|
||||
BACKLIGHT_ENABLE = yes
|
||||
VISUALIZER_ENABLE = yes
|
||||
|
||||
include $(KEYBOARD_PATH)/drivers/gdisp/IS31FL3731C/driver.mk
|
||||
include $(TOP_DIR)/drivers/ugfx/gdisp/IS31FL3731C/driver.mk
|
||||
|
Reference in New Issue
Block a user