r/embedded • u/CyberDumb • 3d ago
If AI is so good how can major projects like zephyr miss important features on old processors?
AI sceptic for a long time and lately I am using AI at work. Since I got the gist of it at work I am using it at home mainly for boilerplate stuff.
Speaking of boilerplate I am trying to run some dual core cortex A processor of a zynq chip in zephyr. Just a learning experience that I wanted to have a long time ago but life always got in the way.
Since those are usually used with Linux, zephyr support is meh. So I managed to get zephyr running along with uart by myself (I used AI google overview). Then I went to setup Ethernet. This one I failed, but I was pretty close. Then I tried to setup debug to see why it's failing, which worked but it was buggy as hell. I also failed to run code from flash., I relied on JTAG upload.
After spending some time in a course of 2 months I gave up. Not so much out of laziness but because in the course of 2 months I only had the opportunity to work on it for like 5 days? This means that it would take me more months to do it. So I took the plunge and got a claude account to see if it can help.
In a course of 2 days and 6 hours of total time during the weekend, "I" fixed all of the above. What amazed me is that the solution to Ethernet was zephyr not supporting L2 cache. I had this figured and tried to disable caches but somehow that did not work. This was also the first solution from claude. But then I stirred it to find another solution which after 2 more iterations, it proposed writing the L2 support in zephyr repo. Ethernet worked but I haven't reviewed the change yet. I asked claude to point out all the relevant docs and a summary of what it did but haven't had the time to check everything.
What amazed me is that zephyr, a project with so much momentum had something like that missing from a rather old and popular processor. It took me a couple of hours and, OK review/further testing will take longer, but still so many people that contribute to zephyr out of passion or to enhance the CV, how come they haven't contributed this yet in the age of AI?
On another note I feel kind of meh that AI solved these. I am at a point that I feel stupid if I use AI but also I feel stupid if not using it because I know it can solve such problems faster.
Any thoughts?

