开启了192k 所有RAM

This commit is contained in:
2026-08-30 15:38:40 +08:00
parent 67370888a1
commit 71c41fabb9
23 changed files with 947 additions and 290 deletions
+15 -1
View File
@@ -12,6 +12,9 @@
#include "ui_menu.h"
#include "ui_net_sink.h"
#define DBG_TAG "[UI_TASK]"
#include "dbg_log.h"
static void ui_task_wait_net_ready(void)
{
if (sys_evtHandle != NULL) {
@@ -24,15 +27,26 @@ void ui_task_func(void *argument)
{
(void)argument;
DBG_INFO("UI task: started, wait net ready");
ui_task_wait_net_ready();
DBG_INFO("UI task: net ready, init port");
DBG_INFO("UI task: ui_port_init enter");
if (ui_port_init() != 0) {
DBG_ERROR("UI port init: FAIL");
for (;;) { osDelay(1000); }
}
DBG_INFO("UI port init: OK");
DBG_INFO("UI task: ui_menu_init enter");
if (ui_menu_init() != 0) {
DBG_ERROR("UI menu init: FAIL");
for (;;) { osDelay(1000); }
}
ui_net_sink_start(UI_NET_SINK_PORT);
DBG_INFO("UI menu init: OK");
if (ui_net_sink_start(UI_NET_SINK_PORT) != 0) {
DBG_ERROR("UI net sink: start FAIL");
}
DBG_INFO("UI net sink: started (port %u)", (unsigned)UI_NET_SINK_PORT);
while (1) {
ui_port_step(10);