NCS 2.7 Create new board wizard

I want to make a board that's compliant with the new hardware model definitions.  (HWMv2)

When I make a new board with 2.7 using the "create new board" wizard. 

it doesnt appear in the list when I want to add it as a build configuration.

Its not in this dropdown 

also the files generated for the board look a bit strange. See zip attached

For example, the compatible in the dts file isn't the board name, it's "custom-board-name"

when I look at the files, I cannot see what's different to make it HWMv2 compliant
Avilon840.zip 

  • Hi Jason,

    Thanks for checking with us. Let me comment on your questions one by one.

    it doesnt appear in the list when I want to add it as a build configuration.

    Its not in this dropdown 

    It is a bit confusing, your second picture does show your custom board "avionv4" on the dropdown list and chosen as default board. Do I missunderstand your problem?

    also the files generated for the board look a bit strange. See zip attached

    For example, the compatible in the dts file isn't the board name, it's "custom-board-name"

    when I look at the files, I cannot see what's different to make it HWMv2 compliant

    The "custom-board-name" in the compatible field sounds likely a placeholder and it should be replaced with your actual board name. I will report to our developer to see if this is intented.

    The main differences for HWMv2 compliance are in the file structure and naming conventions. According to the Board Porting Guide, HWMv2 introduces support for multi-core, multi-arch AMP SoCs, multi-SoC boards, and removes arbitrary uses of Kconfig and folder names.For nRF52840 customer board, which is singal-core, single SoC on board, this is proberly not easy to see dramatic change. You can refer to Migrating to the current hardware model and Zephyr borads folder to learn more about it.

    Best regards,

    Charlie

  • Hi Charlie, thanks for your reply.

    The screenshot software wouldn't take the snapshot with the dropdown. But I tried to make a board called avilon840 and it didn't appear in the dropdown.

    The boards I've made in the past are all listed. I think it's a bug.

    I will wait for the next NCS version and try again when it's released. I tried to look on devzone for other people having the same issue, but I didn't find any, so I wanted to report what I found in case it was a bug that wasn't logged. (or I had misunderstood!)

    Thanks again.

    Kind regards,

    -Jason

  • Ok, did you put the custom board folder under yourporject/boards folder? You need to refresh to load the new folder sometimes, just try to close and open vs code to see if you can find your custom boards form dropdown list.

    We have just release NCS 2.8.0 yesterday, which seem does not have changes on HWMv2 according to nRF Connect SDK v2.8.0 Release Notes.

    Best regards,

    Charlie

  • I checked again after restarting the machine but it's not there.

    It put it into

    MyProject/CompanyName/Avilon840

    whereas the previous boards went into

    Myproject/arm/avilon4

    I think I followed the same procedure to make it

    I'll try NCS2.8.0

    Thanks for your help. Have a good weekend!

  • Try to put it under a boards as Myproject/boards/Avilon840.

Related