LED_START and LED_STOP are not defined in pca10059.h

In nRF5 SDK 16 (downloaded file nRF5SDK160098a08e2.zip), the components/boards/pca10059.h file is missing the LED_START and LED_STOP defines that are present for other boards.

This causes problems for instance when trying to build examples with the Mesh SDK 3.2.0, and I am guessing may cause problems with other examples as well.

  • I believe the fix is as easy as adding the following lines at line 63 in components/boards/pca10059.h:

    #define LED_START LED_1

    #define LED_STOP LED_4

  • Hi!

    This causes problems for instance when trying to build examples with the Mesh SDK 3.2.0, and I am guessing may cause problems with other examples as well.

    Note that the nRF5 SDK for Mesh v3.2.0 does not support the nRF5 SDK v.16.0.0, but is to be used together with nRF5 SDK v.15.3.0.

    I don't know how this is going to be handled in future releases but it seems that the fix you added below should be fine.

    Cheers,
    Joakim

Related