This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Wrong board in nRF5 SDK for Mesh v0.10.0

Hello,

I am having troubles to run the light_switch example from the nrf5_SDK_for_Mesh_v0.10.0.

I am using PCA10028 boards with nRF51822. I didn't modify anything in the SDK.

I did erase the content on the board, program the softdevice S130 v2.0.1, program the built light_switch_client_nrf51422_xxAC_s130_2.0.1_Debug example and reset the target. Here is the error I obtain on the client side:

0>, main.c, 422, ----- BLE Mesh Light Switch Client Demo -----

0>, nrf_mesh_sdk.c, 72, APP_ERROR: /home/cynthia/BLE_Mesh_Net/nrf5_SDK_for_Mesh_v0.10.0/examples/light_switch/client/src/main.c:425 code 6

What I could find is that the variable BOARD_PCA10031 is defined instead of BOARD_PCA10028. However, that variable is set correctly when using the previous version of the SDK.

Has anyone an idea how to fix this?

Thanks.

Parents
  • Hi Ceow,

    There was an issue when generating the SES projects for the v0.10.0 release where the project files was configured with test parameters rather than the default ones. We'll post an update with the correct projects as soon as possible. You can re-generate the projects as described in the Generating SEGGER Embedded Studio project files section of the online documentation, but I've re-generated them for you and attached it here:

    nrf51422_ses_projects.zip

    For future reference, you can change the pre-processor defines used for compilation by:

    1. Right-click the project in the project explorer
    2. Select "Edit options"
    3. Choose the "Common" configuration from the drop-down menu
    4. Select the "Preprocessor" menu
    5. Double-click the "Preprocessor Definitions"

    Hope this helps and sorry for the inconvenience,
    Thomas

Reply
  • Hi Ceow,

    There was an issue when generating the SES projects for the v0.10.0 release where the project files was configured with test parameters rather than the default ones. We'll post an update with the correct projects as soon as possible. You can re-generate the projects as described in the Generating SEGGER Embedded Studio project files section of the online documentation, but I've re-generated them for you and attached it here:

    nrf51422_ses_projects.zip

    For future reference, you can change the pre-processor defines used for compilation by:

    1. Right-click the project in the project explorer
    2. Select "Edit options"
    3. Choose the "Common" configuration from the drop-down menu
    4. Select the "Preprocessor" menu
    5. Double-click the "Preprocessor Definitions"

    Hope this helps and sorry for the inconvenience,
    Thomas

Children
Related