STM32 Nucleo-64

Support for STM32 Nucleo-64 boards. More...

Detailed Description

Support for STM32 Nucleo-64 boards.

Modules

 STM32 Nucleo-F030R8
 Support for the STM32 Nucleo-F030R8.
 
 STM32 Nucleo-F070RB
 Support for the STM32 Nucleo-F070RB.
 
 STM32 Nucleo-F072RB
 Support for the STM32 Nucleo-F072RB.
 
 STM32 Nucleo-F091RC
 Support for the STM32 Nucleo-F091RC.
 
 STM32 Nucleo-F103RB
 Support for the STM32 Nucleo-F103RB.
 
 STM32 Nucleo-F302R8
 Support for the STM32 Nucleo-F302R8.
 
 STM32 Nucleo-F303RE
 Support for the STM32 Nucleo-F303RE.
 
 STM32 Nucleo-F334R8
 Support for the STM32 Nucleo-F334R8.
 
 STM32 Nucleo-F401RE
 Support for the STM32 Nucleo-F401RE.
 
 STM32 Nucleo-F410RB
 Support for the STM32 Nucleo-F410RB.
 
 STM32 Nucleo-F411RE
 Support for the STM32 Nucleo-F411RE.
 
 STM32 Nucleo-F446RE
 Support for the STM32 Nucleo-F446RE.
 
 STM32 Nucleo-L053R8
 Support for the STM32 Nucleo-L053R8.
 
 STM32 Nucleo-L073RZ
 Support for the STM32 Nucleo-L073RZ.
 
 STM32 Nucleo-L152RE
 Support for the STM32 Nucleo-L152RE.
 
 STM32 Nucleo-L433RC
 Support for the STM32 Nucleo-L433RC.
 
 STM32 Nucleo-L452RE
 Support for the STM32 Nucleo-L452RE.
 
 STM32 Nucleo-L476RG
 Support for the STM32 Nucleo-L476RG.
 

Files

file  common/nucleo64/include/arduino_board.h
 Board specific configuration for the Arduino API.
 
file  common/nucleo64/include/arduino_pinmap.h
 Mapping from MCU pins to Arduino pins.
 
file  common/nucleo64/include/board.h
 Common pin definitions and board configuration options.
 

LED pin definitions and handlers

#define LED0_PORT   GPIOA
 
#define LED0_PIN   GPIO_PIN(PORT_A, 5)
 
#define LED0_MASK   (1 << 5)
 
#define LED0_ON   (LED0_PORT->BSRR = LED0_MASK)
 
#define LED0_OFF   (LED0_PORT->BSRR = (LED0_MASK << 16))
 
#define LED0_TOGGLE   (LED0_PORT->ODR ^= LED0_MASK)
 

User button

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)
 
#define BTN0_MODE   GPIO_IN_PU