opcio
December 12, 2019, 5:17pm
1
Hi!
I have a 4.3" display form Good Display with a demo board (https://www.good-display.com/products_detail/productId=370.html ).
I tried to use library GxEPD_HD created by ZinggJM (GitHub - ZinggJM/GxEPD_HD: E-Paper display library for Arduino for HD parallel interface displays from Dalian Good Display. ) but when I tried to build it I have some errors like " undefined reference to `GxGDE043A2::fillScreen(unsigned short)' " . I know that it could mean that it doesn't see the library but I don't know how to force it to see it.
All the files from the src folder are in folder GxEPD_HD, which is located in my Arduino library folder.
From Arduino IDE I've choose a board "Generic STM32F4 series" and board part number as "Black F407ZE"
I will be very grateful if someone could help me
Thank you!
Marta
opcio
December 12, 2019, 5:23pm
2
That's the full message :
appdata/local/arduino15/packages/stm32/tools/arm-none-eabi-gcc/8.2.1-1.7/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: 4.3v1.ino.cpp:(.text._Z17showBitmapExamplev+0x24): undefined reference to `GxGDE043A2::erasePicture(unsigned char const*, unsigned long)'
ZinggJM
December 13, 2019, 5:52am
3
Hi Marta,
It looks like you didn't install the library GxEPD_HD correctly. You first need to delete it.
Download GxEPD_HD as zip-file.
Install it using the Library Manager "Add .ZIP Library..." method. (under Sketch, Include Library).
Compile the example GxEPD_HD_Example.ino
You need to have installed the STM32 package from Roger Clark GitHub - rogerclarkmelbourne/Arduino_STM32: Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards , because only this package has support for this STM32F103VE board.
// To be used with "STM32F103VE" of "Generic STM32F103V series" of package "STM32 Boards (STM32Duino.com)" for Arduino.
Note that the next 2 lines in the example are wrong , I was confused about STM32 packages:
// install package with Boards Manager after adding to preferences in additional Boards Manager URLs:
// https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/master/STM32/package_stm_index.json
This package is still missing support for STM32F103VE.
The demo board and the library are not easy to use, and you need to have a "ST-Link V2" to load code.
See also Request for help to make ESP32 to work with 6" ePaper of ‘Dalian Good Display’
Jean-Marc