合并bacon_dev分支的修改:1.协议基本运转;2.增加make debug_hlm

This commit is contained in:
2025-02-27 12:55:34 +08:00
parent b167d3affa
commit be7adef4aa
14 changed files with 1060 additions and 291 deletions

View File

@@ -5,6 +5,8 @@
#include "halfLvdsMacSvr.h"
#include "plic.h"
uint8_t sys_stack[STACK_SIZE] __attribute__((aligned(0x100), section(".sys_stack")));
//-------------------------------------------------------------------
//internal function
static uint32_t init_plic(void);
@@ -33,6 +35,7 @@ void main()
uint32_t init_plic(void)
{
#if 0
/*初始化plic*/
*plic_enable_0_31 = 1 << CDR_INT_TX0END
//| 1 << CDR_INT_TX1END
@@ -68,7 +71,7 @@ uint32_t init_plic(void)
*plic_threshold_0 = 0;
#endif
return 0;
}