1、修改最小stack和入口函数名称
This commit is contained in:
parent
6d16108367
commit
5c01eaf089
@ -1471,7 +1471,7 @@ UINT _tx_el_interrupt_control(UINT new_posture);
|
|||||||
|
|
||||||
/* Declare the tx_application_define function as having C linkage. */
|
/* 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. */
|
/* 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
|
/* Call the application provided initialization function. Pass the
|
||||||
first available memory address to it. */
|
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
|
/* Set the system state in preparation for entering the thread
|
||||||
scheduler. */
|
scheduler. */
|
||||||
|
@ -121,6 +121,12 @@ typedef short SHORT;
|
|||||||
typedef unsigned short USHORT;
|
typedef unsigned short USHORT;
|
||||||
#define ULONG64_DEFINED
|
#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
|
/* Define the priority levels for ThreadX. Legal values range
|
||||||
from 32 to 1024 and MUST be evenly divisible by 32. */
|
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. */
|
thread creation is less than this value, the thread create call will return an error. */
|
||||||
|
|
||||||
#ifndef TX_MINIMUM_STACK
|
#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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -141,7 +147,7 @@ typedef unsigned short USHORT;
|
|||||||
if TX_TIMER_PROCESS_IN_ISR is not defined. */
|
if TX_TIMER_PROCESS_IN_ISR is not defined. */
|
||||||
|
|
||||||
#ifndef TX_TIMER_THREAD_STACK_SIZE
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef TX_TIMER_THREAD_PRIORITY
|
#ifndef TX_TIMER_THREAD_PRIORITY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user