Skip to content

boards/cpu: nucleo-l152 (stm32l1) broken on master #8024

@haukepetersen

Description

@haukepetersen

While testing #7687 we discovered, that the nucleo-l152 (stm32l1) is broken since quite a while now. Bisecting lead to the changes in #7385 (specifically to dd49f22).

The change from __irq_enable() to irq_restore(state) breaks the L1 for some reason, can't really tell why...
When doing s/irq_restore(state);/__enable_irq();/, everything is working (again). The difference seems to be /__ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
vs
__ASM volatile ("cpsie i" : : : "memory");

Any ideas?

Metadata

Metadata

Labels

Area: boardsArea: Board portsPlatform: ARMPlatform: This PR/issue effects ARM-based platformsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions