Releases: nrf-rs/nrf-hal
Releases · nrf-rs/nrf-hal
v0.16.0
New Features
- Enable all SPIM and UARTE interfaces on the nRF9160 (#391).
- Add a
reset_eventmethod toTimer(#390). - Add a
freemethod toSaadc(#389). - Add
OpenDrainIOpin state for bidirectional open drain GPIOs (#401 #402).
Enhancements
- Make SCK pin optional for
SpiandSpimAPIs (#400 #406). - Update PACs and
nrf-usbdto the newest version (#404).
Fixes
v0.15.1
v0.15.0
v0.14.1
v0.14.0
v0.13.0
New Features
- USB support (#295).
- Added
Pwm::{swap_output_pin, clear_output_pin}to allow for more flexible PWM pin management (#335). - Added an API for the NVMC peripheral (#337).
Enhancements
[breaking change]Updaterand_coreandcortex-mdependencies (#332).- Make the deprecated SPI peripheral available on all nRF52 chips (#344).
Fixes
v0.12.2
New Features
Enhancements
- Add a testsuite for the HAL (#291).
- Document that
ieee802154::Radio::recv_timeoutwrites the received data topacket(#307). - Update nRF9160 HAL with latest memory map (#321).
- Add a simple UART example (#317).
- Add readme documentation for demos (#246).
- Link
README.mdinto all sub-crates so they show up on crates.io (#322). - Enhance the RTC example with an interrupt (#324).
Fixes
v0.12.1
New Features
- nRF9160: Add support for TWIM1-3 (#273).
- nRF9160: Add support for WDT (#283).
- PPI: Add
clear_fork_task_endpoint(#282). - Refactor Pin Selection, add
Pin::from_psel_bitsandPin::psel_bits(#285). - SAADC: Support internal
vddhdiv5channel (#297). - Add an IEEE 802.15.4 radio API (#143 #299).
Enhancements
Fixes
v0.12.0
New Features
- Derive more traits for
gpio::{Level, Port}(#185). - COMP module (#189).
- QDEC module (#188).
- LPCOMP module (#195).
- TWIS module (#196 #230).
- PWM module (#200 #231).
- I2S module (#201 #209 #225 #237).
- SPIS module (#226 #236).
- Add support for the nRF52811 (#227).
- Add PPI channel group tasks (#212).
- Add PPI endpoints for timers (#239).
- Allow disabling and reenabling the TWIM instance (#266).
Enhancements
- Improve SAADC docs (#218).
- Update Embed.toml of all examples to new defaults (#229).
- Make
ConfigurablePpiand subtrait ofPpi(#244).
Fixes
- Refuse to build nRF52+ HALs for thumbv6m targets (#203).
- Refuse to build
nrf52810-halfor hard-float targets, andnrf51-halfor thumbv7+ targets
(#206). - Set the correct Port in GPIOTE (#217 #248).
- Correct TWIM port initialization for P1 pins (#221).
- Fix race condition in RTC event handling (#243).
Breaking Changes
- Remove
Spi::readin favor oftransfer_split_uneven(#190). - Seal the
timer::Instancetrait (#214). - Make GPIOs start in a
Disconnectedstate instead ofInput<Floating>(#220 #245). - 🦭 all
Instancetraits (#255). - 🦭 PPI traits (#259).
- Various TWIM fixes and improvements - removes automatic transfer splitting (#242).
- Remove typestate from RTC to make it easier to use (#252).
- Also return owned
PinsfromUsart::free()(#261).
Internal Improvements
- Utilize
cargo-xtaskto simplify CI and the release process (#207 #210). - Add
conf()utility function to reduce code duplication in GPIO (#250).