This saves about 60 kB in flash.
Now it is possible to define rppCONFIG_INCLUDE_ETH as 0 in RppConfig.h and
everything can compiles without problems.
//#include "os_semphr.h"
//#include "os_task.h"
+#include "rpp/RppConfig.h"
#include "sys/sys.h"
#include "rpp/eth.h"
}
}
+#if rppCONFIG_INCLUDE_ETH
extern boolean_t HostPendErrHandler(void);
#if PHY_LINK_MONITOR_INT
extern boolean_t LinkIntHandler(void);
}
*/
}
+#endif
/* USER CODE BEGIN (38) */
/* USER CODE END */
#include "sys/sys_core.h"
#include "sys/sys_selftest.h"
#include "sys/ti_drv_esm.h"
+#include "rpp/RppConfig.h"
+#if !rppCONFIG_INCLUDE_ETH
+#define MDIOMiscInt phantomInterrupt
+#define EMACCore0RxIsr phantomInterrupt
+#define EMACCore0TxIsr phantomInterrupt
+#endif
/* USER CODE BEGIN (1) */
/* USER CODE END */