You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The debug_print() macro in GUIslice.h should be revised to support output to Serial (for Arduino targets) from errors occurring in the GUIslice core. Currently, the macro will work for the user program and GUIslice_drv_adagfx.cpp but not GUIslice.c. The primary issue is that Serial.println() will be reported as "not defined" because it is a C file and not a C++ file. Renaming GUIslice.c to GUIslice.cpp would likely work but is an undesirable workaround. Perhaps we can provide a wrapper function for Serial output that is available from the C compiled file.
The text was updated successfully, but these errors were encountered:
Debug functionality for Arduino now implemented in release v0.8.3. Enabled with call gslc_InitDebug(). Equivalent functionality for ARM Cortex to follow. A more memory-efficient implementation is in development.
The
debug_print()
macro inGUIslice.h
should be revised to support output to Serial (for Arduino targets) from errors occurring in the GUIslice core. Currently, the macro will work for the user program andGUIslice_drv_adagfx.cpp
but notGUIslice.c
. The primary issue is thatSerial.println()
will be reported as "not defined" because it is a C file and not a C++ file. RenamingGUIslice.c
toGUIslice.cpp
would likely work but is an undesirable workaround. Perhaps we can provide a wrapper function for Serial output that is available from the C compiled file.The text was updated successfully, but these errors were encountered: