IR_CHECK.wvproj 12 KB

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