title: Is it a good practice to include all files in one .h file and include that file everywhere for AVR?
body: <p>Can I do like this </p>
  
  <pre><code>/*includeAll.h*/
  
  #ifndef INCLUDEALL_H_
  #define INCLUDEALL_H_ 1
  
  #include &lt;avr/io.h&gt;
  #include &lt;avr/pgmspace.h&gt;
  #include &lt;avr/interrupt.h&gt;
  #include "DataTypeDefs.h"
  
  #include "timer_api.h"
  #include "uart_api.h"
  #include "RTC_PCF8563.h" 
  #include "TWI_Master.h"
  #include "ADC_LTC1859.h"
  #include "spi.h"
  #include "AT45DB161D_UART_AS_mSPI.h"
  
  #include "Utilities.h"
  
  #ifndef F_CPU 
  #define F_CPU 16000000UL
  #endif
  
  #include &lt;util/delay.h&gt;
  
  
  #include &lt;string.h&gt;
  
  #endif /* INCLUDEALL_H_ */
  </code></pre>
  
  <p>And include this includeAll.h file everywhere.
  Everywhere means in all the project files.</p>
  
  <p>Similar macro like  #define INCLUDEALL_H_ 1 has been used in all the other files.</p>
  
  <p>I see that in compile time it takes very long.</p>