修改部分线程内存位置

This commit is contained in:
sc committed 2026-01-07 01:51:24 +08:00
1 parent 4647022f6f
commit 72bbf093b2
8 files changed
+71 -25

No files matched your search

+2 -2
View File
@@ -574,7 +574,7 @@ void proc_thread_entry(void *parameter)
}
}
extern struct rt_memheap sdram_heap;
extern struct rt_memheap sram_DTCMRAM;
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(&sdram_heap, 1024*6);
dat_comm_stack = rt_memheap_alloc(&sram_DTCMRAM, 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)