Merge branch 'main' of https://git.linuxacme.com/iorebuild/CortexM3ThreadXV6
This commit is contained in:
commit
f691993ee7
@ -1471,7 +1471,7 @@ UINT _tx_el_interrupt_control(UINT new_posture);
|
||||
|
||||
/* Declare the tx_application_define function as having C linkage. */
|
||||
|
||||
VOID tx_application_define(VOID *first_unused_memory);
|
||||
VOID ThreadXTaskInit(VOID *first_unused_memory);
|
||||
|
||||
|
||||
/* Define the function prototypes of the ThreadX API. */
|
||||
|
@ -141,7 +141,7 @@ VOID _tx_initialize_kernel_enter(VOID)
|
||||
|
||||
/* Call the application provided initialization function. Pass the
|
||||
first available memory address to it. */
|
||||
tx_application_define(_tx_initialize_unused_memory);
|
||||
ThreadXTaskInit(_tx_initialize_unused_memory);
|
||||
|
||||
/* Set the system state in preparation for entering the thread
|
||||
scheduler. */
|
||||
|
@ -121,6 +121,12 @@ typedef short SHORT;
|
||||
typedef unsigned short USHORT;
|
||||
#define ULONG64_DEFINED
|
||||
|
||||
/* Error info check */
|
||||
#undef TX_BYTE_POOL_ENABLE_PERFORMANCE_INFO
|
||||
|
||||
/* Code error check */
|
||||
#undef TX_DISABLE_ERROR_CHECKING
|
||||
|
||||
/* Define the priority levels for ThreadX. Legal values range
|
||||
from 32 to 1024 and MUST be evenly divisible by 32. */
|
||||
|
||||
@ -133,7 +139,7 @@ typedef unsigned short USHORT;
|
||||
thread creation is less than this value, the thread create call will return an error. */
|
||||
|
||||
#ifndef TX_MINIMUM_STACK
|
||||
#define TX_MINIMUM_STACK 200 /* Minimum stack size for this port */
|
||||
#define TX_MINIMUM_STACK 32 /* Minimum stack size for this port */
|
||||
#endif
|
||||
|
||||
|
||||
@ -141,7 +147,7 @@ typedef unsigned short USHORT;
|
||||
if TX_TIMER_PROCESS_IN_ISR is not defined. */
|
||||
|
||||
#ifndef TX_TIMER_THREAD_STACK_SIZE
|
||||
#define TX_TIMER_THREAD_STACK_SIZE 1024 /* Default timer thread stack size */
|
||||
#define TX_TIMER_THREAD_STACK_SIZE 128 /* Default timer thread stack size */
|
||||
#endif
|
||||
|
||||
#ifndef TX_TIMER_THREAD_PRIORITY
|
||||
|
Loading…
x
Reference in New Issue
Block a user