Skip to content

Commit 6b2dd03

Browse files
authored
Merge pull request #940 from MabezDev/xtensa-fixup
Make the interrupt table no_mangle on Xtensa
2 parents 698a318 + d9ec9a3 commit 6b2dd03

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
1010
- Fix new `mismatched-lifetime-syntaxes` lint warnings
1111
- Adapt RISC-V specific codegen for `riscv-peripheral` v0.3.0 rework
1212
- Include `riscv-peripheral` peripherals in `Peripherals` struct
13+
- Ensure `__INTERRUPTS` are `#[no_mangle]` on Xtensa.
1314

1415
## [v0.36.1] - 2025-04-04
1516

src/generate/interrupt.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ pub fn render(
245245
}
246246

247247
#[cfg(feature = "rt")]
248-
#link_section_attr
249248
#[doc(hidden)]
249+
#link_section_attr
250+
#[no_mangle]
250251
pub static __INTERRUPTS: [Vector; #n] = [
251252
#elements
252253
];

0 commit comments

Comments
 (0)