mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 15:32:21 +08:00
apps/unity: Add printf configuration
Allows the user to select whether or not they want access to the Unity ``TEST_PRINTF`` commands. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
@@ -47,4 +47,10 @@
|
||||
# define UNITY_OUTPUT_COLOR 1
|
||||
#endif
|
||||
|
||||
/* Enable Unity TEST_PRINTF */
|
||||
|
||||
#ifdef CONFIG_TESTING_UNITY_PRINT_FORMATTED
|
||||
# define UNITY_INCLUDE_PRINT_FORMATTED 1
|
||||
#endif
|
||||
|
||||
#endif /* UNITY_CONFIG_H */
|
||||
|
Reference in New Issue
Block a user