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

How to configure light sensor for nrf9160dk

identifier "CONFIG_LIGHT_SENSOR_DEV_NAME" is undefined

how to configure device name for light sensor

  • Hello,

    Are you running one of the samples from the SDK? - in that case, which sample/have you made any modifications to it?

    From that one line alone I would suspect that you have not included the appropriate header/source files for the sample.
    If you could elaborate more on the situation, that would make it easier to help you.

    Best regards,
    Karl

  • hello,

    Thank you for your reply,

    Actually I am trying to build a light_sensor code in asset_tracker application for the nrf9160dk board.

    But nrf9160Dk board doesn't have inbuild BH1749 iC, so while building I am getting configuration error.

    So, I build asset_tracker code for thingy91. then its working fine.

    Regards

    Alka

  • Hello,

    Alka said:
    Thank you for your reply,

    No problem, I am happy to help!

    Alka said:

    Actually I am trying to build a light_sensor code in asset_tracker application for the nrf9160dk board.

    But nrf9160Dk board doesn't have inbuild BH1749 iC, so while building I am getting configuration error.

    So, I build asset_tracker code for thingy91. then its working fine.



    Does this mean that you issue has resolved, or do you require further assistance?
    If so, please specify the issues you are experiencing and the unexpected behavior you are seeing.
    If not, then I will consider this ticket resolved.

    Best regards,
    Karl 

Related