lwip arch优化
This commit is contained in:
@@ -16,13 +16,18 @@
|
||||
#include <u_sys.h>
|
||||
#include <u_task.h>
|
||||
#include <u_thread.h>
|
||||
#define STACK_COM_ITME_SIZE (1024 + 512)
|
||||
#include "u_hd_man.h"
|
||||
#define STACK_COM_ITME_SIZE (2048)
|
||||
ATTR_ALIGN(8)
|
||||
uint8_t stack_coms[STACK_COM_ITME_SIZE];
|
||||
uint8_t msg_buf_coms[MSG_BUG_LEN];
|
||||
static obj_handler_t com_th_obj;
|
||||
|
||||
void fast_ipc_init(void)
|
||||
{
|
||||
u_fast_ipc_init(stack_coms, msg_buf_coms, 1, STACK_COM_ITME_SIZE);
|
||||
com_th_obj = handler_alloc();
|
||||
assert(com_th_obj != HANDLER_INVALID);
|
||||
u_fast_ipc_init(stack_coms, msg_buf_coms, 1, STACK_COM_ITME_SIZE, &com_th_obj);
|
||||
}
|
||||
static blk_drv_t blk_drv;
|
||||
int blk_drv_write(obj_handler_t obj, int len, int inx)
|
||||
|
||||
Reference in New Issue
Block a user