lwip port FRDM64

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

lwip port FRDM64

1,048 次查看
Edrianocarlos
Contributor IV

Hi,

 

I am trying to port lwip stack into a new project. without RTOS.

i was able to solve many inclusion problems. but this time i am getting this problem.

 

/* For a totally minimal and standalone system, we provide null    definitions of the sys_ functions. */ typedef u8_t sys_sem_t; typedef u8_t sys_mutex_t; typedef u8_t sys_mbox_t;

 

DescriptionResourcePathLocationType
conflicting types for 'sys_mutex_t'sys.h/frdm64f_new/Sources/lwip/src/include/lwipline 46C/C++ Problem
conflicting types for 'sys_sem_t'sys.h/frdm64f_new/Sources/lwip/src/include/lwipline 45C/C++ Problem
conflicting types for 'sys_mbox_t'sys.h/frdm64f_new/Sources/lwip/src/include/lwipline 47C/C++ Problem

Ok i understand that there is a conflict. but i can not find what would be this conflict. this does not occur at the sample project.

But i am not using that specific project. As i am trying to built the stack in my project.

标签 (1)
0 项奖励
回复
1 回复

775 次查看
Edrianocarlos
Contributor IV

Ok i find where is the complaing. but its excluded by an #if.

#if !NO_SYS

typedef struct mboxHandler{

   msg_queue_handler_t queueHandler;

   semaphore_t _semSync ;

}sys_mbox_t ;

typedef semaphore_t sys_sem_t;

typedef task_handler_t sys_thread_t;

typedef mutex_t sys_mutex_t ;

/*FSL:workaround from lwIP port (1.1.1 to 1.3.1)*/

#define sys_arch_mbox_tryfetch(mbox,msg) \

    sys_arch_mbox_fetch(mbox,msg,1)

#endif

0 项奖励
回复