内存与测试

This commit is contained in:
sc committed 2026-01-05 01:19:26 +08:00
1 parent efee86fab9
commit 4647022f6f
9 files changed
+36 -11

No files matched your search

+2 -2
View File
@@ -574,7 +574,7 @@ void proc_thread_entry(void *parameter)
}
}
extern struct rt_memheap sram_DTCMRAM;
extern struct rt_memheap sdram_heap;
static struct rt_thread dat_comm_thread;
static void *dat_comm_stack __attribute__((aligned(4)))= RT_NULL ;
int data_comm_init(void)
@@ -587,7 +587,7 @@ int data_comm_init(void)
return -1;
}
dat_comm_stack = rt_memheap_alloc(&sram_DTCMRAM, 1024*6);
dat_comm_stack = rt_memheap_alloc(&sdram_heap, 1024*6);
dat_err = rt_thread_init(&dat_comm_thread, "dat_comm", proc_thread_entry, RT_NULL,dat_comm_stack, 1024*6, 15, 10);
if(dat_err != RT_EOK)