OnlyUpdateApp_IAP.wvproj 12 KB

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