added code to support FEC networking

This commit is contained in:
Markus Fröschle
2013-12-23 12:55:19 +00:00
parent a5e20fdd1c
commit 2763966f4c
11 changed files with 759 additions and 96 deletions

View File

@@ -39,6 +39,9 @@
#include "ff.h"
#include "s19reader.h"
#include "dma.h"
#include "eth.h"
#include "nbuf.h"
#include "nif.h"
/* imported routines */
extern int mmu_init();
@@ -56,6 +59,11 @@ extern uint8_t _EMUTOS[];
extern uint8_t _EMUTOS_SIZE[];
#define EMUTOS_SIZE ((uint32_t)_EMUTOS_SIZE) /* size of EmuTOS, in bytes */
NIF nif1;
#ifdef MACHINE_M5484LITE
NIF nif2;
#endif
/*
* check if it is possible to transfer data to PIC
*/