Don't include debug, interrupt or PPPoE code for Arduino. (Interrupt code might make a return if it is needed and works with SPI.)

git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@33 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
master
follower 17 years ago
parent 6268437cf2
commit aa056f1139

@ -27,6 +27,7 @@
#define CLK_CPU 8000000 /**< 8Mhz(for serial) */ #define CLK_CPU 8000000 /**< 8Mhz(for serial) */
/* ## __DEF_IINCHIP_xxx__ : define option for iinchip driver *****************/ /* ## __DEF_IINCHIP_xxx__ : define option for iinchip driver *****************/
#ifndef __ARDUINO__
#define __DEF_IINCHIP_DBG__ /* involve debug code in driver (socket.c) */ #define __DEF_IINCHIP_DBG__ /* involve debug code in driver (socket.c) */
#define __DEF_IINCHIP_INT__ /**< involve interrupt service routine (socket.c) */ #define __DEF_IINCHIP_INT__ /**< involve interrupt service routine (socket.c) */
#define __DEF_IINCHIP_PPP__ /* involve pppoe routine (socket.c) */ #define __DEF_IINCHIP_PPP__ /* involve pppoe routine (socket.c) */
@ -34,6 +35,7 @@
be included in your project. be included in your project.
Otherwise, the source files must be removed from your Otherwise, the source files must be removed from your
project. */ project. */
#endif
#define __DEF_IINCHIP_DIRECT_MODE__ 1 #define __DEF_IINCHIP_DIRECT_MODE__ 1
#define __DEF_IINCHIP_INDIRECT_MODE__ 2 #define __DEF_IINCHIP_INDIRECT_MODE__ 2

Loading…
Cancel
Save