Skip to content

1.4.0

Choose a tag to compare

@GOB52 GOB52 released this 07 May 08:14
· 29 commits to master since this release
c1b5980

Added

  • UnitBME688: setHeaterPower() and setHeaterDuration() API
  • HatYun and HatENV3 support
  • Example for the UnitSHT30 built into the M5Paper
  • Examples now select the I2C path between TwoWire, I2C_Class, and M5HAL

Changed

  • UnitQMP6988: renamed OversamplingSetting::UltraHightAccuracy to UltraHighAccuracy; the old name remains as a deprecated alias for backward compatibility
  • UnitENV4: simplified internal composition and refreshed examples
  • Legacy and M5UnitUnified APIs can no longer be mixed in the same translation unit (preprocessor-guarded)

Fixed

  • UnitBME688: calibration write used the wrong source array for groups 1 and 2; strict-aliasing violation in calibration parsing
  • UnitBMP280: filter_table out-of-bounds access, interval_table correction, and TRIMMING_DIG_P9 register address typo
  • UnitSCD40: narrowing conversion and replaced VLA-based register I/O with bounded fixed-size buffers
  • UnitQMP6988: softReset() now polls the chip ID to verify completion
  • UnitSGP30: readRaw() CRC handling
  • UnitSHT30: humidity conversion formula
  • UnitSHT40: periodic measurement timing

追加

  • UnitBME688: setHeaterPower() / setHeaterDuration() API
  • HatYun および HatENV3 サポート
  • M5Paper 内蔵 UnitSHT30 用の example
  • Example の I2C 経路として TwoWire, I2C_Class, M5HAL に対応

変更

  • UnitQMP6988: OversamplingSetting::UltraHightAccuracyUltraHighAccuracy にリネーム(旧名は後方互換のため deprecated エイリアスとして残置)
  • UnitENV4: 内部構成を簡素化し example を更新
  • Legacy API と M5UnitUnified API を同一翻訳単位で混在できないようプリプロセッサでガード

修正

  • UnitBME688: キャリブレーション書き込みでグループ 1/2 の参照配列が誤っていた問題、およびキャリブレーション解析中の strict-aliasing 違反
  • UnitBMP280: filter_table の境界外アクセス、interval_table の補正、TRIMMING_DIG_P9 レジスタアドレスの typo
  • UnitSCD40: narrowing conversion、およびレジスタ I/O の VLA を固定長バッファに置き換えサイズチェックを追加
  • UnitQMP6988: softReset() がチップ ID をポーリングして完了を検証するよう修正
  • UnitSGP30: readRaw() の CRC 処理
  • UnitSHT30: 湿度換算式
  • UnitSHT40: periodic measurement のタイミング