# HG changeset patch # User jani # Date 1083675167 0 # Node ID 40c53c83bbc47e41edb14785d7008d0f43459c31 # Parent 877b7c3bf2b8816d396e9a151794ead51f903709 Update ecos.db and NEWS to reflect lwIP addition.Add lwip_eth and lwip_ppp templates diff --git a/packages/NEWS b/packages/NEWS --- a/packages/NEWS +++ b/packages/NEWS @@ -1,3 +1,4 @@ +* Added the lwIP TCP/IP stack. * Added PPP network support. Contributed by Nick Garnett of eCosCentric. * Added support for network under vmWare using the LANCE chipset. Contributed by Iztok Zupet. diff --git a/packages/ecos.db b/packages/ecos.db --- a/packages/ecos.db +++ b/packages/ecos.db @@ -5531,3 +5531,10 @@ package CYGPKG_FS_FAT { # -------------------------------------------------------------------------- + +package CYGPKG_NET_LWIP { + alias {"lwIP" lwip} + directory net/lwip_tcpip + script cdl/lwip_net.cdl + description "Lightweight TCP/IP stack: lwIP" +} diff --git a/packages/templates/lwip_eth/ChangeLog b/packages/templates/lwip_eth/ChangeLog new file mode 100644 --- /dev/null +++ b/packages/templates/lwip_eth/ChangeLog @@ -0,0 +1,38 @@ +2004-05-04 Jani Monoses + + * current.ect: Create new configuration for lwIP/ethernet + +//=========================================================================== +//####ECOSGPLCOPYRIGHTBEGIN#### +// ------------------------------------------- +// This file is part of eCos, the Embedded Configurable Operating System. +// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. +// +// eCos is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 or (at your option) any later version. +// +// eCos is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with eCos; if not, write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +// +// As a special exception, if other files instantiate templates or use macros +// or inline functions from this file, or you compile this file and link it +// with other works to produce a work based on this file, this file does not +// by itself cause the resulting work to be covered by the GNU General Public +// License. However the source code for this file must still be made available +// in accordance with section (3) of the GNU General Public License. +// +// This exception does not invalidate any other reasons why a work based on +// this file might be covered by the GNU General Public License. +// +// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. +// at http://sources.redhat.com/ecos/ecos-license/ +// ------------------------------------------- +//####ECOSGPLCOPYRIGHTEND#### +//=========================================================================== diff --git a/packages/templates/lwip_eth/current.ect b/packages/templates/lwip_eth/current.ect new file mode 100644 --- /dev/null +++ b/packages/templates/lwip_eth/current.ect @@ -0,0 +1,38 @@ +cdl_savefile_version 1; +cdl_savefile_command cdl_savefile_version {}; +cdl_savefile_command cdl_savefile_command {}; +cdl_savefile_command cdl_configuration { description hardware template package }; +cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value }; +cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value }; +cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value }; +cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value }; + +cdl_configuration template_lwip_net { + description "lwIP network template" ; + package CYGPKG_HAL current ; + package CYGPKG_IO current ; + package CYGPKG_INFRA current ; + package CYGPKG_KERNEL current ; + package CYGPKG_MEMALLOC current ; + package CYGPKG_ERROR current ; + package CYGPKG_ISOINFRA current ; + package CYGPKG_NET_LWIP current ; + package CYGPKG_IO_ETH_DRIVERS current ; +}; + +cdl_component CYGPKG_IO_ETH_DRIVERS_STAND_ALONE { + inferred_value 0 +}; + +cdl_option CYGBLD_ISO_ERRNO_CODES_HEADER { + inferred_value 1 +}; + +cdl_option CYGBLD_ISO_ERRNO_HEADER { + inferred_value 1 +}; + +cdl_option CYGBLD_ISO_STRERROR_HEADER { + inferred_value 1 +}; + diff --git a/packages/templates/lwip_ppp/ChangeLog b/packages/templates/lwip_ppp/ChangeLog new file mode 100644 --- /dev/null +++ b/packages/templates/lwip_ppp/ChangeLog @@ -0,0 +1,38 @@ +2004-05-04 Jani Monoses + + * current.ect: Create new configuration for lwIP/PPP + +//=========================================================================== +//####ECOSGPLCOPYRIGHTBEGIN#### +// ------------------------------------------- +// This file is part of eCos, the Embedded Configurable Operating System. +// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. +// +// eCos is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 or (at your option) any later version. +// +// eCos is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with eCos; if not, write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +// +// As a special exception, if other files instantiate templates or use macros +// or inline functions from this file, or you compile this file and link it +// with other works to produce a work based on this file, this file does not +// by itself cause the resulting work to be covered by the GNU General Public +// License. However the source code for this file must still be made available +// in accordance with section (3) of the GNU General Public License. +// +// This exception does not invalidate any other reasons why a work based on +// this file might be covered by the GNU General Public License. +// +// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. +// at http://sources.redhat.com/ecos/ecos-license/ +// ------------------------------------------- +//####ECOSGPLCOPYRIGHTEND#### +//=========================================================================== diff --git a/packages/templates/lwip_ppp/current.ect b/packages/templates/lwip_ppp/current.ect new file mode 100644 --- /dev/null +++ b/packages/templates/lwip_ppp/current.ect @@ -0,0 +1,54 @@ +cdl_savefile_version 1; +cdl_savefile_command cdl_savefile_version {}; +cdl_savefile_command cdl_savefile_command {}; +cdl_savefile_command cdl_configuration { description hardware template package }; +cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value }; +cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value }; +cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value }; +cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value }; + +cdl_configuration template_lwip_net { + description "lwIP network template" ; + package CYGPKG_HAL current ; + package CYGPKG_IO current ; + package CYGPKG_IO_SERIAL current ; + package CYGPKG_INFRA current ; + package CYGPKG_KERNEL current ; + package CYGPKG_ERROR current ; + package CYGPKG_MEMALLOC current ; + package CYGPKG_ISOINFRA current ; + package CYGPKG_NET_LWIP current ; + package CYGPKG_LIBC_STRING current ; +}; + +cdl_option CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING { + user_value 1 +}; + +cdl_option CYGBLD_ISO_ERRNO_CODES_HEADER { + inferred_value 1 +}; + +cdl_option CYGBLD_ISO_ERRNO_HEADER { + inferred_value 1 +}; + +cdl_option CYGBLD_ISO_STRERROR_HEADER { + inferred_value 1 +}; + +cdl_option CYGPKG_LWIP_SERV_ADDR { + user_value 192,168,0,3 +}; + +cdl_option CYGPKG_LWIP_MY_ADDR { + user_value 192,168,0,4 +}; + +cdl_component CYGPKG_LWIP_PPP { + user_value 1 +} + +cdl_option CYGPKG_LWIP_PPP_DEV { + user_value "\"/dev/ser1\"" +};