Cant get it to program

Hi,

Installed the toolchain, installed VS Code, and I think its all linked, but when I try to run even the most basic hello world program it just keeps throwing this error

boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig:61: error: couldn't parse 'default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))': macro expanded to blank string

Is there a dedicated IDE that integrates everything into a single package like the Arduino IDE or MPLAB IDE?

Regards,

R

Parents
  • Hi,

    Have you checked if any of the fixes in Common fixes for nRF Connect SDK build problems helps?

    If this does not help, please provide the following information:

    • How you installed the SDK and toolchain (with Toolchain Manager or manually).
    • The nRF Connect SDK version.
    • How you are trying to build the sample. Since you mention VS Code I assume you are using this, but I am interested to know if you are
      • Creating a new application from the Hello World sample.
      • Adding the existing Hello World sample to applications.
      • Building with the 'Build' action in the nRF Connect tab or by using the terminal in VS Code (with 'west build ...')
    • What do you select as the target board? It seems like you are selecting nRF5340 DK, but which of the following build targets:
      • nrf5340dk_nrf5340_cpuapp
      • nrf5340dk_nrf5340_cpuapp_ns
      • nrf5340dk_nrf5340_cpunet
    • The complete output log when building and getting the error.
    Is there a dedicated IDE that integrates everything into a single package like the Arduino IDE or MPLAB IDE?

    We do not have a dedicated IDE like this, but the closest would be to use VS Code with our nRF Connect extensions for VS Code. I recommend taking a look at our video tutorials for this extension on YouTube. You can find the playlist here: https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl.

    Best regards,

    Marte

Reply
  • Hi,

    Have you checked if any of the fixes in Common fixes for nRF Connect SDK build problems helps?

    If this does not help, please provide the following information:

    • How you installed the SDK and toolchain (with Toolchain Manager or manually).
    • The nRF Connect SDK version.
    • How you are trying to build the sample. Since you mention VS Code I assume you are using this, but I am interested to know if you are
      • Creating a new application from the Hello World sample.
      • Adding the existing Hello World sample to applications.
      • Building with the 'Build' action in the nRF Connect tab or by using the terminal in VS Code (with 'west build ...')
    • What do you select as the target board? It seems like you are selecting nRF5340 DK, but which of the following build targets:
      • nrf5340dk_nrf5340_cpuapp
      • nrf5340dk_nrf5340_cpuapp_ns
      • nrf5340dk_nrf5340_cpunet
    • The complete output log when building and getting the error.
    Is there a dedicated IDE that integrates everything into a single package like the Arduino IDE or MPLAB IDE?

    We do not have a dedicated IDE like this, but the closest would be to use VS Code with our nRF Connect extensions for VS Code. I recommend taking a look at our video tutorials for this extension on YouTube. You can find the playlist here: https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl.

    Best regards,

    Marte

Children
No Data
Related