Top "Embedded" questions

Embedded refers to embedded systems, which involves areas such as microcontroller/DSP firmware programming, real-time systems, electronic interfaces, hardware drivers, serial bus communication etc.

Unit Testing C Code

I worked on an embedded system this summer written in straight C. It was an existing project that the company …

c unit-testing testing embedded
Sorting 1 million 8-decimal-digit numbers with 1 MB of RAM

I have a computer with 1 MB of RAM and no other local storage. I must use it to accept 1 million 8…

algorithm sorting embedded ram
How do you implement a class in C?

Assuming I have to use C (no C++ or object oriented compilers) and I don't have dynamic memory allocation, what …

c class oop embedded
Using floats with sprintf() in embedded C

Guys, I want to know if float variables can be used in sprintf() function. Like, if we write: sprintf(str,"…

c embedded floating-point printf
What is the difference between C and embedded C?

Can any body tell me the differences between them?

c embedded
Total size of the contents of all the files in a directory

When I use ls or du, I get the amount of disk space each file is occupying. I need the …

linux embedded shell
Understanding Linux /proc/id/maps

I am trying to understand my embedded Linux application's memory use. The /proc/pid/maps utility/file seems to be …

linux embedded
What does this GCC error "... relocation truncated to fit..." mean?

I am programming the host side of a host-accelerator system. The host runs on the PC under Ubuntu Linux and …

c eclipse memory-management gcc embedded
Compiling an application for use in highly radioactive environments

We are compiling an embedded C++ application that is deployed in a shielded device in an environment bombarded with ionizing …

c++ c gcc embedded fault-tolerance
When is CRC more appropriate to use than MD5/SHA1?

When is it appropriate to use CRC for error detection versus more modern hashing functions such as MD5 or SHA1? …

hash embedded crc