Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: EthernetInterface EthernetInterface_vz
Fork of lwip-eth by
Revision 18:392cadf1c9c7, committed 2014-09-15
- Comitter:
- klauss
- Date:
- Mon Sep 15 20:53:13 2014 +0000
- Parent:
- 17:af9161326c59
- Child:
- 19:3dfbfd94d4a1
- Commit message:
- versao de abertura e fechamento de sockets, travando em momentos random, provavelmente quando se usa um null pointer.
Changed in this revision
--- a/arch/TARGET_NXP/lpc17xx_emac.h Fri Sep 12 16:45:07 2014 +0000 +++ b/arch/TARGET_NXP/lpc17xx_emac.h Mon Sep 15 20:53:13 2014 +0000 @@ -74,7 +74,7 @@ /* EMAC Memory Buffer configuration for 16K Ethernet RAM */ #define EMAC_NUM_RX_FRAG 4 /**< Num.of RX Fragments 4*1536= 6.0kB */ #define EMAC_NUM_TX_FRAG 3 /**< Num.of TX Fragments 3*1536= 4.6kB */ -#define EMAC_ETH_MAX_FLEN 1536 /**< Max. Ethernet Frame Size */ +#define EMAC_ETH_MAX_FLEN 400//pzn1536 /**< Max. Ethernet Frame Size */ #define EMAC_TX_FRAME_TOUT 0x00100000 /**< Frame Transmit timeout count */ /* --------------------- BIT DEFINITIONS -------------------------------------- */
--- a/arch/TARGET_NXP/lpc_emac_config.h Fri Sep 12 16:45:07 2014 +0000 +++ b/arch/TARGET_NXP/lpc_emac_config.h Mon Sep 15 20:53:13 2014 +0000 @@ -81,7 +81,7 @@ /** \brief Defines the number of descriptors used for RX. This * must be a minimum value of 2. */ -#define LPC_NUM_BUFF_RXDESCS 3 +#define LPC_NUM_BUFF_RXDESCS 9//pzn3 /** \brief Defines the number of descriptors used for TX. Must * be a minimum value of 2.
