Added new TOTAL_NUM_CONFIGURATIONS option, removed USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility).
Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
This commit is contained in:
@@ -26,6 +26,12 @@
|
||||
* parameter, to add support for multi-configuration devices. Existing code should use a configuration index of 1 to indicate the
|
||||
* first configuration descriptor within the device.
|
||||
*
|
||||
* <b>Device Mode</b>
|
||||
* - The \ref CALLBACK_USB_GetDescriptor() function now takes an extra parameter to specify the descriptor's memory space so that
|
||||
* descriptors in mixed memory spaces can be used. The previous functionality can be returned by defining the USE_FLASH_DESCRIPTORS
|
||||
* token in the project makefile to fix all descriptors into FLASH space and remove the extra function parameter.
|
||||
*
|
||||
*
|
||||
* \section Sec_Migration090605 Migrating from 090510 to 090605
|
||||
*
|
||||
* <b>Device Mode</b>
|
||||
|
||||
Reference in New Issue
Block a user