UNPKG

sathya

Version:

An xPack with a blinky application running on HiFive1

119 lines 4.03 kB
{ "version": "0.1.0", "name": "sathya", "artefact": { "type": "executable", "outputPrefix": "", "outputSuffix": "", "extension": "elf" }, "generator": "make", "commands": { "build": [ "make" ] }, "addSourceFolders": [ "src" ], "addIncludeFolders": [ "include" ], "targets": { "hifive1": { "addSymbols": [ "SIFIVE_FE310", "SIFIVE_HIFIVE1_BOARD" ], "toolchains": { "riscv-none-gcc": { "common": { "addTarget": [ "-march=rv32imac", "-mabi=ilp32", "-mcmodel=medany", "-msmall-data-limit=8" ], "addDebugging": [ "-g3" ], "addOptimizations": [ "-fmessage-length=0", "-fsigned-char", "-ffunction-sections", "-fdata-sections" ], "addWarnings": [ "-Wall" ,"-Wextra" ], "addMiscellaneous": [ ] }, "tools": { "c": { "addOptimizations": [ "-std=gnu11" ], "addWarnings": [ ] }, "cpp": { "addOptimizations": [ "-std=gnu++14", "-fabi-version=0", "-fno-exceptions", "-fno-rtti", "-fno-use-cxa-atexit", "-fno-threadsafe-statics" ], "addWarnings": [ ] }, "as": { "addMiscellaneous": [ "-x assembler-with-cpp" ] }, "ld": { "addMiscellaneous": [ "-nostartfiles" ,"-Xlinker --gc-sections" ,"--specs=nano.specs" ,"-L\"../../ldscripts\"" ,"-T" ,"mem.ld" ,"-T" ,"libs.ld" ,"-T" ,"sections.ld" ] } }, "profiles": { "debug": { "addSymbols": [ "DEBUG" ,"OS_USE_CPP_INTERRUPTS" ,"OS_USE_TRACE_UART0" ,"TRACE" ], "addOptimizations": [ "-O0" ] }, "release": { "addSymbols": [ "NDEBUG" ,"OS_USE_CPP_INTERRUPTS" ], "addOptimizations": [ "-Os" ] } } } } } } }