Compiling/Linking Baseflight and Harakiri - KEIL MDK+ARM GCC

Post Reply
User avatar
aBUGSworstnightmare
Posts: 115
Joined: Mon Jun 27, 2011 8:31 pm
Location: Munich, Germany

Re: Compiling/Linking Baseflight and Harakiri - KEIL MDK+ARM

Post by aBUGSworstnightmare »

Hi,

since I still need to figure out how to debug with Keil + GCC I've made a short test with another IDE for giving me a lift.

I've use emIDE (http://emide.org) and my Segger j-Link ultra+.
After the projects was set-up and configured (not a big deal at all; be shure to use the start-up and linker script file supplied with the How-To!) I just made a short debug-session which went flawlessly.

emWin - debugging with J-Link
emWin - debugging with J-Link


Maybe an option if Keil refuses to debug with GDB.

@Timecop: can you pls clarify what you do with/in void ACC_getADC(void)? GCC generates a Compiler Error here for -O3 setting.
GCC compiler segmentation fault error with -O3 optimization
GCC compiler segmentation fault error with -O3 optimization


aBUGSworstnightmare

Post Reply