From 7c9a3d70bc82f2503e39ffe9357ef7f21cf3410e Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Tue, 18 Sep 2018 20:16:55 +0200 Subject: [PATCH] nrf: use correct ISA type for pca10040 No change to code size. --- targets/pca10040.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/pca10040.json b/targets/pca10040.json index 959c5cb1..fc916e4e 100644 --- a/targets/pca10040.json +++ b/targets/pca10040.json @@ -1,5 +1,5 @@ { - "llvm-target": "armv7m-none-eabi", + "llvm-target": "armv7em-none-eabi", "build-tags": ["nrf", "nrf52", "nrf52832", "js", "wasm"], "linker": "arm-none-eabi-gcc", "pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m4", "-mthumb", "-T", "targets/arm.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "-DNRF52832_XXAA", "-D__STARTUP_CLEAR_BSS", "-Ilib/CMSIS/CMSIS/Include", "lib/nrfx/mdk/gcc_startup_nrf52.S", "lib/nrfx/mdk/system_nrf52.c"],