initial commit
This commit is contained in:
42
components/ui_bsp/custom/custom.c
Normal file
42
components/ui_bsp/custom/custom.c
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2023 NXP
|
||||
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
|
||||
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
|
||||
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
|
||||
* comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license
|
||||
* terms, then you may not retain, install, activate or otherwise use the software.
|
||||
*/
|
||||
|
||||
|
||||
/*********************
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#include <stdio.h>
|
||||
#include "lvgl.h"
|
||||
#include "custom.h"
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* STATIC PROTOTYPES
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* STATIC VARIABLES
|
||||
**********************/
|
||||
|
||||
/**
|
||||
* Create a demo application
|
||||
*/
|
||||
|
||||
void custom_init(lv_ui *ui)
|
||||
{
|
||||
/* Add your codes here */
|
||||
}
|
||||
|
||||
23
components/ui_bsp/custom/custom.h
Normal file
23
components/ui_bsp/custom/custom.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2023 NXP
|
||||
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
|
||||
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
|
||||
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
|
||||
* comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license
|
||||
* terms, then you may not retain, install, activate or otherwise use the software.
|
||||
*/
|
||||
|
||||
#ifndef __CUSTOM_H_
|
||||
#define __CUSTOM_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "gui_guider.h"
|
||||
|
||||
void custom_init(lv_ui *ui);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* EVENT_CB_H_ */
|
||||
42
components/ui_bsp/custom/lv_conf_ext.h
Normal file
42
components/ui_bsp/custom/lv_conf_ext.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2023 NXP
|
||||
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
|
||||
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
|
||||
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
|
||||
* comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license
|
||||
* terms, then you may not retain, install, activate or otherwise use the software.
|
||||
*/
|
||||
|
||||
/*
|
||||
* lv_conf_ext.h for custom lvconf file.
|
||||
* Created on: Feb 8, 2023
|
||||
* example :
|
||||
* #undef LV_FONT_FMT_TXT_LARGE
|
||||
* #define LV_FONT_FMT_TXT_LARGE 1
|
||||
*/
|
||||
|
||||
#ifndef LV_CONF_EXT_H
|
||||
#define LV_CONF_EXT_H
|
||||
|
||||
|
||||
/* common code begin */
|
||||
|
||||
|
||||
/* common code end */
|
||||
|
||||
|
||||
#if LV_USE_GUIDER_SIMULATOR
|
||||
/* code for simulator begin */
|
||||
|
||||
|
||||
/* code for simulator end */
|
||||
#else
|
||||
/* code for board begin */
|
||||
|
||||
|
||||
/* code for board end */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif /* LV_CONF_EXT_H */
|
||||
Reference in New Issue
Block a user