mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
added cmsis_core, furi, mlib and nanobake implemented basic app structure from furi implemented basic placeholder apps
25 lines
435 B
C
25 lines
435 B
C
#pragma once
|
|
|
|
#include "nb_config.h"
|
|
#include <lvgl.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct nb_hardware nb_hardware_t;
|
|
struct nb_hardware {
|
|
nb_display_t* _Nonnull display;
|
|
nb_touch_t* _Nullable touch;
|
|
};
|
|
|
|
/**
|
|
* @param[in] config
|
|
* @return a newly allocated platform instance (caller takes ownership)
|
|
*/
|
|
nb_hardware_t _Nonnull* nb_hardware_alloc(nb_config_t _Nonnull* config);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|