[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] New to LwIp - a few questions for a new exotic port
From: |
Sergio R. Caprile |
Subject: |
Re: [lwip-users] New to LwIp - a few questions for a new exotic port |
Date: |
Fri, 26 Oct 2018 10:36:53 -0300 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
I fail to see where the problem is.
lwIP does not require an OS, as long as you can compile C code you are fine.
A port is basically what you described, you write your driver, you read
this:
http://www.nongnu.org/lwip/2_1_x/group__sys__layer.html
you modify architecture dependent files, and you put them in arch/; see
how others did it in the 'contrib' tree:
contrib/ports/freertos/include/arch
contrib/ports/win32/include/arch
contrib/ports/unix/port/include/arch
if you want to see how it is done for bare metal, then get a port for a
Cortex-M, search the wiki or look me up, there is one (old) in my webpage.