From f2768bee177adb4e6b0f2de3f9800e5194d32406 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Wed, 3 Oct 2018 19:02:20 +0200 Subject: [PATCH] nrf: better formatting of pca10040.json --- targets/pca10040.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/targets/pca10040.json b/targets/pca10040.json index 6a21f048..0f3ff15c 100644 --- a/targets/pca10040.json +++ b/targets/pca10040.json @@ -2,7 +2,21 @@ "llvm-target": "armv7em-none-eabi", "build-tags": ["pca10040", "nrf52832", "nrf52", "nrf", "arm", "js", "wasm"], "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", "flash": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset", "ocd-daemon": ["openocd", "-f", "interface/jlink.cfg", "-c", "transport select swd", "-f", "target/nrf51.cfg"],