libausbee is an open-source library providing drivers and functions for robotics application embedding STM32 devices. This library is still under high development.
While calling make, some variables must be defined:
STD_PERIPH_INCLUDES_DIR : Includes directory of the StdPeriph_Driver library.
DEVICE_INCLUDES_DIR : Device includes directory. Directory where, for instance, stm32f4xx.h is located.
CMSIS_INCLUDES_DIR : CMSIS includes directory.
DEVICE : Device name. The values should be : -For STM32F4XX : STM32F40_41xxx, STM32F427_437xx, STM32F429_439xx, STM32F401xx -For STM32F1XX : STM32F10X_LD, STM32F10X_LD_VL, STM32F10X_MD, STM32F10X_MD_VL, STM32F10X_HD, STM32F10X_HD_VL, STM32F10X_XL, STM32F10X_CL Other devices are not supported yet.
Also, it is possible to define the following variables:
CC : Define the compiler command.
AR : Define the archive program.
CFLAGS : Define the compilation flags.
dependencies:
- Qt4
Use CMakeLists. It requires Qt4. In this directory: $ mkdir build $ cd build $ cmake .. $ make
The outputs should be in the "bin" directory in your "build" directory.