We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have a faint memory of something to check to see if running debug or not. anyone know?
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
You missed the last line of my first reply, then?
See also: community.st.com/.../36036-how-to-check-at-runtime-if-a-debugger-is-connected