Embedded Header Functions

I am new to embedded systems and want to know more

I am currently optimizing the software based on the structure of the embedded ARM system and wondering which header files you include in your source files. Where to put them?

Right now I just use software (OVP) to simulate the ARM hardware platform, but in real hardware, do you have to put the header files somewhere to the right? Like gcc, there is a standard hd library. Do I need to embed this library in the embedded machine? Space is limited! And is there a way to minimize the size of the library? Thank!

Example

#include <stdio.h>

#include <stdlib.h>

I use the cross-compiler arm-elf-gcc

Regards

Mr. Gigu

+5
2

, . .

, , . , , . .

; . .

- , . ( ) ( , , , , ). / , . , . , .

, , , . , .

, , ( ).

+11

, . , , . - , - - , . , . , , - , , , .

+1

All Articles