0
which C language is embedded C, C++ or embedded C
I want to do assembly programming with a C language compiler. But I first plan to learn the programming language. I am told it is embedded C. But because there are no embedded C courses out there I am wondering which C language (C++ or C#) is actually embedded C.
7 odpowiedzi
+ 1
They are all different. It depends what hardware are you planing to use. If this is simple AVR or ARM Cortex-M then you will better look at C (or C++, if your hw have cpp tooling). Or if it will run on something like Raspbery Pi - you can take almost any language you want. There is also a .net micro framework which is almost dead:( and have limited set of hw supported (and requires much more skillz, then you can take from this site courses)
+ 1
With Atmel studio you can use C or C++. C is the simpliest, but it procedural (not object oriented). But C also have smaller footprint (compiled program size) then C++, which may be critical for AVR devices (specially for ATTiny MC).
"Embedded" is just a marketing word. There is no difference between "C" and "Embedded C" from programmer point of view.
0
Thank you in advance!
0
Thanks a lot.
I am using Atmel studio 7 with AVR programming.
which specific language do you recommend, if embedded c has courses which should I take up.
Thank you.
0
I've used both C and C++ for different embedded machines. The only need I had for assembly was task switching (swap of registers) and the Ethernet device driver (hand optimization of code for speed.) The other devices were managed completely in C or C++, using hardcoded pointers to the memory mapped hardware.
0
@Bac, thanks for mentioning that's is only a marketing word. because I was under the impression that there were dedicated courses for it.