Releases: stm32-rs/stm32wlxx-hal
Releases · stm32-rs/stm32wlxx-hal
Version 0.6.1
Version 0.6.0
Added
- Added
rcc::Lscoto use the low-speed oscillator output. - Added
Rtc::calibrate_lpto calibrate the RTC. - Added
Rtc::recalibration_pending. - Added
Rtc::is_alarm_{a,b}_en. - Added methods to utilize ADC oversampling.
Changed
Rtc.alarm_{a,b}returnsAlarminstead ofOption<Alarm>.- Updated
stm32-rsfrom0.14.0to0.15.1.
Fixed
- Fixed a documentation bug in
rtc::Alarm. Values are masked iftrue, but the documentation indicated they are masked iffalse.
Version 0.5.1
Added
- Added
Rtc::alarm_{a,b}to get the alarm value. - Added
impl From<Alarm> for chrono::NaiveTime. - Added
RfSwitch::steal()to all BSPs.
Version 0.5.0
Added
- Added
set_sleep_clockto GPIO ports to enable and disable clocks during sleep. - Added
subghz::Timeout::saturating_add. - Added
SubGhz.set_rtc_periodandSubGhz.restart_rtcmethods required to workaround an erratum withSubGhz.set_rx_duty_cycle. - Added
SubGhz.new_no_resetandSubGhz.new_with_dma_no_resetto create aSubGhzwithout resetting the radio.
Changed
- Changed minimum supported rust version from 1.57 to 1.60.
Fixed
- Fixed a typo in the
Exti::set_falling_triggerfunction name. - Fixed endianness in
SubGhz.op_error.
Version 0.4.1
Added
- Implement
embedded_hal::PwmPinforLpTim.
Changed
- Inlined trivial
Rngmethods.
Fixed
- Fixed UART
clock_hzmethods returning the wrong frequency.
Version 0.4.0
Added
- Added a
is_pendingmethod to thegpio::Extitrait. - Added alarm functionality to the RTC.
- Added
Rtc.is_wakeup_timer_en. - Added
flash::flash_range. - Added
Flash.program_bytesfor safer flash programming.
Changed
- Replaced
Debugimplementation withDisplayimplementation for:subghz::FskPacketStatussubghz::LoRaPacketStatussubghz::Statssubghz::Status
Flash::standard_program_genericnow checks for overflow.
Fixed
- Fixed an off-by-one error in
flash::Page::addr_range.
Removed
- Removed
util::reset_cycle_count; this functionality is now incortex-m.
Version 0.3.0
Added
- Added
info::Core::CTto get the CPU core at compile time. - Added
info::Core::from_cpuid()to get the CPU core at runtime. - Added a
flashmodule with erase and program functionality. - Added
defmt::Formatfor all types declared in the BSPs. - Added
info::uid::PTR.
Changed
- Changed minimum rust version from 1.56 to 1.57 for
const_panic. info::UID64- Moved to
info::Uid64::PTR. - Changed the type from
*const u8to*const u32.
- Moved to
- Moved functions in
infointo the associated structs/enums.- Moved
info::uid64toinfo::Uid64::from_device. - Moved
info::uid64_devnumtoinfo::Uid64::read_devnum. - Moved
info::packagetoinfo::Package::from_device. - Moved
info::uidtoinfo::Uid::from_device.
- Moved
- Added
#[inline]toutil::new_delayandutil::reset_cycle_count. - Large dependencies are now optional.
embedded-timeis now an optional feature.- Changed
I2C::newto useu32instead ofembedded_time::Hertz.
- Changed
chronois now an optional feature.
Version 0.2.1
Fixed
- Fixed timeouts after calling
SubGhz::set_sleep.
Version 0.2.0
Added
- Added two board support crates
nucleo-wl55jc-bsplora-e5-bsp
Changed
- Crate ownership changed from tweedegolf to stm32-rs.
- Thank you tweedegolf for the initial development effort!
- Sweeping changes throughout the entire crate, nothing is the same.