I'll ask you an example question for "visual study code"

Hello.
The visual study code uses toolchain v2.7.0, SDK v2.7.0
I'm trying to test the saadc example (in modules/hal/nordic/nrfx/samples/src/nrfx_saadc/) in "creat a new application -> copy a sample", but 'confuiguratiom' is not generated with the same error as the image attached below.
What can I do to solve this problem?
(The wifi-related example is created without any problems with confuiguratiom)

Parents
  • To fix the issue, try these steps:

    1. Check the board configuration: Make sure the correct board is selected, like `nrf5340dk_nrf5340_cpuapp`. Double-check your CMake command for the right board.

    2. Use the latest versions of the Nordic SDK and toolchain to avoid compatibility issues.

    3. The error says a file is missing, so check that `common/common.cmake` is present in the right path.

    4. Delete the `build` folder and start the configuration process again to clear any stale files.

    Let me know if this works!

    Regards,
    Bharani Dharan R

Reply
  • To fix the issue, try these steps:

    1. Check the board configuration: Make sure the correct board is selected, like `nrf5340dk_nrf5340_cpuapp`. Double-check your CMake command for the right board.

    2. Use the latest versions of the Nordic SDK and toolchain to avoid compatibility issues.

    3. The error says a file is missing, so check that `common/common.cmake` is present in the right path.

    4. Delete the `build` folder and start the configuration process again to clear any stale files.

    Let me know if this works!

    Regards,
    Bharani Dharan R

Children
Related