• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stef1949 / LumiFur_Controller / 27104279676
37%

Build:
DEFAULT BRANCH: main
Ran 07 Jun 2026 08:44PM UTC
Jobs 1
Files 7
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jun 2026 08:43PM UTC coverage: 37.075%. Remained the same
27104279676

push

github

stef1949
## Temperature Sensor API Migration

### Added
- Added `src/core/InternalTemperature.h` and `src/core/InternalTemperature.cpp` as a dedicated abstraction for internal ESP32 temperature readings.
- Added `internalTemperatureInit()`, `internalTemperatureReadCelsius()`, and `internalTemperatureDriverName()` so app and BLE code no longer call ESP-IDF temperature drivers directly.
- Added support for Espressif’s newer `driver/temperature_sensor.h` API when available:
  - installs the temperature sensor once
  - enables it once
  - reads values with `temperature_sensor_get_celsius()`

### Changed
- Replaced direct legacy temperature sensor initialization in `main.h` with the new internal temperature wrapper.
- Updated startup in `main.cpp` to initialize the temperature sensor through `internalTemperatureInit()`.
- Updated BLE temperature reporting in `ble_metrics.cpp` to read through `internalTemperatureReadCelsius()`.
- BLE temperature updates now skip sending data when the sensor read fails, instead of reporting a default `0.0f` value.
- Added conditional CMake dependency handling for `esp_driver_tsens` on newer ESP-IDF versions where the temperature sensor driver is packaged separately.

### Fixed
- Removed global use of the deprecated `driver/temp_sensor.h` API from application and BLE code.
- Prevents the ESP32-S3 runtime conflict where the legacy temperature driver can collide with Espressif’s newer driver path:
  - `tsens: CONFLICT! driver_ng is not allowed to be used with the legacy driver`
- Improved diagnostics by logging which temperature driver path is active or unavailable.

### Compatibility
- New ESP-IDF builds use `driver/temperature_sensor.h` when present.
- Existing PlatformIO Arduino builds using ESP-IDF 4.x still compile via a guarded legacy fallback.
- ESP-IDF 5+ builds no longer silently fall back to the legacy temperature driver if the new driver header is unavailable.

### Verification
- Firmware build passed for `adafruit_matrixport... (continued)

360 of 971 relevant lines covered (37.08%)

125.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unity-tests - 27104279676.1 07 Jun 2026 08:44PM UTC 7
37.08
GitHub Action Run
Source Files on build 27104279676
  • Tree
  • List 7
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27104279676
  • 03ca1ff1 on github
  • Prev Build on main (#25282273454)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc