- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I want to use the I2C interface of CY353027-EVAL, I created a new Empty_BDsdk_app application with Modustoolbox 2.4 and I added the header file #include "wiced_hal_i2c.h" to the code. when build this application, is shows ERROS: unknown type name 'UINT8'.
我想使用CY353027-EVAL的I2C接口,我用Modustoolbox 2.4创建了新的Empty_BDsdk_app应用,当我在代码中添加头文件file #include "wiced_hal_i2c.h"后.构建此应用时就会报错: unknown type name 'UINT8'.
Can anyone help ?
Best regards
Yaodong
Solved! Go to Solution.
- Labels:
-
ModusToolbox Bluetooth SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please ensure that your #include "wiced_hal_i2c.h" line is placed after the #include "app_bt_cfg.h" line. UINT8 is defined in mtb_shared\wiced_btsdk\dev-kit\baselib\20706A2\release-
v4.0.0\COMPONENT_20706A2\include\internal\types.h, which is included by app_bt_cfg.h
Regards,
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please ensure that your #include "wiced_hal_i2c.h" line is placed after the #include "app_bt_cfg.h" line. UINT8 is defined in mtb_shared\wiced_btsdk\dev-kit\baselib\20706A2\release-
v4.0.0\COMPONENT_20706A2\include\internal\types.h, which is included by app_bt_cfg.h
Regards,
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! the problem is solved.