Tool/software: Code Composer Studio
Hi
i am trying to deactivate some MISRA-C:2004 rules using the #pragma directive at source level, but this is not working.
My Case is the following:
#pragma CHECK_MISRA("none")
#include "HL_hal_stdtypes.h"
#include "HL_het.h"
#include "HL_gio.h"
#include "HL_spi.h"
#include "HL_adc.h"
#pragma CHECK_MISRA("all,-19.1,-11.3,-8.7,-5.7,-5.6")
#include "..\mvb\mvbtypes.h"
#include "..\mvb\Pdl.h"
#include "..\Konfig\Konfig.h"
each time i run the compiler, the rules (19.1, 11.3, 8.7, etc ...) will also be involved although i have already deactivated them.
Can someone help in this issue?
Thank You