I follow this link and do the configs on the Keil project in examples\dfu\bootloader_secure_ble\pca10040 to run on nRF52810.
But I find that the micro_ecc_lib_nrf52.lib is linked to the one under nrf52hf_keil rather than nrf52nf_keil. I change the device under "Options for Target" --> Device to nRF52810 and the defines under Preprocessor Symbols under Options for Target --> C/C++.
As is known, nRF52810 should not have the dardware FDU. Is anywhere I missed?
Correct, the Cortex M4 in the nRF52810 doesn't have an FPU.
Is it working now?
I copy the lib built under nrf52nf_keil to nrf52hf_keil. It works :)
Anyway, while using PCA10040, I have to replace it back.