Open Sped0n opened 2 years ago
Here is my code for reference. https://github.com/Sped0n/rslk_njust
add #include <msp432p401r.h>
to main.c
add
#include <msp432p401r.h>
to main.c
It still stuck at infinite loop, Timer_A interrupt doesn't work too. Btw I'm using platformio with clion on a arm64 Mac, Is it possible that an environment issue caused the "bug" to appear?
I can replicate this issue on my board too. It looks like an issue with toolchain dependencies, not with clion or arm mac. I have tested interrupts before with cmsis framework and it was working fine, but it has no driverlib. I will dig deeper next week
I can replicate this issue on my board too. It looks like an issue with toolchain dependencies, not with clion or arm mac. I have tested interrupts before with cmsis framework and it was working fine, but it has no driverlib. I will dig deeper next week
thx
When I try to declare function
PORT1_IRQHandler
in mymain.c
file, I found out that the board always stuck when I press any of buttons. It seems that the board has detected the interrupt but ignorePORT1_IRQHandler
function that I declared and fallback toDefault_Handler
instartup_msp432p401r_gcc.c
.