mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2026-03-23 02:54:52 +00:00
update
This commit is contained in:
parent
9a5b92c3d1
commit
8f1ce60a14
20 changed files with 2353 additions and 2347 deletions
|
|
@ -438,7 +438,7 @@ void start_log_service(void)
|
|||
xTaskHandle CreatedTask;
|
||||
int result;
|
||||
|
||||
#if CONFIG_USE_TCM_HEAP
|
||||
#if 0 // CONFIG_USE_TCM_HEAP
|
||||
extern void *tcm_heap_malloc(int size);
|
||||
void *stack_addr = tcm_heap_malloc(STACKSIZE * sizeof(int));
|
||||
|
||||
|
|
|
|||
|
|
@ -109,7 +109,9 @@
|
|||
|
||||
#if defined(CONFIG_PLATFORM_AMEBA_X)
|
||||
#if !defined(CONFIG_PLATFORM_8711B)
|
||||
#ifndef CONFIG_USE_TCM_HEAP
|
||||
#define CONFIG_USE_TCM_HEAP 1 /* USE TCM HEAP */
|
||||
#endif
|
||||
#endif
|
||||
#define CONFIG_RECV_TASKLET_THREAD
|
||||
#define CONFIG_XMIT_TASKLET_THREAD
|
||||
|
|
|
|||
|
|
@ -443,6 +443,7 @@ void sys_mutex_unlock(sys_mutex_t *mutex)
|
|||
thread() function. The id of the new thread is returned. Both the id and
|
||||
the priority are system dependent.
|
||||
*/
|
||||
#if 0
|
||||
sys_thread_t sys_thread_new_tcm(const char *name, lwip_thread_fn thread , void *arg, int stacksize, int prio)
|
||||
{
|
||||
xTaskHandle CreatedTask;
|
||||
|
|
@ -488,6 +489,7 @@ int result;
|
|||
return NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
// TODO
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
|
|
|||
|
|
@ -472,7 +472,7 @@ tcpip_init(tcpip_init_done_fn initfunc, void *arg)
|
|||
LWIP_ASSERT("failed to create lock_tcpip_core", 0);
|
||||
}
|
||||
#endif /* LWIP_TCPIP_CORE_LOCKING */
|
||||
#if CONFIG_USE_TCM_HEAP
|
||||
#if 0 // CONFIG_USE_TCM_HEAP
|
||||
sys_thread_new_tcm(TCPIP_THREAD_NAME, tcpip_thread, NULL, TCPIP_THREAD_STACKSIZE, TCPIP_THREAD_PRIO);
|
||||
#else
|
||||
sys_thread_new(TCPIP_THREAD_NAME, tcpip_thread, NULL, TCPIP_THREAD_STACKSIZE, TCPIP_THREAD_PRIO);
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ void sys_mbox_set_invalid(sys_mbox_t *mbox);
|
|||
* @param stacksize stack size in bytes for the new thread (may be ignored by ports)
|
||||
* @param prio priority of the new thread (may be ignored by ports) */
|
||||
sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio);
|
||||
sys_thread_t sys_thread_new_tcm(const char *name, lwip_thread_fn thread , void *arg, int stacksize, int prio);
|
||||
//sys_thread_t sys_thread_new_tcm(const char *name, lwip_thread_fn thread , void *arg, int stacksize, int prio);
|
||||
|
||||
#endif /* NO_SYS */
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ static void tcpecho_thread(void *arg)
|
|||
|
||||
void tcpecho_init(void)
|
||||
{
|
||||
sys_thread_new("tcpecho_thread", tcpecho_thread, NULL, DEFAULT_THREAD_STACKSIZE, TCPECHO_THREAD_PRIO);
|
||||
sys_thread_new("tcpecho", tcpecho_thread, NULL, DEFAULT_THREAD_STACKSIZE, TCPECHO_THREAD_PRIO);
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ static void udpecho_thread(void *arg)
|
|||
/*-----------------------------------------------------------------------------------*/
|
||||
void udpecho_init(void)
|
||||
{
|
||||
sys_thread_new("udpecho_thread", udpecho_thread, NULL, DEFAULT_THREAD_STACKSIZE,UDPECHO_THREAD_PRIO );
|
||||
sys_thread_new("udpecho", udpecho_thread, NULL, DEFAULT_THREAD_STACKSIZE,UDPECHO_THREAD_PRIO );
|
||||
}
|
||||
|
||||
#endif /* LWIP_NETCONN */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue