coll_16.wvproj 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. {
  2. "version": "1.0",
  3. "isNormalMRSProject": true,
  4. "basic": {
  5. "chipInfo": {
  6. "vendor": "WCH",
  7. "toolchain": "RISC-V",
  8. "series": "CH32V203",
  9. "rtos": "NoneOS",
  10. "mcu": "CH32V203G6U6",
  11. "description": "ROM(byte): 64K, SRAM(byte): 20K, CHIP PINS: 32, GPIO PORTS: 27.\\nWCH CH32V2 series of mainstream MCUs covers the needs of a large variety of applications in the industrial,medical and consumer markets. High performance with first-class peripherals and low-power,low-voltage operation is paired with a high level of integration at accessible prices with a simple architecture and easy-to-use tools.",
  12. "link": "WCH-Link",
  13. "peripheral_version": "1.0",
  14. "calibrateSupport": false,
  15. "calibrateCommand": ""
  16. },
  17. "linkedFolders": [
  18. {
  19. "name": "Core",
  20. "location": "../Library/SRC/Core"
  21. },
  22. {
  23. "name": "Debug",
  24. "location": "../Library/SRC/Debug"
  25. },
  26. {
  27. "name": "Ld",
  28. "location": "../Library/SRC/Ld"
  29. },
  30. {
  31. "name": "Peripheral",
  32. "location": "../Library/SRC/Peripheral"
  33. },
  34. {
  35. "name": "Startup",
  36. "location": "../Library/SRC/Startup"
  37. }
  38. ],
  39. "removedResources": [
  40. {
  41. "parentLogicPath": "",
  42. "type": "file",
  43. "name": "*.wvproj"
  44. }
  45. ],
  46. "projectName": "coll_16",
  47. "architecture": "RISC-V",
  48. "projectType": "c"
  49. },
  50. "buildConfig": {
  51. "configurations": [
  52. {
  53. "buildArtifact": {
  54. "artifact_name": "${ProjName}",
  55. "artifact_extension": "elf",
  56. "output_prefix": "",
  57. "artifact_type": "Executable"
  58. },
  59. "parallelizationNumber": "optimal",
  60. "stop_on_first_build_error": true,
  61. "pre_script": "",
  62. "pre_script_description": "",
  63. "post_script": "",
  64. "post_script_description": "",
  65. "excludeResources": [
  66. "${project}/Startup/startup_ch32v20x_D8W.S",
  67. "${project}/Startup/startup_ch32v20x_D8.S"
  68. ],
  69. "optimization": {
  70. "level": "none",
  71. "message_length": true,
  72. "char_is_signed": true,
  73. "function_sections": true,
  74. "data_sections": true,
  75. "no_common_unitialized": true,
  76. "do_not_inline_functions": false,
  77. "assume_freestanding_environment": false,
  78. "disable_builtin": false,
  79. "single_precision_constants": false,
  80. "position_independent_code": false,
  81. "link_time_optimizer": false,
  82. "disable_loop_invariant_move": false,
  83. "optimize_unused_sections_declared_as_high_code": false,
  84. "code_generation_without_hardware_floating": false,
  85. "use_pipelines": false,
  86. "show_caret_indicating_the_column": false,
  87. "other_optimization_flags": ""
  88. },
  89. "warnings": {
  90. "check_syntax_only": false,
  91. "pedantic": false,
  92. "pedantic_warnings_as_errors": false,
  93. "inhibit_all_warnings": false,
  94. "warn_on_various_unused_elements": true,
  95. "warn_on_uninitialized_variables": true,
  96. "enable_all_common_warnings": false,
  97. "enable_extra_warnings": false,
  98. "warn_on_undeclared_global_function": false,
  99. "warn_on_implicit_conversions": false,
  100. "warn_if_pointer_arthmetic": false,
  101. "warn_if_padding_is_included": false,
  102. "warn_if_shadowed_variable": false,
  103. "warn_if_suspicious_logical_ops": false,
  104. "warn_if_struct_is_returned": false,
  105. "warn_if_floats_are_compared_as_equal": false,
  106. "generate_errors_instead_of_warnings": false,
  107. "other_warning_flags": ""
  108. },
  109. "debugging": {
  110. "debug_level": "default",
  111. "debug_format": "default",
  112. "generate_prof_information": false,
  113. "generate_gprof_information": false,
  114. "other_debugging_flags": ""
  115. },
  116. "assembler": {
  117. "preprocessor": {
  118. "use_preprocessor": true,
  119. "do_not_search_system_directories": false,
  120. "preprocess_only": false,
  121. "defined_symbols": [],
  122. "undefined_symbols": []
  123. },
  124. "includes": {
  125. "include_paths": [
  126. "${project}/Startup"
  127. ],
  128. "include_system_paths": [],
  129. "include_files": []
  130. },
  131. "other_warning_flags": "",
  132. "miscellaneous": {
  133. "assembler_flags": [],
  134. "generate_assembler_listing": false,
  135. "save_temporary_files": false,
  136. "verbose": false,
  137. "other_assembler_flags": ""
  138. }
  139. },
  140. "ccompiler": {
  141. "preprocessor": {
  142. "do_not_search_system_directories": false,
  143. "preprocess_only": false,
  144. "defined_symbols": [],
  145. "undefined_symbols": []
  146. },
  147. "includes": {
  148. "include_paths": [
  149. "${project}/Debug",
  150. "${project}/Core",
  151. "${project}/User",
  152. "${project}/Peripheral/inc",
  153. "${project}/User/include",
  154. "${project}/components/ws2812b",
  155. "${project}/components/user_uart",
  156. "${project}/components/server",
  157. "${project}/components/tools"
  158. ],
  159. "include_system_paths": [],
  160. "include_files": []
  161. },
  162. "optimization": {
  163. "language_standard": "gnu99",
  164. "other_optimization_flags": ""
  165. },
  166. "warnings": {
  167. "warn_if_a_global_function_has_no_prototype": false,
  168. "warn_if_a_function_has_no_arg_type": false,
  169. "warn_if_wrong_cast": false,
  170. "other_warning_flags": ""
  171. },
  172. "miscellaneous": {
  173. "generate_assembler_listing": false,
  174. "save_temporary_files": false,
  175. "verbose": false,
  176. "other_compiler_flags": ""
  177. }
  178. },
  179. "cppcompiler": {
  180. "preprocessor": {
  181. "do_not_search_system_directories": false,
  182. "do_not_search_system_cpp_directories": false,
  183. "preprocess_only": false,
  184. "defined_symbols": [],
  185. "undefined_symbols": []
  186. },
  187. "includes": {
  188. "include_paths": [],
  189. "include_system_paths": [],
  190. "include_files": []
  191. },
  192. "optimization": {
  193. "cpp_language_standard": "gnucpp11",
  194. "abi_version": "0",
  195. "do_not_use_exceptions": false,
  196. "do_not_use_rtti": false,
  197. "do_not_use__cxa_atexit": false,
  198. "do_not_use_thread_safe_statics": false,
  199. "other_optimization_flags": ""
  200. },
  201. "warnings": {
  202. "warn_on_abi_violations": false,
  203. "warn_on_class_privacy": false,
  204. "warn_on_no_except_expressions": false,
  205. "warn_on_virtual_destructors": false,
  206. "warn_on_uncast_null": false,
  207. "warn_on_sign_promotion": false,
  208. "warn_about_effictive_cpp_violcations": false,
  209. "other_warning_flags": ""
  210. },
  211. "miscellaneous": {
  212. "generate_assembler_listing": false,
  213. "save_temporary_files": false,
  214. "verbose": false,
  215. "other_compiler_flags": ""
  216. }
  217. },
  218. "clinker": {
  219. "general": {
  220. "scriptFiles": [
  221. "${project}/Ld/Link.ld"
  222. ],
  223. "do_not_use_standard_start_files": true,
  224. "do_not_use_default_libraries": false,
  225. "no_startup_or_default_libs": false,
  226. "remove_unused_sections": true,
  227. "print_removed_sections": false,
  228. "omit_all_symbol_information": false
  229. },
  230. "libraries": {
  231. "libraries": [],
  232. "library_search_path": []
  233. },
  234. "miscellaneous": {
  235. "picolibc": "disabled",
  236. "linker_flags": [],
  237. "other_objects": [],
  238. "generate_map": "\"${BuildArtifactFileBaseName}.map\"",
  239. "cross_reference": false,
  240. "print_link_map": false,
  241. "use_newlib_nano": true,
  242. "use_float_with_nano_printf": false,
  243. "use_float_with_nano_scanf": false,
  244. "do_not_use_syscalls": true,
  245. "verbose": false,
  246. "use_wch_printffloat": false,
  247. "use_wch_printf": false,
  248. "use_iqmath": false,
  249. "other_linker_flags": ""
  250. }
  251. },
  252. "cpplinker": {
  253. "general": {
  254. "scriptFiles": [
  255. "${project}/Ld/Link.ld"
  256. ],
  257. "do_not_use_standard_start_files": true,
  258. "do_not_use_default_libraries": false,
  259. "no_startup_or_default_libs": false,
  260. "remove_unused_sections": true,
  261. "print_removed_sections": false,
  262. "omit_all_symbol_information": false
  263. },
  264. "libraries": {
  265. "libraries": [],
  266. "library_search_path": []
  267. },
  268. "miscellaneous": {
  269. "picolibc": "disabled",
  270. "linker_flags": [],
  271. "other_objects": [],
  272. "generate_map": "\"${BuildArtifactFileBaseName}.map\"",
  273. "cross_reference": false,
  274. "print_link_map": false,
  275. "use_newlib_nano": true,
  276. "use_float_with_nano_printf": false,
  277. "use_float_with_nano_scanf": false,
  278. "do_not_use_syscalls": true,
  279. "verbose": false,
  280. "use_wch_printffloat": false,
  281. "use_wch_printf": false,
  282. "use_iqmath": false,
  283. "other_linker_flags": ""
  284. }
  285. },
  286. "archiver": {
  287. "archiver_flags": "-r"
  288. },
  289. "createFlash": {
  290. "enabled": true,
  291. "outputFileFormat": "ihex",
  292. "copy_only_section_text": false,
  293. "copy_only_section_data": false,
  294. "copy_only_sections": [],
  295. "other_flags": ""
  296. },
  297. "createList": {
  298. "enabled": true,
  299. "display_source": false,
  300. "display_all_headers": true,
  301. "demangle_names": true,
  302. "display_debug_info": false,
  303. "disassemble": true,
  304. "display_file_headers": false,
  305. "display_line_numbers": false,
  306. "display_relocation_info": false,
  307. "display_symbols": false,
  308. "wide_lines": false,
  309. "other_flags": ""
  310. },
  311. "printSize": {
  312. "enabled": true,
  313. "size_format": "berkeley",
  314. "hex": false,
  315. "show_totals": false,
  316. "other_flags": ""
  317. },
  318. "riscvTargetProcessor": {
  319. "architecture": "rv32i",
  320. "multiply_extension": true,
  321. "atomic_extension": true,
  322. "floating_point": "none",
  323. "compressed_extension": true,
  324. "extra_compressed_extension": true,
  325. "bit_extension": false,
  326. "multiplication_subset_of_the_M_extension": false,
  327. "integer_ABI": "ilp32",
  328. "floating_point_ABI": "none",
  329. "tuning": "default",
  330. "code_model": "default",
  331. "small_data_limit": 8,
  332. "align": "default",
  333. "save_restore": true,
  334. "other_target_flags": ""
  335. },
  336. "component_toolchain": "${WCH:Toolchain:GCC8}",
  337. "name": "obj",
  338. "configVariables": []
  339. }
  340. ]
  341. },
  342. "flashConfig": {
  343. "mcutype": "CH32V20x",
  344. "address": "0x08000000",
  345. "target_path": "obj/coll_16.hex",
  346. "clkSpeed": "High",
  347. "debug_interface_mode": "1-wire serial",
  348. "erase": true,
  349. "program": true,
  350. "verify": true,
  351. "reset": true,
  352. "sdiPrintf": false,
  353. "disablepowerout": false,
  354. "clearcodeflash": false,
  355. "disablecodeprotect": false,
  356. "exepath": "",
  357. "exearguments": ""
  358. },
  359. "debugConfigurations": {
  360. "openOCDCfg": {
  361. "useLocalOpenOCD": true,
  362. "executable": "${WCH:OpenOCD:default}",
  363. "gdbport": 3333,
  364. "telnetport": 4444,
  365. "tclport": 6666,
  366. "configOptions": [
  367. "-f \"${WCH:OpenOCD:default}/bin/wch-riscv.cfg\""
  368. ],
  369. "host": "localhost",
  370. "port": 3333,
  371. "skipDownloadBeforeDebug": false,
  372. "enablePageEraser": false,
  373. "enableNoZeroWaitingAreaFlash": false
  374. },
  375. "gdbCfg": {
  376. "executable": "${WCH:Toolchain:GCC8}",
  377. "options": [],
  378. "commands": [
  379. "set mem inaccessible-by-default off",
  380. "set architecture riscv:rv32",
  381. "set remotetimeout unlimited",
  382. "set disassembler-options xw"
  383. ]
  384. },
  385. "startup": {
  386. "initCommands": {
  387. "initReset": true,
  388. "initResetType": "init",
  389. "additionalCommands": [],
  390. "armSemihosting": false,
  391. "armSemihosting_old": false
  392. },
  393. "loadedFiles": {
  394. "loadSymbols": true,
  395. "useProjBinaryForSymbols": true,
  396. "useFileForSymbols": false,
  397. "symbolFile": "",
  398. "symbolFileOffset": "",
  399. "loadImage": true,
  400. "useProjBinaryForImage": true,
  401. "useFileForImage": false,
  402. "executableFile": "",
  403. "executableFileOffset": ""
  404. },
  405. "runCommands": {
  406. "runReset": true,
  407. "runResetType": "halt",
  408. "additionalCommands": [],
  409. "setBreakAt": "handle_reset",
  410. "continue": true,
  411. "setBreak": true,
  412. "setProgramCounter": false,
  413. "setProgramCounterAddress": ""
  414. },
  415. "debugInRAM": false
  416. },
  417. "svdpath": "${WCH:SDK:default}/RISC-V/CH32V203/NoneOS/CH32V203xx.svd",
  418. "output": {
  419. "showDebugGDBTrace": true,
  420. "saveDebugOutputToFile": false,
  421. "showDebugOutputTimestamps": true
  422. },
  423. "reserve": {
  424. "PROGRAM_NAME": "obj/coll_16.elf",
  425. "PROJECT_ATTR": "coll_16",
  426. "PROJECT_BUILD_CONFIG_AUTO_ATTR": true,
  427. "PROJECT_BUILD_CONFIG_ID_ATTR": "",
  428. "ATTR_BUILD_BEFORE_LAUNCH_ATTR": 2,
  429. "GdbServerAllocateConsole": true,
  430. "GdbServerAllocateTelnetConsole": false,
  431. "StartGdbCLient": true,
  432. "UPDATE_THREADLIST_ON_SUSPEND": false
  433. }
  434. }
  435. }