mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Update PIC32MX demo:
Change configCHECK_FOR_STACK_OVERFLOW to 3 to also check the interrupt stack. Add a build configuration to allow use on the PIC32 USBII starter kit. Increase some delays when talking to the LCD to ensure it always displays correctly. Rewrite the register test tasks.
This commit is contained in:
parent
2ee43fbc64
commit
1b7a2e40a3
21 changed files with 1432 additions and 451 deletions
|
@ -112,7 +112,7 @@ unsigned long ulStatus;
|
|||
unsigned long ulCacheStatus;
|
||||
#endif
|
||||
|
||||
/* Disable interrupts - not taskDISABLE_INTERRUPTS() cannot be used here as
|
||||
/* Disable interrupts - note taskDISABLE_INTERRUPTS() cannot be used here as
|
||||
FreeRTOS does not globally disable interrupt. */
|
||||
ulStatus = _CP0_GET_STATUS();
|
||||
_CP0_SET_STATUS( ulStatus & ~hwGLOBAL_INTERRUPT_BIT );
|
||||
|
@ -227,7 +227,7 @@ __OSCCONbits_t xOSCCONBits;
|
|||
|
||||
static void prvConfigureWaitStates( void )
|
||||
{
|
||||
unsigned long ulInterruptStatus, ulSystemClock = configCPU_CLOCK_HZ - 1;
|
||||
unsigned long ulSystemClock = configCPU_CLOCK_HZ - 1;
|
||||
unsigned long ulWaitStates, ulCHECONVal;
|
||||
|
||||
/* 1 wait state for every hwMAX_FLASH_SPEED MHz. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue