[Solved] Serial USB for Blue Pill board

Generic boards that are not Maple or Maple mini clones, and don't contain the additional USB reset hardware
stevestrong
Posts: 3053
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: Serial USB for Blue Pill board

Post by stevestrong » Thu Jan 03, 2019 4:33 pm

Under the link you have been warned that the boards manager package installation method of Roger's core is deprecated and not supported by this forum.

fredbox
Posts: 211
Joined: Tue Jul 07, 2015 4:44 pm

Re: [Solved] Serial USB for Blue Pill board

Post by fredbox » Thu Jan 03, 2019 5:11 pm

But this cannot be found in the documentation so far.
If you need something that has good documentation, I suggest that you pick up a copy of the book "Beginning STM32" by Warren Gay. This book is written for the Blue Pill, but doesn't use the Arduino or any of the cores or libraries found on this forum. If you have a Safari Books account, you can read it there. Google books has some of it: https://books.google.com/books?id=UYteD ... &q&f=false

User avatar
mrburnette
Posts: 3001
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: [Solved] Serial USB for Blue Pill board

Post by mrburnette » Fri Jan 04, 2019 3:39 am

No need to buy a book if you are not looking for Arduino-ish info:
Discovering the STM32 Microcontroller
https://www.google.com/url?sa=t&source= ... n/book.pdf

User avatar
lsmod
Posts: 65
Joined: Mon Dec 24, 2018 4:36 pm
Location: Germany

Re: [Solved] Serial USB for Blue Pill board

Post by lsmod » Fri Jan 04, 2019 12:32 pm

Thank you for the book recommendations!

Here are the files for the book from Warren Gay:
https://github.com/Apress/Beg-STM32-Dev ... pencm3-GCC


stevestrong wrote:
Thu Jan 03, 2019 4:33 pm
Under the link you have been warned that the boards manager package installation method of Roger's core is deprecated and not supported by this forum.
No need for warnings.
The problem has been solved within my expectations - everything is fine now! :D

fredbox
Posts: 211
Joined: Tue Jul 07, 2015 4:44 pm

Re: [Solved] Serial USB for Blue Pill board

Post by fredbox » Fri Jan 04, 2019 10:46 pm


User avatar
lsmod
Posts: 65
Joined: Mon Dec 24, 2018 4:36 pm
Location: Germany

Re: [Solved] Serial USB for Blue Pill board

Post by lsmod » Sun Jan 06, 2019 10:40 am

I like the book from Warren Gay to understand some basic things.
Mostly he writes what i am really interested for and points out the basic facts.

But it is a problem that he is using examples that base on FreeRTOS and libopencm3,
but STM32duino is basing on the Leaflabs based core viewtopic.php?f=2&t=3111.

That's really annoying and very unpractical.
You read about an good example, understand it, but you cannot use it in STM32duino. :(
Then you have to search an working example for STM32duino and must understand again.
Regulary you will find not an similar example and you are standing there frustrated without an solution ...

How can this problem be solved?
Is the only solution to drop STM32duino and go his way without Arduino?
(Same idea in the middle of 2016 http://stm32duinoforum.com/forum/viewtopic.php?t=1218)

As i have written i see the main advantage of Arduino to use existant libraries for external components like sensors and displays etc.
But in the wiki i can't found any positive feedback about this http://stm32duinoforum.com/forum/index.php?t ... :Libraries ?


(Maybe this should be moved to the General discussion?)

stevestrong
Posts: 3053
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: [Solved] Serial USB for Blue Pill board

Post by stevestrong » Sun Jan 06, 2019 2:00 pm

lsmod wrote:
Fri Jan 04, 2019 12:32 pm
The problem has been solved within my expectations - everything is fine now! :D
If solved, then leave it that way.
Open a new topic for any other question.

User avatar
Rick Kimball
Posts: 1400
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US
Contact:

Re: [Solved] Serial USB for Blue Pill board

Post by Rick Kimball » Sun Jan 06, 2019 2:01 pm

For a long while this thread was staying on topic. If you want to talk about books and documentation start another topic. I've locked this topic.
lsmod wrote:
Thu Jan 03, 2019 10:42 am
At least USB functionality can be added as usual as a library via "#include ".
But this cannot be found in the documentation so far.
To answer your original question, the reason the USBComposite library isn't documented in the core is because it is a newly included user library. User libraries typically aren't packaged with cores, however Arduino_STM32 isn't usual is it :) User libraries usually are born from a blog entry or forum post. User libraries typically provide most of their documentation with examples.

This library follows that path:

See: viewtopic.php?f=13&t=2926&hilit=USBComposite
See: https://github.com/rogerclarkmelbourne/ ... e/examples
-rick

Locked