Firmware, especially for the various SoCs, is not a solved problem. There’s far fewer examples of publicly available code for LLMs to learn from, and documentation is at times behind paywalls.
While I’m sure on any long enough time horizon this will change, at the moment finding useful code for some of these SoCs is a lesson in pain. I would also expect relying on an LLM for correct code for low level work like this would be a mistake at best. There are subtle bugs that you can’t shake out with code review and it takes far longer to debug embedded devices than it does web systems.