Bonjour à tous , j'ai un problème avec mikroC , en effet je vais programmer l'USB avec mon pic18f23k22 pour que je puisse enter un message depuis un clavier externe (autre que mon clavier de PC connecté au port avec un USB), et qu'il soit afficher sur le virtual terminal.
Après la compilation, j'ai des erreurs pourtant j'ai déjà ajouter le fichier discriptor usb :/
voici les erreurs affichées:
Aidez mois SVP et merci d'avanceCode:0 1 mikroCPIC1618.exe -MSF -DBG -pP18F23K22 -DL -O11111114 -fo8 -N"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\Examples\test-modification.mcppi" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\defs\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\uses\P18\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\Examples\" -SP"C:\Users\TOSHIBA\Desktop\" "test-modification.c" "USBdsc-test.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CType.mcl" "__Lib_CString.mcl" "__Lib_CStdlib.mcl" "__Lib_CMath.mcl" "__Lib_MemManager.mcl" "__Lib_Conversions.mcl" "__Lib_Sprintf.mcl" "__Lib_PrintOut.mcl" "__Lib_Sprinti.mcl" "__Lib_Sprintl.mcl" "__Lib_Time.mcl" "__Lib_Trigonometry.mcl" "__Lib_Button.mcl" "__Lib_Keypad4x4.mcl" "__Lib_Manchester.mcl" "__Lib_OneWire.mcl" "__Lib_PS2.mcl" "__Lib_Sound.mcl" "__Lib_SoftI2C.mcl" "__Lib_SoftSPI.mcl" "__Lib_SoftUART.mcl" "__Lib_ADC_K22.mcl" "__Lib_EEPROM_256.mcl" "__Lib_FLASH_w64_e64.mcl" "__Lib_I2C_c34b12.mcl" "__Lib_PWM_c21.mcl" "__Lib_PWM_b50a4.mcl" "__Lib_SPI_c345b123.mcl" "__Lib_UART_c67b67.mcl" "__Lib_PortExpander.mcl" "__Lib_CANSPI.mcl" "__Lib_CF.mcl" "__Lib_CFFat16.mcl" "__Lib_GlcdFonts.mcl" "__Lib_Glcd.mcl" "__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl" "__Lib_Mmc.mcl" "__Lib_MmcFat16.mcl" "__Lib_MmcFat16Constants.mcl" "__Lib_RS485.mcl" "__Lib_S1D13700.mcl" "__Lib_T6963C.mcl" "__Lib_SPIGlcd.mcl" "__Lib_SPILcd.mcl" "__Lib_SPILcd8.mcl" "__Lib_SPIT6963C.mcl" "__Lib_EthEnc28j60.mcl" "__Lib_EthEnc24j600.mcl" "__Lib_TouchPanel.mcl" 0 1139 Available RAM: 491 [bytes], Available ROM: 8192 [bytes] 0 126 All files Preprocessed in 62 ms 0 122 Compilation Started test-modification.c 70 1509 Generated baud rate is 9615 bps (error = 0.16 percent) test-modification.c 91 1509 Generated baud rate is 9615 bps (error = 0.16 percent) test-modification.c 104 123 Compiled Successfully test-modification.c 0 122 Compilation Started USBdsc-test.c 166 123 Compiled Successfully USBdsc-test.c 0 127 All files Compiled in 94 ms 0 360 Unresolved extern 'HID_Enable' test-modification.c 0 360 Unresolved extern 'HID_Enable' test-modification.c 0 360 Unresolved extern 'HID_Read' test-modification.c 0 360 Unresolved extern 'HID_Read' test-modification.c 0 360 Unresolved extern 'HID_Write' test-modification.c 0 360 Unresolved extern 'HID_Write' test-modification.c 0 360 Unresolved extern 'USB_Interrupt_proc' test-modification.c 0 360 Unresolved extern 'USB_Interrupt_proc' test-modification.c 0 102 Finished (with errors): 02 juin 2015, 12:49:08 test-modification.mcppi
-----