The macro MAX is undefined softdevice_handler.h should include nordic_common.h
The macro MAX is undefined softdevice_handler.h should include nordic_common.h
I have the same problem as what Modern Advice is experiencing. I'm using SD 5.2.1 and the 5.0.0.34603 version of the SDK.
May I suggest that this is posted separately as a question? However, I believe that the problem is that SDK 5.0.0 is made to be used with S110 version 6.0.0, as stated in its release notes. If you try to run it with 5.2.1, you will see problems.
Try upgrading the softdevice to 6.0.0, or alternatively replace the S110 header files from SDK 5.0.0 with the ones from the S110 version 5.2.1 release (which are also the ones included in SDK 4.4.2).
May I suggest that this is posted separately as a question? However, I believe that the problem is that SDK 5.0.0 is made to be used with S110 version 6.0.0, as stated in its release notes. If you try to run it with 5.2.1, you will see problems.
Try upgrading the softdevice to 6.0.0, or alternatively replace the S110 header files from SDK 5.0.0 with the ones from the S110 version 5.2.1 release (which are also the ones included in SDK 4.4.2).