git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@306 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2008-05-26 08:25:27 +00:00
parent 49254d5eb3
commit d1cad4edb8
3 changed files with 11 additions and 3 deletions

View File

@ -26,8 +26,8 @@
#include "web/webthread.h"
static WorkingArea(waWebThread, 256);
static WorkingArea(waThread1, 64);
static WorkingArea(waWebThread, 512);
static WorkingArea(waThread1, 128);
static msg_t Thread1(void *arg) {

View File

@ -85,6 +85,13 @@ typedef uint16_t u16_t;
*/
typedef unsigned short uip_stats_t;
/**
* Modifier for packed structures.
*
* \hideinitializer
*/
#define UIP_CONF_PACKED __attribute__((packed))
/**
* Maximum number of TCP connections.
*

View File

@ -199,7 +199,8 @@ void InitEMAC(int prio) {
AT91C_BASE_EMAC->EMAC_RSR = AT91C_EMAC_OVR |
AT91C_EMAC_REC |
AT91C_EMAC_BNA; // Clears RSR
AT91C_BASE_EMAC->EMAC_NCFGR |= AT91C_EMAC_NBC |
AT91C_BASE_EMAC->EMAC_NCFGR |= AT91C_EMAC_CAF |
AT91C_EMAC_NBC |
AT91C_EMAC_DRFCS; // Initial NCFGR settings
AT91C_BASE_EMAC->EMAC_NCR |= AT91C_EMAC_TE |
AT91C_EMAC_RE |