CDC/ECM driver for mbed, based on USBDevice by mbed-official. Uses PicoTCP to access Ethernet USB device. License: GPLv2

Dependents:   USBEthernet_TEST

Fork of USB_Ethernet by Daniele Lacamera

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pico_config.h Source File

pico_config.h

00001 /*********************************************************************
00002 PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved.
00003 See LICENSE and COPYING for usage.
00004 
00005 *********************************************************************/
00006 #ifndef _INCLUDE_PICO_CONFIG
00007 #define _INCLUDE_PICO_CONFIG
00008 #include <stdint.h>
00009 #include <stdlib.h>
00010 #include <string.h>
00011 #include "pico_constants.h"
00012 
00013 
00014 #define MBED
00015 //#define PICO_SUPPORT_CRC
00016 #define PICO_SUPPORT_DEVLOOP
00017 #define PICO_SUPPORT_DHCPC
00018 #define PICO_SUPPORT_DHCPD
00019 #define PICO_SUPPORT_DNS_CLIENT
00020 #define PICO_SUPPORT_HTTP_CLIENT
00021 #define PICO_SUPPORT_HTTP
00022 #define PICO_SUPPORT_HTTP_SERVER
00023 #define PICO_SUPPORT_ICMP4
00024 #define PICO_SUPPORT_PING
00025 #define PICO_SUPPORT_IGMP2
00026 //#define PICO_SUPPORT_IPFILTER
00027 //#define PICO_SUPPORT_IPFRAG
00028 #define PICO_SUPPORT_IPV4
00029 #define PICO_SUPPORT_MCAST
00030 #define PICO_SUPPORT_NAT
00031 #define PICO_SUPPORT_TCP
00032 #define PICO_SUPPORT_UDP
00033 # include "arch/pico_mbed.h"
00034 #endif