"It is an embedded project and the LOC count is not that large anyway"
Ok with those projects I have no experience, but from what I heard, are more hit or miss depending how niche your application is/how well it was trained on the avaiable libaries. Here I would probably try different LLM's to see who is best in this area right now.
My plattform is mainly the web - and all mainstream LLM's are optimized for it. Not just HTML and JS. It is amazig seeing the progress for how WebGPU was handled 2 years ago - and what it can do now with it.