Added I2C support for raspi & first rework of debugging

This commit is contained in:
Dario
2023-06-23 15:50:54 +01:00
parent 3cf2173433
commit 6b4acfd27b
70 changed files with 985 additions and 772 deletions

View File

@@ -95,6 +95,14 @@
# define STA_UNREACHABLE() __builtin_unreachable()
#endif // !STA_UNREACHABLE
/**
* @brief A macro for marking code as not implemented. Causes a program to
* crash with the appropriate error message if the code is executed.
*/
#ifndef STA_NOT_IMPLEMENTED
# define STA_NOT_IMPLEMENTED() throw "myFunction is not implemented yet.";
#endif // !STA_NOT_IMPLEMENTED
/**
* @brief Silencing compiler warnings for intended switch case fallthrough.
*