Tagged: printf

Library 41- STDIO implementation for STM32F4 11

Library 41- STDIO implementation for STM32F4

After I made a tutorial on how to use printf with STM32F4, I decided to make a library for printf and other functions that are able to output data to the stream. This library allows you to basically use unlimited different output streams, but just one can be use with printf at a time. You can use other output functions, like fprintf, which accepts stream pointer as parameter to know where to output data. Library Features Output strings using printf...

Use printf to output stream on STM32F4 46

Use printf to output stream on STM32F4

It would be nice, if you can simply just use printf to direct output strings to USART, LCD, etc. With ARM C, you are able to do this. You just need to implement some things and you are ready to work. New STDIO library is available here. To enable printf functionality, first you need to create a new __FILE struct. This struct is then called with FILE struct. It can have only one dummy parameter, but it has to be created, because...

All STM32F4 tutorials 54

All STM32F4 tutorials

Sometime I made a tutorial how to work with something on STM32F4xx device, because is hard and pointless to make library for it for any reason. Tutorials are set to work at least with STM32F4xx devices. Tutorials NR Name Description 1 FIRST TIME First time with STM32F429 Discovery. Coocox project tutorial 2 KEIL UVISION Default project for Keil uVision to work with STM32F4 devices 3 PWM PWM tutorial for STM32F4xx 4 NVIC Nested vector interrupt controller tutorial 5 EXTI External...

All STM32F4 libraries 128

All STM32F4 libraries

Because there is a lot of libraries I have done, I will make a table with all of my libraries at one place. When new library will be created, it will be posted here. These libraries work on both Discovery boards, if not, it will be specified. Actually, libraries should work on STM32F4xx series of microcontrollers if they have peripherals that are need for library. All STM32F4xx MCUs don’t have everything inside. 🙂 Libraries are tested on my 4 STM32F4...