aliexpress sucks
This commit is contained in:
@@ -281,6 +281,8 @@ BaseType_t xPortStartScheduler( void )
|
||||
/* Read the value back to see how many bits stuck. */
|
||||
ucMaxPriorityValue = *pucFirstUserPriorityRegister;
|
||||
|
||||
printf("ucMaxPriorityValue %02x, \r\n", ucMaxPriorityValue);
|
||||
|
||||
/* Use the same mask on the maximum system call priority. */
|
||||
ucMaxSysCallPriority = configMAX_SYSCALL_INTERRUPT_PRIORITY & ucMaxPriorityValue;
|
||||
|
||||
@@ -292,6 +294,7 @@ BaseType_t xPortStartScheduler( void )
|
||||
ulMaxPRIGROUPValue--;
|
||||
ucMaxPriorityValue <<= ( uint8_t ) 0x01;
|
||||
}
|
||||
printf("portMAX_PRIGROUP_BITS %02x, ulMaxPRIGROUPValue %02x \r\n", portMAX_PRIGROUP_BITS, ulMaxPRIGROUPValue);
|
||||
|
||||
#ifdef __NVIC_PRIO_BITS
|
||||
{
|
||||
@@ -304,6 +307,8 @@ BaseType_t xPortStartScheduler( void )
|
||||
|
||||
#ifdef configPRIO_BITS
|
||||
{
|
||||
printf("( portMAX_PRIGROUP_BITS %d - ulMaxPRIGROUPValue %d ) == configPRIO_BITS %d \r\n",
|
||||
portMAX_PRIGROUP_BITS, ulMaxPRIGROUPValue, configPRIO_BITS );
|
||||
/* Check the FreeRTOS configuration that defines the number of
|
||||
priority bits matches the number of priority bits actually queried
|
||||
from the hardware. */
|
||||
|
||||
Reference in New Issue
Block a user