From ae2d4965bd1ab5d4f4f5f448c214b9ad89289844 Mon Sep 17 00:00:00 2001 From: rtel Date: Fri, 23 May 2014 16:38:18 +0000 Subject: [PATCH] Add lwIP driver into Zynq demo - not yet fully functional. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2244 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../CORTEX_A9_Zynq_ZC702/RTOSDemo/.cproject | 16 +- .../CORTEX_A9_Zynq_ZC702/RTOSDemo/.project | 59 + .../RTOSDemo/src/FreeRTOSConfig.h | 28 +- .../BasicSocketCommandServer.c | 199 ++ .../httpserver_raw_from_lwIP_download/fs.c | 177 ++ .../httpserver_raw_from_lwIP_download/fs.h | 100 + .../fsdata.c | 2068 ++++++++++++++++ .../fsdata.h | 50 + .../httpserver_raw_from_lwIP_download/httpd.c | 2184 +++++++++++++++++ .../httpserver_raw_from_lwIP_download/httpd.h | 236 ++ .../httpd_structs.h | 115 + .../makefsdata/MakeFSData_proj.sln | 20 + .../makefsdata/MakeFSData_proj.suo | Bin 0 -> 11264 bytes .../makefsdata/MakeFSData_proj.vcxproj | 91 + .../MakeFSData_proj.vcxproj.filters | 36 + .../makefsdata/MakeFSData_proj.vcxproj.user | 3 + .../makefsdata/fs/404.html | 21 + .../makefsdata/fs/index.shtml | 20 + .../makefsdata/fs/logo.jpg | Bin 0 -> 28602 bytes .../makefsdata/fs/runtime.shtml | 20 + .../makefsdata/fsdata.c | 2068 ++++++++++++++++ .../makefsdata/makefsdata | 97 + .../makefsdata/makefsdata.c | 610 +++++ .../makefsdata/makefsdata.exe | Bin 0 -> 46592 bytes .../makefsdata/stdafx.cpp | 8 + .../makefsdata/stdafx.h | 15 + .../makefsdata/targetver.h | 8 + .../src/Full_Demo/lwIP_Apps/lwIP_Apps.c | 238 ++ .../src/Full_Demo/lwIP_Apps/lwIP_Apps.h | 62 + .../src/Full_Demo/lwIP_Apps/lwipcfg_msvc.h | 46 + .../lwIP_port/include/arch/bpstruct.h | 1 + .../src/Full_Demo/lwIP_port/include/arch/cc.h | 109 + .../lwIP_port/include/arch/epstruct.h | 1 + .../Full_Demo/lwIP_port/include/arch/perf.h | 40 + .../lwIP_port/include/arch/sys_arch.h | 58 + .../lwIP_port/include/netif/xadapter.h | 67 + .../lwIP_port/include/netif/xaxiemacif.h | 94 + .../lwIP_port/include/netif/xemacliteif.h | 53 + .../lwIP_port/include/netif/xemacpsif.h | 109 + .../lwIP_port/include/netif/xlltemacif.h | 80 + .../lwIP_port/include/netif/xpqueue.h | 42 + .../lwIP_port/include/netif/xtopology.h | 46 + .../Full_Demo/lwIP_port/include/xlwipconfig.h | 12 + .../src/Full_Demo/lwIP_port/netif/xadapter.c | 274 +++ .../src/Full_Demo/lwIP_port/netif/xemacpsif.c | 458 ++++ .../Full_Demo/lwIP_port/netif/xemacpsif_dma.c | 606 +++++ .../Full_Demo/lwIP_port/netif/xemacpsif_hw.c | 198 ++ .../Full_Demo/lwIP_port/netif/xemacpsif_hw.h | 37 + .../lwIP_port/netif/xemacpsif_physpeed.c | 559 +++++ .../src/Full_Demo/lwIP_port/netif/xpqueue.c | 80 + .../Full_Demo/lwIP_port/netif/xtopology_g.c | 15 + .../src/Full_Demo/lwIP_port/sys_arch.c | 541 ++++ .../RTOSDemo/src/Full_Demo/main_full.c | 21 + .../RTOSDemo/src/lwipopts.h | 305 +++ .../RTOSDemo/src/printf-stdarg.c | 8 - 55 files changed, 12399 insertions(+), 10 deletions(-) create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/fs.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/fs.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/fsdata.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/fsdata.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/httpd.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/httpd.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/httpd_structs.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/MakeFSData_proj.sln create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/MakeFSData_proj.suo create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/MakeFSData_proj.vcxproj create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/MakeFSData_proj.vcxproj.filters create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/MakeFSData_proj.vcxproj.user create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/fs/404.html create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/fs/index.shtml create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/fs/logo.jpg create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/fs/runtime.shtml create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/fsdata.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/makefsdata create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/makefsdata.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/makefsdata.exe create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/stdafx.cpp create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/stdafx.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata/targetver.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/lwIP_Apps.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/lwIP_Apps.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_Apps/lwipcfg_msvc.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/arch/bpstruct.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/arch/cc.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/arch/epstruct.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/arch/perf.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/arch/sys_arch.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/netif/xadapter.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/netif/xaxiemacif.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/netif/xemacliteif.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/netif/xemacpsif.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/netif/xlltemacif.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/netif/xpqueue.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/netif/xtopology.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/include/xlwipconfig.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/netif/xadapter.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/netif/xemacpsif.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/netif/xemacpsif_dma.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/netif/xemacpsif_hw.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/netif/xemacpsif_hw.h create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/netif/xemacpsif_physpeed.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/netif/xpqueue.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/netif/xtopology_g.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/Full_Demo/lwIP_port/sys_arch.c create mode 100644 FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/lwipopts.h diff --git a/FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/.cproject b/FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/.cproject index e9a27c182..84c7309b3 100644 --- a/FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/.cproject +++ b/FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/.cproject @@ -31,7 +31,11 @@