1 Reply Latest reply on Jun 27, 2019 11:29 PM by LinglingG_46

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

    LeGu_3671501

      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