Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

coide_disco_f303vc.coproj.tmpl 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <Project version="2G - 1.7.5" name="{{name}}">
  3. <Target name="{{name}}" isCurrent="1">
  4. <Device manufacturerId="9" manufacturerName="ST" chipId="520" chipName="STM32F303VC" boardId="" boardName=""/>
  5. <BuildOption>
  6. <Compile>
  7. <Option name="OptimizationLevel" value="4"/>
  8. <Option name="UseFPU" value="0"/>
  9. <Option name="UserEditCompiler" value="-fno-common; -fmessage-length=0; -Wall; -fno-strict-aliasing; -fno-rtti; -fno-exceptions; -ffunction-sections; -fdata-sections; -std=gnu++98"/>
  10. <Option name="FPU" value="1"/>
  11. <Option name="SupportCPlusplus" value="1"/>
  12. <Includepaths>
  13. {% for path in include_paths %} <Includepath path="{{path}}"/> {% endfor %}
  14. </Includepaths>
  15. <DefinedSymbols>
  16. {% for s in symbols %} <Define name="{{s}}"/> {% endfor %}
  17. </DefinedSymbols>
  18. </Compile>
  19. <Link useDefault="0">
  20. <Option name="DiscardUnusedSection" value="1"/>
  21. <Option name="UserEditLinkder" value=""/>
  22. <Option name="UseMemoryLayout" value="0"/>
  23. <Option name="LTO" value="0"/>
  24. <Option name="IsNewStartupCode" value="1"/>
  25. <Option name="Library" value="Not use C Library"/>
  26. <Option name="nostartfiles" value="0"/>
  27. <Option name="UserEditLinker" value="-Wl,--wrap,main; --specs=nano.specs; -u _printf_float; -u _scanf_float; {% for file in object_files %}
  28. ${project.path}/{{file}}; {% endfor %} {% for p in library_paths %}-L${project.path}/{{p}}; {% endfor %}"/>
  29. <LinkedLibraries>
  30. {% for lib in libraries %}
  31. <Libset dir="" libs="{{lib}}"/>
  32. {% endfor %}
  33. <Libset dir="" libs="stdc++"/>
  34. <Libset dir="" libs="supc++"/>
  35. <Libset dir="" libs="m"/>
  36. <Libset dir="" libs="gcc"/>
  37. <Libset dir="" libs="c"/>
  38. <Libset dir="" libs="nosys"/>
  39. </LinkedLibraries>
  40. <MemoryAreas debugInFlashNotRAM="1">
  41. <Memory name="IROM1" type="ReadOnly" size="0x00040000" startValue="0x08000000"/>
  42. <Memory name="IRAM1" type="ReadWrite" size="0x00009E78" startValue="0x20000188"/>
  43. <Memory name="IROM2" type="ReadOnly" size="" startValue=""/>
  44. <Memory name="IRAM2" type="ReadWrite" size="0x00002000" startValue="0x10000000"/>
  45. </MemoryAreas>
  46. <LocateLinkFile path="{{scatter_file}}" type="0"/>
  47. </Link>
  48. <Output>
  49. <Option name="OutputFileType" value="0"/>
  50. <Option name="Path" value="./"/>
  51. <Option name="Name" value="{{name}}"/>
  52. <Option name="HEX" value="1"/>
  53. <Option name="BIN" value="1"/>
  54. </Output>
  55. <User>
  56. <UserRun name="Run#1" type="Before" checked="0" value=""/>
  57. <UserRun name="Run#1" type="After" checked="0" value=""/>
  58. </User>
  59. </BuildOption>
  60. <DebugOption>
  61. <Option name="org.coocox.codebugger.gdbjtag.core.adapter" value="ST-Link"/>
  62. <Option name="org.coocox.codebugger.gdbjtag.core.debugMode" value="SWD"/>
  63. <Option name="org.coocox.codebugger.gdbjtag.core.clockDiv" value="1M"/>
  64. <Option name="org.coocox.codebugger.gdbjtag.corerunToMain" value="1"/>
  65. <Option name="org.coocox.codebugger.gdbjtag.core.jlinkgdbserver" value=""/>
  66. <Option name="org.coocox.codebugger.gdbjtag.core.userDefineGDBScript" value=""/>
  67. <Option name="org.coocox.codebugger.gdbjtag.core.targetEndianess" value="0"/>
  68. <Option name="org.coocox.codebugger.gdbjtag.core.jlinkResetMode" value="Type 0: Normal"/>
  69. <Option name="org.coocox.codebugger.gdbjtag.core.resetMode" value="SYSRESETREQ"/>
  70. <Option name="org.coocox.codebugger.gdbjtag.core.ifSemihost" value="0"/>
  71. <Option name="org.coocox.codebugger.gdbjtag.core.ifCacheRom" value="1"/>
  72. <Option name="org.coocox.codebugger.gdbjtag.core.ipAddress" value="127.0.0.1"/>
  73. <Option name="org.coocox.codebugger.gdbjtag.core.portNumber" value="2009"/>
  74. <Option name="org.coocox.codebugger.gdbjtag.core.autoDownload" value="1"/>
  75. <Option name="org.coocox.codebugger.gdbjtag.core.verify" value="1"/>
  76. <Option name="org.coocox.codebugger.gdbjtag.core.downloadFuction" value="Erase Effected"/>
  77. <Option name="org.coocox.codebugger.gdbjtag.core.defaultAlgorithm" value="stm32f3xx_128.elf"/>
  78. </DebugOption>
  79. <ExcludeFile/>
  80. </Target>
  81. <Components path="./"/>
  82. <Files>
  83. {% for file in source_files %}
  84. <File name="sources/{{file.path}}" path="{{file.path}}" type="{{file.type}}"/>
  85. {% endfor %}
  86. {% for file in header_files %}
  87. <File name="headers/{{file.path}}" path="{{file.path}}" type="{{file.type}}"/>
  88. {% endfor %}
  89. </Files>
  90. </Project>