git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3998 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
a041bbfe0b
commit
84f2c0ef32
|
@ -64,8 +64,8 @@ include $(CHIBIOS)/os/hal/platforms/STM32F1xx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F1xx/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F1xx/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
|
include $(CHIBIOS)/os/various/lwip_bindings/lwip.mk
|
||||||
include $(CHIBIOS)/test/test.mk
|
include $(CHIBIOS)/test/test.mk
|
||||||
include ./lwip/lwip.mk
|
|
||||||
|
|
||||||
# Define linker script file here
|
# Define linker script file here
|
||||||
LDSCRIPT= $(PORTLD)/STM32F107xC.ld
|
LDSCRIPT= $(PORTLD)/STM32F107xC.ld
|
||||||
|
@ -78,13 +78,8 @@ CSRC = $(PORTSRC) \
|
||||||
$(HALSRC) \
|
$(HALSRC) \
|
||||||
$(PLATFORMSRC) \
|
$(PLATFORMSRC) \
|
||||||
$(BOARDSRC) \
|
$(BOARDSRC) \
|
||||||
$(LWNETIFSRC) \
|
$(LWSRC) \
|
||||||
$(LWCORESRC) \
|
|
||||||
$(LWIPV4SRC) \
|
|
||||||
$(LWAPISRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
$(CHIBIOS)/os/various/evtimer.c \
|
||||||
$(CHIBIOS)/os/various/lwipthread.c \
|
|
||||||
./lwip/arch/sys_arch.c \
|
|
||||||
web/web.c main.c
|
web/web.c main.c
|
||||||
|
|
||||||
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
# 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) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(LWINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(LWINC) \
|
||||||
$(CHIBIOS)/os/various \
|
$(CHIBIOS)/os/various
|
||||||
./lwip
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
# List of the required lwIP files.
|
# List of the required lwIP files.
|
||||||
LWIP = ${CHIBIOS}/ext/lwip-1.4.0
|
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 = \
|
LWNETIFSRC = \
|
||||||
${LWIP}/src/netif/etharp.c
|
${LWIP}/src/netif/etharp.c
|
||||||
|
|
||||||
|
@ -42,6 +46,9 @@ LWAPISRC = \
|
||||||
${LWIP}/src/api/sockets.c \
|
${LWIP}/src/api/sockets.c \
|
||||||
${LWIP}/src/api/tcpip.c
|
${LWIP}/src/api/tcpip.c
|
||||||
|
|
||||||
|
LWSRC = $(LWBINDSRC) $(LWNETIFSRC) $(LWCORESRC) $(LWIPV4SRC) $(LWAPISRC)
|
||||||
|
|
||||||
LWINC = \
|
LWINC = \
|
||||||
|
$(CHIBIOS)/os/various/lwip_bindings \
|
||||||
${LWIP}/src/include \
|
${LWIP}/src/include \
|
||||||
${LWIP}/src/include/ipv4
|
${LWIP}/src/include/ipv4
|
|
@ -108,7 +108,8 @@
|
||||||
Fabio).
|
Fabio).
|
||||||
- NEW: STM32 Ethernet driver completed, only partially tested on STM32F107.
|
- NEW: STM32 Ethernet driver completed, only partially tested on STM32F107.
|
||||||
Added an STM32 lwIP demo.
|
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()
|
- CHANGE: Macros icuGetWidthI() and icuGetPeriodI() renemed to icuGetWidth()
|
||||||
and icuGetPeriod().
|
and icuGetPeriod().
|
||||||
- CHANGE: Renamed Ethernet driver in AT91 HAL ETHD1.
|
- CHANGE: Renamed Ethernet driver in AT91 HAL ETHD1.
|
||||||
|
|
Loading…
Reference in New Issue