I’ve been holding off on moving to the new M2MSudio because all of my active projects use older firmware but now I have no choice (need to use new firmware with needed bug fixes). Moving to the new environment has just wasted the last 3 days of my life and it still isn’t working for me. Here is just the short list of the problems I’m having, has anyone else seen these problems?
My directory structure looks like this:
/MainDirectory /SourceDirectory1 /SourceDirectory2 /SourceDirectory3 /SourceDirectory4 /ProjectFiles
In this case I’ve added a new project directory for M2M Sudio. I created a new project. I haven’t had any problems with adding the include directories.
For the first problem I’m having… To add source directories I go to Project->Properties. From there I go to C/C++ General->Paths and Symbols. I go to the Source Location tab, click the Link Folder button. I click the “Link to folder in the file system”, enter the directory and click OK. In the beginning I folder shows in the project, with a green circle with a “C”. The project builds just fine. Then at some point I’ll go into the Project->Properties page and FOR NO REASON all the source directories revert to “normal” folders. The green “C” circle disappears and I can’t build the project anymore. Can someone tell me how to fix it so my source directories don’t revert? It just happened to me for the again when I added a new library file to the build. The time before that it was when I changed from the 256K memory model to 1MB model. The only way to recover is to delete the older project files and recreate the project from scratch. This is a MAJOR problem for how large and how many files are in the project !!!
Second Problem: Using the process above, it appears I can only add directories to one build Configuration. If I add all the source directories while one configuration is selected (lets say “RVDS Release” build). If I then change to another configuration (lets say “RVDS Debug”) and try to add the same source directories I get an error “The folder already exists”. Why?
Third Problem: If I try the same process above but change the Configuration to [All Configurations] then things get all messed up. After adding the source folder the Properties page goes “Blank” where all the edit boxes disappear and some of the buttons disappear. My only option is to exit the Properties box and enter. Then when I navigate to the “Source Location” tab again, while a specific Configuration is selected (the “RVDS Debug” config for example) the directory isn’t in the source folder list. When I try to add the source directory I get the error “The folder already exists”. So the directory isn’t in the list BUT now I can’t add it!!!