| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480 |
- {
- "version": "1.0",
- "isNormalMRSProject": true,
- "basic": {
- "chipInfo": {
- "vendor": "WCH",
- "toolchain": "RISC-V",
- "series": "CH32V208",
- "rtos": "NoneOS",
- "mcu": "CH32V208WBU6",
- "description": "",
- "link": "WCH-Link",
- "peripheral_version": "1.0",
- "calibrateSupport": false,
- "calibrateCommand": ""
- },
- "linkedFolders": [
- {
- "name": "HAL",
- "location": "../Library/HAL"
- },
- {
- "name": "LIB",
- "location": "../Library/LIB"
- },
- {
- "name": "SRC",
- "location": "../Library/SRC"
- }
- ],
- "removedResources": [
- {
- "parentLogicPath": "",
- "type": "file",
- "name": "*.wvproj"
- },
- {
- "parentLogicPath": "components/action",
- "type": "file",
- "name": "user_work.c"
- },
- {
- "parentLogicPath": "components/action",
- "type": "file",
- "name": "user_work.h"
- },
- {
- "parentLogicPath": "components/action",
- "type": "file",
- "name": "action.h"
- },
- {
- "parentLogicPath": "components/action",
- "type": "file",
- "name": "action.c"
- }
- ],
- "projectName": "mainboard",
- "architecture": "RISC-V",
- "projectType": "c"
- },
- "buildConfig": {
- "configurations": [
- {
- "buildArtifact": {
- "artifact_name": "${ProjName}",
- "artifact_extension": "elf",
- "output_prefix": "",
- "artifact_type": "Executable"
- },
- "parallelizationNumber": "optimal",
- "stop_on_first_build_error": true,
- "pre_script": "",
- "pre_script_description": "",
- "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\"",
- "excludeResources": [
- "${project}/User/ble_uart_service/ble_uart_service_16bit.c",
- "${project}/User/ble_uart_service/ble_uart_service_same_16bit_char.c",
- "${project}/User/ble_uart_service/ble_uart_service_same_char.c",
- "${project}/User/app_drv_fifo/",
- "${project}/User/ble_uart_service/"
- ],
- "optimization": {
- "level": "size",
- "message_length": true,
- "char_is_signed": true,
- "function_sections": true,
- "data_sections": true,
- "no_common_unitialized": true,
- "do_not_inline_functions": false,
- "assume_freestanding_environment": false,
- "disable_builtin": false,
- "single_precision_constants": false,
- "position_independent_code": false,
- "link_time_optimizer": false,
- "disable_loop_invariant_move": false,
- "optimize_unused_sections_declared_as_high_code": false,
- "code_generation_without_hardware_floating": false,
- "use_pipelines": false,
- "show_caret_indicating_the_column": false,
- "other_optimization_flags": ""
- },
- "warnings": {
- "check_syntax_only": false,
- "pedantic": false,
- "pedantic_warnings_as_errors": false,
- "inhibit_all_warnings": false,
- "warn_on_various_unused_elements": false,
- "warn_on_uninitialized_variables": false,
- "enable_all_common_warnings": false,
- "enable_extra_warnings": false,
- "warn_on_undeclared_global_function": false,
- "warn_on_implicit_conversions": false,
- "warn_if_pointer_arthmetic": false,
- "warn_if_padding_is_included": false,
- "warn_if_shadowed_variable": false,
- "warn_if_suspicious_logical_ops": false,
- "warn_if_struct_is_returned": false,
- "warn_if_floats_are_compared_as_equal": false,
- "generate_errors_instead_of_warnings": false,
- "other_warning_flags": ""
- },
- "debugging": {
- "debug_level": "default",
- "debug_format": "default",
- "generate_prof_information": false,
- "generate_gprof_information": false,
- "other_debugging_flags": ""
- },
- "assembler": {
- "preprocessor": {
- "use_preprocessor": true,
- "do_not_search_system_directories": false,
- "preprocess_only": false,
- "defined_symbols": [],
- "undefined_symbols": []
- },
- "includes": {
- "include_paths": [],
- "include_system_paths": [],
- "include_files": []
- },
- "other_warning_flags": "",
- "miscellaneous": {
- "assembler_flags": [],
- "generate_assembler_listing": false,
- "save_temporary_files": false,
- "verbose": false,
- "other_assembler_flags": ""
- }
- },
- "ccompiler": {
- "preprocessor": {
- "do_not_search_system_directories": false,
- "preprocess_only": false,
- "defined_symbols": [
- "DEBUG=DEBUG_UART3",
- "WCHBLE_ROM=1",
- "CH32V20x_D8W",
- "CLK_OSC32K=0"
- ],
- "undefined_symbols": []
- },
- "includes": {
- "include_paths": [
- "${project}/SRC/Core",
- "${project}/Startup",
- "${project}/components/led",
- "${project}/components/action",
- "${project}/components/electlock",
- "${project}/components/config",
- "${project}/components/tools",
- "${project}/components/can",
- "${project}/components/Lib",
- "${project}/SRC/Debug",
- "${project}/SRC/Peripheral/inc",
- "${project}/User/include",
- "${project}/Profile/include",
- "${project}/HAL/include",
- "${project}/LIB",
- "${project}/components/can",
- "${project}/User/app_drv_fifo",
- "${project}/components/charge",
- "${project}/components/nfc"
- ],
- "include_system_paths": [],
- "include_files": []
- },
- "optimization": {
- "language_standard": "gnu99",
- "other_optimization_flags": ""
- },
- "warnings": {
- "warn_if_a_global_function_has_no_prototype": false,
- "warn_if_a_function_has_no_arg_type": false,
- "warn_if_wrong_cast": false,
- "other_warning_flags": ""
- },
- "miscellaneous": {
- "generate_assembler_listing": false,
- "save_temporary_files": false,
- "verbose": false,
- "other_compiler_flags": ""
- }
- },
- "cppcompiler": {
- "preprocessor": {
- "do_not_search_system_directories": false,
- "do_not_search_system_cpp_directories": false,
- "preprocess_only": false,
- "defined_symbols": [],
- "undefined_symbols": []
- },
- "includes": {
- "include_paths": [],
- "include_system_paths": [],
- "include_files": []
- },
- "optimization": {
- "cpp_language_standard": "gnucpp11",
- "abi_version": "0",
- "do_not_use_exceptions": false,
- "do_not_use_rtti": false,
- "do_not_use__cxa_atexit": false,
- "do_not_use_thread_safe_statics": false,
- "other_optimization_flags": ""
- },
- "warnings": {
- "warn_on_abi_violations": false,
- "warn_on_class_privacy": false,
- "warn_on_no_except_expressions": false,
- "warn_on_virtual_destructors": false,
- "warn_on_uncast_null": false,
- "warn_on_sign_promotion": false,
- "warn_about_effictive_cpp_violcations": false,
- "other_warning_flags": ""
- },
- "miscellaneous": {
- "generate_assembler_listing": false,
- "save_temporary_files": false,
- "verbose": false,
- "other_compiler_flags": ""
- }
- },
- "clinker": {
- "general": {
- "scriptFiles": [
- "${project}/Ld/Link.ld"
- ],
- "do_not_use_standard_start_files": true,
- "do_not_use_default_libraries": false,
- "no_startup_or_default_libs": false,
- "remove_unused_sections": true,
- "print_removed_sections": false,
- "omit_all_symbol_information": false
- },
- "libraries": {
- "libraries": [
- "m",
- "transcode"
- ],
- "library_search_path": [
- "../",
- "${project}/components/Lib",
- "${project}/LIB"
- ]
- },
- "miscellaneous": {
- "picolibc": "disabled",
- "linker_flags": [
- "--print-memory-usage"
- ],
- "other_objects": [],
- "generate_map": "\"${BuildArtifactFileBaseName}.map\"",
- "cross_reference": false,
- "print_link_map": false,
- "use_newlib_nano": true,
- "use_float_with_nano_printf": true,
- "use_float_with_nano_scanf": true,
- "do_not_use_syscalls": true,
- "verbose": false,
- "use_wch_printffloat": false,
- "use_wch_printf": false,
- "use_iqmath": true,
- "other_linker_flags": ""
- }
- },
- "cpplinker": {
- "general": {
- "scriptFiles": [
- "${project}/Ld/Link.ld"
- ],
- "do_not_use_standard_start_files": true,
- "do_not_use_default_libraries": false,
- "no_startup_or_default_libs": false,
- "remove_unused_sections": true,
- "print_removed_sections": false,
- "omit_all_symbol_information": false
- },
- "libraries": {
- "libraries": [
- "m",
- "transcode"
- ],
- "library_search_path": [
- "../",
- "${project}/components/Lib",
- "${project}/LIB"
- ]
- },
- "miscellaneous": {
- "picolibc": "disabled",
- "linker_flags": [
- "--print-memory-usage"
- ],
- "other_objects": [],
- "generate_map": "\"${BuildArtifactFileBaseName}.map\"",
- "cross_reference": false,
- "print_link_map": false,
- "use_newlib_nano": true,
- "use_float_with_nano_printf": true,
- "use_float_with_nano_scanf": true,
- "do_not_use_syscalls": true,
- "verbose": false,
- "use_wch_printffloat": false,
- "use_wch_printf": false,
- "use_iqmath": true,
- "other_linker_flags": ""
- }
- },
- "archiver": {
- "archiver_flags": "-r"
- },
- "createFlash": {
- "enabled": true,
- "outputFileFormat": "ihexAndbinary",
- "copy_only_section_text": false,
- "copy_only_section_data": false,
- "copy_only_sections": [],
- "other_flags": ""
- },
- "createList": {
- "enabled": true,
- "display_source": true,
- "display_all_headers": true,
- "demangle_names": true,
- "display_debug_info": false,
- "disassemble": false,
- "display_file_headers": false,
- "display_line_numbers": true,
- "display_relocation_info": false,
- "display_symbols": false,
- "wide_lines": true,
- "other_flags": ""
- },
- "printSize": {
- "enabled": true,
- "size_format": "berkeley",
- "hex": false,
- "show_totals": false,
- "other_flags": ""
- },
- "riscvTargetProcessor": {
- "architecture": "rv32i",
- "multiply_extension": true,
- "atomic_extension": true,
- "floating_point": "none",
- "compressed_extension": true,
- "extra_compressed_extension": true,
- "bit_extension": false,
- "multiplication_subset_of_the_M_extension": false,
- "integer_ABI": "ilp32",
- "floating_point_ABI": "none",
- "tuning": "default",
- "code_model": "any",
- "small_data_limit": 8,
- "align": "default",
- "save_restore": false,
- "other_target_flags": ""
- },
- "component_toolchain": "${WCH:Toolchain:GCC8}",
- "name": "obj",
- "configVariables": []
- }
- ]
- },
- "flashConfig": {
- "mcutype": "CH32V20x",
- "address": "0x08005000",
- "target_path": "obj\\mainboard.hex",
- "clkSpeed": "High",
- "debug_interface_mode": "",
- "erase": false,
- "program": true,
- "verify": true,
- "reset": true,
- "sdiPrintf": false,
- "disablepowerout": false,
- "clearcodeflash": false,
- "disablecodeprotect": false,
- "exepath": "",
- "exearguments": ""
- },
- "debugConfigurations": {
- "openOCDCfg": {
- "useLocalOpenOCD": true,
- "executable": "${WCH:OpenOCD:default}",
- "gdbport": 3333,
- "telnetport": 4444,
- "tclport": 6666,
- "configOptions": [
- "-f \"${WCH:OpenOCD:default}/bin/wch-riscv.cfg\""
- ],
- "host": "localhost",
- "port": 3333,
- "skipDownloadBeforeDebug": false,
- "enablePageEraser": false,
- "enableNoZeroWaitingAreaFlash": false
- },
- "gdbCfg": {
- "executable": "${WCH:Toolchain:GCC8}",
- "options": [],
- "commands": [
- "set mem inaccessible-by-default off",
- "set architecture riscv:rv32",
- "set remotetimeout unlimited",
- "set disassembler-options xw"
- ]
- },
- "startup": {
- "initCommands": {
- "initReset": true,
- "initResetType": "init",
- "additionalCommands": [],
- "armSemihosting": false,
- "armSemihosting_old": false
- },
- "loadedFiles": {
- "loadSymbols": true,
- "useProjBinaryForSymbols": true,
- "useFileForSymbols": false,
- "symbolFile": "",
- "symbolFileOffset": "",
- "loadImage": true,
- "useProjBinaryForImage": true,
- "useFileForImage": false,
- "executableFile": "",
- "executableFileOffset": ""
- },
- "runCommands": {
- "runReset": true,
- "runResetType": "halt",
- "additionalCommands": [],
- "setBreakAt": "handle_reset",
- "continue": true,
- "setBreak": true,
- "setProgramCounter": false,
- "setProgramCounterAddress": ""
- },
- "debugInRAM": false
- },
- "svdpath": null,
- "output": {
- "showDebugGDBTrace": true,
- "saveDebugOutputToFile": false,
- "showDebugOutputTimestamps": true
- },
- "reserve": {
- "PROGRAM_NAME": "obj/mainboard.elf",
- "PROJECT_ATTR": "mainboard",
- "PROJECT_BUILD_CONFIG_AUTO_ATTR": true,
- "PROJECT_BUILD_CONFIG_ID_ATTR": "",
- "ATTR_BUILD_BEFORE_LAUNCH_ATTR": 2,
- "GdbServerAllocateConsole": true,
- "GdbServerAllocateTelnetConsole": false,
- "StartGdbCLient": true,
- "UPDATE_THREADLIST_ON_SUSPEND": false
- }
- }
- }
|