How to organize the sources of a complex program?

We are creating a very complex embedded system, and "sources" contains several Visual C ++, IAR, Code Composer Studio and Altium Designer and pcbs schemas. All this, possibly, can be in several versions. So, what practice would you advise me to organize all this? thank you

+3
source share
7 answers

I have the same setting as yours.

I use Altium Designer for hardware circuitry and PCB design. But I also have the source firmware files and related utilities. And I have mechanical design files.

Here is how I do it:

Project Name
    Firmware
        MainCpu
            trunk
            tags
            branches
        IoCpu
            trunk
            tags
            branches
    Hardware
        MainPcb
            trunk
            tags
            branches
        IoPcb
            trunk
            tags
            branches
        PowerPcb
            trunk
            tags
            branches
    Mechanical
        Chassis
            trunk
            tags
            branches
        Other
            trunk
            tags
            branches

, SVN. , , , FW/HW/MEK. FW/HW/MEK.

FW/HW/MEK , .

+3

, , , SVN. , , . SVN , .

+4

++ , , grokking Large Scale ++ Software Design , . - , , , .

+2

, (.. , DSP1, FPGA1, FPGA2,...)

(), , . . (.. )

, .

+1

, , , . SVN - fav.

, , , Altium Designer , ) b) , , " . " PCB "( , ) " " , , .

Altium , , , .

0

( ) cpp/h cpp/h , .

( , . .net CompanyName.ProductName, / ProductName ). , Math, I/O Drawing .

, (MyCompany.Math). , , . "" , , , .

- , 5-15 . , ; , , .

/ / , , .

, , .cpp.h , , .

0

!

- . , :

=

, , .

-2

Source: https://habr.com/ru/post/1726228/


All Articles