Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]

- Fix MSP430 PAC inner attribute generation when used with the `-m` switch.

## [v0.34.0] - 2024-11-05

- Revert #711
Expand Down
3 changes: 2 additions & 1 deletion src/generate/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ pub fn render(d: &Device, config: &Config, device_x: &mut String) -> Result<Toke
None => None,
};

if config.target == Target::Msp430 {
// make_mod option explicitly disables inner attributes.
if config.target == Target::Msp430 && !config.make_mod {
out.extend(quote! {
#![feature(abi_msp430_interrupt)]
});
Expand Down
Loading