Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debug_print() in GUIslice core for Arduino #2

Closed
ImpulseAdventure opened this issue Dec 28, 2016 · 1 comment
Closed

Enable debug_print() in GUIslice core for Arduino #2

ImpulseAdventure opened this issue Dec 28, 2016 · 1 comment

Comments

@ImpulseAdventure
Copy link
Owner

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.

@ImpulseAdventure
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant