static analysis: add recommendation use CO_USE_GLOBALS
This commit is contained in:
parent
b0ae30aeba
commit
4a59d6eb0e
1 changed files with 3 additions and 0 deletions
3
MISRA.md
3
MISRA.md
|
|
@ -3,6 +3,9 @@
|
||||||
The CANopenNode files conform to the [MISRA C:2012](https://www.misra.org.uk)
|
The CANopenNode files conform to the [MISRA C:2012](https://www.misra.org.uk)
|
||||||
guidelines, with some noted exceptions. Compliance is checked with [PC Lint Plus](https://pclintplus.com/).
|
guidelines, with some noted exceptions. Compliance is checked with [PC Lint Plus](https://pclintplus.com/).
|
||||||
|
|
||||||
|
A recommendation for MISRA: memory allocation and deallocation functions should not be used.
|
||||||
|
You must define the macro CO_USE_GLOBALS in your driver configuration.
|
||||||
|
|
||||||
|
|
||||||
## Configuration Inhibits Control
|
## Configuration Inhibits Control
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue