Arrow / Mbed OS DAPLink Reset
Embed: (wiki syntax)

« Back to documentation index

Adapt Vendor Commands

Adapt Vendor Commands

The file DAP_vendor.c provides template source code for extension of a Debug Unit with Vendor Commands. More...

Functions

uint32_t DAP_ProcessVendorCommand (const uint8_t *request, uint8_t *response)
 Process DAP Vendor Command and prepare Response Data.

Detailed Description

The file DAP_vendor.c provides template source code for extension of a Debug Unit with Vendor Commands.

Copy this file to the project folder of the Debug Unit and add the file to the MDK-ARM project under the file group Configuration.


Function Documentation

uint32_t DAP_ProcessVendorCommand ( const uint8_t *  request,
uint8_t *  response 
)

Process DAP Vendor Command and prepare Response Data.

Parameters:
requestpointer to request data
responsepointer to response data
Returns:
number of bytes in response (lower 16 bits) number of bytes in request (upper 16 bits)

Definition at line 63 of file DAP_vendor.c.