contrib/firmware/angie: correct usb descriptor issues
Correct the issue of usb descriptor does not appear near the PID and VID, Cypress USB controller cannot handle direct pointers to memory CODE area, so we copy the data in the external RAM area and point to it. Change-Id: I3221627dc8576f6341b444acd9c554fd5cc47918 Signed-off-by: Ahmed BOUDJELIDA <aboudjelida@nanoxplore.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8736 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
9a150e326a
commit
18d5ea95e5
@@ -104,7 +104,7 @@ struct usb_endpoint_descriptor {
|
||||
struct usb_language_descriptor {
|
||||
uint8_t blength; /**< Size of this descriptor in bytes. */
|
||||
uint8_t bdescriptortype; /**< STRING descriptor type. */
|
||||
uint16_t wlangid[]; /**< LANGID codes. */
|
||||
uint16_t wlangid; /**< LANGID codes. */
|
||||
};
|
||||
|
||||
/** USB String Descriptor. See USB 2.0 Spec */
|
||||
|
||||
Reference in New Issue
Block a user