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.stevestrong wrote: ↑Sat Dec 29, 2018 8:38 pmhttp://stm32duinoforum.com/forum/index.php?title=Installation
[Solved] Serial USB for Blue Pill board
-
- Posts: 3053
- Joined: Mon Oct 19, 2015 12:06 am
- Location: Munich, Germany
- Contact:
Re: Serial USB for Blue Pill board
Re: [Solved] Serial USB for Blue Pill board
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=falseBut this cannot be found in the documentation so far.
- mrburnette
- Posts: 3001
- Joined: Mon Apr 27, 2015 12:50 pm
- Location: Greater Atlanta
- Contact:
Re: [Solved] Serial USB for Blue Pill board
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
Discovering the STM32 Microcontroller
https://www.google.com/url?sa=t&source= ... n/book.pdf
Re: [Solved] Serial USB for Blue Pill board
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
The problem has been solved within my expectations - everything is fine now!
Here are the files for the book from Warren Gay:
https://github.com/Apress/Beg-STM32-Dev ... pencm3-GCC
No need for warnings.stevestrong wrote: ↑Thu Jan 03, 2019 4:33 pmUnder 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.
The problem has been solved within my expectations - everything is fine now!

Re: [Solved] Serial USB for Blue Pill board
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?)
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?)
-
- Posts: 3053
- Joined: Mon Oct 19, 2015 12:06 am
- Location: Munich, Germany
- Contact:
- 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
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.
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
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

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