Anonymous
Not applicable
May 12, 2011
12:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 12, 2011
12:43 PM
Given two projects, one using UART, the other using SPI.
80% of the C programming for these projects is identical, the remaining code is dependent on the communication means.
What is best practice for maintaining the common code in one place and sharing it between the projects?
Thanks!
Solved! Go to Solution.
1 Solution
May 12, 2011
01:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 12, 2011
01:39 PM
When you are able to structure your common code into modules, you can set them up as components and use them in your two projects. Or you put them into one directory and use hard links (with junction.exe) to link into your projects.
1 Reply