neoaspilet11
Full Member level 5
- Joined
- Sep 29, 2005
- Messages
- 277
- Helped
- 29
- Reputation
- 56
- Reaction score
- 8
- Trophy points
- 1,298
- Location
- Cebu, Philippines
- Activity points
- 4,048
Hello guys,
I having trouble in using C++ for STM32 devices using Kiel UVision4 compiler. It seems the codes are compiled and the compiled codes main() thread is working because it can turn on a LED in the trainer board.
The test program is quite simple, it will light up the LED in the main thread and it will blink the another led every 1 second in the RTC interrupt.
However the interrupt routines are not working.
Its even more weird that when i shift to purely C codes the interrupt routines are working fine. The serial port is even working properly.
However due to the complexity of project, we are left with no choice but to use mixed C/C++.
Any idea how to fixed this issue?
Thanks,
Jack
I having trouble in using C++ for STM32 devices using Kiel UVision4 compiler. It seems the codes are compiled and the compiled codes main() thread is working because it can turn on a LED in the trainer board.
The test program is quite simple, it will light up the LED in the main thread and it will blink the another led every 1 second in the RTC interrupt.
However the interrupt routines are not working.
Its even more weird that when i shift to purely C codes the interrupt routines are working fine. The serial port is even working properly.
However due to the complexity of project, we are left with no choice but to use mixed C/C++.
Any idea how to fixed this issue?
Thanks,
Jack