<div dir="ltr"><div>I wasn't a fan of stm32cube or Eclipse either, but eventually I caved in.</div><div><br></div><div dir="ltr">I use System Workbench by AC6 (Eclipse based IDE with GCC toolchain and open source flash loader tools) along with STM32CubeMX to generate skeleton code which has an option for System Workbench.<br><br>This pairing has worked out of the box nicely for me. I especially like using the code generator for setting up clock routing and dealing with timer peripherals which can be tedious and complex on some of the M3 and M4 devices. IMHO it is much better thought-out than Freescale/NXP's hodgepodge effort.<br><br>The other thing I'd say is that it's nice being able to retain your source code when you regenerate code. It enables you to scale your project up module-by-module, drastically reassign peripherals, change clocking etc with some confidence that you wont continually break previous modules/dependencies along the way.<br><br>Loading the generated project/source code in System Workbench is a matter of file > import, and it should build first go, though I actually initialize a Git repo first, then import as git project. Yay! No command line work.<br><br>Worst thing? CubeMX and the Cube libs were little buggy last time I checked. There was a DMA issue I had where I had to disable/reenable a DMA channel to get it to load a timer edge capture correctly. I needed an interrupt to do this, so if it wasn't for the fact that I was capturing a burst of edges spaced ~100ns apart, then it would have somewhat defeated the purpose of using DMA in the first place. Also the RTC generator is/was daft. It would reload a hard-coded time value on reboot with no option to disable this from being generated.<br></div><div dir="ltr"><br></div><div>Cheers</div><div><br></div><div>Mikael<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 12, 2018 at 10:27 PM Mark Atherton <<a href="mailto:markaren1@xtra.co.nz">markaren1@xtra.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
Does anyone have any experience with the various toolchains out there <br>
for the STM32 ?<br>
<br>
Most of the stuff I do is bare-metal, but am definitely not a fan of <br>
stm32cube, or Eclipse.<br>
<br>
Obvious choices seem to be Keil uVison; the limited code-size trial IDE <br>
seems to be excellent. but looks like $$$$ is involved for the <br>
professional unlimited versions. I understand that ARM bought Keil a <br>
while ago, and that this product is their tool of choice.<br>
<br>
ARM do have a free toolchain gcc-arm-none-eabi (85MB) available, which <br>
seems odd given the conflict of interest with Keil.<br>
<br>
openSTM32 (owned by ac6) have an open source 'System Workbench for <br>
STM32' which seems bulky (!) at over 450MB.<br>
<br>
Finally, at least the older uVision toolchain appears to allow GCC tools <br>
to be installed. Anyone used this combination, if there is no code limit <br>
size on their debugger, this would be ideal.<br>
<br>
Comments, thoughts and experiences please.<br>
<br>
Thanks,<br>
<br>
Mark<br>
<br>
<br>
<br>
_______________________________________________<br>
Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com" target="_blank">Chchrobotics@lists.ourshack.com</a><br>
<a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a><br>
Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/pipermail/chchrobotics/</a><br>
Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a> for venue, directions and dates.<br>
When replying, please edit your Subject line to reflect new subjects.</blockquote></div>