**** Build of configuration Debug for project dio_t1 **** "D:\\code_composed\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../DIO_prog.c" Invoking: GNU Compiler "D:/code_composed/ccs/tools/compiler/msp430-gcc-8.3.1.25_win64/bin/msp430-elf-gcc-8.3.1.exe" -c -mmcu=msp430f2491 -mhwmult=16bit -I"D:/code_composed/ccs/ccs_base/msp430/include_gcc" -I"C:/Users/Hero/workspace_v9/dio_t1" -I"D:/code_composed/ccs/tools/compiler/msp430-gcc-8.3.1.25_win64/msp430-elf/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"DIO_prog.d" -MT"DIO_prog.o" -o"DIO_prog.o" "../DIO_prog.c" subdir_rules.mk:9: recipe for target 'DIO_prog.o' failed In file included from ../DIO_prog.c:7: ../types.h:10:44: error: expected ';' before 'void' typedef unsigned char u8 ^ ; In file included from ../DIO_prog.c:10: ../DIO_interface.h:29:18: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction); ^~ ../DIO_interface.h:29:30: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction); ^~ ../DIO_interface.h:29:40: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction); ^~ ../DIO_interface.h:30:18: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value); ^~ ../DIO_interface.h:30:30: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value); ^~ ../DIO_interface.h:30:40: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value); ^~ ../DIO_interface.h:31:1: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO); ^~ ../DIO_interface.h:31:16: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO); ^~ ../DIO_interface.h:31:28: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO); ^~ ../DIO_interface.h:32:19: error: unknown type name 'u8' void SET_PORT_VAL(u8 Port_NO,u8 Value); ^~ ../DIO_interface.h:32:30: error: unknown type name 'u8' void SET_PORT_VAL(u8 Port_NO,u8 Value); ^~ ../DIO_interface.h:33:19: error: unknown type name 'u8' void SET_PORT_DIR(u8 Port_NO,u8 Direction); ^~ ../DIO_interface.h:33:30: error: unknown type name 'u8' void SET_PORT_DIR(u8 Port_NO,u8 Direction); ^~ ../DIO_interface.h:34:20: error: unknown type name 'u8' void GIVE_PORT_VAL(u8 Port_NO,u8 PORT_VAL); ^~ ../DIO_interface.h:34:31: error: unknown type name 'u8' void GIVE_PORT_VAL(u8 Port_NO,u8 PORT_VAL); ^~ ../DIO_prog.c:11:18: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction) ^~ ../DIO_prog.c:11:30: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction) ^~ ../DIO_prog.c:11:40: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction) ^~ ../DIO_prog.c:45:18: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value) ^~ ../DIO_prog.c:45:30: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value) ^~ ../DIO_prog.c:45:40: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value) ^~ ../DIO_prog.c:75:1: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO) ^~ ../DIO_prog.c:75:16: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO) ^~ ../DIO_prog.c:75:28: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO) ^~ ../DIO_prog.c:92:18: error: unknown type name 'u8' void TOG_BIT_VAL(u8 Port_NO, u8 BIT_NO) ^~ ../DIO_prog.c:92:30: error: unknown type name 'u8' void TOG_BIT_VAL(u8 Port_NO, u8 BIT_NO) ^~ ../DIO_prog.c:107:19: error: unknown type name 'u8' void SET_PORT_VAL(u8 Port_NO,u8 Value) ^~ ../DIO_prog.c:107:30: error: unknown type name 'u8' void SET_PORT_VAL(u8 Port_NO,u8 Value) ^~ ../DIO_prog.c:141:19: error: unknown type name 'u8' void SET_PORT_DIR(u8 Port_NO,u8 Direction) ^~ ../DIO_prog.c:141:30: error: unknown type name 'u8' void SET_PORT_DIR(u8 Port_NO,u8 Direction) ^~ ../DIO_prog.c:175:20: error: unknown type name 'u8' void GIVE_PORT_VAL(u8 Port_NO,u8 PORT_VAL) ^~ ../DIO_prog.c:175:31: error: unknown type name 'u8' void GIVE_PORT_VAL(u8 Port_NO,u8 PORT_VAL) ^~ gmake: *** [DIO_prog.o] Error 1 Building file: "../main.c" Invoking: GNU Compiler "D:/code_composed/ccs/tools/compiler/msp430-gcc-8.3.1.25_win64/bin/msp430-elf-gcc-8.3.1.exe" -c -mmcu=msp430f2491 -mhwmult=16bit -I"D:/code_composed/ccs/ccs_base/msp430/include_gcc" -I"C:/Users/Hero/workspace_v9/dio_t1" -I"D:/code_composed/ccs/tools/compiler/msp430-gcc-8.3.1.25_win64/msp430-elf/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" "../main.c" subdir_rules.mk:9: recipe for target 'main.o' failed In file included from ../main.c:3: ../types.h:10:44: error: expected ';' before 'void' typedef unsigned char u8 ^ ; In file included from ../main.c:4: ../DIO_interface.h:29:18: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction); ^~ ../DIO_interface.h:29:30: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction); ^~ ../DIO_interface.h:29:40: error: unknown type name 'u8' void Set_BIT_DIR(u8 Port_NO, u8 BIT_NO,u8 Direction); ^~ ../DIO_interface.h:30:18: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value); ^~ ../DIO_interface.h:30:30: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value); ^~ ../DIO_interface.h:30:40: error: unknown type name 'u8' void Set_BIT_VAL(u8 Port_NO, u8 BIT_NO,u8 Value); ^~ ../DIO_interface.h:31:1: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO); ^~ ../DIO_interface.h:31:16: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO); ^~ ../DIO_interface.h:31:28: error: unknown type name 'u8' u8 GET_BIT_VAL(u8 Port_NO, u8 BIT_NO); ^~ ../DIO_interface.h:32:19: error: unknown type name 'u8' void SET_PORT_VAL(u8 Port_NO,u8 Value); ^~ ../DIO_interface.h:32:30: error: unknown type name 'u8' void SET_PORT_VAL(u8 Port_NO,u8 Value); ^~ ../DIO_interface.h:33:19: error: unknown type name 'u8' void SET_PORT_DIR(u8 Port_NO,u8 Direction); ^~ ../DIO_interface.h:33:30: error: unknown type name 'u8' void SET_PORT_DIR(u8 Port_NO,u8 Direction); ^~ ../DIO_interface.h:34:20: error: unknown type name 'u8' void GIVE_PORT_VAL(u8 Port_NO,u8 PORT_VAL); ^~ ../DIO_interface.h:34:31: error: unknown type name 'u8' void GIVE_PORT_VAL(u8 Port_NO,u8 PORT_VAL); ^~ ../main.c:6:6: warning: return type of 'main' is not 'int' [-Wmain] void main (void) ^~~~ ../main.c: In function 'main': ../main.c:8:5: warning: implicit declaration of function 'Set_BIT_DIR' [-Wimplicit-function-declaration] Set_BIT_DIR(Port1, PIN0, INPUT); ^~~~~~~~~~~ ../main.c:10:5: warning: implicit declaration of function 'Set_BIT_VAL' [-Wimplicit-function-declaration] Set_BIT_VAL(Port1, PIN0, HIGH);//PULL UP ^~~~~~~~~~~ ../main.c:11:5: error: unknown type name 'u8' u8 statuse=0; ^~ ../main.c:14:12: warning: implicit declaration of function 'GET_BIT_VAL'; did you mean 'GETBIT'? [-Wimplicit-function-declaration] if(GET_BIT_VAL(Port1, PIN0)==HIGH) ^~~~~~~~~~~ GETBIT gmake: *** [main.o] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished ****