Dear Mr. Jean-Marc,
I slightly prefer to continue on this topic, as it is specific to your questions.
Sure. We shall continue here.
Any questions or suggestions for improvement are welcome.
Thank you so much.
You also need to install Adafruit_GFX. It is known to Library Manager; use "Manage Libraries..." and write "Adafruit_GFX" into the search box, then install it. Maybe this helps.
I had already installed it.
I assume you have installed GxEPD_HD library by downloading it as zip-file and using the Library manager "Add .ZIP Library…" method.
Done by "Add .ZIP Library…" method.
I am interested to learn how you get on.
Could yo compile the example, or even run it on your system?
When trying to compile (without connecting DESTM32-T to my system via ST-LINK/V2), I get the following messages:
...
Using board 'genericSTM32F103V' from platform in folder: E:\Users\govin\OneDrive\Documents\Arduino\hardware\Arduino_STM32\STM32F1
Using core 'maple' from platform in folder: E:\Users\govin\OneDrive\Documents\Arduino\hardware\Arduino_STM32\STM32F1
Detecting libraries used...
...
Alternatives for GxEPD_HD_EPD.h: [GxEPD_HD-master@0.0.4]
ResolveLibrary(GxEPD_HD_EPD.h)
-> candidates: [GxEPD_HD-master@0.0.4]
"C:\\Users\\govin\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\arm-none-eabi-gcc\\8.2.1-1.7/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit -DBOARD_generic_stm32f103v -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6 -w -x c++ -E -CC -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10810 -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DSERIAL_USB -DGENERIC_BOOTLOADER -DMCU_STM32F103VE -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 -DMCU_STM32F103VE -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple/include" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple/stm32f1/include" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple/usb/stm32f1" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple/usb/usb_lib" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\cores\\maple" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\variants\\generic_stm32f103v" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\libraries\\GxEPD_HD-master\\src" "C:\\Users\\govin\\AppData\\Local\\Temp\\arduino_build_515119\\sketch\\GxEPD_HD_Example.ino.cpp" -o nul
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
-> candidates: [SPI@1.0]
...
Alternatives for Adafruit_GFX.h: [Adafruit_GFX_Library@1.6.1]
ResolveLibrary(Adafruit_GFX.h)
-> candidates: [Adafruit_GFX_Library@1.6.1]
...
WARNING: library GxEPD_HD-master claims to run on STM32 architecture(s) and may be incompatible with your current board which runs on STM32F1 architecture(s).
Generating function prototypes...
...
Compiling sketch...
...
Compiling libraries...
Compiling library "GxEPD_HD-master"
...
"C:\\Users\\govin\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\arm-none-eabi-gcc\\8.2.1-1.7/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -MMD -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit -DBOARD_generic_stm32f103v -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6 -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10810 -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DSERIAL_USB -DGENERIC_BOOTLOADER -DMCU_STM32F103VE -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 -DMCU_STM32F103VE -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple/include" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple/stm32f1/include" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple/usb/stm32f1" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\system/libmaple/usb/usb_lib" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\cores\\maple" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\variants\\generic_stm32f103v" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\libraries\\GxEPD_HD-master\\src" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\hardware\\Arduino_STM32\\STM32F1\\libraries\\SPI\\src" "-IE:\\Users\\govin\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "E:\\Users\\govin\\OneDrive\\Documents\\Arduino\\libraries\\GxEPD_HD-master\\src\\GxGDE060BA.cpp" -o "C:\\Users\\govin\\AppData\\Local\\Temp\\arduino_build_515119\\libraries\\GxEPD_HD-master\\GxGDE060BA.cpp.o"
...
Compiling library "SPI"
...
Compiling core...
...
Archiving built core (caching) in: C:\Users\govin\AppData\Local\Temp\arduino_cache_520423\core\core_436a27c3019c8637c511386479c45b85.a
Linking everything together...
...
E:\Users\govin\OneDrive\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple\libmaple/timer.c:524: warning: undefined reference to `dispatch_basic'
c:/users/govin/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: C:\Users\govin\AppData\Local\Temp\arduino_build_515119\core\core.a(timer.c.o): in function `__irq_tim7':
E:\Users\govin\OneDrive\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple\libmaple/timer.c:528: warning: undefined reference to `dispatch_basic'
"C:\\Users\\govin\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\arm-none-eabi-gcc\\8.2.1-1.7/bin/arm-none-eabi-objcopy" -O binary "C:\\Users\\govin\\AppData\\Local\\Temp\\arduino_build_515119/GxEPD_HD_Example.ino.elf" "C:\\Users\\govin\\AppData\\Local\\Temp\\arduino_build_515119/GxEPD_HD_Example.ino.bin"
Multiple libraries were found for "SPI.h"
Used: E:\Users\govin\OneDrive\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\SPI
Multiple libraries were found for "Adafruit_GFX.h"
Used: E:\Users\govin\OneDrive\Documents\Arduino\libraries\Adafruit_GFX_Library
Multiple libraries were found for "GxEPD_HD_EPD.h"
Used: E:\Users\govin\OneDrive\Documents\Arduino\libraries\GxEPD_HD-master
Using library GxEPD_HD-master at version 0.0.4 in folder: E:\Users\govin\OneDrive\Documents\Arduino\libraries\GxEPD_HD-master
Using library SPI at version 1.0 in folder: E:\Users\govin\OneDrive\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\SPI
Using library Adafruit_GFX_Library at version 1.6.1 in folder: E:\Users\govin\OneDrive\Documents\Arduino\libraries\Adafruit_GFX_Library
"C:\\Users\\govin\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\arm-none-eabi-gcc\\8.2.1-1.7/bin/arm-none-eabi-size" -A "C:\\Users\\govin\\AppData\\Local\\Temp\\arduino_build_515119/GxEPD_HD_Example.ino.elf"
Sketch uses 432824 bytes (82%) of program storage space. Maximum is 524288 bytes.
Global variables use 64104 bytes (97%) of dynamic memory, leaving 1432 bytes for local variables. Maximum is 65536 bytes.
Low memory available, stability problems may occur.
Is everything above look fine?
If yes, can I connect the DESTM32-T via ST-LINK/V2 and run once again?
What about that reset switch. Is it required?
Is there any use of "STM32 ST-LINK Utility"?
I'm a bit confused on how to move forward, as I'm new to STM32 platform.
Any guidance is greatly appreciated, please.
Thanks,
Regards.
Jiva





