This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

debug flag

I have a faint memory of something to check to see if running debug or not. anyone know?

Parents
  • M0:

    ..\Touch-user\process_button.c(214): error: #20: identifier "CoreDebug" is undefined if( CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk )
    ..\Touch-user\process_button.c(214): error: #20: identifier "CoreDebug_DHCSR_C_DEBUGEN_Msk" is undefined

    is there an include files beyont the "automatics" needed? or is it that M0 does not have the feature

Reply
  • M0:

    ..\Touch-user\process_button.c(214): error: #20: identifier "CoreDebug" is undefined if( CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk )
    ..\Touch-user\process_button.c(214): error: #20: identifier "CoreDebug_DHCSR_C_DEBUGEN_Msk" is undefined

    is there an include files beyont the "automatics" needed? or is it that M0 does not have the feature

Children