MPLAB PIC32MZ-EF - Adds an assert to catch register overflow (#1265) (#1267)

Add an assert to catch register overflow (#1265)
This commit is contained in:
Mario Luzeiro 2025-04-25 12:35:15 +01:00 committed by GitHub
parent 03db672b8f
commit 4ee6a1f22f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 16 additions and 4 deletions

View file

@ -415,6 +415,8 @@
* number of the failing assert (for example, "vAssertCalled( __FILE__, __LINE__
* )" or it can simple disable interrupts and sit in a loop to halt all
* execution on the failing line for viewing in a debugger. */
/* *INDENT-OFF* */
#define configASSERT( x ) \
if( ( x ) == 0 ) \
{ \
@ -422,6 +424,7 @@
for( ; ; ) \
; \
}
/* *INDENT-ON* */
/******************************************************************************/
/* FreeRTOS MPU specific definitions. *****************************************/