firmware/src/platform/stm32wl
Chloe Bethel d494c23a88
Enable telemetry and I2C sensors on STM32WL (except accelerometers) (#7008)
* Update platformio inis for stm32 platform and wio-e5 variant for enabling i2c

* Don't reference timezone functions if MESHTASTIC_EXCLUDE_TZ is defined

* Use custom pow_of_two in RadioInterface instead of floating-point pow()

* First pass: enable sensors for STM32wL

* Fix AirQualityTelemetryModule being created if the PM25AQI header is missing

* Link in power sensor libraries

* more ini tweaks

* Add =1 to EXCLUDE defines, fix indentation.

* Drop HAS_WIRE in ini, it's defined in architecture.h

* Fix build when power sensor libraries are missing

Make MAX sensor integration into Power.cpp optional based on its library header existing.
Also make NullSensor expose a voltage and current sensor, because Power calls directly into these for INA sensors.
This lets us remove all the deps for the STM32WL platform.

* Change default I2C for RAK3172 to be I2C1, not I2C2

* Respect the laws of mathematics (oops)
2025-07-02 06:01:45 -05:00
..
littlefs Remove unused lfs_dir_tell function 2025-03-29 14:32:56 -05:00
architecture.h Enable telemetry and I2C sensors on STM32WL (except accelerometers) (#7008) 2025-07-02 06:01:45 -05:00
LittleFS.cpp implement littlefs for stm32 (#5987) 2025-03-21 16:12:27 +01:00
LittleFS.h implement littlefs for stm32 (#5987) 2025-03-21 16:12:27 +01:00
main-stm32wl.cpp Make STM compile again and update toolchain. (#2960) 2024-07-25 20:16:21 -05:00
STM32_LittleFS_File.cpp Fix a couple of warnings (#6445) 2025-03-29 08:14:24 -05:00
STM32_LittleFS_File.h Fix a couple of warnings (#6445) 2025-03-29 08:14:24 -05:00
STM32_LittleFS.cpp implement littlefs for stm32 (#5987) 2025-03-21 16:12:27 +01:00
STM32_LittleFS.h Fix a couple of warnings (#6445) 2025-03-29 08:14:24 -05:00