| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- {
- "$schema": "vscode://schemas/CMakeLists",
- "name": "kendryte/standalone-sdk",
- "version": "develop",
- "type": "library",
- "extraList": "cmake/ide.cmake",
- "include": [
- "./lib/bsp/include",
- "./lib/drivers/include",
- "./lib/utils/include",
- "third_party/xtl/include",
- "lib/nncase/include"
- ],
- "source": [
- "lib/**/*.c",
- "lib/**/*.cpp",
- "lib/**/*.s",
- "lib/**/*.S"
- ],
- "c_flags": [
- "-std=gnu11",
- "-Wno-pointer-to-int-cast",
- "-Wno-old-style-declaration"
- ],
- "cpp_flags": [
- "-std=gnu++17"
- ],
- "c_cpp_flags": [
- "-mcmodel=medany",
- "-mabi=lp64f",
- "-march=rv64imafc",
- "-fno-common",
- "-ffunction-sections",
- "-fdata-sections",
- "-fstrict-volatile-bitfields",
- "-fno-zero-initialized-in-bss",
- "-ffast-math",
- "-fno-math-errno",
- "-fsingle-precision-constant",
- "-Os",
- "-ggdb",
- "-Wall",
- "-Werror=all",
- "-Wno-error=unused-function",
- "-Wno-error=unused-but-set-variable",
- "-Wno-error=unused-variable",
- "-Wno-error=deprecated-declarations",
- "-Wno-multichar",
- "-Wextra",
- "-Werror=frame-larger-than=32768",
- "-Wno-unused-parameter",
- "-Wno-sign-compare",
- "-Wno-error=missing-braces",
- "-Wno-error=return-type",
- "-Wno-error=pointer-sign",
- "-Wno-missing-braces",
- "-Wno-strict-aliasing",
- "-Wno-implicit-fallthrough",
- "-Wno-missing-field-initializers",
- "-Wno-int-to-pointer-cast",
- "-Wno-error=comment",
- "-Wno-error=logical-not-parentheses",
- "-Wno-error=duplicate-decl-specifier",
- "-Wno-error=parentheses"
- ],
- "link_flags": [
- "-nostartfiles",
- "-static",
- "-Wl,--gc-sections",
- "-Wl,-static",
- "-Wl,-EL",
- "-Wl,--no-relax"
- ],
- "ld_file": "lds/kendryte.ld",
- "properties": {
- "LINKER_LANGUAGE": "C"
- },
- "__random": "74211554725553837",
- "systemLibrary": [
- "gcc",
- "m",
- "c"
- ],
- "definitions": {
- "TCB_SPAN_NO_EXCEPTIONS:raw": "",
- "TCB_SPAN_NO_CONTRACT_CHECKING:raw": "",
- "NNCASE_TARGET:raw": "k210",
- "KENDRYTE_SDK_TYPE:raw": "1",
- "KENDRYTE_SDK_TYPE_STANDALONE:raw": "1",
- "KENDRYTE_SDK_TYPE_FREERTOS:raw": "2",
- "KENDRYTE_SDK_RELEASE_DATE:raw": "0"
- },
- "linkArgumentPrefix": [
- "-Wl,--whole-archive"
- ],
- "linkArgumentSuffix": [
- "-Wl,--no-whole-archive"
- ]
- }
|