Clone of official tools

Committer:
Anders Blomdell
Date:
Thu Feb 04 17:17:13 2021 +0100
Revision:
47:21ae3e5a7128
Parent:
43:2a7da56ebd24
Add a few normpath calls

Who changed what in which revision?

UserRevisionLine numberNew contents of line
theotherjimmy 43:2a7da56ebd24 1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
theotherjimmy 43:2a7da56ebd24 2 <CodeBlocks_project_file>
theotherjimmy 43:2a7da56ebd24 3 <FileVersion major="1" minor="6" />
theotherjimmy 43:2a7da56ebd24 4 <Project>
theotherjimmy 43:2a7da56ebd24 5 <Option title="{{project_name}}" />
theotherjimmy 43:2a7da56ebd24 6 <Option pch_mode="2" />
theotherjimmy 43:2a7da56ebd24 7 <Option compiler="arm-elf-gcc" />
theotherjimmy 43:2a7da56ebd24 8 <Build>
theotherjimmy 43:2a7da56ebd24 9 <Target title="Debug">
theotherjimmy 43:2a7da56ebd24 10 <Option output="bin/Debug/{{project_name}}.elf" prefix_auto="1" extension_auto="0" />
theotherjimmy 43:2a7da56ebd24 11 <Option object_output="obj/Debug/" />
theotherjimmy 43:2a7da56ebd24 12 <Option type="1" />
theotherjimmy 43:2a7da56ebd24 13 <Option compiler="arm-elf-gcc" />
theotherjimmy 43:2a7da56ebd24 14 <Option use_console_runner="0" />
theotherjimmy 43:2a7da56ebd24 15 <Compiler>
theotherjimmy 43:2a7da56ebd24 16 {% for f in debug_flags -%}
theotherjimmy 43:2a7da56ebd24 17 <Add option="{{f}}" />
theotherjimmy 43:2a7da56ebd24 18 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 19 </Compiler>
theotherjimmy 43:2a7da56ebd24 20 <Linker>
theotherjimmy 43:2a7da56ebd24 21 <Add option='-Wl,-Map,&quot;bin/Debug/{{project_name}}.map&quot;' />
theotherjimmy 43:2a7da56ebd24 22 </Linker>
theotherjimmy 43:2a7da56ebd24 23 {% if ncs36510addfib -%}
theotherjimmy 43:2a7da56ebd24 24 <ExtraCommands>
theotherjimmy 43:2a7da56ebd24 25 <Add after="ncs36510updatefib -u bin/Debug/{{project_name}}.elf" />
theotherjimmy 43:2a7da56ebd24 26 </ExtraCommands>
theotherjimmy 43:2a7da56ebd24 27 {% endif -%}
theotherjimmy 43:2a7da56ebd24 28 </Target>
theotherjimmy 43:2a7da56ebd24 29 <Target title="Release">
theotherjimmy 43:2a7da56ebd24 30 <Option output="bin/Release/{{project_name}}.elf" prefix_auto="1" extension_auto="0" />
theotherjimmy 43:2a7da56ebd24 31 <Option object_output="obj/Release/" />
theotherjimmy 43:2a7da56ebd24 32 <Option type="1" />
theotherjimmy 43:2a7da56ebd24 33 <Option compiler="arm-elf-gcc" />
theotherjimmy 43:2a7da56ebd24 34 <Option use_console_runner="0" />
theotherjimmy 43:2a7da56ebd24 35 <Compiler>
theotherjimmy 43:2a7da56ebd24 36 <Add option="-DNDEBUG" />
theotherjimmy 43:2a7da56ebd24 37 {% for f in release_flags -%}
theotherjimmy 43:2a7da56ebd24 38 <Add option="{{f}}" />
theotherjimmy 43:2a7da56ebd24 39 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 40 </Compiler>
theotherjimmy 43:2a7da56ebd24 41 <Linker>
theotherjimmy 43:2a7da56ebd24 42 <Add option='-Wl,-Map,&quot;bin/Release/{{project_name}}.map&quot;' />
theotherjimmy 43:2a7da56ebd24 43 </Linker>
theotherjimmy 43:2a7da56ebd24 44 {% if ncs36510addfib -%}
theotherjimmy 43:2a7da56ebd24 45 <ExtraCommands>
theotherjimmy 43:2a7da56ebd24 46 <Add after="ncs36510updatefib -u bin/Release/{{project_name}}.elf" />
theotherjimmy 43:2a7da56ebd24 47 </ExtraCommands>
theotherjimmy 43:2a7da56ebd24 48 {% endif -%}
theotherjimmy 43:2a7da56ebd24 49 </Target>
theotherjimmy 43:2a7da56ebd24 50 </Build>
theotherjimmy 43:2a7da56ebd24 51 <Compiler>
theotherjimmy 43:2a7da56ebd24 52 {% for f in comp_flags -%}
theotherjimmy 43:2a7da56ebd24 53 <Add option="{{f}}" />
theotherjimmy 43:2a7da56ebd24 54 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 55 {% for f in include_paths -%}
theotherjimmy 43:2a7da56ebd24 56 <Add directory="{{f}}" />
theotherjimmy 43:2a7da56ebd24 57 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 58 </Compiler>
theotherjimmy 43:2a7da56ebd24 59 <Linker>
theotherjimmy 43:2a7da56ebd24 60 {% for f in ld_flags -%}
theotherjimmy 43:2a7da56ebd24 61 <Add option="{{f}}" />
theotherjimmy 43:2a7da56ebd24 62 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 63 <Add option="-T {{linker_script}}" />
theotherjimmy 43:2a7da56ebd24 64 <Add option="-Wl,--start-group {{sys_libs|join(" ")}} {{libraries|join(" ")}} -Wl,--end-group" />
theotherjimmy 43:2a7da56ebd24 65 {% for f in sys_libs -%}
theotherjimmy 43:2a7da56ebd24 66 <Add option="{{f}}" />
theotherjimmy 43:2a7da56ebd24 67 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 68 {% for f in libraries -%}
theotherjimmy 43:2a7da56ebd24 69 <Add option="{{f}}" />
theotherjimmy 43:2a7da56ebd24 70 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 71 </Linker>
theotherjimmy 43:2a7da56ebd24 72 {% for f in headers -%}
theotherjimmy 43:2a7da56ebd24 73 <Unit filename="{{f}}"/>
theotherjimmy 43:2a7da56ebd24 74 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 75 {% for f in c_sources -%}
theotherjimmy 43:2a7da56ebd24 76 <Unit filename="{{f}}">
theotherjimmy 43:2a7da56ebd24 77 <Option compilerVar="CC" />
theotherjimmy 43:2a7da56ebd24 78 </Unit>
theotherjimmy 43:2a7da56ebd24 79 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 80 {% for f in s_sources -%}
theotherjimmy 43:2a7da56ebd24 81 <Unit filename="{{f}}">
theotherjimmy 43:2a7da56ebd24 82 <Option compilerVar="CPP" />
theotherjimmy 43:2a7da56ebd24 83 </Unit>
theotherjimmy 43:2a7da56ebd24 84 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 85 {% for f in cpp_sources -%}
theotherjimmy 43:2a7da56ebd24 86 <Unit filename="{{f}}">
theotherjimmy 43:2a7da56ebd24 87 <Option compilerVar="CPP" />
theotherjimmy 43:2a7da56ebd24 88 </Unit>
theotherjimmy 43:2a7da56ebd24 89 {% endfor -%}
theotherjimmy 43:2a7da56ebd24 90 <Extensions>
theotherjimmy 43:2a7da56ebd24 91 {% if openocdboard != '' -%}
theotherjimmy 43:2a7da56ebd24 92 <debugger>
theotherjimmy 43:2a7da56ebd24 93 <remote_debugging target="Release">
theotherjimmy 43:2a7da56ebd24 94 <options conn_type="3" serial_baud="115200" pipe_command="openocd -p -l openocd.log -f {{openocdboard}}" additional_cmds='monitor reset halt&#x0A;monitor flash write_image erase &quot;bin/Release/{{project_name}}.elf&quot;&#x0A;file &quot;bin/Release/{{project_name}}.elf&quot;&#x0A;monitor reset halt&#x0A;' extended_remote="1" />
theotherjimmy 43:2a7da56ebd24 95 </remote_debugging>
theotherjimmy 43:2a7da56ebd24 96 <remote_debugging target="Debug">
theotherjimmy 43:2a7da56ebd24 97 <options conn_type="3" serial_baud="115200" pipe_command="openocd -p -l openocd.log -f {{openocdboard}}" additional_cmds='monitor reset halt&#x0A;monitor flash write_image erase &quot;bin/Debug/{{project_name}}.elf&quot;&#x0A;file &quot;bin/Debug/{{project_name}}.elf&quot;&#x0A;monitor reset halt&#x0A;' extended_remote="1" />
theotherjimmy 43:2a7da56ebd24 98 </remote_debugging>
theotherjimmy 43:2a7da56ebd24 99 </debugger>
theotherjimmy 43:2a7da56ebd24 100 {% endif -%}
theotherjimmy 43:2a7da56ebd24 101 </Extensions>
theotherjimmy 43:2a7da56ebd24 102 </Project>
theotherjimmy 43:2a7da56ebd24 103 </CodeBlocks_project_file>