You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases the USB port is not only used for communication. If it used for charging it is necessary to set the maximum current via "Configuration Descriptor".
In some cases the USB port is not only used for communication. If it used for charging it is necessary to set the maximum current via "Configuration Descriptor".
state of the art:
in https://github.com/zephyrproject-rtos/zephyr/blob/master/subsys/usb/usb_descriptor.c#L91 it is set fixed to 100mA
approach:
Find a way to set the "Configuration Descriptor" to 500mA (0xFA or MAX_HIGH_POWER(https://github.com/zephyrproject-rtos/zephyr/blob/master/include/usb/usb_common.h#L88)) as demo for usb2.0 devices
discuss if the power is set via device tree or via (menu)config
The text was updated successfully, but these errors were encountered: