mirror of
https://github.com/XIVN1987/DAPLink.git
synced 2026-09-26 22:16:11 +00:00
update CMSIS-DAP to v2.1.0
This commit is contained in:
+1
-2
@@ -61,7 +61,7 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src/Startup}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src/USBD}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/core/DAP}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/core/DAP/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/core/SWD_host}""/>
|
||||
</option>
|
||||
<option id="ilg.gnumcueclipse.managedbuild.cross.riscv.option.c.compiler.std.2020844713" name="Language standard" superClass="ilg.gnumcueclipse.managedbuild.cross.riscv.option.c.compiler.std" useByScannerDiscovery="true" value="ilg.gnumcueclipse.managedbuild.cross.riscv.option.c.compiler.std.gnu99" valueType="enumerated"/>
|
||||
@@ -140,5 +140,4 @@
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||
|
||||
</cproject>
|
||||
|
||||
+687
-404
File diff suppressed because it is too large
Load Diff
@@ -28,20 +28,22 @@ const uint8_t HID_ReportDesc_FS[] =
|
||||
/* HID Report Descriptor (HS) */
|
||||
const uint8_t HID_ReportDesc_HS[] =
|
||||
{
|
||||
0x06, 0x00, 0xFF, // Usage Page = 0xFF00 (Vendor Defined Page 1)
|
||||
0x09, 0x01, // Usage (Vendor Usage 1)
|
||||
0xA1, 0x01, // Collection (Application)
|
||||
0x19, 0x01, // Usage Minimum
|
||||
0x29, 0x40, // Usage Maximum //64 input usages total (0x01 to 0x40)
|
||||
0x15, 0x00, // Logical Minimum (data bytes in the report may have minimum value = 0x00)
|
||||
0x26, 0xFF, 0x00, // Logical Maximum (data bytes in the report may have maximum value = 0x00FF = unsigned 255)
|
||||
0x75, 0x08, // Report Size: 8-bit field size
|
||||
0x95, 0x40, // Report Count: Make sixty-four 8-bit fields (the next time the parser hits an "Input", "Output", or "Feature" item)
|
||||
0x81, 0x00, // Input (Data, Array, Abs): Instantiates input packet fields based on the above report size, count, logical min/max, and usage.
|
||||
0x19, 0x01, // Usage Minimum
|
||||
0x29, 0x40, // Usage Maximum //64 output usages total (0x01 to 0x40)
|
||||
0x91, 0x00, // Output (Data, Array, Abs): Instantiates output packet fields. Uses same report size and count as "Input" fields, since nothing new/different was specified to the parser since the "Input" item.
|
||||
0xC0 // End Collection
|
||||
0x06, 0x00, 0xff, // USAGE_PAGE (Vendor Defined Page 1)
|
||||
0x09, 0x01, // USAGE (Vendor Usage 1)
|
||||
0xa1, 0x01, // COLLECTION (Application)
|
||||
0x09, 0x02, // USAGE (Vendor Usage 2)
|
||||
0x15, 0x00, // LOGICAL_MINIMUM (0)
|
||||
0x26, 0xff, 0x00, // LOGICAL_MAXIMUM (255)
|
||||
0x75, 0x08, // REPORT_SIZE (8)
|
||||
0x96, 0x00, 0x02, // REPORT_COUNT (512)
|
||||
0x81, 0x00, // INPUT (Data,Ary,Abs)
|
||||
0x09, 0x02, // USAGE (Vendor Usage 2)
|
||||
0x15, 0x00, // LOGICAL_MINIMUM (0)
|
||||
0x26, 0xff, 0x00, // LOGICAL_MAXIMUM (255)
|
||||
0x75, 0x08, // REPORT_SIZE (8)
|
||||
0x96, 0x00, 0x02, // REPORT_COUNT (512)
|
||||
0x91, 0x00, // OUTPUT (Data,Ary,Abs)
|
||||
0xc0 // END_COLLECTION
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
#define __CC_ARM
|
||||
|
||||
#define __STATIC_INLINE static inline
|
||||
|
||||
#define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
|
||||
|
||||
#define __WEAK __attribute__((weak))
|
||||
|
||||
Reference in New Issue
Block a user