在SimpleBLEPeripheral工程里面添加自己写的串口初始化函数,编译的时候没有报错,但是在执行程序的时候会出现IDATA stack overflow错误,我已经设置了INT_HEAP_LEN=1024,但是执行的时候仍然报错。
一直有外设向串口发送数据,但是我只是初始化了串口,并没有加中断函数。不加串口初始化函数执行程序的时候就不会有IDATA stack overflow错误,这是什么原因,又该怎么解决呢
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我新建小工程单独调试串口的时候串口是可以正常接收数据的,但是加载到SimpleBLEPeripheral里面以后程序好像真的跑飞了,你当时的bug是什么呢,我的串口初始化代码在这个帖子里面http://www.deyisupport.com/question_answer/wireless_connectivity/bluetooth/f/103/p/71418/172181.aspx#172181,你帮我看看吧