chore: merge GE program

* merge GE code
* update fold structure
* enable to build two types of projects separately
This commit is contained in:
Gatsby Van
2024-12-24 13:27:22 +08:00
parent 384a51a198
commit 3470b6f6dc
78 changed files with 43504 additions and 1754 deletions
+17
View File
@@ -0,0 +1,17 @@
#include "dev_profile.h"
#include "timer.h"
#include "../app_config.h"
#include "drivers/platform/xilinx_timer.h"
struct xil_timer_init_param xil_scutimer_init_param = {
.active_tmr = 0,
.type = TIMER_PS
};
struct timer_init_param scutimer_init_param = {
.id = SCUTIMER_DEVICE_ID,
.freq_hz = SCU_TIMER_CLK_HZ,
.ticks_count = (SCU_TIMER_CLK_HZ/2), //update log every 500ms
.platform_ops = &xil_timer_ops,
.extra = &xil_scutimer_init_param
};