-
Bug
-
Resolution: Fixed
-
Medium
-
TIRTOS
-
TIRTOS-2084
-
TIRTOS_5_20_00
-
TIRTOS_5_30_00
-
CC32xx
-
After a reset event, there are two calls that globally enable interrupts, and to enable the SysTick interrupt:
/* Enable Processor */
MAP_IntMasterEnable();
MAP_IntEnable(FAULT_SYSTICK);
These calls are unnecessary, and problematic to do at such an early stage of booting the processor.
Global interrupts are later enabled by FreeRTOS when xPortStartScheduler() calls to vPortStartFirstTask().
SysTick interrupts are later enabled automatically too, when xPortStartScheduler() calls to vPortSetupTimerInterrupt().
These two calls to MAP_IntMasterEnable() and MAP_IntEnable() should be removed:
startup_cc32xx_ccs.c: remove from initVectors()
startup_cc32xx_gcc.c: remove from localProgramStart()
startup_cc32xx_iar.c: remove from localProgramStart()
startup_cc32xx_ticlang.c: remove from initVectors()