AnsweredAssumed Answered

undefined reverence problem.

Question asked by Jace Walton on Apr 3, 2017
Latest reply on Apr 6, 2017 by Alice_Yang

in PE_Types.h there is a macro

#define PE_LDD_COMPONENT_FLASH_ID                0x0DU

I reverence that macro in FLASH.c 

in FLASH.c there is a #include for FLASH.h (which has #include PE_Types.h) as well as PE_Types.h in it. however I am getting build errors in my code that states 

'PE_LDD_COMPONENT_FLASH_ID' undeclared (first use in this function) FLASH.c /wt+FX/Generated_Code line 282 C/C++ Problem


basicaly I use #include PE_Types.h twice and it still does not recognize the macro. if I redeclair the macro in FLASH.c it builds fine but why is PE_Types not recognized? 

I have not had this problem before. what is causing this?