AnsweredAssumed Answered

PN7462 NON OS Build Errors

Question asked by Mayank Sharma on Dec 16, 2016
Latest reply on Jan 31, 2017 by Stefan Mueller



I am getting build errors ( In attachment) while compiling PN7462 example project "NfcrdlibEx1_BasicDiscoveryLoop" in non os mode.


It would be helpful if someone provide me some hint to resolve this.


I followed following steps to enable NON OS mode


1) In the file ph_NxpBuild_App.h comment out the macro NXPBUILD__PH_OSAL_FREERTOS and enable the macro NXPBUILD__PH_OSAL_NULLOS.


2) Exclude the FreeRTOS files from the build. For this right click on the FreeRTOS folder -> Resource Configurations -> Exclude from Build and select the Debug and Release configurations.


3) Set the optimization as None (-O0) from the project properties (Project -> Properties -> C/C++ Build -> Settings -> MCU C Compiler -> Optimization).




Original Attachment has been moved to: