Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32使用Arduino IDE , SDK不能成功编译? #9

Open
SniperChan opened this issue Feb 3, 2023 · 2 comments
Open

STM32使用Arduino IDE , SDK不能成功编译? #9

SniperChan opened this issue Feb 3, 2023 · 2 comments

Comments

@SniperChan
Copy link

详情描述:我是使用ST Nucleo 采用 STM32Nucleo-G071RB 为主控, 使用的开发平台是Arduino Studio 1.8.20. WIFI模组是WBR3, 完全根据官方文档步骤,不能成功编译,提示如下错误:

In file included from C:\Users\Sniper\Desktop\新建文件夹\sketch_feb03a\sketch_feb03a.ino:1: D:\Arduino\arduino-nightly\libraries\tuya-wifi-mcu-sdk\src/TuyaWifi.h:81:10: error: extra qualification 'TuyaWifi::' on member 'get_green_time' [-fpermissive] 81 | char TuyaWifi::get_green_time(TUYA_WIFI_TIME *time, const unsigned int timeout); | ^~~~~~~~ D:\Arduino\arduino-nightly\libraries\tuya-wifi-mcu-sdk\src/TuyaWifi.h:85:10: error: extra qualification 'TuyaWifi::' on member 'get_rtc_time' [-fpermissive] 85 | char TuyaWifi::get_rtc_time(TUYA_WIFI_TIME *time, const unsigned int timeout); | ^~~~~~~~ exit status 1 为开发板 Nucleo-64 编译时出错。

请问如何解决该错误?

image

image

@SniperChan
Copy link
Author

补充:当选择的是 Arduino Uno 开发板的时候是可以编译通过的.

@SniperChan SniperChan changed the title SDK不能成功编译? STM32使用Arduino IDE , SDK不能成功编译? Feb 3, 2023
@shiliu-yang
Copy link
Contributor

现在你将这个库更新到最新版本,应该就可以解决这个问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants