Reintegrate the FullEPAddresses development branch into trunk.
This commit is contained in:
parent
e8570c4a37
commit
47f6a35013
265 changed files with 2120 additions and 2486 deletions
|
|
@ -17,10 +17,27 @@
|
|||
* - The HID_DESCRIPTOR_JOYSTICK() macro no longer takes a variable number of axis as a parameter, due to OS incompatibilities; this macro now uses a fixed
|
||||
* 3 axis of data. User applications should update their calls to this macro and their report structures to suit a fixed 3-axis joystick report. If a user
|
||||
* application requires more than 3 axis' of data, a custom report descriptor will need to be constructed by hand.
|
||||
* - The \ref Endpoint_ConfigureEndpoint() function no longer takes in masks for the banks and direction; the number of banks is now an integer argument, and
|
||||
* the direction is obtained from the full endpoint address within the device. Applications calling Endpoint_ConfigureEndpoint() should update their API
|
||||
* call to use a full endpoint address (including ENDPOINT_DIR_IN or ENDPOINT_DIR_OUT direction in the MSB of the endpoint address) and an integer number
|
||||
* of banks.
|
||||
* - All endpoint functions now operate on full endpoint addresses within the device, rather than a directionless endpoint index. Applications should update
|
||||
* their API calls to use full endpoint addresses when required within the device.
|
||||
* - All device mode class drivers have been updated to use a new unified endpoint description structure for all endpoints; existing applications will need
|
||||
* to update their class driver struct instantiation to match the new scheme (see \ref USB_Endpoint_Table_t).
|
||||
* - The \c ENDPOINT_BANKS_SUPPORTED() and \c ENDPOINT_MAX_ENDPOINT_SIZE() macros have been removed, as these do not function correctly with the new addressing
|
||||
* scheme for the endpoint APIs. Please refer to the target device's datasheet for the maximum bank size of each endpoint.
|
||||
*
|
||||
* <b>Host Mode</b>
|
||||
* - The Android Accessory Host class driver property strings are now a array of \c char* rather than a struct of named pointers. Existing applications
|
||||
* should use C99 Designated Initializers with the property string indexes located in \ref AOA_Strings_t instead.
|
||||
* - The \ref Pipe_ConfigurePipe() function no longer takes in masks for the banks and token; the number of banks is now an integer argument, and the token
|
||||
* is now inferred from the full pipe address within the device, and the pipe type. Applications calling Pipe_ConfigurePipe() should update their API
|
||||
* call to use a full pipe address (including PIPE_DIR_IN or PIPE_DIR_OUT direction in the MSB of the pipe address) and an integer number of banks.
|
||||
* - All pipe functions now operate on full pipe addresses within the device, rather than a directionless pipe index. Applications should update their API
|
||||
* calls to use full pipe addresses when required within the device.
|
||||
* - All host mode class drivers have been updated to use a new unified pipe description structure for all pipes; existing applications will need to update
|
||||
* their class driver struct instantiation to match the new scheme (see \ref USB_Pipe_Table_t).
|
||||
*
|
||||
* \section Sec_Migration120219 Migrating from 111009 to 120219
|
||||
* <b>USB Core</b>
|
||||
|
|
@ -130,7 +147,7 @@
|
|||
* eliminate any casting of descriptor pointers to a non \c const pointer.
|
||||
* - The names of the class specific descriptor type defines in the USB Class drivers have changed - refer to the driver documentation
|
||||
* for each class driver for the new class specific descriptor type names.
|
||||
* - The \c ENDPOINT_DOUBLEBANK_SUPPORTED() macro is has been renamed \ref ENDPOINT_BANKS_SUPPORTED() and now returns the total number of
|
||||
* - The \c ENDPOINT_DOUBLEBANK_SUPPORTED() macro is has been renamed \c ENDPOINT_BANKS_SUPPORTED() and now returns the total number of
|
||||
* banks supported by the given endpoint. Existing code should switch to the new naming scheme, and test that the return value of the
|
||||
* macro is equal to or greater than 2 to regain the previous functionality.
|
||||
* - The \c EVENT_USB_Device_UnhandledControlRequest() event is now named \ref EVENT_USB_Device_ControlRequest() and fires before (not after)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue