Hi, could you recommend me an embedded C book or course?, a time ago I read a book about C but was not oriented to embedded (I work with microcontrollers)
Hi, could you recommend me an embedded C book or course?, a time ago I read a book about C but was not oriented to embedded (I work with microcontrollers)
The general purpose books are fine, and worth reading - if you plan to buy one I suggest at least considering
"Modern C, Jans Gustedt, third edition, ISBN 9781633437777", it's only just become available and its cost about £45 form Amazon. It's long, thorough and covers C23. If you want a comprehensive reference it won't be cheap, and you may as well get one that covers the latest C standard.
But the issues of embedded code on micro controllers vary a lot depending on what you are doing. The current trend is towards treating micros like mainframes with complex layers of abstraction and huge efforts to hide the hardware. Zephyr and PlatformIO exemplify this approach. If you want to go that way I can't help you.
If, on the other hand, you want to control the micro yourself, at the register level, expect to invest much blood and sweat. Your reward will be 10x (absurd generalisation here) the performance on the right projects and you won't be replaced by an AI any time soon. Unfortunately, as Jan has observed, there are few books (I don't actually know of any) that will help you much.
App notes, articles and data sheets are likely to be your primary sources.
MK
The general purpose books are fine, and worth reading - if you plan to buy one I suggest at least considering
"Modern C, Jans Gustedt, third edition, ISBN 9781633437777", it's only just become available and its cost about £45 form Amazon. It's long, thorough and covers C23. If you want a comprehensive reference it won't be cheap, and you may as well get one that covers the latest C standard.
But the issues of embedded code on micro controllers vary a lot depending on what you are doing. The current trend is towards treating micros like mainframes with complex layers of abstraction and huge efforts to hide the hardware. Zephyr and PlatformIO exemplify this approach. If you want to go that way I can't help you.
If, on the other hand, you want to control the micro yourself, at the register level, expect to invest much blood and sweat. Your reward will be 10x (absurd generalisation here) the performance on the right projects and you won't be replaced by an AI any time soon. Unfortunately, as Jan has observed, there are few books (I don't actually know of any) that will help you much.
App notes, articles and data sheets are likely to be your primary sources.
MK