X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fport.h;h=63500d49736aab51222af37b35b9f665d0ae123d;hb=3a32de81ff00b39434dd9a96b6de5be03a3f45cb;hp=cc747fd73d49177a2c4228fefe69f99f7e7424ca;hpb=7e96e3019db9e62aefa193c1aeacd1a7d8a2e65f;p=fw%2Fsdcc diff --git a/src/port.h b/src/port.h index cc747fd7..63500d49 100644 --- a/src/port.h +++ b/src/port.h @@ -14,6 +14,7 @@ #define TARGET_ID_AVR 4 #define TARGET_ID_DS390 5 #define TARGET_ID_PIC 6 +#define TARGET_ID_PIC16 7 #define TARGET_ID_XA51 9 #define TARGET_ID_DS400 10 @@ -27,6 +28,7 @@ #define TARGET_IS_DS390 (port->id==TARGET_ID_DS390) #define TARGET_IS_DS400 (port->id==TARGET_ID_DS400) #define TARGET_IS_PIC (port->id==TARGET_ID_PIC) +#define TARGET_IS_PIC16 (port->id==TARGET_ID_PIC16) #define TARGET_IS_XA51 (port->id==TARGET_ID_XA51) #define MAX_BUILTIN_ARGS 16 @@ -280,6 +282,9 @@ extern PORT ds390_port; #if !OPT_DISABLE_PIC extern PORT pic_port; #endif +#if !OPT_DISABLE_PIC16 +extern PORT pic16_port; +#endif #if !OPT_DISABLE_TININative extern PORT tininative_port; #endif @@ -290,4 +295,6 @@ extern PORT xa51_port; extern PORT ds400_port; #endif +#define DEFAULT_PORT pic16_port + #endif /* PORT_INCLUDE*/