Hi,
We have a mature product based on the STM32 ARM processor family running the uCOS OS and our development toolchain is IAR. The workflow has worked well in the past when we've had to port to another ARM processor (ie. GigaDevice, Maxim). Mostly, we've been able to rip out the lower device driver layers and replace them with the appropriate drivers from the manufacturer. Additionally, we customize the linker command script files to allocate and tag memory sections. Now, we are interested in porting our existing code base to the nrf5340 and replacing uCOS with Zephyr. It is paramount that we reuse as much of our existing application code base as possible.
We installed the nrf Connect SDK and have been experimenting with the different examples using the WEST build environment. The departure from our normal workflow is drastic to say the least! We're wondering if anyone has faced a similar dilemma and how they approached the problem? Is it easier to bypass WEST completely and use CMAKE? Are DeviceTree and KConfig required to build Zephyr? How does one add custom memory sections to the WEST auto-generated linker command script?
If anyone can share their experiences, we would be very grateful!
Best,
Kurt