This is the firmware for the LaOS - Laser Open Source project. You can use it to drive a laser cutter. For hardware and more information, look at our wiki: http://wiki.laoslaser.org
Dependencies: EthernetNetIf mbed
EthConfig.h
00001 /* 00002 * EthSetup.cpp 00003 * Setup ethernet interface, based on config file 00004 * Read IP, Gateway, DNS and port for server. 00005 * if IP is not defined, or dhcp is set, use dhcp for Ethernet 00006 * 00007 * Copyright (c) 2011 Peter Brier 00008 * 00009 * This file is part of the LaOS project (see: http://wiki.protospace.nl/index.php/LaOS) 00010 * 00011 * LaOS is free software: you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation, either version 3 of the License, or 00014 * (at your option) any later version. 00015 * 00016 * LaOS is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with LaOS. If not, see <http://www.gnu.org/licenses/>. 00023 * 00024 */ 00025 #ifndef _ETHCONFIG_H_ 00026 #define _ETHCONFIG_H_ 00027 #include "global.h" 00028 #include "EthernetNetIf.h" 00029 #include "TCPSocket.h" 00030 00031 EthernetNetIf * EthConfig(); 00032 bool EthSpeed(void); 00033 bool EthLink(void); 00034 00035 #endif 00036
Generated on Tue Jul 12 2022 21:03:02 by 1.7.2