successfully ported the tinyUSB stack to the STM32G0 core :-) :-) :-) #1757
Replies: 7 comments 5 replies
-
It is great to hear you get tinyusb running on G0. Since G0 using the same fsdev driver, both the .c and .h should be updated accordingly with ifdef where needed. Adding new files is not necessary since it will cause more work than needed to maintaining the driver. Feel free to submit PR when you think it is ready, people will help to review and get it merged. |
Beta Was this translation helpful? Give feedback.
-
Are you sure you must add G0 support to fsdev driver? |
Beta Was this translation helpful? Give feedback.
-
I heard that fsdev is deprecated and will be removed from tinyusb... |
Beta Was this translation helpful? Give feedback.
-
Hi @Commotari Can you share your port of the TinyUSB to the STM32G0? |
Beta Was this translation helpful? Give feedback.
-
Hi @Commotari, how did you go merging your changes into the existing driver? I'm interested in getting the g0 chip going myself so would be happy to help, even if you wanted to share your split off files I could help with combining it all? |
Beta Was this translation helpful? Give feedback.
-
I didn't have time to wait for the OP to share the code, so I tried to help myself. Seems to work on my machine (tm) @andrewleech @MikeEmbedded would be great if you could test on your hardware, |
Beta Was this translation helpful? Give feedback.
-
hello guys,
in the archive are the two updated fsdev files that i modified for my
STM32G0B1xx mcu.
so far the device presents itself when plugging the stm32 device in my
windows notebook and with some compatibility check software, all seemed
working. (descriptor download works fine).
now as i am starting to implement a HID device with an additional raw
channel, i will see if everything will work stable longterm. will still
take a few days to confirm.
but as the descriptor exchange is always working fine, i assume that all
the other things should work as well.
Am Mi., 8. März 2023 um 12:55 Uhr schrieb Hubert Denkmair <
***@***.***>:
… I didn't have time to wait for the OP to share the code, so I tried to
help myself.
Was quite a bit of work and the result is somewhat ugly, but I created a
RFC PR: #1942 <#1942>
Seems to work on my machine (tm)
@andrewleech <https://github.com/andrewleech> @MikeEmbedded
<https://github.com/MikeEmbedded> would be great if you could test on
your hardware,
@hathach <https://github.com/hathach> looking forward for some review &
advice :)
—
Reply to this email directly, view it on GitHub
<#1757 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZTPL4NEQYWXYHI3ZKVQP3DW3BXTBANCNFSM6AAAAAASKI2PRI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I just ported the existing code from dcd_stm32_fsdev.c and dcd_stm32_fsdev_pvt_st.h to run on my STM32G0B1RE Nucleus board :-) :-)
How is the process of contributing to this repository?
Because the changes to the existing files are a bit more than nothing, i added new files with 'g0' added to the file name.
Also the header file needed some changes because there are a lot of inline functions inside that I changed.
So I decided to add new files and not trying to squeeze the changes into the existing files with tons of ifdef macros.
greetings,
Stefan from Linz, Austria (aka WhyLee).
Beta Was this translation helpful? Give feedback.
All reactions