Git Product home page Git Product logo

Comments (3)

nopnop2002 avatar nopnop2002 commented on July 21, 2024

Hello.

I have this.
https://stm32-base.org/boards/STM32F407VET6-STM32-F4VE-V2.0

But I have never used the 16-bit FSMC interface.
As far as the following page is seen, it looks like a normal GPIO.
https://stm32-base.org/boards/STM32F407VET6-STM32-F4VE-V2.0#TFT-LCD-header

I wonder why this library doesn't work on ST-CORE.
https://github.com/stevstrong/Adafruit_TFTLCD_16bit_STM32

I'll check if it works too.

from arduino-stm32-8bittft.

 avatar commented on July 21, 2024

If I use the Adafruit_TFTLCD_16bit_STM32 library in conjunction with the Arduino_Core_STM32 core, then an error appears during compilation: fsmc.h file not found
The Arduino_Core_STM32 core does not contain the fsmc.h file.
I opened the Adafruit_TFTLCD_16bit_STM32.h library and removed the call to the fsmc.h file, but the following errors appear:

In file included from E:\Home Made\Создать\1 STM32 LCD шилд\graphicstest\graphicstest.ino:3: C:\Users\�����\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32\src/Adafruit_TFTLCD_16bit_STM32.h: In function 'void writeCommand(uint16_t)': C:\Users\�����\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32\src/Adafruit_TFTLCD_16bit_STM32.h:61:22: error: 'fsmcCommand' was not declared in this scope 61 | #define lcdCommand (*fsmcCommand) | ^~~~~~~~~~~ C:\Users\�����\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32\src/Adafruit_TFTLCD_16bit_STM32.h:65:25: note: in expansion of macro 'lcdCommand' 65 | #define writeCmd(d) { lcdCommand = d; } | ^~~~~~~~~~ C:\Users\�����\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32\src/Adafruit_TFTLCD_16bit_STM32.h:193:62: note: in expansion of macro 'writeCmd' 193 | void inline writeCommand(uint16_t c) { CS_ACTIVE_CD_COMMAND; writeCmd(c); } | ^~~~~~~~ exit status 1 Ошибка компиляции для платы Generic STM32F4 series.

from arduino-stm32-8bittft.

nopnop2002 avatar nopnop2002 commented on July 21, 2024

FSMC is Flexible Static Memory Controller (FSMC) support.

FSMC is a function for connecting SRAM and FLASH to the outside of STM32. You can use FSMC to connect a parallel LCD.

It is a bug of this library that this library does not work on ST-CORE.
https://github.com/stevstrong/Adafruit_TFTLCD_16bit_STM32

You should make a request.
https://github.com/stevstrong/Adafruit_TFTLCD_16bit_STM32/issues

https://github.com/stm32duino/Arduino_Core_STM32/issues

from arduino-stm32-8bittft.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.