STM32CubeProgrammer 的版本为 V2.7.0操作系统版本版本为win10 64bit
根据 相对路径:..\STMicroelectronics\STM32Cube\STM32CubeProgrammer\api 文件夹内
..\api\doc 内文档 STM32CubeProgrammer_API.chm 描述
The Qt projects are developed with Qt Creator 4.7.1, Qt 5.11.2 and MinGW 32 bit compiler and also it can be compiled by MinGW x64.
使用example例程内 UART_Example
- int main()
- {
- int ret = 0;
- const char* loaderPath = "./.";
- displayCallBacks vsLogMsg;
- /* Set device loaders path that contains FlashLoader and ExternalLoader folders*/
- setLoadersPath(loaderPath);
- /* Set the progress bar and message display functions callbacks */
- vsLogMsg.logMessage = DisplayMessage;
- vsLogMsg.initProgressBar = InitPBar;
- vsLogMsg.loadBar = lBar;
- setDisplayCallbacks(vsLogMsg);
- /* Set DLL verbosity level */
- setVerbosityLevel(verbosityLevel = VERBOSITY_LEVEL_1);
- //ret = Example1();
- //ret = Example2();
- //ret = Example3();
- //ret = I2C_Example();
- //ret = CAN_Example();
- //ret = SPI_Example();
- ret = UART_Example();
- //ret = USB_Example();
- //ret = TSV_Flashing();
- std::cout << "\n" << "Press enter to continue...";
- std::cin.get() ;
- return ret;
- }
复制代码
使用QT 5.11.2 MinGW 5.3.0 32bit 报错
使用QT 5.12.0 MinGW 7.3.0 64bit 或者更高版本均提示
CubeProgrammer_API.dll 使用qt library 版本为 5.11.2 ,QT不能使用更高版本。
请问怎么才能正确配置API的开发环境?
|