µVision Build Log
Project:
E:\ARM\Keil\HLDI_107\hldi_107.uvproj Project File Date: 01/03/2018Output:
Build target 'hldi_107' compiling capture.c... compiling common.c... compiling comport.c... compiling dprint.c... compiling laser.c... compiling main.c... compiling motor.c... compiling prot.c... compiling Retarget.c... compiling step.c... compiling tab_acc_76k_6000.c... compiling usb_desc.c... SRC\usb_desc.c(42): error: #20: identifier "IN_REPORT_SIZE" is undefined SRC\usb_desc.c(49): error: #20: identifier "OUT_REPORT_SIZE" is undefined SRC\usb_desc.c(166): error: #20: identifier "USB_DEVICE_DESC_TYPE" is undefined (BYTE) USB_DEVICE_DESC_TYPE, // bDescriptorType Тип дескриптора - DEVICE SRC\usb_desc.c(172): error: #20: identifier "USB_VID_HID" is undefined (USHORT) USB_VID_HID, // idVendor код производителя SRC\usb_desc.c(173): error: #20: identifier "USB_PID_HID" is undefined (USHORT) USB_PID_HID, // idProduct код продукта SRC\usb_desc.c(182): error: #20: identifier "USB_CFG_DESCRIPTOR" is undefined const USB_CFG_DESCRIPTOR USB_CFG_DESC_HID __attribute__((used,section("usb_desc_cfg")))={ KB: Unexpected type: 0 error type>(184): error: #20: identifier "USB_CFG_DESCRIPTOR" is undefined (BYTE) sizeof(USB_CFG_DESCRIPTOR), // bLength длина дескриптора конфигурации SRC\usb_desc.c(185): error: #20: identifier "USB_CFG_DESC_TYPE" is undefined (BYTE) USB_CFG_DESC_TYPE, // bDescriptorType тип дескриптора - конфигурация SRC\usb_desc.c(186): error: #20: identifier "TOTAL_SIZE_CFG_HID" is undefined (USHORT) TOTAL_SIZE_CFG_HID, // wTotalLength общий размер всего дерева под данной конфигурацией в байтах SRC\usb_desc.c(191): error: #20: identifier "USB_CFG_BUS_POWERED" is undefined (BYTE) USB_CFG_BUS_POWERED, // bmAttributes признак того, что устройство будет питаться от шины USB SRC\usb_desc.c(192): error: #20: identifier "USB_MAX_POWER" is undefined (BYTE) USB_MAX_POWER(100) // MaxPower, mA и ему хватит 100 мА SRC\usb_desc.c(192): error: #59: function call is not allowed in a constant expression (BYTE) USB_MAX_POWER(100) // MaxPower, mA и ему хватит 100 мА SRC\usb_desc.c(196): error: #20: identifier "USB_IFACE_DESCRIPTOR" is undefined const USB_IFACE_DESCRIPTOR USB_IFACE_DESC_HID __attribute__((used,section("usb_desc_cfg")))={ KB: Unexpected type: 0 error type>(199): error: #20: identifier "USB_IFACE_DESC_TYPE" is undefined (BYTE) USB_IFACE_DESC_TYPE, // bDescriptorType тип дескриптора - интерфейс SRC\usb_desc.c(202): error: #20: identifier "N_EP" is undefined (BYTE) N_EP-1, // bNumEndpoints количество КТ (без 0-й). SRC\usb_desc.c(209): error: #20: identifier "USB_HID_DESCRIPTOR" is undefined const USB_HID_DESCRIPTOR USB_HID_DESC __attribute__((used,section("usb_desc_cfg")))={ KB: Unexpected type: 0 error type>(212): error: #20: identifier "HID_DESCRIPTOR_TYPE" is undefined (BYTE) HID_DESCRIPTOR_TYPE, // bDescriptorType тип дескриптора - HID SRC\usb_desc.c(216): error: #20: identifier "HID_REPORT_DESC" is undefined (BYTE) HID_REPORT_DESC, // bDescriptorType тип дескриптора - REPORT SRC\usb_desc.c(219): error: #20: identifier "USB_EP_DESCRIPTOR" is undefined const USB_EP_DESCRIPTOR USB_EP_DESC1_HID __attribute__((used,section("usb_desc_cfg")))={ KB: Unexpected type: 0 error type>(221): error: #20: identifier "USB_EP_DESCRIPTOR" is undefined (BYTE) sizeof(USB_EP_DESCRIPTOR), // bLength SRC\usb_desc.c(222): error: #20: identifier "USB_EP_DESC_TYPE" is undefined (BYTE) USB_EP_DESC_TYPE, // bDescriptorType SRC\usb_desc.c(223): error: #20: identifier "USB_EP_IN" is undefined (BYTE) USB_EP_IN(1), // bEndpointAddress (IN:HOST<-Device, OUT:HOST->Device) SRC\usb_desc.c(223): error: #59: function call is not allowed in a constant expression (BYTE) USB_EP_IN(1), // bEndpointAddress (IN:HOST<-Device, OUT:HOST->Device) SRC\usb_desc.c(224): error: #20: identifier "USB_EP_TYPE_INT" is undefined (BYTE) USB_EP_TYPE_INT, // bmAttributes Interrupt SRC\usb_desc.c(225): error: #20: identifier "EP_IN_PACKET_SIZE" is undefined (USHORT) EP_IN_PACKET_SIZE, // wMaxPacketSize SRC\usb_desc.c(242): warning: #1294-D: Old-style function _USB_LANG_ID_ _USB_LANG_ID_ (LANG_US) SRC\usb_desc.c(243): error: #169: expected a declaration _USB_STRING_(wVendor, L"SimT corp.") SRC\usb_desc.c(247): warning: At end of source: #12-D: parsing restarts here after previous syntax error SRC\usb_desc.c(247): error: At end of source: #130: expected a "{" SRC\usb_desc.c(247): error: At end of source: #67: expected a "}" SRC\usb_desc.c: 2 warnings, 28 errors compiling usb_ini.c... assembling startup.s... startup.s: error: A3900U: Unrecognized option '-D'. ".\OBJ\hldi_107.axf" - 29 Error(s), 2 Warning(s). Target not created 00U: Unrecognized option '-D'. ".\OBJ\hldi_107.axf" - 31 Error(s), 2 Warning(s). Target not created _(wVendor, L"SimT corp.") SRC\usb_desc.c(247): warning: At end of source: #12-D: parsing restarts here after previous syntax error SRC\usb_desc.c(247): error: At end of source: #130: expected a "{" SRC\usb_desc.c: 2 warnings, 30 errors compiling usb_ini.c... assembling startup.s... startup.s: error: A3900U: Unrecognized option '-D'. ".\OBJ\hldi_107.axf" - 32 Error(s), 2 Warning(s). Target not created