Skip to content

Arduino Core for STM32 1.9.0

Compare
Choose a tag to compare
@fpistm fpistm released this 15 May 15:35

Github Releases (by Release)

This release includes:

Add support of:

HAL Drivers and CMSIS updated:

  • STM32F2xx HAL Drivers to v1.2.4
  • STM32F2xx CMSIS Drivers to v2.2.3
  • STM32G4xx HAL Drivers to v1.1.1
  • STM32G4xx CMSIS Drivers to v1.1.1
  • STM32H7xx HAL Drivers to v1.8.0
  • STM32H7xx CMSIS to v1.8.0
  • STM32L4xx HAL Drivers to v1.11.1
  • STM32L4xx CMSIS to v1.6.1
  • STM32MP1xx HAL Drivers to v1.2.0
  • STM32MP1xx CMSIS Drivers to v1.2.0
  • STM32WBxx HAL Drivers to v1.5.0
  • STM32WBxx CMSIS Drivers to v1.4.0

Middleware update:

  • Update OpenAMP to v1.0.4

Core dependencies:

  • Updates STM32 Tools 1.4.0

Enhancements/improvements:

  • HardwareTimer: start timer when only update interrupt needed (#841)
  • HardwareTimer: Clear IT flag only if callback not previously configured
  • HardwareTimer: Allow setting preload enable bits
  • HardwareTimer: Enable preload for ARR/overflow register
  • HardwareTimer: Add API to get configured mode
  • HardwareTimer: Added functionality to pass custom parameter to callback (#892)
  • I2C: allow static redefinition of buffer size (I2C_TXRX_BUFFER_SIZE)
  • [USB] Do not claim AT-protocol in CDC interface descriptor
  • [USB] Clean up USB id and string assignment
  • USB: Disable Vbus sensing by default. To enable define: USBD_VBUS_DETECTION_ENABLE
  • Servo: enlarge pin number range to [0..255]
  • [G0] Handle pin remap
  • SPI: improvements for SPI library (#912)
  • [MP1] Add RPMsg virtual serial protocol support (VirtIOSerial)
  • Support a .noinit section for variables
  • Refactor USB pullup handling

Fixes:

  • Fix build issue when TIM module is disabled or only requested
  • HardwareTimer: Fix ARR and CCRx computation
  • HardwareTimer: specific F1 GPIO needs Alternate Function configuration
  • analogWrite: Configure HardwareTimer mode only if not previously done (avoid glitch)
  • [HardwareSerial] Fix ambiguous call of overloaded function
  • [F1/F2/F4/L1] I2C HAL fix: generate Start only once Stop is finished
  • I2C multi instances: Remove static qualifier on TwoWire attributes
  • analogRead: don't set ADC common register when ADC doesn't support it.
  • Fix EEPROM hardfault: eeprom_buffer should be 8 bytes aligned (#931)
  • EEPROM emulation: wrong flash sector used for some F7 variants (#938)
  • Fix weaked serialEventRun() not being called
  • Fix weaked initVariant()declaration
  • F1 pinmap: input mode may be associated with an alternate function

Plus several other fixes: See 1.8.0...1.9.0

Several components libraries are available on stm32duino organization.
They are also available through the Arduino library manager. Search for STM32duino 😉