mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Update PIC32 demo application to remove reliance on PLIB functions.
Update the default low power implementation in all the Cortex-M port layers to add a small critical section.
This commit is contained in:
parent
c519ba094d
commit
902f9e1a58
22 changed files with 649 additions and 156 deletions
|
@ -92,7 +92,7 @@ void vInitialiseTimerForIntQueueTest( void )
|
|||
PR3 = ( unsigned short ) ( configPERIPHERAL_CLOCK_HZ / timerINTERRUPT3_FREQUENCY );
|
||||
|
||||
/* Setup timer 3 interrupt priority to be above the kernel priority. */
|
||||
ConfigIntTimer3( T3_INT_ON | ( configMAX_SYSCALL_INTERRUPT_PRIORITY - 1 ) );
|
||||
IPC3bits.T3IP = ( configMAX_SYSCALL_INTERRUPT_PRIORITY - 1 );
|
||||
|
||||
/* Clear the interrupt as a starting condition. */
|
||||
IFS0bits.T3IF = 0;
|
||||
|
@ -110,7 +110,7 @@ void vInitialiseTimerForIntQueueTest( void )
|
|||
PR4 = ( unsigned short ) ( configPERIPHERAL_CLOCK_HZ / timerINTERRUPT4_FREQUENCY );
|
||||
|
||||
/* Setup timer 4 interrupt priority to be above the kernel priority. */
|
||||
ConfigIntTimer4( T4_INT_ON | ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) );
|
||||
IPC4bits.T4IP = configMAX_SYSCALL_INTERRUPT_PRIORITY;
|
||||
|
||||
/* Clear the interrupt as a starting condition. */
|
||||
IFS0bits.T4IF = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue