include: usb: add iterable section in ram for usb_cfg_data
Add iterable section in ram for struct usb_cfg_data and new makro USBD_DEFINE_CFG_DATA which should be used to define usb_cfg_date structures. Deprecate makro USBD_CFG_DATA_DEFINE. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
parent
dfb7a5952f
commit
b1356e969d
3 changed files with 11 additions and 2 deletions
|
@ -129,6 +129,7 @@
|
|||
KEEP(*(SORT_BY_NAME(".usb.data*")))
|
||||
__usb_data_end = .;
|
||||
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
||||
ITERABLE_SECTION_RAM(usb_cfg_data, 4)
|
||||
#endif /* CONFIG_USB_DEVICE_STACK */
|
||||
|
||||
#if defined(CONFIG_USB_DEVICE_BOS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue