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

Cannot get Eddystone example to compile SDK15 pca10040e

I am using Keil 5.24.2

I already downloaded and compiled with build_all the micro_ecc. Having no issues here.

According to the error, and what I read in another thread, the FP flag in the library must be on. This is happening also if I compile the example from SDK 14.2.0. I suspect that having installed the new MDK 8.16.0 is causing this.

How can I fix it?

Thanks!!!

.\_build\nrf52810_xxaa.axf: Error: L6366E: occ_mod25519_base.s.obj attributes are not compatible with the provided attributes .
Object occ_mod25519_base.s.obj contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = VFPv4 instructions were permitted, but only citing registers D0-D15 (=6)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
.\_build\nrf52810_xxaa.axf: Error: L6366E: occ_bigint256.s.obj attributes are not compatible with the provided attributes .
Object occ_bigint256.s.obj contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = VFPv4 instructions were permitted, but only citing registers D0-D15 (=6)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
.\_build\nrf52810_xxaa.axf: Error: L6366E: occ_constant_time.s.obj attributes are not compatible with the provided attributes .
Object occ_constant_time.s.obj contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = VFPv4 instructions were permitted, but only citing registers D0-D15 (=6)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)

Parents
  • That could be the case. I did not get any errors once I installed the micro-ecc like explained in this link. Did you make micro_ecc like shown in the link? I am using Keil uVision V5.24.2.0 & everything worked without any issues at all.

    Update: It seems I made an error before & did not compile the 10040e example like I thought I did. When I try compiling the Eddystone example pca10040e, I get this error when the linking occurs:

    We believe it has something to do with the Oberon-cryptography library. Will let you know when we figure this out.

  • Did you try compiling Eddystone for the 10040e?

    Eddystone and all other examples compile perfectly if I compile for pca10040.

    I followed the new instructions as per SDK15 micro_ecc backend installation that asks to Install version 6-2017-q2-update of the GCC compiler toolchain for ARM and then did the "build_all" batch file.

  • Hi Antonio. The problem is that the Oberon library is built with some assembly files using FPU instructions. I have a build that fixes this on my desk, but we need to test it properly before we can share it. Unfortunately, there has been some delays due to unforeseen events, but I expect we will provide a fixed Oberon library build soon.

Reply Children
No Data
Related