문제

I am writing C based embedded application code , I want to make it run in any OS which is written in 'C' like , free RTOS or Contiki or unix etc .

So I thought below are the module I need to create abstraction if I want to port easily on any of the os.

 1. Timer :  Callback  Timer,Event Timers 
 2. Network related(like  TCP send and receive)
 3. Mulitasking (STOP, RESUME, WAIT etc)

I am still thinking that there are other module which I need to abstract to port easily for other OS .. Can somebody suggest any other module?

도움이 되었습니까?

해결책

  1. File Access (Open, Close, Read, Write)
  2. Sync (Locks, Mutexs and etc...)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top