This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using the uVision IDE with a GIT repo

I've recently started sharing development activities with another developer. I created a GIT from the folder: C:\Keil\ARM\Device\Nordic\nrf51822\Board\pca10001\ble\myProjectFolder

The project inside myProjectFolder builds fine on my machine. I upload everything in myProjectFolder to a Github repo called myProjectFolder, which the new developer then downloads to exactly the same location with a fresh install of the dev environment.

When he tries to build, all library and library include files are missing part of the path. The project is looking for them in C:\Keil\ARM\Device\Nordic\Board\ instead of C:\Keil\ARM\Device\Nordic\nrf51822\Board. We compared the project files in myProjectFolder and they are identical as you would expect, since they were cloned from Github.

The (temporary) fix for this is that he removes all the library files from the project and adds them again with the correct path. In addition, he has to modify the includes paths in the project. But now we're afraid to re-sync his work with the Git repo because it will likely break the project on my side.

I'm guessing that the file paths are generated on-the-fly when the project is opened using some setting in the dev environment outside the project file. And my setting is somehow different than his. Does anyone have a clue what might be going on?

Parents Reply Children
Related