Skip to content

Releases: m5stack/M5UnitUnified

0.5.5

09 Jun 10:02

Choose a tag to compare

Changed

  • Default the addI2C / addHatI2C wiring helper clock argument to 0, which uses the unit's own configured clock; pass a non-zero value to override it

Fixed

  • Fix an i2c timing value error that stopped units from communicating on the ESP-IDF 5.0/5.1 legacy I2C driver by applying the bus clock per transaction and borrowing an already-installed driver instead of failing

変更

  • wiring ヘルパ addI2C / addHatI2Cclock 引数のデフォルトを 0 にし、unit 自身の設定クロックを使うように変更。非0を渡すとオーバーライド

修正

  • ESP-IDF 5.0/5.1 の legacy I2C ドライバで unit が通信できず i2c timing value error が出る問題を、バスクロックを transaction 毎に適用し install 済みドライバを借用することで修正

0.5.4

09 Jun 07:35

Choose a tag to compare

Fixed

  • Fix a build error on ESP-IDF 5.0.x where the ADC oneshot clk_src and curve-fitting chan fields (introduced in 5.1.0) were referenced unconditionally; both are now version-guarded

修正

  • ESP-IDF 5.0.x で ADC oneshot の clk_src と curve-fitting の chan フィールド (5.1.0 で追加) を無条件参照していたためビルドエラーになる問題を修正。両フィールドをバージョンガードするように

0.5.3

08 Jun 17:51

Choose a tag to compare

Fixed

  • Fix an I2C bus collision on M5Stack Core where addI2C() opened a new bus on the port M5Unified had already initialized; Core now borrows M5.Ex_I2C since its In_I2C and Ex_I2C share a single bus

修正

  • M5Stack Core で addI2C() が M5Unified 初期化済みの port に新規バスを開いて衝突していた問題を修正。Core は In_I2CEx_I2C が同一バスのため M5.Ex_I2C を借用するように

0.5.2

08 Jun 11:26

Choose a tag to compare

Added

  • Add legacy ESP-IDF I2C driver (driver/i2c.h) support to the wiring helpers so addI2C() / addHatI2C() work on IDF 5.0/5.1 in addition to the new I2C master driver

追加

  • wiring helper に legacy ESP-IDF I2C driver (driver/i2c.h) 対応を追加し、新 I2C master driver に加えて IDF 5.0/5.1 でも addI2C() / addHatI2C() が動作するように

0.5.1

08 Jun 08:50

Choose a tag to compare

Fixed

  • Fix build failure on some ESP-IDF versions by including the FreeRTOS and soc/soc.h headers directly in the RMT v2 GPIO adapter

修正

  • RMT v2 GPIO adapter で FreeRTOS と soc/soc.h ヘッダを直接 include し、一部の ESP-IDF バージョンで発生していたビルド失敗を修正

0.5.0

04 Jun 08:46

Choose a tag to compare

Added

  • Add ESP-IDF native build support (IDF >= 5.0)
  • Add ESP32-H2 to supported targets

追加

  • ESP-IDF native build に対応 (IDF >= 5.0)
  • 対応 target に ESP32-H2 を追加

0.4.8

02 Jun 09:03

Choose a tag to compare

Changed

  • Drop HardwareSerial& / SPISettings& arguments from addUART / addSPI / addHatUART and select the board's default UART / build SPISettings internally
  • Add bit_order parameter to addSPI (0 = MSBFIRST, 1 = LSBFIRST)
  • Bump minimum required versions of M5Utility (>=0.0.13) and M5HAL (>=0.0.4)

変更

  • addUART / addSPI / addHatUART から HardwareSerial& / SPISettings& 引数を削除し、 内部で board 既定 UART を選択 / SPISettings を構築するように変更
  • addSPIbit_order 引数を追加 (0 = MSBFIRST, 1 = LSBFIRST)
  • M5Utility (>=0.0.13) と M5HAL (>=0.0.4) への依存最小版を引き上げ

0.4.7

29 May 09:24

Choose a tag to compare

Added

  • Add wiring helper (addI2C/addGPIO/addUART/addSPI and Hat variants) for board-aware unit connection
  • Add pin getter functions (i2cPins/gpioPins/uartPins/spiPins/hatI2CPins/hatGPIOPins/hatUARTPins) returning struct for reuse outside addX
  • Add GpioRole (Both/InOnly/OutOnly) for single-pin GPIO units in addGPIO
  • Add I2CPins::Backend (Wire/SoftwareI2C/ExI2C) for I2C bus type dispatch
  • Add NanoH2 board json and test_NanoH2/test_readme_NanoH2 env

Changed

  • Group add/assign overloads by bus type and complete public Doxygen comments
  • Switch NanoC6 to pioarduino and set Tab5 partition to 16MB in platformio.ini

Fixed

  • Fix Component::assign(Bus*) to match bus type correctly
  • Fix I2C pin lookup field name across chip generations
  • Fix ESP-IDF GPIO hys_ctrl_mode missing initializer
  • Fix ESP-IDF ADC missing field initializer and clk_src selection

追加

  • ボードに応じて addI2C/addGPIO/addUART/addSPI と Hat 系を呼び分ける wiring ヘルパを追加
  • addX から独立したピン取得関数 (i2cPins/gpioPins/uartPins/spiPins/hatI2CPins/hatGPIOPins/hatUARTPins) を struct 戻り値で追加
  • 1 ピンしか使わない GPIO ユニット向けに GpioRole (Both/InOnly/OutOnly) を addGPIO に追加
  • I2C バス種別分岐用の I2CPins::Backend (Wire/SoftwareI2C/ExI2C) を追加
  • NanoH2 用 board json と test_NanoH2/test_readme_NanoH2 env を追加

変更

  • add/assign オーバーロードをバス種別ごとに整理し、public 向け Doxygen コメントを補完
  • platformio.ini で NanoC6 を pioarduino に切り替え、 Tab5 のパーティションを 16MB に設定

修正

  • Component::assign(Bus*) のバス型判定を修正
  • チップ世代横断の I2C ピン取得フィールド名を修正
  • ESP-IDF GPIO hys_ctrl_mode のメンバー初期化漏れを修正
  • ESP-IDF ADC のメンバー初期化漏れと clk_src 選択を修正

0.4.6

16 Apr 10:54

Choose a tag to compare

Fixed

  • Fix RMT v2 RX frame loss and duplicate reads by replacing direct buffer sharing with FreeRTOS ringbuffer

修正

  • RMT v2 RX の受信フレーム落ちおよび重複読み取りを FreeRTOS リングバッファ方式に変更して修正

0.4.5

14 Apr 06:04

Choose a tag to compare

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 未初期化を修正