You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING: Changed the architecture of avr-device such that code is now generated at build time (#157 by @LuigiPiucco). This allows us to scale better and also makes the code-generation much simpler in general. No external dependencies need to be installed anymore when working on this crate.
BREAKING: Upgraded to svd2rust version 0.36.1 (#157 by @LuigiPiucco). This leads to mostly one major change in the register API:
Registers are now accessed through functions instead of struct members.
In practice, this means you will have to do the following changes throughout your codebase:
BREAKING: Renamed the critical-section-impl to just critical-section and enabled it by default. This was done because the Periperals::take() method is now gated on critical-section (#195).
Switched to the rust version of svdtools (#174 by @tones111).
Better register definitions for peripherals of the ATmega128RFA1 (#173 by @NikBel3476).
Added
Support for AT90CAN128, AT90CAN64, and AT90CAN32 (#206 by @alios).
Support for ATtiny261A, ATtiny461A, and ATtiny861A (#179 by @mbuesch).
Support for ATtiny417, ATtiny817, ATtiny1617, and ATtiny3217 (#184 by @G33KatWork).
Support for ATtiny1626 (#185 by @ckoehne). The VPORTA.DIR register is currently unavailable due to a compiler limitation. See pull request for details.
Added asm::get_stack_size() function which returns the current size of the stack (#189 by @LuigiPiucco). This function depends on the rt feature.
Added asm::nop2(), asm::nop3(), asm::nop4(), and asm::nop5() functions that delay for precisely 2 to 5 cycles (#228 by @mbuesch). These are useful for precise timing in bit-banging.