Qtcreator 4.5.2 Ubuntu 18, Bare metal
-
I am following couple of links and I end up with no warnings and or errors in the whole setup process.
When I start debugger noting happen.
If I disable start openocd and I start it manually, i can connect to running gdb but all the breakpoints are all over the place.
I have the screen shots posted here.
What I am doing wrongBaremetal config
build and run config
compiler config
kits config
run as debug config selected last option
debugging, starts & stops
-
Use latest QtC
-
Updated form qt website. -> qt-unified-linux-x64-3.0.5-online.run
At: http://doc.qt.io/qtcreator/creator-developing-baremetal.html
Select Tools > Options > Devices > Add > Bare Metal Device >Start Wizard::
there is no Start Wizard: ?!?!?!
Though I pressed Add. and have what is already seen in first postthen
7. Select Projects > Build & Run and there is a picture there
Which mt IDE does not lead to same settings., anyway
the add option (debug)PRESS DEBUG
11:35:03: Running steps for project s2w10lqt...
11:35:03: Starting: "/usr/bin/make" all << why is starting this when
make: Nothing to be done for 'all'.
11:35:03: The process "/usr/bin/make" exited normally.
11:35:03: Elapsed time: 00:00.Any workaround ?
-
SOLVED
Finally got it to work.
I installed st-util and used as a bare-metal device that instead OpenOCD,
thuogh, I have to press Run and not Debug, with a breakpoint on main.With all the hassle I prefer to use Qt IDE (the only decent IDE that RUNS under Linux.)
-
SOLVED
Finally got it to work.
I installed st-util and used as a bare-metal device that instead OpenOCD,
thuogh, I have to press Run and not Debug, with a breakpoint on main.With all the hassle I prefer to use Qt IDE (the only decent IDE that RUNS under Linux.)