Re: [distortos-development] distortos 0.6.0 released
object-oriented C++ RTOS for microcontrollers
Brought to you by:
distortec
|
From: Kamil S. <dis...@di...> - 2018-07-03 06:31:00
|
On Mon, 2018-07-02 at 20:10 +0800, Winston Rodrigues wrote: > There is one step missing in Eclipse configuration guide. > > Please add this one. Hello Winston! The article you mentioned is the second part of a series: 1. "ARM toolchain for Windows" http://distortos.org/documentation/arm-toolchain-windows/ 2. "Creating and configuring a project in Eclipse" http://distortos.org/documentation/creating-configuring-project-eclipse/ 3. "Eclipse debugging setup for ARM microcontrollers" http://distortos.org/documentation/eclipse-debugging-setup-arm-microcontrollers/ (I should also provide an alternate version of first article for Linux) In the first article there's a chapter called "Add tools to PATH environment variable" and in there I recommend to add all tools (gcc toolchain, kconfig-frontends, MSYS2) to system's PATH variable. This is definitely not the only possible solution. Your method of setting that via Eclipse's project settings is also a possibility. However using Eclipse for environment variables has a serious flaw (at least in my opinion, when using my "workflow"), that it affects only the tools you run via Eclipse. For 99% of cases this is not a big issue, as you build and debug the project in Eclipse anyway, but `make menuconfig` is something you should be starting from the terminal (like `cmd.exe` in Windows), not from Eclipse (I think it won't work anyway when started from Eclipse, but I may be wrong here). For `make menuconfig` to work you need at least MSYS2 and kconfig-frontends in system's PATH variable, so no use in setting that again in Eclipse... One of my goals for these 3 articles was to show the easiest way that I know. This is definitely not "the only way" and neither it is "the best way" - just a way which can be described in a small number of steps. Unless your suggestion is about something completely different and without the modification you mentioned the project does not build? Please let me know if that's the case! BTW - if you have suggestions for improving the articles just let me know. Or maybe there's some specific topic that you think should be covered on the website? Regards, Kamil Szczygieł |