USB VCP for STM32F042

General discussion on mikroBasic PRO for ARM.
Post Reply
Author
Message
scskits
Posts: 7
Joined: 26 Jul 2017 02:10

USB VCP for STM32F042

#1 Post by scskits » 17 Dec 2023 21:47

Has anyone tried to get a USB VCP running on one of the smaller STM32 devices like the STM32F042??
The example code in the library only supports a limited number of devices all of which are STM32F105 and higher.
I need to keep the size as small as possible, so looking at the STM32F042 (32K FLASH, 6K RAM) in the LQFP32 package.
The best I can do in the STM32F105 is the LQFP64 package.

Thank you

ed

AntiMember
Posts: 135
Joined: 02 Jan 2020 19:00

Re: USB VCP for STM32F042

#2 Post by AntiMember » 18 Dec 2023 08:19

It’s a mystery to me why mikroe limited the CDC library on the OTG...
After all, it is built on the basis of STM libraries, where there are no such restrictions.

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: USB VCP for STM32F042

#3 Post by IvanJeremic » 21 Dec 2023 15:31

Unfortunately, the STM32F0 family is not supported in our library on Libstock.

You can use Necto Studio (it is free as long as you are not using it for commercial purposes) since the STM32F042 is supported in Necto.
https://www.mikroe.com/necto

Regards,

Ivan.

Post Reply

Return to “mikroBasic PRO for ARM General”