mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-09-28 21:17:33 +00:00
Added I2C support for raspi & first rework of debugging
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user