File: simple_project.py

package info (click to toggle)
python-project-generator 0.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 900 kB
  • sloc: python: 4,198; makefile: 18; sh: 9
file content (39 lines) | stat: -rw-r--r-- 1,087 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
project_1_yaml = {
    'common': {
        'sources': {'sources': ['test_workspace/main.cpp']},
        'includes': {'includes': ['test_workspace/header1.h']},
        'macros': ['MACRO1', 'MACRO2'],
        'target': ['mbed-lpc1768'],
        'core': ['core1'],
        'tools_supported': ['iar_arm', 'uvision', 'coide', 'unknown'],
        'output_type': ['exe'],
        'debugger': ['j-link'],
        'linker_file': ['test_workspace/linker.ld'],
    }
}

project_2_yaml = {
    'common': {
        'sources': ['test_workspace/main.cpp'],
        'includes': ['test_workspace/header1.h'],
        'macros': ['MACRO1', 'MACRO2'],
        'target': ['mbed-lpc1768'],
        'core': ['core2'],
        'output_type': ['exe'],
        'debugger': ['j-link'],
        'linker_file': ['test_workspace/linker.ld'],
    }
}

projects_yaml = {
    'projects': {
        'project_2': ['test_workspace/project_2.yaml'],
        'project_3': ['test_workspace/project_1.yaml'],
    },
    'workspaces': {
        'project_workspace': {
            'projects': ['project_3'],
        },
    }

}