Hacker News new | past | comments | ask | show | jobs | submit login

>> I see, they always write everything from scratch.

Embedded developers, yup pretty much... :| Most projects just copy and pastes the OEM's sample code or previous projects driver code and work from there.

>> Then you need to wrap the Assembly instructions out* / in* into C functions or sprinkle all the code with inline assembly since libraries aren't used.

I have never seen that being done in the last 10 years except for the startup sections on processors setting up the ISR / clocking / co-processors etc.




A lot of embedded code uses macros to deal with the register/configuration handling, rather than functions. I've seen loads of inline assembly in #defines.


Fair enough.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: