7 Replies Latest reply on Apr 29, 2019 11:18 PM by AnkitaS_51

    CY_CPU_CORTEX_M4 never defined at edit time


      In a PSoC 6 project, I have some shared header files which have sections for the two different cores, enabled or disabled by checking the CY_CPU_CORTEX_M0P and CY_CPU_CORTEX_M4 macros.


      It seems that in the development environment, this always resolves to the M0+, even when the file being edited is for the M4.  This causes the IDE to incorrectly display error flags even though the code builds without errors.


      How does one get around this?