cpu/stm32l1: header updated and isr vector cleanup#7687
cpu/stm32l1: header updated and isr vector cleanup#7687haukepetersen wants to merge 4 commits intoRIOT-OS:masterfrom
Conversation
beec2f7 to
181fb7d
Compare
|
rebased |
|
needs rebase |
181fb7d to
a5cb31a
Compare
|
rebased. |
smlng
left a comment
There was a problem hiding this comment.
made some tests with nucleo-l152:
example/defaultokaytests/periph_gpiofail, hard faulttests/periph_i2cfail, hard faulttests/periph_spiokay
which is a minor improvement over current master, where everything fails.
|
not good. Will check. |
|
I have a different behavior here: |
|
mhm, I just made one pass, so I was lucky on some - but in general its not deterministic? |
|
@haukepetersen: yep now |
|
To simplify things, I am looking into What I can tell so far: |
|
seems like we broke the board/cpu a while back. git bisect lead me to believe that dd49f22 broke the board, though I can't really tell why this is. |
|
but that commit would break then all cortex-m based CPUs which it certainly doesn't because others still work. |
|
Just tried it: manuall reverting the changes from dd49f22 on the current master makes the nucleo-l152 behave as expected again. So something is with this change that the l1 doesn't like. |
|
@haukepetersen the difference is that problem: it doesn't call and does |
|
so |
|
we can say for sure, that replacing these to lines does not result in the same functions called, at least the now used restore does something different and does not call |
as in the commit by @vincent-d you found |
|
ah forget about the |
|
Just put the question into #7385. Either there is a quick fix, or this will be one of those hard to fix issues... Anyway, I am pretty sure the issue at hand is unrelated to the changes in this PR. Would you be ok with merging this PR and keeping track of the broken |
a5cb31a to
aef5e14
Compare
|
This needs rebase @haukepetersen. Maybe @kYc0o you can give this one a try (since you seem to also have the hardware) ? |
kYc0o
left a comment
There was a problem hiding this comment.
Some minor comments, will test.
| isr_tim6, /* [43] TIM6 global Interrupt */ | ||
| isr_tim7, /* [44] TIM7 global Interrupt */ | ||
| /* shared vectors for all family members */ | ||
| [WWDG_IRQn ] = isr_wwdg, /* [ 0] Window WatchDog Interrupt */ |
There was a problem hiding this comment.
Any special reason to align the closing bracket with so much spaces?
| [USB_FS_WKUP_IRQn ] = isr_usb_fs_wkup, /* [42] USB FS WakeUp from suspend through EXTI Line Interrupt */ | ||
| [TIM6_IRQn ] = isr_tim6, /* [43] TIM6 global Interrupt */ | ||
| [TIM7_IRQn ] = isr_tim7, /* [44] TIM7 global Interrupt */ | ||
|
|
There was a problem hiding this comment.
Any special reason for the extra space here and below? (just curiosity, I'm not against it)
|
needs rebase |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
|
as such changes are done for other MCU already, this should be moved forward (again). Hence, don't close. |
follow up on #7535
This PR also updates the vendor headers as the used one was quite outdated.