C and embedded c | SoloLearn: Learn to code for FREE!


C and embedded c

what's the difference

6/1/2017 4:42:00 PM

sanju sk

3 Answers

New Answer


The languages are the same, thay are both C. The main differences are: 1. Support libraries may be limited in embedded C; there may be no console, file system or operating system. 2. Device specific storage classes may be included in embedded C. 3. Device specific header files included for embedded C. 4. Typicaly for a C compiler the host and target are the same (native compiler). For an embedded C compiler the host and target systems are often different (cross compiler). 5. In an embedded system the main function might never return.


well what is its use


Embedded C is just a term; it's C used for programming embedded systems. The GNU compiler gcc has been ported to cross compile for many processors and systems including embedded systems on arm and avr cores. The Small Device C Compiler (SDCC) is used with a number of 8-bit cores.