mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@306 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
49254d5eb3
commit
d1cad4edb8
|
@ -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) {
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue