project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp: Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem. sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately. sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades. sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for fastboot. Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
69 lines
1.6 KiB
C
69 lines
1.6 KiB
C
/**
|
|
* Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __APP_CLOCK__
|
|
#define __APP_CLOCK__
|
|
#include <rtthread.h>
|
|
|
|
/*
|
|
**************************************************************************************************
|
|
*
|
|
* Macro define
|
|
*
|
|
**************************************************************************************************
|
|
*/
|
|
|
|
/*
|
|
**************************************************************************************************
|
|
*
|
|
* Struct & data define
|
|
*
|
|
**************************************************************************************************
|
|
*/
|
|
|
|
struct app_clock_data_t
|
|
{
|
|
rt_uint8_t *bottom_fb;
|
|
rt_uint32_t bottom_fblen;
|
|
rt_uint8_t *top_fb;
|
|
rt_uint32_t top_fblen;
|
|
rt_uint8_t *bak_fb;
|
|
rt_uint32_t bak_fblen;
|
|
|
|
rt_int8_t cur_style;
|
|
rt_int8_t switch_done;
|
|
rt_int16_t mov_dir;
|
|
rt_int16_t mov_offset;
|
|
};
|
|
extern struct app_clock_data_t *app_clock_data;
|
|
extern struct app_main_touch_cb_t app_clock_touch_cb;
|
|
extern struct refrsh_param_t app_clock_refrsh_param;
|
|
|
|
// Params
|
|
typedef struct
|
|
{
|
|
rt_int8_t buf_id;
|
|
} clock_design_param_t;
|
|
|
|
/*
|
|
**************************************************************************************************
|
|
*
|
|
* Declaration
|
|
*
|
|
**************************************************************************************************
|
|
*/
|
|
|
|
/**
|
|
* App clock fast init.
|
|
*/
|
|
rt_err_t app_clock_win_refresh(struct rt_display_config *wincfg, void *param);
|
|
|
|
void app_clock_init(void);
|
|
|
|
void app_clock_update(void);
|
|
|
|
#endif
|