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

Prebuild error

Dear Nordic,

I am using the pre-build option to build always rebuild a file. This file is used to setup the date and time stamp of the build. I have done something similarly previously in Rowley (the basis of the SES tool)

linker_pre_build_command="emBuild -config "Common" -type "Object file" -project "Project" -property c_additional_options=-mfloat-abi=hard -rebuild -file $(ProjectDir)/datetime.cpp"

The issue is that I get

1> Pre-link command
1> cc1plus: error: '-mfloat-abi=hard': selected processor lacks an FPU
1> There were 1 build errors

I know this CPU has FPU, so it should work?

Can you help me out here, or is there a better way to always include the latest build time (without recompiling everything)?
     

Related