Releases: stm32-rs/stm32wlxx-hal
Releases · stm32-rs/stm32wlxx-hal
Version 0.6.1
Version 0.6.0
Added
- Added
rcc::Lsco
to use the low-speed oscillator output. - Added
Rtc::calibrate_lp
to 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}
returnsAlarm
instead ofOption<Alarm>
.- Updated
stm32-rs
from0.14.0
to0.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_clock
to GPIO ports to enable and disable clocks during sleep. - Added
subghz::Timeout::saturating_add
. - Added
SubGhz.set_rtc_period
andSubGhz.restart_rtc
methods required to workaround an erratum withSubGhz.set_rx_duty_cycle
. - Added
SubGhz.new_no_reset
andSubGhz.new_with_dma_no_reset
to create aSubGhz
without resetting the radio.
Changed
- Changed minimum supported rust version from 1.57 to 1.60.
Fixed
- Fixed a typo in the
Exti::set_falling_trigger
function name. - Fixed endianness in
SubGhz.op_error
.
Version 0.4.1
Added
- Implement
embedded_hal::PwmPin
forLpTim
.
Changed
- Inlined trivial
Rng
methods.
Fixed
- Fixed UART
clock_hz
methods returning the wrong frequency.
Version 0.4.0
Added
- Added a
is_pending
method to thegpio::Exti
trait. - Added alarm functionality to the RTC.
- Added
Rtc.is_wakeup_timer_en
. - Added
flash::flash_range
. - Added
Flash.program_bytes
for safer flash programming.
Changed
- Replaced
Debug
implementation withDisplay
implementation for:subghz::FskPacketStatus
subghz::LoRaPacketStatus
subghz::Stats
subghz::Status
Flash::standard_program_generic
now 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::CT
to get the CPU core at compile time. - Added
info::Core::from_cpuid()
to get the CPU core at runtime. - Added a
flash
module with erase and program functionality. - Added
defmt::Format
for 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 u8
to*const u32
.
- Moved to
- Moved functions in
info
into the associated structs/enums.- Moved
info::uid64
toinfo::Uid64::from_device
. - Moved
info::uid64_devnum
toinfo::Uid64::read_devnum
. - Moved
info::package
toinfo::Package::from_device
. - Moved
info::uid
toinfo::Uid::from_device
.
- Moved
- Added
#[inline]
toutil::new_delay
andutil::reset_cycle_count
. - Large dependencies are now optional.
embedded-time
is now an optional feature.- Changed
I2C::new
to useu32
instead ofembedded_time::Hertz
.
- Changed
chrono
is 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-bsp
lora-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.