This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MacOS SDK 1.1 linking problems

Hi,

All was working on SDK 1.0. Now I have SDK 1.1 and new Segger and new nRF Connect and gnuarmbemb (I had a new computer, so did set up everything from scratch)

Fullscreen
1
2
3
4
5
2> Compiling ‘isr_tables.c’
1> Remove /Users/slava/work/nordic/ncs/nrf/samples/nrf9160/gps/build_nrf9160_pca10090ns/spm/zephyr/zephyr.elf
1> Linking ‘zephyr.elf’
1> Post-link command
Build failed
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

However, using west directly is working fine:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
➜ gps git:(d3130d77) ✗ west build --board=nrf9160_pca10090ns -d build_nrf9160_pca10090ns
-- west build: build configuration:
source directory: /Users/slava/work/nordic/ncs/nrf/samples/nrf9160/gps
build directory: /Users/slava/work/nordic/ncs/nrf/samples/nrf9160/gps/build_nrf9160_pca10090ns
BOARD: nrf9160_pca10090ns (origin: CMakeCache.txt)
-- west build: building application
[0/1] Re-running CMake...
-- Using application from '/Users/slava/work/nordic/ncs/nrf/samples/nrf9160/gps'
Zephyr version: 2.0.99
...
...
-- Build files have been written to: /Users/slava/work/nordic/ncs/nrf/samples/nrf9160/gps/build_nrf9160_pca10090ns
[167/295] Linking C executable spm/zephyr/spm_zephyr_prebuilt.elf
Memory region Used Size Region Size %age Used
FLASH: 32 KB 48 KB 66.67%
SRAM: 5424 B 64 KB 8.28%
IDT_LIST: 40 B 2 KB 1.95%
[289/295] Linking C executable zephyr/zephyr_prebuilt.elf
Memory region Used Size Region Size %age Used
FLASH: 113980 B 976 KB 11.40%
SRAM: 19644 B 128 KB 14.99%
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Not sure where to look anymore or how to get more precise and details error mesage...