6152| 9
|
[官方教程] Maixduino系列实验(5)---点亮Maixduino配套2.4寸LCD屏 |
Maixduino系列实验(5)---点亮Maixduino配套2.4寸LCD屏ST7789驱动器芯片2.4寸LCD屏(24P 320X240)
安装<Sipeed_ST7789.h>库,开发板自带
|
原来的完整帖子 MicroPython动手做(01)——春节后入手了一块K210芯片AI开发板 MicroPython动手做(02)——尝试搭建K210开发板的IDE环境 MicroPython动手做(03)——零基础学MaixPy之开机运行 MicroPython动手做(04)——零基础学MaixPy之基本示例 MicroPython动手做(05)——零基础学MaixPy之LCD液晶屏 MicroPython动手做(06)——零基础学MaixPy之单目摄像头 MicroPython动手做(07)——零基础学MaixPy之机器视觉 MicroPython动手做(08)——零基础学MaixPy之识别颜色 MicroPython动手做(09)——零基础学MaixPy之人脸识别 MicroPython动手做(10)——零基础学MaixPy之神经网络KPU |
驴友花雕 发表于 2021-8-22 08:20 "C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\Maixduino\\tools\\riscv64-unknown-elf-gcc\\8.2.0_20190409/bin/riscv64-unknown-elf-g++" -mcmodel=medany -mabi=lp64f -march=rv64imafc -fno-common -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -fno-zero-initialized-in-bss -Os -ggdb -nostartfiles -static -Wl,--gc-sections -Wl,-static -Wl,--whole-archive -Wl,--no-whole-archive -Wl,-EL -Wl,--no-relax -T "C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\Maixduino\\hardware\\k210\\0.3.11/cores/arduino/kendryte-standalone-sdk/lds/kendryte.ld" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\sketch\\maixduino_test1.ino.cpp.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Sipeed_ST7789\\lcd.c.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Sipeed_ST7789\\Sipeed_ST7789.cpp.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Adafruit-GFX-Library\\glcdfont.c.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Adafruit-GFX-Library\\Adafruit_GFX.cpp.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Adafruit-GFX-Library\\Adafruit_SPITFT.cpp.o" -o "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846/maixduino_test1.ino.elf" -Wl,--start-group -lgcc -lm -lc -Wl,--end-group -Wl,--start-group "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\core\\core.a" -lgcc -lm -lc -Wl,--end-group c:/users/dell/appdata/local/arduino15/packages/maixduino/tools/riscv64-unknown-elf-gcc/8.2.0_20190409/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\Users\DELL\AppData\Local\Temp\arduino_build_886846\core\core.a(spi.c.o): in function `.LANCHOR1': spi.c:(.rodata.spi+0x0): multiple definition of `spi'; C:\Users\DELL\AppData\Local\Temp\arduino_build_886846\sketch\maixduino_test1.ino.cpp.o:C:\Users\DELL\Desktop\maixduino_test1/maixduino_test1.ino:9: first defined here collect2.exe: error: ld returned 1 exit status 使用 1.0 版本的库 Sipeed_ST7789 在文件夹: C:\Users\DELL\AppData\Local\Arduino15\packages\Maixduino\hardware\k210\0.3.11\libraries\Sipeed_ST7789 使用 1.4.8 版本的库 Adafruit-GFX-Library 在文件夹: C:\Users\DELL\AppData\Local\Arduino15\packages\Maixduino\hardware\k210\0.3.11\libraries\Adafruit-GFX-Library exit status 1 为开发板 Sipeed Maixduino Board 编译时出错。 |
"C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\Maixduino\\tools\\riscv64-unknown-elf-gcc\\8.2.0_20190409/bin/riscv64-unknown-elf-g++" -mcmodel=medany -mabi=lp64f -march=rv64imafc -fno-common -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -fno-zero-initialized-in-bss -Os -ggdb -nostartfiles -static -Wl,--gc-sections -Wl,-static -Wl,--whole-archive -Wl,--no-whole-archive -Wl,-EL -Wl,--no-relax -T "C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\Maixduino\\hardware\\k210\\0.3.11/cores/arduino/kendryte-standalone-sdk/lds/kendryte.ld" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\sketch\\maixduino_test1.ino.cpp.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Sipeed_ST7789\\lcd.c.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Sipeed_ST7789\\Sipeed_ST7789.cpp.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Adafruit-GFX-Library\\glcdfont.c.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Adafruit-GFX-Library\\Adafruit_GFX.cpp.o" "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\libraries\\Adafruit-GFX-Library\\Adafruit_SPITFT.cpp.o" -o "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846/maixduino_test1.ino.elf" -Wl,--start-group -lgcc -lm -lc -Wl,--end-group -Wl,--start-group "C:\\Users\\DELL\\AppData\\Local\\Temp\\arduino_build_886846\\core\\core.a" -lgcc -lm -lc -Wl,--end-group c:/users/dell/appdata/local/arduino15/packages/maixduino/tools/riscv64-unknown-elf-gcc/8.2.0_20190409/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\Users\DELL\AppData\Local\Temp\arduino_build_886846\core\core.a(spi.c.o): in function `.LANCHOR1': spi.c:(.rodata.spi+0x0): multiple definition of `spi'; C:\Users\DELL\AppData\Local\Temp\arduino_build_886846\sketch\maixduino_test1.ino.cpp.o:C:\Users\DELL\Desktop\maixduino_test1/maixduino_test1.ino:9: first defined here collect2.exe: error: ld returned 1 exit status 使用 1.0 版本的库 Sipeed_ST7789 在文件夹: C:\Users\DELL\AppData\Local\Arduino15\packages\Maixduino\hardware\k210\0.3.11\libraries\Sipeed_ST7789 使用 1.4.8 版本的库 Adafruit-GFX-Library 在文件夹: C:\Users\DELL\AppData\Local\Arduino15\packages\Maixduino\hardware\k210\0.3.11\libraries\Adafruit-GFX-Library exit status 1 为开发板 Sipeed Maixduino Board 编译时出错。 老师,我编译也是出错了,版本不一样是咋搞呀,麻烦您看看 |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed