i'm working on a simple project, where i'm using the esp8266 module and stm32f7 discovery board. These two boards are connected via spi, where the discovery board is master and the esp is a slave. I used the SPISlave driver from the github page. The communication (currently only in one direction) is working, and i receive all the bytes which discovery board sends. However, the problem is that esp is randomly crashing (at random time points). I am sending 32 bytes at once at a period of 100ms (just for the test purpose). My dev env. is visual studio in combination with visual micro. I tried to look at stack trace which is dumped to the serial port but i can't figure it out, what is going on.
Since i've ran this tool (exception decoder) from the arduino dev. enviorment i also tried flashing esp from the arduino enviorment. And here comes the intersting thing. Esp is not crashing. The sketch is exactly the same.
Isn't visual micro using the same compiler? I mean what else can be different? Any ideas?