864 lines
28 KiB
Plaintext
864 lines
28 KiB
Plaintext
{
|
|
"version": "1.0",
|
|
"isNormalMRSProject": true,
|
|
"basic": {
|
|
"chipInfo": {
|
|
"vendor": "WCH",
|
|
"toolchain": "RISC-V",
|
|
"series": "CH32V307",
|
|
"rtos": "NoneOS",
|
|
"mcu": "CH32V307RVT6",
|
|
"description": "============ROM(byte): 256K, SRAM(byte): 64K, CHIP PINS: 64, GPIO PORTS: 51.\\nWCH CH32V3 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.",
|
|
"link": "WCH-Link",
|
|
"peripheral_version": "============1.4"
|
|
},
|
|
"linkedFolders": [],
|
|
"removedResources": [
|
|
{
|
|
"parentLogicPath": "",
|
|
"type": "file",
|
|
"name": "*.wvproj"
|
|
}
|
|
],
|
|
"projectName": "JT-DT-YD4N02A_RTT_MRS-4G",
|
|
"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}/libraries/hal_drivers/drv_usbh.h",
|
|
"${project}/libraries/hal_drivers/drv_usbh.c",
|
|
"${project}/libraries/hal_drivers/drv_usbd.h",
|
|
"${project}/libraries/hal_drivers/drv_usbd.c",
|
|
"${project}/libraries/hal_drivers/drv_i2c.h",
|
|
"${project}/libraries/hal_drivers/drv_i2c.c",
|
|
"${project}/libraries/hal_drivers/drv_eth.h",
|
|
"${project}/libraries/hal_drivers/drv_eth.c",
|
|
"${project}/common/nt26ks",
|
|
"${project}/common/AT Command",
|
|
"${project}/rt-thread/components/net/at/src/at_server.c",
|
|
"${project}/libraries/hal_libraries/bmsis/source/startup_ch32v30x_D8C.S",
|
|
"${project}/libraries/hal_drivers/drv_spi.h",
|
|
"${project}/libraries/hal_drivers/drv_spi.c",
|
|
"${project}/libraries/hal_drivers/drv_soft_spi.h",
|
|
"${project}/libraries/hal_drivers/drv_soft_spi.c",
|
|
"${project}/libraries/hal_drivers/drv_soft_i2c.h",
|
|
"${project}/libraries/hal_drivers/drv_soft_i2c.c",
|
|
"${project}/libraries/hal_drivers/drv_rtc.h",
|
|
"${project}/libraries/hal_drivers/drv_rtc.c",
|
|
"${project}/libraries/hal_drivers/drv_pwm.h",
|
|
"${project}/libraries/hal_drivers/drv_pwm.c",
|
|
"${project}/libraries/hal_drivers/drv_log.h",
|
|
"${project}/libraries/hal_drivers/drv_iwdt.c",
|
|
"${project}/libraries/hal_drivers/drv_dac.h",
|
|
"${project}/libraries/hal_drivers/drv_dac.c",
|
|
"${project}/libraries/hal_drivers/drv_can.h",
|
|
"${project}/libraries/hal_drivers/drv_can.c",
|
|
"${project}/libraries/hal_drivers/drv_adc.h",
|
|
"${project}/libraries/hal_drivers/drv_adc.c",
|
|
"${project}/rt-thread/components/drivers/spi",
|
|
"${project}/rt-thread/components/libc",
|
|
"${project}/rt-thread/components/drivers/spi/sfud",
|
|
"${project}/bsp/src/bsp_aht20.c",
|
|
"${project}/Startup",
|
|
"${project}/Core"
|
|
],
|
|
"riscvTargetProcessor": {
|
|
"architecture": "rv32i",
|
|
"multiply_extension": true,
|
|
"atomic_extension": true,
|
|
"floating_point": "single",
|
|
"compressed_extension": true,
|
|
"extra_compressed_extension": true,
|
|
"bit_extension": false,
|
|
"multiplication_subset_of_the_M_extension": false,
|
|
"integer_ABI": "ilp32",
|
|
"floating_point_ABI": "single",
|
|
"tuning": "default",
|
|
"code_model": "default",
|
|
"small_data_limit": 8,
|
|
"align": "default",
|
|
"save_restore": true,
|
|
"other_target_flags": ""
|
|
},
|
|
"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": true,
|
|
"warn_on_uninitialized_variables": true,
|
|
"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": [
|
|
"${project}/libraries/hal_libraries/bmsis/include"
|
|
],
|
|
"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": [
|
|
"_POSIX_C_SOURCE=1"
|
|
],
|
|
"undefined_symbols": []
|
|
},
|
|
"includes": {
|
|
"include_paths": [
|
|
"${project}/packages/agile_led-1.1.1",
|
|
"${project}/crc",
|
|
"${project}/packages/at_device-2.1.0",
|
|
"${project}/packages/FlexibleButton-2.0.1",
|
|
"${project}/packages/rt_kprintf_threadsafe",
|
|
"${project}/rt-thread/components/net/at/include",
|
|
"${project}/bsp/inc",
|
|
"${project}/common/lwrb-3.2.0",
|
|
"${project}/common/lwutil-1.3.0",
|
|
"${project}/packages/at_device-2.1.0",
|
|
"${project}/rt-thread/components/drivers/include",
|
|
"${project}/rt-thread/components/net/netdev/include",
|
|
"${project}/rt-thread/components/net/netdev/include/arpa",
|
|
"${project}/rt-thread/components/drivers/include/drivers",
|
|
"${project}/rt-thread/include",
|
|
"${project}/rt-thread/components/drivers/spi",
|
|
"${project}/rt-thread/components/drivers/spi/sfud/inc",
|
|
"${project}/rt-thread/components/drivers/include/ipc",
|
|
"${project}/libraries/hal_libraries/ch32v303_hal",
|
|
"${project}/libraries/hal_libraries/bmsis",
|
|
"${project}/rt-thread",
|
|
"${project}/rt-thread/components/libc/posix/io/poll",
|
|
"${project}/rt-thread/components/libc/posix/io/stdio",
|
|
"${project}/rt-thread/components/libc/posix/ipc",
|
|
"${project}/rt-thread/components/utilities/ulog",
|
|
"${project}/rt-thread/include",
|
|
"${project}/packages",
|
|
"${project}/rt-thread/components/finsh",
|
|
"${project}/rt-thread/components/libc/compilers/common/include",
|
|
"${project}/rt-thread/components/libc/compilers/newlib",
|
|
"${project}/rt-thread/components/drivers/include",
|
|
"${project}/drivers",
|
|
"${project}/libcpu/cpu",
|
|
"${project}/libraries/hal_drivers",
|
|
"${project}/libraries/hal_libraries/bmsis/include",
|
|
"${project}/libraries/hal_libraries/ch32v303_hal/include",
|
|
"${project}/applications",
|
|
"${project}/bsp/inc",
|
|
"${project}/common/agile_led",
|
|
"${project}/common/AT Command",
|
|
"${project}/common/FlexibleButton",
|
|
"${project}/common/LwRB",
|
|
"${project}/common/LwUtil",
|
|
"${project}/common/rt_kprintf_threadsafe",
|
|
"${project}/board"
|
|
],
|
|
"include_system_paths": [
|
|
"${workspace_loc:/${ProjName}}"
|
|
],
|
|
"include_files": [
|
|
"${project}/rt-thread/rtconfig_preinc.h"
|
|
]
|
|
},
|
|
"optimization": {
|
|
"language_standard": "gnu11",
|
|
"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"
|
|
],
|
|
"library_search_path": []
|
|
},
|
|
"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": false,
|
|
"use_float_with_nano_scanf": false,
|
|
"do_not_use_syscalls": true,
|
|
"verbose": false,
|
|
"use_wch_printffloat": false,
|
|
"use_wch_printf": false,
|
|
"use_iqmath": false,
|
|
"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"
|
|
],
|
|
"library_search_path": []
|
|
},
|
|
"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": false,
|
|
"use_float_with_nano_scanf": false,
|
|
"do_not_use_syscalls": true,
|
|
"verbose": false,
|
|
"use_wch_printffloat": false,
|
|
"use_wch_printf": false,
|
|
"use_iqmath": false,
|
|
"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": true,
|
|
"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": ""
|
|
},
|
|
"component_toolchain": "${WCH:Toolchain:GCC12}",
|
|
"name": "obj",
|
|
"configVariables": []
|
|
},
|
|
{
|
|
"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}/libraries/hal_drivers/drv_usbh.h",
|
|
"${project}/libraries/hal_drivers/drv_usbh.c",
|
|
"${project}/libraries/hal_drivers/drv_usbd.h",
|
|
"${project}/libraries/hal_drivers/drv_usbd.c",
|
|
"${project}/libraries/hal_drivers/drv_i2c.h",
|
|
"${project}/libraries/hal_drivers/drv_i2c.c",
|
|
"${project}/libraries/hal_drivers/drv_eth.h",
|
|
"${project}/libraries/hal_drivers/drv_eth.c",
|
|
"${project}/common/nt26ks",
|
|
"${project}/common/AT Command",
|
|
"${project}/rt-thread/components/net/at/src/at_server.c",
|
|
"${project}/libraries/hal_libraries/bmsis/source/startup_ch32v30x_D8C.S",
|
|
"${project}/libraries/hal_drivers/drv_spi.h",
|
|
"${project}/libraries/hal_drivers/drv_spi.c",
|
|
"${project}/libraries/hal_drivers/drv_soft_spi.h",
|
|
"${project}/libraries/hal_drivers/drv_soft_spi.c",
|
|
"${project}/libraries/hal_drivers/drv_soft_i2c.h",
|
|
"${project}/libraries/hal_drivers/drv_soft_i2c.c",
|
|
"${project}/libraries/hal_drivers/drv_rtc.h",
|
|
"${project}/libraries/hal_drivers/drv_rtc.c",
|
|
"${project}/libraries/hal_drivers/drv_pwm.h",
|
|
"${project}/libraries/hal_drivers/drv_pwm.c",
|
|
"${project}/libraries/hal_drivers/drv_log.h",
|
|
"${project}/libraries/hal_drivers/drv_iwdt.c",
|
|
"${project}/libraries/hal_drivers/drv_dac.h",
|
|
"${project}/libraries/hal_drivers/drv_dac.c",
|
|
"${project}/libraries/hal_drivers/drv_can.h",
|
|
"${project}/libraries/hal_drivers/drv_can.c",
|
|
"${project}/libraries/hal_drivers/drv_adc.h",
|
|
"${project}/libraries/hal_drivers/drv_adc.c",
|
|
"${project}/rt-thread/components/drivers/spi",
|
|
"${project}/rt-thread/components/libc",
|
|
"${project}/rt-thread/components/drivers/spi/sfud",
|
|
"${project}/bsp/src/bsp_aht20.c",
|
|
"${project}/Startup",
|
|
"${project}/Core"
|
|
],
|
|
"riscvTargetProcessor": {
|
|
"architecture": "rv32i",
|
|
"multiply_extension": true,
|
|
"atomic_extension": true,
|
|
"floating_point": "single",
|
|
"compressed_extension": true,
|
|
"extra_compressed_extension": true,
|
|
"bit_extension": false,
|
|
"multiplication_subset_of_the_M_extension": false,
|
|
"integer_ABI": "ilp32",
|
|
"floating_point_ABI": "single",
|
|
"tuning": "default",
|
|
"code_model": "default",
|
|
"small_data_limit": 8,
|
|
"align": "default",
|
|
"save_restore": true,
|
|
"other_target_flags": ""
|
|
},
|
|
"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": true,
|
|
"warn_on_uninitialized_variables": true,
|
|
"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": "max",
|
|
"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": [
|
|
"${project}/libraries/hal_libraries/bmsis/include"
|
|
],
|
|
"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": [],
|
|
"undefined_symbols": []
|
|
},
|
|
"includes": {
|
|
"include_paths": [
|
|
"${project}/packages/agile_led-1.1.1",
|
|
"${project}/crc",
|
|
"${project}/packages/at_device-2.1.0",
|
|
"${project}/packages/FlexibleButton-2.0.1",
|
|
"${project}/packages/rt_kprintf_threadsafe",
|
|
"${project}/rt-thread/components/net/at/include",
|
|
"${project}/bsp/inc",
|
|
"${project}/common/lwrb-3.2.0",
|
|
"${project}/common/lwutil-1.3.0",
|
|
"${project}/packages/at_device-2.1.0",
|
|
"${project}/rt-thread/components/drivers/include",
|
|
"${project}/rt-thread/components/net/netdev/include",
|
|
"${project}/rt-thread/components/net/netdev/include/arpa",
|
|
"${project}/rt-thread/components/drivers/include/drivers",
|
|
"${project}/rt-thread/include",
|
|
"${project}/rt-thread/components/drivers/spi",
|
|
"${project}/rt-thread/components/drivers/spi/sfud/inc",
|
|
"${project}/rt-thread/components/drivers/include/ipc",
|
|
"${project}/libraries/hal_libraries/ch32v303_hal",
|
|
"${project}/libraries/hal_libraries/bmsis",
|
|
"${project}/rt-thread",
|
|
"${project}/rt-thread/components/libc/posix/io/poll",
|
|
"${project}/rt-thread/components/libc/posix/io/stdio",
|
|
"${project}/rt-thread/components/libc/posix/ipc",
|
|
"${project}/rt-thread/components/utilities/ulog",
|
|
"${project}/rt-thread/include",
|
|
"${project}/packages",
|
|
"${project}/rt-thread/components/finsh",
|
|
"${project}/rt-thread/components/libc/compilers/common/include",
|
|
"${project}/rt-thread/components/libc/compilers/newlib",
|
|
"${project}/rt-thread/components/drivers/include",
|
|
"${project}/drivers",
|
|
"${project}/libcpu/cpu",
|
|
"${project}/libraries/hal_drivers",
|
|
"${project}/libraries/hal_libraries/bmsis/include",
|
|
"${project}/libraries/hal_libraries/ch32v303_hal/include",
|
|
"${project}/applications",
|
|
"${project}/bsp/inc",
|
|
"${project}/common/agile_led",
|
|
"${project}/common/AT Command",
|
|
"${project}/common/FlexibleButton",
|
|
"${project}/common/LwRB",
|
|
"${project}/common/LwUtil",
|
|
"${project}/common/rt_kprintf_threadsafe",
|
|
"${project}/board"
|
|
],
|
|
"include_system_paths": [
|
|
"${workspace_loc:/${ProjName}}"
|
|
],
|
|
"include_files": [
|
|
"${project}/rt-thread/rtconfig_preinc.h"
|
|
]
|
|
},
|
|
"optimization": {
|
|
"language_standard": "gnu11",
|
|
"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"
|
|
],
|
|
"library_search_path": []
|
|
},
|
|
"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": false,
|
|
"use_float_with_nano_scanf": false,
|
|
"do_not_use_syscalls": true,
|
|
"verbose": false,
|
|
"use_wch_printffloat": false,
|
|
"use_wch_printf": false,
|
|
"use_iqmath": false,
|
|
"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"
|
|
],
|
|
"library_search_path": []
|
|
},
|
|
"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": false,
|
|
"use_float_with_nano_scanf": false,
|
|
"do_not_use_syscalls": true,
|
|
"verbose": false,
|
|
"use_wch_printffloat": false,
|
|
"use_wch_printf": false,
|
|
"use_iqmath": false,
|
|
"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": true,
|
|
"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": ""
|
|
},
|
|
"component_toolchain": "${WCH:Toolchain:GCC12}",
|
|
"name": "dbg",
|
|
"configVariables": []
|
|
}
|
|
]
|
|
},
|
|
"flashConfig": {
|
|
"mcutype": "CH32V30x",
|
|
"address": "0x08000000",
|
|
"target_path": "obj\\JT-DT-YD4N02A_RTT_MRS-4G.hex",
|
|
"clkSpeed": "High",
|
|
"debug_interface_mode": "",
|
|
"erase": true,
|
|
"program": true,
|
|
"verify": true,
|
|
"reset": true,
|
|
"sdiPrintf": false,
|
|
"disablepowerout": true,
|
|
"clearcodeflash": false,
|
|
"disablecodeprotect": true,
|
|
"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:GCC12}",
|
|
"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": "${WCH:SDK:default}/RISC-V/CH32V307/NoneOS/CH32V307xx.svd",
|
|
"output": {
|
|
"showDebugGDBTrace": true,
|
|
"saveDebugOutputToFile": false,
|
|
"showDebugOutputTimestamps": true
|
|
},
|
|
"reserve": {
|
|
"PROGRAM_NAME": "obj/JT-DT-YD4N02A_RTT_MRS-4G.elf",
|
|
"PROJECT_ATTR": "JT-DT-YD4N02A_RTT_MRS-4G",
|
|
"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
|
|
}
|
|
}
|
|
} |