OnlyUpdateApp_IAP.wvproj 12 KB

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