XEN_ROOT = ../../.. include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk BIND = vtpm_migratord BINC = vtpm_migrator SRCSD = vtpm_manager_if.c vtpm_migratord.c vtpm_migratord_handler.c vtpm_ipc.c SRCSC = vtpm_manager_if.c vtpm_migrator_if.c vtpm_migratorc.c vtpm_ipc.c OBJSD = $(patsubst %.c,%.o,$(SRCSD)) OBJSC = $(patsubst %.c,%.o,$(SRCSC)) .PHONY: all all: build .PHONY: build build: $(BIND) $(BINC) .PHONY: install install: build $(INSTALL_PROG) $(BIND) $(TOOLS_INSTALL_DIR) $(INSTALL_PROG) $(BINC) $(TOOLS_INSTALL_DIR) .PHONY: clean clean: rm -f *.a *.so *.o *.rpm $(DEP_FILES) .PHONY: mrproper mrproper: clean rm -f $(BINC) $(BIND) *~ $(BIND): $(OBJSD) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@ $(BINC): $(OBJSC) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@ # libraries LIBS += ../util/libTCGUtils.a qmk/uGFX
[no description]
aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/ArduinoTinyScreen/gfx/board_SSD1331.h
blob: 17b125c874fc6b0ae7ed67977e88c46d83643e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * This file is subject to the terms of the GFX License. If a copy of
 * the license was not distributed with this file, you can obtain one at:
 *
 *              http://ugfx.org/license.html
 */

#ifndef _GDISP_LLD_BOARD_H
#define _GDISP_LLD_BOARD_H

#define init_board(g)			SSD1331_init_board()
#define post_init_board(g)
#define setpin_reset(g, state)	SSD1331_setpin_reset(state)
#define acquire_bus(g)			SSD1331_aquirebus()
#define release_bus(g)			SSD1331_releasebus()
#define write_cmd(g, cmd)		SSD1331_write_cmd(cmd)
#define write_data(g, data)		SSD1331_write_data(data)

#ifdef __cplusplus
extern "C" {
#endif

void SSD1331_init_board(void);
void SSD1331_setpin_reset(int state);
void SSD1331_aquirebus(void);
void SSD1331_releasebus(void);
void SSD1331_write_cmd(uint8_t cmd);
void SSD1331_write_data(uint8_t data);

#ifdef __cplusplus
}
#endif

#endif /* _GDISP_LLD_BOARD_H */