Hello everyone,
i am developing code (VS Code, Toolchain/SDK: 2.3.0) for a custom board based on nrf5340. I have been able to build a simple hello_world + Serial DFU example based on this guide that i found on DevZone faking my custom board as a nrf5340DK. When i say "faking my board" i mean that i successfully built the code for nrf5340DK and flashed it to my CUSTOM BOARD (Segger J-Link connected to my custom board through SWD programming port). Now that i'm sure that my board can be programmed correctly, i'm trying to create my specific board in the "boards" folder. To get started, i used the VS code menu "Create a new board" and followed the procedure. The procedure created the correct folder with the needed files inside (my_board.dts, *defconfig, etc.). Unfortunately, when i tried to build the code for this board, the process fails with an error regarding missing info about sram0_shared. Analyzing the content of the nrf5340dk boards folder i found and added the following code to my_board.dts file:
After this i have been able to solve the sram0_shared issue. Unfortunately, this didn't happen to be enough to compile successfully. Now i'm stuck getting this error:
I tried looking again into "nrf5340dk" board directory, but i didn't find anything that gave me an hint.
I'm suspicious about my kconfig settings. Changing them a bit sometimes changes the error. Here you go the "my_board_defconfig":
And my proj.conf:
Any idea?
Thank you for your time
Edit: typos and more info about my Kconfig settings