Skip to content

0.4.5

Choose a tag to compare

@GOB52 GOB52 released this 14 Apr 06:04
· 101 commits to main since this release

Added

  • Add RMT channel and handle getters to GPIO adapter (rmtTxChannel(), rmtRxChannel(), rmtTxHandle(), rmtRxHandle())

Fixed

  • Fix UART/SPI add() error log showing wrong bus capability (canAccessI2C instead of canAccessUART/canAccessSPI)
  • Fix strict aliasing violations in RMT v1/v2 data read/write by replacing pointer casts with memcpy
  • Fix RMT v2 receive queue element size mismatch
  • Fix uninitialized _rx_buf_len in RMT v2

追加

  • GPIO アダプタに RMT チャネル/ハンドル取得メソッドを追加 (rmtTxChannel(), rmtRxChannel(), rmtTxHandle(), rmtRxHandle())

修正

  • UART/SPI の add() 失敗時のエラーログで誤ったバス種別 (canAccessI2C) が表示される問題を修正
  • RMT v1/v2 のデータ読み書きにおける strict aliasing 違反をポインタキャストから memcpy に修正
  • RMT v2 の受信キュー要素サイズの不一致を修正
  • RMT v2 の _rx_buf_len 未初期化を修正