nrf: better formatting of pca10040.json
Этот коммит содержится в:
родитель
b08c8a0cf0
коммит
f2768bee17
1 изменённых файлов: 15 добавлений и 1 удалений
|
@ -2,7 +2,21 @@
|
||||||
"llvm-target": "armv7em-none-eabi",
|
"llvm-target": "armv7em-none-eabi",
|
||||||
"build-tags": ["pca10040", "nrf52832", "nrf52", "nrf", "arm", "js", "wasm"],
|
"build-tags": ["pca10040", "nrf52832", "nrf52", "nrf", "arm", "js", "wasm"],
|
||||||
"linker": "arm-none-eabi-gcc",
|
"linker": "arm-none-eabi-gcc",
|
||||||
"pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m4", "-mthumb", "-T", "targets/nrf52.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "-DNRF52832_XXAA", "-Ilib/CMSIS/CMSIS/Include", "lib/nrfx/mdk/system_nrf52.c", "src/device/nrf/nrf52.s"],
|
"pre-link-args": [
|
||||||
|
"-nostdlib",
|
||||||
|
"-nostartfiles",
|
||||||
|
"-mcpu=cortex-m4",
|
||||||
|
"-mthumb",
|
||||||
|
"-T", "targets/nrf52.ld",
|
||||||
|
"-Wl,--gc-sections",
|
||||||
|
"-fno-exceptions", "-fno-unwind-tables",
|
||||||
|
"-ffunction-sections", "-fdata-sections",
|
||||||
|
"-Os",
|
||||||
|
"-DNRF52832_XXAA",
|
||||||
|
"-Ilib/CMSIS/CMSIS/Include",
|
||||||
|
"lib/nrfx/mdk/system_nrf52.c",
|
||||||
|
"src/device/nrf/nrf52.s"
|
||||||
|
],
|
||||||
"objcopy": "arm-none-eabi-objcopy",
|
"objcopy": "arm-none-eabi-objcopy",
|
||||||
"flash": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
|
"flash": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
|
||||||
"ocd-daemon": ["openocd", "-f", "interface/jlink.cfg", "-c", "transport select swd", "-f", "target/nrf51.cfg"],
|
"ocd-daemon": ["openocd", "-f", "interface/jlink.cfg", "-c", "transport select swd", "-f", "target/nrf51.cfg"],
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче