Helper Libraries for STM32  1.0
Helper Libraries for STM32

These libraries can make it easier for you to work with peripherals on STM32 microcontrollers. The names of functions and methods are the same as in arduino libraries, so you can easily implement libraries designed for arduino. All included libraries use c++ language.

Included libraries

External included libraries

Supported MCU's:

  • STM32F030x6
  • STM32F070x6
  • STM32F070xB
  • STM32F031x6
  • STM32F103xB
  • STM32L031xx
  • STM32L432xx

How to view documentation

  1. Download and install doxygen to your device.
  2. When you use:
    • Windows - run makeDoc.bat file, it will create documentation to html directory and opens it. When you have already generated documentation directory (html), you can view it by opening index.html file in that directory.
    • Linux or Mac - run doxygen.exe in console in STMHelperLibs directory to generate documentation. Open file in html/index.html

Integrate with STM32 project

  1. Download or clone this library.
  2. Open/create project in STM32CubeIDE.
  3. Right click to project > Convert to C++.
  4. Right click to project > New > Folder > Advanced and check radio button "Link to alternate location (Linked folder)", then click to Browse and select, where is your downloaded library located. Note that Variables can be used.
  5. Right click to project > Properties > C/C++ General > Paths and symbols > Source Location. Click to "Add Folder..." button and select STMHelperLibs, then click OK.
  6. Right click to project > Properties > C/C++ General > Paths and symbols > Includes. Click to Add button (check "Is a workspace path") and add those paths to GNU C and GNU C++ tab:
    /${ProjName}/STMHelperLibs/Helpers/RadioHead/Inc
    /${ProjName}/STMHelperLibs/Helpers/nRF24/Inc
    /${ProjName}/STMHelperLibs/STM32apl/Drivers/Inc
    /${ProjName}/STMHelperLibs/STM32apl/Streams/Inc
    /${ProjName}/STMHelperLibs/Helpers/SerialConsole/Inc
    /${ProjName}/STMHelperLibs/Helpers/GPS/Inc
  7. Right click to project > Properties > C/C++ General > Paths and symbols > Symbols. Click to Add button and add this symbol to GNU C and GNU C++ tab: Also check, if there is MCU type in symbols. For example STM32L432kc type is STM32L432xx.
  8. STM helper library can be used.

Authors and Contributors

  • Matej Fitoš
  • Patrik Cepko
  • doc. Ing. Juraj Ďuďák, PhD.
SerialConsole
Serial console can process and responds to received commands through serial port (UART)....
Definition: SerialConsole.h:744
STM32
#define STM32
Definition: RF24_config.h:29