-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
esp_tinyuf2 firmware update (IDFGH-12092) #13150
Comments
Hello @kaspernyhus thank you for the issue. That is a very reasonable requirement, however, at the moment these two components do not work together. cc @leeebo |
Hi Tomas, thanks for getting back. I need HID and USB Audio which I pulled into Which approach would you recommend:
thanks a lot! |
@kaspernyhus Yes, I recommend you pick the esp_tinyuf2 code to your tinyusb project, just like what you have done for adding UAC class to
If you have enough flash space, it's a good idea to build a separate UF2-enabled APP then flash to a separate partition, in this case you don't need to merge the code. please refer boot-from-test-firmware and the esp-box chatgpt demo |
@leeebo thank you so much for your answer. I have checked the boot-from-test-firmware documentation. Is it only possible to boot from a test partition by using a GPIO pin? Is there any method that can be used to software reboot in a different partition? Thanks again! |
@StevenMacias Sure, you can use API |
@leeebo Thanks again for the fast and useful reply. Currently we are using the |
@StevenMacias If using Then you have to judge by the uf2 file name, and choose corresponding partition to write during the OTA process. |
Thanks for the help, we went the simple route with one uf2 partition. Will close this. |
Answers checklist.
IDF version.
v5.1.2
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Use esp_tinyuf2 along features from the esp_tinyusb component
What is the actual behavior?
not compiling/linking
Steps to reproduce.
add to idf-component.yml
Build or installation Logs.
No response
More Information.
I am developing an appication that will use UF2 for firmware updates and other usb features found in the esp_tinyusb component. Is is possible to have these features at the same time? Booting between modes for UF2/non-UF2 is fine, if the tinyusb stacks have to be initialized with different paramters.
The text was updated successfully, but these errors were encountered: