New library for LCD FT8XX STM32

Discussions about the STM32generic core
User avatar
Dimdim
Posts: 13
Joined: Mon May 09, 2016 10:34 am
Location: Athens, Greece
Contact:

Re: New library for LCD FT8XX STM32

Post by Dimdim » Wed Jan 23, 2019 6:37 pm

Hi guys, I have a Riverdi FT813 screen and a blu-pill board and I'm trying to get them to work together.

If I understand correctly, the best library for the job is the GD23Z library, available here: https://github.com/lightcalamar/GD23Z

I've also downloaded the AT24Cxx library from ft81xmania.com

In order for it to compile I understand that I need to use the STM32GENERIC core.

So I've installed this core to my Arduino IDE (1.8.7), selected the BluePill F103CB from the boards manager, loaded the helloworld example and hit Compile.

The result was this:

Code: Select all

In file included from C:\Users\Dimitris\Documents\Arduino\libraries\AT24Cxx\AT24Cxx.cpp:8:0:
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\Wire\src/Wire.h: In member function 'uint8_t AT24Cxx::read(uint16_t)':
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\Wire\src/Wire.h:77:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
     uint8_t requestFrom(int, int);
             ^
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\Wire\src/Wire.h:74:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
     uint8_t requestFrom(uint8_t, uint8_t);
             ^
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\Wire\src/Wire.h: In member function 'void AT24Cxx::update(uint16_t, uint8_t)':
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\Wire\src/Wire.h:77:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
     uint8_t requestFrom(int, int);
             ^
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\Wire\src/Wire.h:74:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
     uint8_t requestFrom(uint8_t, uint8_t);
             ^
In file included from C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\stm32_dma\src\stm32_dma.c:29:0:
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\stm32_dma\src\stm32_dma_F0F1F3L1.h:10:28: error: 'DMA1_Channel2_3_IRQn' undeclared here (not in a function)
 #define DMA1_Channel3_IRQn DMA1_Channel2_3_IRQn
                            ^
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\stm32_dma\src\stm32_dma_F0F1F3L1.h:31:38: note: in expansion of macro 'DMA1_Channel3_IRQn'
     {SPI1, SPI_TX, DMA1_Channel3, 3, DMA1_Channel3_IRQn},
                                      ^
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\stm32_dma\src\stm32_dma_F0F1F3L1.h:15:28: error: 'DMA1_Channel4_5_6_7_IRQn' undeclared here (not in a function)
 #define DMA1_Channel5_IRQn DMA1_Channel4_5_6_7_IRQn
                            ^
C:\Users\Dimitris\Documents\Arduino\hardware\STM32GENERIC-master\STM32\libraries\stm32_dma\src\stm32_dma_F0F1F3L1.h:35:38: note: in expansion of macro 'DMA1_Channel5_IRQn'
     {SPI2, SPI_TX, DMA1_Channel5, 5, DMA1_Channel5_IRQn},
                                      ^
exit status 1
Error compiling for board BluePill F103CB.
Any ideas?

TFTLCDCyg
Posts: 13
Joined: Tue Sep 20, 2016 5:06 pm
Location: México

Re: New library for LCD FT8XX STM32

Post by TFTLCDCyg » Mon Feb 25, 2019 10:25 pm


Post Reply