![]() While I do now have it working (using Visual Studio Code). At the same time, I have gained more experience, and I'm starting to find the "bare" ways most efficient, forgetting that when I was a beginner, it was easier to just click a few buttons without knowing what's going on.) Sorry.I have just wasted 2 days trying to get the free openocd/gcc/gdb offline compiler working, due to things missing in the documentation, things not working like the documentation says, etc. (Lately, my projects have been becoming so complex and big, that any setup time has become irrelevant. I grew up through the IDEs, too, and I guess today the path is kind of Arduino -> bloat libraries & bloat IDEs -> questioning them -> learning. So, what I said should never be said to a beginner. Probably simply because that's what they are developed for and tested against. I think what I wrote is kind of idealistic, but due to total lack of simple, up-to-date documentation and simple installation packages, the inherently more complex choice of multitude of often vendor specific IDEs end up giving a much quicker and less painful start. I wish I could go back in time and tell the past myself: "you'll be okay, don't give up, and psst: the issue is that the linker scripts on that Swedish Ubuntu guy's website are broken, initializing the stack pointer incorrectly aligned!" Yeah, I think I was delusional while writing that, mixing up reality and wishful thinking. For example, with STM32, it took about half a year of absolute and total pain I thought I'd never forget, but somehow apparently did forget after all. No! Now that you say that, I realize I was 100% bullshitting right there without even realizing it. To use it as a MCU development environment, though, one needs to do some plumbing: install an ARM gcc/gbd, OpenOCD, the STM Cube and a couple of needed extensions, and also prepare a basic project and Makefile. If a large and complex IDE is not to your liking, you might also consider Visual Studio Code: it's an Open Source, multi platform (Windows, OS-X and Linux) editor, lightweight, fast and very flexible. If you are on Windows and not opposed to fork out a reasonable amount of money, my personal preference is VisualGDB on Visual Studio: VS is a top level IDE (Community edition is free as in beer), and VGDB bridges it towards GDB and GCC in a mostly seamless way. If one decides to switch vendor or widen one's MCU knowledge, there's no need to relearn the quirks of a vendor specific IDE. System Workbench is that the former supports many different (ARM) MCUs, while he latter is STM32 specific. One thing to add about Atollic True Studio vs. Maybe Keil can be simpler for start.but the flexibility of eclipse based IDE cannot be beatenįor free IDEs you've already got a number of good suggestions. So you import project and after that debugger, compiler should work.no more hassle. Attolic is more commercial based for advanced tasks like profiling etc and system workbench is developed by ST to ease development with ST mcus. ![]() Difference between Attolic and System workbench and other eclipse based IDEs is mainly that they use eclipse as the core IDE and pack it with set of plugins. ![]() Even in times I used to work in ST we used ARM modified eclipse IDE. Even in corporations these eclipse based IDEs are used frequently. It can be difficult to learn at first - eclipse is really huge IDE ecosystem - it can be used for HTML, java, PHP, python. If I shall write about power of IDEs like System workbench or Attolic I must note that they are both eclipse-based. You can simply import these pre-created project, build and flash and it should work.no more work needed. If you are learning with ST mcus, you will probably download firmware pack for your board (STM Cube will download it for you).inside you can find variety of examples for your discovery board for Keil, Attolic and system workbench (inside folder named SW4STM32). I must also highly recommend System Workbench (aka AC6).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |