git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3998 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-02-29 14:05:19 +00:00
parent a041bbfe0b
commit 84f2c0ef32
9 changed files with 12 additions and 10 deletions

View File

@ -64,8 +64,8 @@ include $(CHIBIOS)/os/hal/platforms/STM32F1xx/platform.mk
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F1xx/port.mk
include $(CHIBIOS)/os/kernel/kernel.mk
include $(CHIBIOS)/os/various/lwip_bindings/lwip.mk
include $(CHIBIOS)/test/test.mk
include ./lwip/lwip.mk
# Define linker script file here
LDSCRIPT= $(PORTLD)/STM32F107xC.ld
@ -78,13 +78,8 @@ CSRC = $(PORTSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(LWNETIFSRC) \
$(LWCORESRC) \
$(LWIPV4SRC) \
$(LWAPISRC) \
$(LWSRC) \
$(CHIBIOS)/os/various/evtimer.c \
$(CHIBIOS)/os/various/lwipthread.c \
./lwip/arch/sys_arch.c \
web/web.c main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
@ -116,8 +111,7 @@ ASMSRC = $(PORTASM)
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(LWINC) \
$(CHIBIOS)/os/various \
./lwip
$(CHIBIOS)/os/various
#
# Project, sources and paths

View File

@ -1,6 +1,10 @@
# List of the required lwIP files.
LWIP = ${CHIBIOS}/ext/lwip-1.4.0
LWBINDSRC = \
$(CHIBIOS)/os/various/lwip_bindings/lwipthread.c \
$(CHIBIOS)/os/various/lwip_bindings/arch/sys_arch.c
LWNETIFSRC = \
${LWIP}/src/netif/etharp.c
@ -42,6 +46,9 @@ LWAPISRC = \
${LWIP}/src/api/sockets.c \
${LWIP}/src/api/tcpip.c
LWSRC = $(LWBINDSRC) $(LWNETIFSRC) $(LWCORESRC) $(LWIPV4SRC) $(LWAPISRC)
LWINC = \
$(CHIBIOS)/os/various/lwip_bindings \
${LWIP}/src/include \
${LWIP}/src/include/ipv4

View File

@ -108,7 +108,8 @@
Fabio).
- NEW: STM32 Ethernet driver completed, only partially tested on STM32F107.
Added an STM32 lwIP demo.
TODO: Extensive testing.
- NEW: lwIP related code is not centralized into a single place, no need to
duplicate the code in each application or demo.
- CHANGE: Macros icuGetWidthI() and icuGetPeriodI() renemed to icuGetWidth()
and icuGetPeriod().
- CHANGE: Renamed Ethernet driver in AT91 HAL ETHD1.