Update port.c

This commit is contained in:
Sam Ledden 2025-11-24 16:06:45 -05:00 committed by GitHub
parent 570ade4001
commit 530cdce024
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,11 @@
#include "hardware/exception.h" #include "hardware/exception.h"
#include "hardware/irq.h" #include "hardware/irq.h"
#ifndef SIO_IRQ_PROC0
// Quick fix
#define SIO_IRQ_PROC0 15
#endif
#if ( portMAX_CORE_COUNT != 2 ) #if ( portMAX_CORE_COUNT != 2 )
#error Max core count should be 2 #error Max core count should be 2
#endif #endif
@ -908,3 +913,4 @@ __attribute__( ( weak ) ) void vPortSetupTimerInterrupt( void )
} }
} }
#endif /* configSUPPORT_PICO_TIME_INTEROP */ #endif /* configSUPPORT_PICO_TIME_INTEROP */