All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Renamed function TcxoMode::set_txco_trim() to TcxoMode::set_tcxo_trim() to correct spelling.
- Renamed enum CmdStatus::Avaliable to CmdStatus::Available to correct spelling.
- Updated minimum
chrono
version to0.4.23
to satisfycargo-audit
. - Changed minimum supported rust version from 1.60 to 1.62.
- Added a missing
must_use
inSleepCfg::set_startup
.
0.6.1 - 2022-08-01
- Fixed undefined behavior in SPI full duplex RX DMA transfers.
0.6.0 - 2022-07-04
- 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.
Rtc.alarm_{a,b}
returnsAlarm
instead ofOption<Alarm>
.- Updated
stm32-rs
from0.14.0
to0.15.1
.
- Fixed a documentation bug in
rtc::Alarm
. Values are masked iftrue
, but the documentation indicated they are masked iffalse
.
0.5.1 - 2022-05-14
- Added
Rtc::alarm_{a,b}
to get the alarm value. - Added
impl From<Alarm> for chrono::NaiveTime
. - Added
RfSwitch::steal()
to all BSPs.
0.5.0 - 2022-05-08
- 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 minimum supported rust version from 1.57 to 1.60.
- Fixed a typo in the
Exti::set_falling_trigger
function name. - Fixed endianness in
SubGhz.op_error
.
0.4.1 - 2022-03-22
- Implement
embedded_hal::PwmPin
forLpTim
.
- Inlined trivial
Rng
methods.
- Fixed UART
clock_hz
methods returning the wrong frequency.
0.4.0 - 2022-01-08
- 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.
- Replaced
Debug
implementation withDisplay
implementation for:subghz::FskPacketStatus
subghz::LoRaPacketStatus
subghz::Stats
subghz::Status
Flash::standard_program_generic
now checks for overflow.
- Fixed an off-by-one error in
flash::Page::addr_range
.
- Removed
util::reset_cycle_count
; this functionality is now incortex-m
.
0.3.0 - 2021-12-20
- 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 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.
0.2.1 - 2021-11-20
- Fixed timeouts after calling
SubGhz::set_sleep
.
0.2.0 - 2021-11-11
- Added two board support crates
nucleo-wl55jc-bsp
lora-e5-bsp
- 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.
0.1.0 - 2021-03-26
- Initial release by tweedegolf