Full description not available
A**1
This is a how-to for STM32, FreeRTOS, libopencm3, and gcc for makers and engineers.
Some context and perspective. I am an experienced software engineer working mostly on embedded Linux. I started tinkering with Arduino a couple of years ago, and yes they are fun, but the single threading causes complications that are inherently not present in multi-threaded systems.The author offers a set of recipes for using the various peripherals on the STM32, and doing so with FreeRTOS and thus providing a multi-threaded environment.Whats great about this book is that the author has provided a functional framework from which to quickly get started with working examples, and explanations. Sure I could do the research, and figure out the details, but its far more fun to make progress upfront rather than spend days/weeks/months getting started.I think this book works for the maker, all the way to an experienced engineer. Although I'm writing this before doing the exercises, I'm unconcerned that there might be some technical errors or typos that could cause some headaches (if they exist) because the book illustrates the things that need to be configured, how to configure them, and how to use them. I fully expect to have to troubleshoot things that I setup/implement incorrectly, or where there might be a typo.
A**R
My process that has worked for me. Please read if you are struggling.
I installed the oldest version of Ubuntu I could find which was 18.04. Before allowing any updates or up grades I installed all the programs per the instructions in this book. I started reading the book and doing the exercises. At one point I was prompted by the computer to install an additional requirement so I googled it and found installation instructions for that requirement. I was able to "make flash" the first project and get a blinking led. I then ran system updates. I have since completed the next project with success and am now up to chapter 7. I hope this helps anyone that may be struggling. This is an excellent book and is very informative.
R**E
Great STM32 C Book
For those who like C and RTOS, this is a great book to get your feet wet on STM32, using the cheap "blue pill".Covers everything in sufficient detail to get you started.Does not go into ARM assembler details, this is strictly a C source level book. Excellent work.
A**H
Save yourself the headache and start with Linux
I just bought the book so I can't rate it yet for the content as it relates to the subject matter. However, I'm leaving a review now to give a heads up to anyone interested as of this posting.Save yourself the drama in regards to setting up the tool chain required for use in this book and install Linux. I don't care how you do it, e.g., dual boot Windows, native install, or a VM. My suggestion is learn how to do a dual boot if you're using windows and go from there.I tried several times to get this working via Windows and just ran into too many issues. I am a Software Engineer by day so I'm pretty used to dealing with tedious and challenging setups. However, in my spare time I try to avoid this type of drama like the plague. So again, if you go the Windows route first and start having issues go with Linux.Also, it sucks, but you really need to pay attention and follow the instructions to the letter if you don't want to have to hack around and change config/make files to get stuff working. Just following the instructions "AS-IS" and just maybe after several attempts God will smile on your efforts (sarcasm).Now that I have the tool chain setup properly (two day effort) I'll be back later to actually rate the book...hope it was worth it.
L**E
Good Primer but not updated
You will need to have access to older Windows or Linux OS levels. I did find most of the lab gear at Amazon. Still working my way though the material. Recommend for all ages.
J**J
Very detailed, low level, hand holding, good
Very detailed, low level, hand holding, good.The descriptions are there for what you need. Clear English.The approach is fairly low level, but if you're going for STM32 why not?I'd recommend this to anybody who already knows how to code and feels comfortable with Arduino and soldering.
W**L
Basic Features not explained
I would not recommend that book. It is too shallow and does not cover the basics at all - the author's approach is to load a library for everything. This book doesn't teach the basics - for example, you won't learn how to configure a GPIO pin change (rising / falling edge) interrupt handler (ISR) from this book. Some of the examples are too academic - for example, the author shows how to do non-blocking UART transmission using message queues (using polling and yield within tasks if the UART TX is still busy). It would have been *so much more interesting* (and more relevant for the practitioner) to learn how to RECEIVE from the UART, using interrupts, message queues and tasks instead. I am still puzzled - to receive data from the UART in the same way, would I use a task that polls the RX pin for incoming messages, and yields if nothing is available? Polling in a task seems ugly - rather, for a real-world application, there should be a way to invoke an ISR (or run a task) when UART RX data becomes available. I hope to learn these essentials in a 2nd edition. Especially, since these are amonst the most basic examples for ISRs (and tasks?) that are usually taught in AVR / ATmega / Arduino programming books. I am a bit disappointed, there are a lot of wasted opportunities in this book. What's worse - page 93 simply lists the Interrupt-related prototypes from libopencm3 for the UART, usart_enable_rx_interrupt, etc. And not a single word of explanation or example! What's the point of even listing these prototypes here?? Sorry, but this is REALLY bad. Save your money and study the examples from the libopencm3 Github repo instead.
P**
Good book for beginner
This is a good book for beginner. It explains in very detail for how to control the peripherals of STM32 Blue Pill board.
E**D
Excellent value.
This is a must have book if you want to try your hand at programming an ARM without using the Arduino framework. Well thought out content with great examples. Pretty much everything in this book is online in some shape or form, but what is your time worth?
A**A
Excellent STM32 book
If you want to program STM32 more seriously instead of playing around with Arduino, then this book is for you.
F**R
Un livre complet au allure de tutoriel
Ce livre est parfait si vous souhaitez commencer à programmer avec votre STM32 dans un environnement Open-Source. Cependant il n'est pas adapté aux débutants en informatique car il faut connaître les commandes Linux et l'architecture des microcontrôleurs.
J**M
Excellent introduction to libopencm3 and FreeRTOS
I've been using STM's HAL libraries but find them too high level, while bare metal programming (search for Frank Duignan's excellent posts online) are a bit too low level for me. I wanted to get to know the libopencm3 libraries as an option and this book did it for me while introducing FreeRTOS at the same time. The author does give helpful pointers on where to find more detailed information in STM32 F1 reference manual and the libopencm3 documentation. I may find myself eventually reading all 1000+ pages of the RM0008 manual, but reading this book first gave me a good overview and understanding. You can check out the contents of each chapter on apress dot com
M**O
Lettura consigliata per iniziare con gli STM32 e FreeRTOS
Un libro molto ben scritto e molto scorrevole con un mucchio di esempi, dedicato però a chi già sa programmare in C (o C++) a livello intermedio. Già durante la configurazione dell’ambiente di sviluppo possono verificarsi intoppi dovuti all’evoluzione del software e delle procedure di installazione sui vari sistemi operativi, per cui è necessaria un minimo di esperienza pregressa con la configurazione delle toolchain di GCC.Dopodiché tutti gli esempi sono disponibili su GitHub, il testo è chiaro e semplice da seguire, le sezioni importanti e quelle che devono essere sempre presenti sono indicate con chiarezza.Assolutamente raccomandato a tutti quelli a cui i vari Arduino e similari iniziano a stare stretti e vogliono iniziare a guardare oltre il mondo degli ATMega e della programmazione a singolo task.
Trustpilot
3 weeks ago
1 month ago