Skip to main content
Andrew Neil
Super User
February 10, 2021
Solved

'Debug' Config in B-072Z-LRWAN1 Ping-Pong example does not set DEBUG flag

  • February 10, 2021
  • 1 reply
  • 1582 views

The 'Debug' Build Configuration in the B-072Z-LRWAN1 Ping-Pong example does not define the DEBUG symbol.

This means that you cannot debug the DEBUG configuration!

Who on earth thought that was a good idea?!

:persevering_face:

If you do want to debug, you must add 'DEBUG' to the list of preprocessor defined symbols in Project Properties:

0693W000007Ecm4QAC.png 

See also: https://community.st.com/s/question/0D50X00009bNTmPSAW/pingpong-example-from-icubelrwan-software-not-working-on-bl072zlrwan1 - 3 years ago!

This topic has been closed for replies.
Best answer by Andrew Neil

The answer is in the OP: add 'DEBUG' to the list of preprocessor defined symbols in the Project Properties.

1 reply

Andrew Neil
Andrew NeilAuthorBest answer
Super User
February 10, 2021

The answer is in the OP: add 'DEBUG' to the list of preprocessor defined symbols in the Project Properties.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.