psoc62-wifi-bt 启动 thread 失败 如何修改HEAP 空间?

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
LeGu_3671501
Level 2
Level 2
5 replies posted 10 questions asked 5 questions asked

psoc62-wifi-bt  在rt thread 中启动thread 失败, 如何增加  heap 空间?

tid = rt_thread_create(    "finsh88",
                     rt_init_thread_entry,
                        RT_NULL,
                     1024, 28, 20);

     rt_kprintf("\n\r tid : %p thread tid name:%s \n\r",tid, tid->name);

执行结果

\ | /

- RT -     Thread Operating System

/ | \     4.0.2 build Jun 28 2019

2006 - 2019 Copyright by rt-thread team

tid : 00000000 thread tid name:(NULL)

  thread  start Failed!!! ret : 0

finsh init....

Kprintf() called

1 解答
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Hi,

You can refer to the linker file : Set Stack and Heap Size for PSoC 6 MCU Devices – KBA225135

It explains that you want to know.

在原帖中查看解决方案

0 点赞
1 回复
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Hi,

You can refer to the linker file : Set Stack and Heap Size for PSoC 6 MCU Devices – KBA225135

It explains that you want to know.

0 点赞