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

Output/Release/Exe/secure_bootloader_ble_s132_pca10040.elf uses VFP register arguments, ../../../../../external/micro-ecc/nrf52nf_armgcc/armgcc/micro_ecc_lib_nrf52.a(uECC.c.o) does not

Hi,

I'm working on the secure_bootloader example. I am having problems with micro ecc. When I compile the project, it gives an error like this.

I'm trying to follow the steps here. but I guess I went wrong with some steps. I would be very glad if anyone could help.

Thanks.

Parents
  • Hi,

    Looks like the library is built correctly, but you need to select the library from the 'nrf52hf_armgcc' directory as this library is built with HW floating point support.

    Best regards,

    Vidar

  • but you need to select the library from the 'nrf52hf_armgcc' directory as this library is built with HW floating point support.

    As you said, I chose from 'nrf52hf_armgcc'. I tried to drag and drop 'micro_ecc_lib_nrf52.a' to the "Application" folder. but it did not happen. This file is already in the "nRF_micro-ecc" folder below. It did not give an error when I compiled it as it is. However, in the sample documents, it is understood that the 'micro_ecc_lib_nrf52.a' file should be added to the "Application" folder. Is it correct to do as shown in the picture below?

    (If compiled this way, it won't give an error.)

    (However, it is said in the documents that it should be done this way.)

Reply
  • but you need to select the library from the 'nrf52hf_armgcc' directory as this library is built with HW floating point support.

    As you said, I chose from 'nrf52hf_armgcc'. I tried to drag and drop 'micro_ecc_lib_nrf52.a' to the "Application" folder. but it did not happen. This file is already in the "nRF_micro-ecc" folder below. It did not give an error when I compiled it as it is. However, in the sample documents, it is understood that the 'micro_ecc_lib_nrf52.a' file should be added to the "Application" folder. Is it correct to do as shown in the picture below?

    (If compiled this way, it won't give an error.)

    (However, it is said in the documents that it should be done this way.)

Children
Related