Arduino-Debug
Arduino-Debug copied to clipboard
ESP8266 support
I was looking for a debug library for arduino and esp8266, then i found that one, but there it's not compatible with esp. So i start to make some changes and was able to make the demo scketch compile for esp.
I disable the heap and the quit options
#define DEBUG_NO_PRINT_HEAP //<fix>
#define DEBUG_NO_QUIT //<fix>
And also added a condition to variable print function
else if (m_size == sizeof(int)) {//<fix><esp>
debug.print('=');
debug.print(*((int*) m_ref));
debug.print(F(" (0x"));
debug.print(*((int*) m_ref), HEX);
debug.println(')');
}
Plus some other changes I plan to try the stack debug later, which i have not finished adapting
Do you plan port it to esp?
@ramondcosta Thanks for interest in this Arduino library. Currently I have no plans of supporting esp. This is mainly due to the simple fact that I do not have any project on that board. I would think that most of the code is straight forward but there are details such as the heap and stack handling that are very different.
Ok, i understand. Yeah the stack and heap are really different. Anyway it still going to be usefull for me.
I think will try to port to esp anyway, cause i was planning to map some of these differences between the boards
Thanks.