-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure the peripherals are controllable with Zephyr #112
Comments
Currently it's possible to use USB as STOUD, this can be proven by running the zephyr/samples/subsys/usb/console test. However when trying to run a more basic test (such as zephyr/samples/helloworld) were devicetree APIs are not used to configure and enable USB like in the example above the laptop doesn't detect the bloodlight board, which makes me think that USB has not been enabled. Next steps have to be:
In order to write a value to the register HAL_PCD_DevConnect might help. The next might be helpful: Taken from stm32cube/stm32g4xx |
Answer to point 1 on previous comment:
|
I used zephyr/samples/susbsys/usb/console to test the usb configuration. This way i found out that Zephyr expects the app to enable usb and not the usb driver, so this should be handled by us in the firmware. To enable usb usb_enable() must be used. Some notes about this: Zephyr Release Notes 2.2
[0] Zephyr Release Notes 2.4
[1] |
This issue will be discussed in CodethinkLabs/bloodlight-zephyr#4 in the future |
Moved to here: https://github.com/CodethinkLabs/bloodlight-zephyr |
Work happening in: https://github.com/CodethinkLabs/bloodlight-firmware/tree/ikerperez/zephyr-board-porting
The text was updated successfully, but these errors were encountered: