Free (GPLv2) TCP/IP stack developed by TASS Belgium
Dependents: lpc1768-picotcp-demo ZeroMQ_PicoTCP_Publisher_demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test ... more
PicoTCP. Copyright (c) 2013 TASS Belgium NV.
Released under the GNU General Public License, version 2.
Different licensing models may exist, at the sole discretion of the Copyright holders.
Official homepage: http://www.picotcp.com
Bug tracker: https://github.com/tass-belgium/picotcp/issues
Development steps:
initial integration with mbed RTOSgeneric mbed Ethernet driverhigh performance NXP LPC1768 specific Ethernet driverMulti-threading support for mbed RTOSBerkeley sockets and integration with the New Socket APIFork of the apps running on top of the New Socket APIScheduling optimizations- Debugging/benchmarking/testing
Demo application (measuring TCP sender performance):
Import programlpc1768-picotcp-demo
A PicoTCP demo app testing the ethernet throughput on the lpc1768 mbed board.
include/pico_config.h@149:5f4cb161cec3, 2014-04-09 (annotated)
- Committer:
- tass picotcp@tass.be
- Date:
- Wed Apr 09 14:31:41 2014 +0200
- Revision:
- 149:5f4cb161cec3
- Parent:
- 129:dbf9eddc9109
- Child:
- 152:a3d286bf94e5
Update from git masterbranch
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
daniele | 29:1a47b7151851 | 1 | /********************************************************************* |
daniele | 29:1a47b7151851 | 2 | PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved. |
daniele | 29:1a47b7151851 | 3 | See LICENSE and COPYING for usage. |
daniele | 29:1a47b7151851 | 4 | |
daniele | 29:1a47b7151851 | 5 | *********************************************************************/ |
tass picotcp@tass.be | 149:5f4cb161cec3 | 6 | #ifndef INCLUDE_PICO_CONFIG |
tass picotcp@tass.be | 149:5f4cb161cec3 | 7 | #define INCLUDE_PICO_CONFIG |
daniele | 29:1a47b7151851 | 8 | #include <stdint.h> |
daniele | 29:1a47b7151851 | 9 | #include <stdlib.h> |
daniele | 29:1a47b7151851 | 10 | #include <string.h> |
tass picotcp@tass.be | 149:5f4cb161cec3 | 11 | |
tass picotcp@tass.be | 149:5f4cb161cec3 | 12 | #ifdef __IAR_SYSTEMS_ICC__ |
tass picotcp@tass.be | 149:5f4cb161cec3 | 13 | # define PACKED_STRUCT_DEF __packed struct |
tass picotcp@tass.be | 149:5f4cb161cec3 | 14 | #else |
tass picotcp@tass.be | 149:5f4cb161cec3 | 15 | # define PACKED_STRUCT_DEF struct __attribute__((packed)) |
tass picotcp@tass.be | 149:5f4cb161cec3 | 16 | #endif |
tass picotcp@tass.be | 149:5f4cb161cec3 | 17 | |
daniele | 29:1a47b7151851 | 18 | #include "pico_constants.h" |
daniele | 29:1a47b7151851 | 19 | |
tass | 67:fb3098601f18 | 20 | #define IGNORE_PARAMETER(x) (void)x |
daniele | 29:1a47b7151851 | 21 | #define MBED |
tass picotcp@tass.be | 149:5f4cb161cec3 | 22 | |
tass picotcp@tass.be | 149:5f4cb161cec3 | 23 | #define PICO_SUPPORT_ETH |
tass picotcp@tass.be | 149:5f4cb161cec3 | 24 | #define PICO_SUPPORT_CRC |
daniele | 29:1a47b7151851 | 25 | #define PICO_SUPPORT_DEVLOOP |
daniele | 29:1a47b7151851 | 26 | #define PICO_SUPPORT_DHCPC |
daniele | 29:1a47b7151851 | 27 | #define PICO_SUPPORT_DHCPD |
daniele | 29:1a47b7151851 | 28 | #define PICO_SUPPORT_DNS_CLIENT |
daniele | 29:1a47b7151851 | 29 | #define PICO_SUPPORT_ICMP4 |
daniele | 29:1a47b7151851 | 30 | #define PICO_SUPPORT_PING |
tass picotcp@tass.be | 149:5f4cb161cec3 | 31 | #define PICO_SUPPORT_IGMP |
tass | 125:96003ae6f1d8 | 32 | #define PICO_SUPPORT_IPFILTER |
tass picotcp@tass.be | 149:5f4cb161cec3 | 33 | #define PICO_SUPPORT_IPFRAG |
daniele | 29:1a47b7151851 | 34 | #define PICO_SUPPORT_IPV4 |
daniele | 29:1a47b7151851 | 35 | #define PICO_SUPPORT_MCAST |
daniele | 29:1a47b7151851 | 36 | #define PICO_SUPPORT_NAT |
daniele | 29:1a47b7151851 | 37 | #define PICO_SUPPORT_TCP |
daniele | 29:1a47b7151851 | 38 | #define PICO_SUPPORT_UDP |
tass | 129:dbf9eddc9109 | 39 | #define PICO_SUPPORT_SLAACV4 |
tass | 129:dbf9eddc9109 | 40 | |
daniele | 29:1a47b7151851 | 41 | # include "arch/pico_mbed.h" |
tass picotcp@tass.be | 149:5f4cb161cec3 | 42 | |
tass picotcp@tass.be | 149:5f4cb161cec3 | 43 | #ifdef PICO_SUPPORT_MM |
tass picotcp@tass.be | 149:5f4cb161cec3 | 44 | #define PICO_ZALLOC(x) pico_mem_zalloc(x) |
tass picotcp@tass.be | 149:5f4cb161cec3 | 45 | #define PICO_FREE(x) pico_mem_free(x) |
tass picotcp@tass.be | 149:5f4cb161cec3 | 46 | #else |
tass picotcp@tass.be | 149:5f4cb161cec3 | 47 | #define PICO_ZALLOC(x) pico_zalloc(x) |
tass picotcp@tass.be | 149:5f4cb161cec3 | 48 | #define PICO_FREE(x) pico_free(x) |
tass picotcp@tass.be | 149:5f4cb161cec3 | 49 | #endif /* PICO_SUPPORT_MM */ |
tass picotcp@tass.be | 149:5f4cb161cec3 | 50 | |
tass picotcp@tass.be | 149:5f4cb161cec3 | 51 | #endif /* INCLUDE_PICO_CONFIG */ |