mirror of
https://github.com/meekrosoft/fff
synced 2026-01-23 00:15:59 +01:00
Migrate build to CMake and standard github workflows
Replace makefiles with CMakeLists.txt. This will allow for IDE and platform agnostic builds of FFF. Update the CI for FFF to use github workflows which don't depend on MS VC. The workflow added will verify the pull requests sent to master buy running 'buildandtest' which mirrors the developer workflow. Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
17
examples/embedded_ui/include/DISPLAY.h
Normal file
17
examples/embedded_ui/include/DISPLAY.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* DISPLAY.h
|
||||
*
|
||||
* Created on: Dec 17, 2010
|
||||
* Author: mlong
|
||||
*/
|
||||
|
||||
#ifndef DISPLAY_H_
|
||||
#define DISPLAY_H_
|
||||
|
||||
void DISPLAY_init();
|
||||
void DISPLAY_clear();
|
||||
unsigned int DISPLAY_get_line_capacity();
|
||||
unsigned int DISPLAY_get_line_insert_index();
|
||||
void DISPLAY_output(char * message);
|
||||
|
||||
#endif /* DISPLAY_H_ */
|
||||
21
examples/embedded_ui/include/SYSTEM.h
Normal file
21
examples/embedded_ui/include/SYSTEM.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* DISPLAY.h
|
||||
*
|
||||
* Created on: Dec 17, 2010
|
||||
* Author: mlong
|
||||
*/
|
||||
|
||||
#ifndef SYSTEM_H_
|
||||
#define SYSTEM_H_
|
||||
|
||||
typedef void (*irq_func_t)(void);
|
||||
|
||||
#define IRQ_GPIO_0 0x70
|
||||
#define IRQ_GPIO_1 0x71
|
||||
#define IRQ_GPIO_2 0x72
|
||||
#define IRQ_GPIO_3 0x73
|
||||
|
||||
|
||||
void SYSTEM_register_irq(irq_func_t, unsigned int irq);
|
||||
|
||||
#endif /* SYSTEM_H_ */
|
||||
12
examples/embedded_ui/include/UI.h
Normal file
12
examples/embedded_ui/include/UI.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef UI_H_
|
||||
#define UI_H_
|
||||
|
||||
typedef void (*button_cbk_t)(void);
|
||||
|
||||
void UI_init();
|
||||
unsigned int UI_get_missed_irqs();
|
||||
void UI_button_irq_handler();
|
||||
void UI_register_button_cbk(button_cbk_t cbk);
|
||||
void UI_write_line(char *line);
|
||||
|
||||
#endif /* UI_H_ */
|
||||
Reference in New Issue
Block a user