Hello!
I will start by saying that I am new to embedded software development, and new to nrf boards in general.
After successfully running the direction finding connectionless (rx and tx) samples on my nrf52833dk, I want to run it on my nrf5340dk. I ran into a difficult issue when trying to flash the bluetooth controller on the network core. I think I followed the exact steps that are specified in the README of https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/bluetooth/direction_finding_connectionless_rx#id5.
I copied the .overlay file with the pin configuration into the hci-rpmsg sample and modified it accordingly, and then I copied the .conf file from the direction_finding_connectionless boards folder and changed its name such that it configures the cpunet (like the README says). When I try to flash the code for the cpunet, it seems that there is not enough RAM on the network core. (It says that I overflowed by around 20 kilobytes)
I then tried flashing the hci-rpmsg sample unmodified, and saw that by itself it was allocating ~60% of the 64kB of RAM. (Which was already a bit surprising to me)
It seems that when pasting and modifying the .conf file from the direction_finding_connectionless_rx (same happens with tx, except it overflows with about 12kB) the RAM overflows by quite a lot (So I can't just cut some of the 8kB of heap memory because it wouldn t be enough), which is weird and it leads me to believe I am doing something very wrong. Perhaps I don't need all the settings that are in there? I did try to play around with the settings in the hope it would work but I am now completely stuck.
Any help or tips would be greatly appreciated!