Bug on STM32CubeIDE at Project->Properties->C/C++ General->Paths and Symbols
I have been using STM32CubeIDE for quite some time. It's a great tool. How ever, I have been experiencing a bug in project settings since I updated to 1.6.1.
Usually, I put my code in a separate folder, thus I could build up a project using existing code quickly based on another type of STM32 chip. In this way, I must add my source location and include DIRs in Project->Properties->C/C++ General->Paths and Symbols. In the Includes tab, there are two items under Languages, GNU C and Assembly. Since I use C/C++ for programming, I add the DIRs under the GNU C item. There is no items under the Assembly item.
I get used to manage FreeRTOS resource using CubeMX .ioc file. Whenever I changed FreeRTOS resource in the .ioc file, I re-generate the code and it does the work. But it happens that sometimes all the DIRs under the GNU C item are moved into the Assembly item after the code is re-generated. The GNU C item is left blank. So the code does not compile at all. I have to add all the include DIR and source back into GNU C item again one by one.
I could not upload the whole project or code for reference due to confidential issues. I tried to describe the problems as clear as I can.
