1
0
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:
Yuval Peress
2022-08-03 09:27:25 -06:00
parent ff70585de8
commit 2eb067e5a1
71 changed files with 303 additions and 1586 deletions

View 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_ */

View 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_ */

View 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_ */