[SOLVED] Locally compiling for Argon

Hi there,

I am trying to locally compile a firmware to flash onto the Argon, I have setup the local build as per the guide here.

However on trying to compile using

make clean all PLATFORM=argon

I get the following error:


I am currently on branch v0.8.0-rc.26, to clarify I am able to build firmware for the photon without any issues.

You need to also fetch the submodules:

$ git submodule update --init --recursive

Thanks a lot! Looks like its working been running for the past 15 mins :slight_smile:

Hi there,

I have been trying to compile a code using BSEC library which seems to be using hard float, is there a way to enable hard floating point during compile?

Have you set the project up as cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard or as cortex-m4?
You need to select the appropriate libalgobsec.a or just omit -mfloat-abi=hard or set -mfloat-abi=soft.

I’ve no clue which of the other options the nRF52840 supports tho’

@ScruffR thank you. The mistake was me selecting the wrong library :man_facepalming:

1 Like