<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div><div>I'm using Qt Creator with QBS for debugging embedded targets with the BareMetal plugin.<br></div><div>This works fine until build process gets a bit more complex.<br></div></div></div></div><br></div></div>In old qbs file product type was <br><br></div><div><b>type: ["application"]</b><br><br></div><div>in that case, everything works fine. Build output is<br><b><br>

</b><p style="margin:0px;text-indent:0px"><b><span style="color:rgb(60,60,60)">linking nrf51822_ble_nano_test.elf</span></b></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">Uploading and debugging can be startet using the debug button.</p><p style="margin:0px;text-indent:0px"><span style="color:rgb(60,60,60)"></span></p><p style="margin:0px;text-indent:0px"><br><span style="color:rgb(60,60,60)"></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(60,60,60)">-----------------<br></span></p><br>I've added two rules for the new build process, which converts the output file to hex<br>and then merge it with a second hex file. In that case product type needs to be changed<br><br></div><div><b>type: ["combHex"]</b><br><br></div><div>build output:<br><br><p style="margin:0px;text-indent:0px"><b><span style="color:rgb(60,60,60)">compiling main.cpp</span></b></p><b>
</b><p style="margin:0px;text-indent:0px"><b><span style="color:rgb(60,60,60)">linking nrf51822_ble_nano_test.elf</span></b></p><b>
</b><p style="margin:0px;text-indent:0px"><b><span style="color:rgb(60,60,60)">converting nrf51822_ble_nano_test.elf to nrf51822_ble_nano_test.hex</span></b></p><b>
</b><p style="margin:0px;text-indent:0px"><b><span style="color:rgb(60,60,60)">combining nrf51822_ble_nano_test.hex and s110_nrf51822_7.1.0_softdevice.hex to nrf51822_ble_nano_test_combined.hex</span></b></p><br></div><div>But now, debugging and uploading does not work anymore.<br></div><div>I only get the following popup when pressing the debug button.<br><br><img alt="Inline-Bild 1" src="cid:ii_1494718a3cfb8abf" width="382" height="259"><br><br></div><div>It seems that BareMetal plugin does not recognize the target file anymore.<br></div><div>Is there any solution for this?<br><br></div><div>Best Regards,<br></div><div>Railwaycoder<br></div><div><br></div><div><br><br></div></div>
</div><br></div>