Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRTOS/FreeRTOS-Kernel.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchinglee-iot <61685396+chinglee-iot@users.noreply.github.com>2023-12-07 13:51:14 +0300
committerGitHub <noreply@github.com>2023-12-07 13:51:14 +0300
commitd95b05ea5f5697f1435d303fe1ea27321d3147f4 (patch)
tree95ddd71491d5ecb7ff313183893ffef659afbce0 /MISRA.md
parent877484cd7e6422e7bd7a4df4029afe8bca8b81e5 (diff)
Suppress MISRA C:2012 rule 21.6 for snprintf (#877)
Suppress MISRA C:2012 rule 21.6 for snprintf
Diffstat (limited to 'MISRA.md')
-rw-r--r--MISRA.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/MISRA.md b/MISRA.md
index 1cca337ff..734a51291 100644
--- a/MISRA.md
+++ b/MISRA.md
@@ -107,6 +107,15 @@ _Ref 11.5.5_
because data storage buffers are implemented as uint8_t arrays for the
ease of sizing, alignment and access.
+#### Rule 21.6
+
+MISRA C-2012 Rule 21.6: The Standard Library input/output functions shall not
+be used.
+
+_Ref 21.6.1_
+ - The Standard Library function snprintf is used in vTaskListTasks and
+ vTaskGetRunTimeStatistics APIs, both of which are utility functions only and
+ are not considered part of core kernel implementation.
### MISRA configuration