|
以前一直用STM32F103c8t驱动ST7789很正常,由于从新安装了系统,下载库后就编译不成功了,麻烦大神帮忙看看怎么修改,我改了很多都不行,谢谢各位了
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp: In member function 'void Adafruit_SPIDevice::transfer(uint8_t*, size_t)':
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp:119:31: error: no matching function for call to 'SPIClass::transfer(uint8_t*&, size_t&)'
_spi->transfer(buffer, len);
^
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp:119:31: note: candidate is:
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:1:0,
from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2020.8.9\libraries\SPI\src/SPI.h:285:11: note: uint8 SPIClass::transfer(uint8) const
uint8 transfer(uint8) const;
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2020.8.9\libraries\SPI\src/SPI.h:285:11: note: candidate expects 1 argument, 2 provided
"Wire.h" 对应多个库
已使用: C:\Users\Administrator\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2020.8.9\libraries\Wire
未使用:C:\Users\Administrator\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2020.8.9\libraries\WireSlave
exit status 1
为开发板 Generic STM32F103C series 编译时出错。
|
|