refractor include chain with following policies

- header file only include what it needs for its declarations.
This commit is contained in:
hathach
2013-02-04 13:13:07 +07:00
parent 5ec56120e6
commit a5b29c5d33
11 changed files with 35 additions and 19 deletions

View File

@@ -56,18 +56,23 @@
extern "C" {
#endif
//------------- Standard Header -------------//
#include "primitive_types.h"
#include <stddef.h>
#include <string.h>
#include <stdio.h>
//------------- TUSB Option Header -------------//
#include "tusb_option.h"
//------------- General Header -------------//
#include "compiler/compiler.h"
#include "assertion.h"
#include "binary.h"
#include "errors.h"
#include "tusb_option.h"
#include "hal/hal.h"
//------------- TUSB Header -------------//
//#include "hal/hal.h"
#include "core/tusb_types.h"
#include "core/std_descriptors.h"
#include "core/std_request.h"