1 Specific MISRA C:2012 Deviations
- Global BL_ApplicationStartAddressGet (uint8_t imageId)
-
Required: misra-c2012- 7.2
Justification: The MACRO is used in the bl_interrupt file as an argument for assembly instructions, which requires the value to be a pure hexadecimal number without the appended U or u. - Global COMMAND_DATA_SIZE
-
Advisory: misra-c2012- 2.4
Justification: This rule will not be followed for the code clarity.Advisory: misra-c2012- 2.3
Justification: This rule will not be followed for the code clarity. - Global FRAME_CHECK_SIZE
-
Advisory: misra-c2012- 2.5
Justification: This is a false positive. - Global MULTI_STAGE_RESPONSE
-
Advisory: misra-c2012- 2.5
Justification: This is a false positive. - Global SERCOM
-
Advisory: misra-c2012- 2.5
Justification: This is a false positive. - Global START_OF_PACKET_BYTE
-
Advisory: misra-c2012- 8.9
Justification: This cannot be followed since the value of the variables must be saved until the next time the function is called. Declaring at block scope will make managing the variable reset more difficult.Advisory: misra-c2012- 15.4
Justification: This will not be followed because it would require removing code that is helpful for debugging making the code more difficult to work with.
