Ruuvi Firmware on Seeger Embedded Studio

Hello,

When running ruuvitag_fw-feature-ses-support version on SES, the following error occur on linking:

Output/nrf52832_xxaa/Exe/ruuvitag_fw.elf does not exist.
Linking ruuvitag_fw.elf
C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34a/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(libc2.o): In function malloc': libc2.c:(.text.libc.malloc+0xe): undefined reference to__heap_lock’
libc2.c:(.text.libc.malloc+0x3a): undefined reference to __heap_unlock' libc2.c:(.text.libc.malloc+0x74): undefined reference to__heap_unlock’
libc2.c:(.text.libc.malloc+0x7e): undefined reference to __heap_unlock' C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34a/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(libc2.o): In functionfree’:
libc2.c:(.text.libc.free+0x4c): undefined reference to __heap_unlock' libc2.c:(.text.libc.free+0x64): undefined reference to__heap_lock’
Build failed

It appears some basic library is missing on my installation?

Thanks.

Hello,

Here is my SES About-information:

SEGGER Embedded Studio for ARM
Release 3.40 Build 2018052200.36079
macOS x64

© 2014-2018 SEGGER Microcontroller GmbH
© 1997-2018 Rowley Associates Ltd.

GCC/BINUTILS: Built using the GNU ARM Embedded Toolchain version 7-2017-q4-major source distribution

Clang/LLVM: Built using the version 6.0.0 source distribution

I’m using GCC ARM as the compiler. Can you share your version information?

Hello,

There are some differences… and I am on Windows…

SEGGER Embedded Studio for ARM
Release 3.34a Build 2018022300.35192
Windows x64

© 2014-2018 SEGGER Microcontroller GmbH & Co. KG
© 1997-2018 Rowley Associates Ltd.

GCC/BINUTILS: Built using the GNU ARM Embedded Toolchain version 6-2017-q2-update source distribution

Clang/LLVM: Built using the version 5.0.0 source distribution

Hello,

Can you try updating to 3.40 / GCC 7-2017-q4 major?

It finally works smoothly. Thanks!