TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

Leds and buttons for discovery, nucleo and eval boards - More...


 Library Functions.


#define LED_GREEN   0
#define LED_RED   0
#define LED_ORANGE   0
#define LED_BLUE   0
#define LED_ALL   0
#define DISCO_BUTTON_PIN   0

Detailed Description

Leds and buttons for discovery, nucleo and eval boards -

Supported boards
Select your board

To select your board, you have several options:

If you are using my other libs, for example SDRAM or LCD where pins and settings depend on board used, then I recommend you select your board using this library. If you use, for example STM32F429-Discovery board, then add global define "STM32F429_DISCOVERY" in defines.h file and all other libraries which will detect this define will know you are using this board and default settings (if exists) will be automatically detected. For example, SDRAM/LCD/USB are 3 of many libraries which needs special defines according to board used in your project. Using global define for your board, libs will detect settings needed for work.

Imagine, we want to work with STM324x9-Eval board. Then, you can open defines.h file and add define:

//Select STM32F439-Eval for DISCO library
#define STM32F439_EVAL

Or if you want STM32F429-Discovery, do this:

//Select STM32F429-Discovery for DISCO library
#define STM32F429_DISCOVERY
All boards and its defines
//Use proper define for your board
#define STM32F429_DISCOVERY
#define STM32F401_DISCOVERY
#define STM32F411_DISCOVERY
#define NUCLEO_F401
#define NUCLEO_F411
#define NUCLEO_F446
#define NUCLEO_F091
#define STM32F439_EVAL
#define STM32F469_DISCOVERY
 Version 1.0
  - First release
 Version 1.1
  - October 10, 2015
  - Added support for STM32F469-Discovery
 - STM32Fxxx HAL
 - defines.h