component/bt : modify header files to avoid conflict

1. add the L1 include path with a prefix, such like osi/list.h, stack/a2d_api.h and etc.
2. modify component, only bluedroid/api/include/api is export to another component and application,
   other include path just for bluedroid used
3. put bluedroid/include into common/include/common, so the root directory of bluedroid have no include path.
4. modify doxygen to use esp_bt.h and redirect to
component/bt/bluedroid/api/include/api/

fix compile
This commit is contained in:
Tian Hao
2018-04-08 12:10:50 +08:00
parent 0236592fe5
commit adada3f67e
394 changed files with 1821 additions and 1810 deletions

View File

@@ -27,7 +27,7 @@
#define AVRC_INT_H
#include "avct_defs.h"
#include "avrc_api.h"
#include "stack/avrc_api.h"
#if (AVRC_INCLUDED == TRUE)
/* DEBUG FLAGS
@@ -70,7 +70,7 @@
#define AVRC_VENDOR_UNIQUE_MASK 0x70 /* vendor unique id */
/* Company ID is 24-bit integer We can not use the macros in bt_types.h */
/* Company ID is 24-bit integer We can not use the macros in stack/bt_types.h */
#define AVRC_CO_ID_TO_BE_STREAM(p, u32) {*(p)++ = (UINT8)((u32) >> 16); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UINT8)(u32); }
#define AVRC_BE_STREAM_TO_CO_ID(u32, p) {u32 = (((UINT32)(*((p) + 2))) + (((UINT32)(*((p) + 1))) << 8) + (((UINT32)(*(p))) << 16)); (p) += 3;}