prenticedavid / MCUFRIEND_kbv

MCUFRIEND_kbv Library for Uno 2.4, 2.8, 3.5, 3.6, 3.95 inch mcufriend Shields
Other
353 stars 178 forks source link

STM32F767ZI Nucleo and 3.5 TFT #73

Closed WindBasevi closed 2 years ago

WindBasevi commented 5 years ago

Here is the output of LCD_ID_readreg:

Read Registers on MCUFRIEND UNO shield controllers either read as single 16-bit e.g. the ID is at readReg(0) or as a sequence of 8-bit values in special locations (first is dummy)

reg(0x0000) 00 00 ID: ILI9320, ILI9325, ILI9335, ... reg(0x0004) 00 54 80 66 Manufacturer ID reg(0x0009) 00 00 61 00 00 Status Register reg(0x000A) 00 08 Get Power Mode reg(0x000C) 00 66 Get Pixel Format reg(0x0061) 00 00 RDID1 HX8347-G reg(0x0062) 00 00 RDID2 HX8347-G reg(0x0063) 00 00 RDID3 HX8347-G reg(0x0064) 00 00 RDID1 HX8347-A reg(0x0065) 00 00 RDID2 HX8347-A reg(0x0066) 00 00 RDID3 HX8347-A reg(0x0067) 00 00 RDID Himax HX8347-A reg(0x0070) 00 00 Panel Himax HX8347-A reg(0x00A1) 00 93 30 93 30 RD_DDB SSD1963 reg(0x00B0) 00 00 RGB Interface Signal Control reg(0x00B4) 00 00 Inversion Control reg(0x00B6) 00 02 02 3B 3B Display Control reg(0x00B7) 00 06 Entry Mode Set reg(0x00BF) 00 00 00 00 00 00 ILI9481, HX8357-B reg(0x00C0) 00 0E 0E 0E 0E 0E 0E 0E 0E Panel Control reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA reg(0x00CC) 00 04 Panel Control reg(0x00D0) 00 00 00 Power Control reg(0x00D2) 00 00 00 00 00 NVM Read reg(0x00D3) 00 00 94 86 ILI9341, ILI9488 reg(0x00D4) 00 00 00 00 Novatek ID reg(0x00DA) 00 54 RDID1 reg(0x00DB) 00 80 RDID2 reg(0x00DC) 00 66 RDID3 reg(0x00E0) 00 0D 3E 37 0F 1B 0F 67 9D 31 08 1D 01 1C 1B 0B GAMMA-P reg(0x00E1) 00 06 2E 3C 0B 17 07 2E D8 4A 07 1F 01 0C 3F 09 GAMMA-N reg(0x00EF) 00 80 00 10 60 40 ILI9327 reg(0x00F2) 00 18 A3 12 02 B2 12 FF 10 00 00 00 Adjust Control 2 reg(0x00F6) 00 54 80 66 Interface Control

prenticedavid commented 5 years ago

It looks like a regular Ilitek ILI9486. However your Gamma settings are slightly different to the one and only 0x9486 shield that I possess.

reg(0x00E0) 00 0F 21 1C 0B 0E 08 49 98 38 09 11 03 14 10 00 GAMMA-P
reg(0x00E1) 00 0F 2F 2B 0C 0E 06 47 76 37 07 11 04 23 1E 00 GAMMA-N

The ILI9486 might have different default Gamma to the ILI9486L. The datasheets do not provide the default values.

I presume that you have run the readreg sketch on a F767 Nucleo-144.

If you are using the current Beta, it is very easy to add an extra Nucleo to mcufriend_shield.h. I do not own any Nucleo-144 boards. I would appreciate your feedback. Especially since your F767 is 216MHz.

Since your 0x9486 is slightly different to mine, I would test the shield on a Uno first. There are sometimes "different manufacturers" that choose to mimic Ilitek controller IDs. If they do it well, the punter never knows that she has not got a genuine Ilitek.

David.

WindBasevi commented 5 years ago

Yes, I have run the readreg sketch on the 767ZI. On a Uno v3 i do get the 0x9486, also tested mega 2650 and a due, all work but not the 767ZI. I'm not running the beta, yet! I get 0x2020 on the 767ZI.

prenticedavid commented 5 years ago

The F767 is not supported in the v2.9.8 Release. Nor in the current Beta.

I suggest that you install the Beta. That is what GitHub is for.

I will post a Branch to test the 216MHz F767. After I have taken my dog for a walk.

David.

prenticedavid commented 5 years ago

I have added a "test_Nucleo-F767" Branch. It was a lot more fiddly than I expected. Because the data bus is different.

Please run graphictest_kbv. Observe the ID reported on the Serial Terminal. Tell me what ID. If it does not say 0x9486, edit the sketch to force tft.begin(0x9486).

If you get something on the screen: Please watch ALL the graphics and scroll tests. Make notes on paper.

It will be unusual for my blind edits to work first time. I have used lots of delays. I will ask you to make some optimisations IF and WHEN we get this working.

David.

WindBasevi commented 5 years ago

Here is the output from the serial monitor, with the ID forced Opening port Port open Serial took 0ms to start ID = 0x0 ID = 0x9486

Nothing is showing on the screen.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Monday, December 10, 2018 4:38:33 AM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

I have added a "test_Nucleo-F767" Branch. It was a lot more fiddly than I expected. Because the data bus is different.

Please run graphictest_kbv. Observe the ID reported on the Serial Terminal. If it does not say 0x9486, edit the sketch to force tft.begin(0x9486)

If you get something on the screen: Please watch ALL the graphics and scroll tests. Make notes on paper.

It will be unusual for my blind edits to work first time. I have used lots of delays. I will ask you to make some optimisations IF and WHEN we get this working.

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-445769037&data=02%7C01%7C%7C7e17051c17f54d7eca6d08d65e8ba2e9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800351151801071&sdata=fVO4273dt%2BOGJpaa77x9CnSph5fBrK%2FpOEtzXe6EYcg%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2weT5ncUNdkAjCueeMLEQ6ksqSvFQks5u3jmpgaJpZM4ZKzFo&data=02%7C01%7C%7C7e17051c17f54d7eca6d08d65e8ba2e9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800351151801071&sdata=HQNNTCoeZEFFReyFctgj1j6aMb%2BOWm6joqWqlyQgFX4%3D&reserved=0.

prenticedavid commented 5 years ago

I am running IDE v1.8.8 on this laptop.

  1. I synced the MCUFRIEND_kbv project with GitHub. This informed the laptop that there was a new Branch in the Repository.

  2. Selected the "test_Nucleo-F767" Branch in my local GitHub.

  3. I can see the new "mcufriend_shield.h" file in NotePad++

  4. I select Nucleo-64 and F401RE in the Arduino IDE.

  5. You would select Nucleo-144 and F767ZI in the Arduino IDE

  6. Built graphictest_kbv from the Examples.

  7. I see some orange messages in the Verbose build e.g.

#warning Uno Shield on NUCLEO-64

  1. You should see orange messages:
 #warning Uno Shield on NUCLEO-144
 #warning DELAY macros untested yet
  1. My F401RE is on COM25 for the Serial Terminal.
  2. It says:
    
    Serial took 0ms to start
    ID = 0x2053


11.  Obviously your COM# and ID will be different.    My Laptop PC is using IDE v1.8.8.  My Desktop uses v1.8.1

12.  The IDE version should not matter too much.   As long as it is reasonably up to date.
13.  The ST Core must be up to date.   Otherwise it will not support your F767

`"C:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\arm-none-eabi-gcc\\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\\Users\\David\\AppData\\Local\\Temp\\arduino_build_458039/sketch/build_opt.h" -g -c -Os -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\\Users\\David\\AppData\\Local\\Temp\\arduino_modified_sketch_379570" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\cores\\arduino/avr" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\cores\\arduino/stm32" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\system/Drivers/STM32F4xx_HAL_Driver/Inc/" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\system/Drivers/STM32F4xx_HAL_Driver/Src/" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\system/STM32F4xx/" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\variants\\NUCLEO_F401RE/usb" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F4xx -DARDUINO=10808 -DARDUINO_NUCLEO_F401RE -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F401RE\"" -DSTM32F401xE -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.3.0/CMSIS/Core/Include/" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\system/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\cores\\arduino" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\variants\\NUCLEO_F401RE" "-IC:\\Users\\David\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.4.0\\libraries\\SPI\\src" "-IC:\\Users\\David\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\David\\Documents\\Arduino\\libraries\\MCUFRIEND_kbv" "-IC:\\Users\\David\\Documents\\Arduino\\libraries\\MCUFRIEND_kbv\\utility" "C:\\Users\\David\\Documents\\Arduino\\libraries\\MCUFRIEND_kbv\\OPENSMART_kbv.cpp" -o "C:\\Users\\David\\AppData\\Local\\Temp\\arduino_build_458039\\libraries\\MCUFRIEND_kbv\\OPENSMART_kbv.cpp.o"
`

I suggest that you study my message carefully and make notes.   e.g. selecting Branch,  similar orange messages,  commands, ...

It takes a little while to get used to GitHub.    How much experience do you have?

David.

Edit.   The IDE only builds the library once.   So any orange warning messages require a fresh build.   You can trigger the fresh build by changing the timestamp of a dependent file.    e.g. edit the shield.h file by adding a space,  deleting the space and saving the file.
GitHub knows that the file contents are unchanged but "make" only looks at the timestamps.
WindBasevi commented 5 years ago

I am running Arduino IDE v 1.9.0 build 89 I am running visual Studio 2017 community edition I have the visual micro plugin for visual studio – paid version I am running the current version of stm core

Here is my output from the build Compiling 'graphictest_kbv' for 'Nucleo-144' Build Folder: "file:///C:/Users/mo_tr/AppData/Local/Temp/VMBuilds/graphictest_kbv/STM32_Nucleo_144/Debug" Summary: Header=1 Prototypes=5 Imports=3 Additional Defines: Architecture Tools: "file:///C:/Users/mo_tr/AppData/Local/arduino15/packages/STM32/tools/arm-none-eabi-gcc/6-2017-q2-update/bin/" Api: 1.1811.24-0 Sketch Book: "file:///C:/Users/mo_tr/Documents/Arduino" Sketch Include Paths Core Include Paths Include Path "file:///C:/Users/mo_tr/AppData/Local/arduino15/packages/STM32/hardware/stm32/1.4.0/cores/arduino" Include Path "file:///C:/Users/mo_tr/AppData/Local/arduino15/packages/STM32/hardware/stm32/1.4.0/variants/NUCLEO_F767ZI" Library Include Paths (3) Include Path 'C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src' Include Path 'C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv' Include Path 'C:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library' recipe.hooks.prebuild.1.pattern cmd /c if not exist "C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv\graphictest_kbv.ino/build_opt.h" mkdir "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug" & type NUL > "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug/build_opt.h" A subdirectory or file C*: Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug already exists Building variant ... Using previously compiled variant Building core ... Building libraries ...

Using library SPI version 1.0 in folder "file:///C:/Users/mo_tr/AppData/Local/arduino15/packages/STM32/hardware/stm32/1.4.0/libraries/SPI" Using previously compiled file: C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\SPI\SPI.cpp.o

Using library MCUFRIEND_kbv version 2.9.9-Beta in folder "file:///C:/Users/mo_tr/Documents/Arduino/libraries/MCUFRIEND_kbv" Using previously compiled file: C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp.o Using previously compiled file: C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\MCUFRIEND_kbv\OPENSMART_kbv.cpp.o

Using library Adafruit_GFX_Library version 1.3.4 in folder "file:///C:/Users/mo_tr/Documents/Arduino/libraries/Adafruit_GFX_Library" Using previously compiled file: C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\Adafruit_GFX_Library\glcdfont.c.o Using previously compiled file: C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\Adafruit_GFX_Library\Adafruit_GFX.cpp.o Using previously compiled file: C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o Building project code ... "C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug/build_opt.h" -c -O3 -flto -Wall -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -g "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv\graphictest_kbv.ino" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 -DBOARD_NAME=\"NUCLEO_F767ZI\" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" -I"C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" -I"C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" -I"C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" -I"C:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" -I"c:\arduino\libraries" -I"c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\rklz3tds.z1r\Micro Platforms\default\debuggers" -I"C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\libraries" -I"C:\Users\mo_tr\Documents\Arduino\libraries" -I"C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" -I"C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\graphictest_kbv.cpp" -o "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\graphictest_kbv.cpp.o" cc1plus.exe*: warning: C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv\graphictest_kbv.ino: not a directory Using previously compiled file: C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\icons.c.o Linking it all together ...

Coping cached core C:\Users\mo_tr\AppData\Local\Temp\VMBCore\arduino19x\882e3f8fb73489be87d03aa790b764cf\core.a to C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\core.a

"C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-gcc" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -O3 -flto --specs=nano.specs -u _printf_float -u _scanf_float -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-TC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/ldscript.ld" "-Wl,-Map,C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug/graphictest_kbv.ino.map" "-LC:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Lib/GCC/" -larm_cortexM7l_math -o "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug/graphictest_kbv.ino.elf" "-LC:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug" -Wl,--start-group "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\graphictest_kbv.cpp.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\icons.c.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\SPI\SPI.cpp.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\MCUFRIEND_kbv\OPENSMART_kbv.cpp.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\Adafruit_GFX_Library\glcdfont.c.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\Adafruit_GFX_Library\Adafruit_GFX.cpp.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBCore\arduino19x\882e3f8fb73489be87d03aa790b764cf\variant\PeripheralPins.c.o" "C:\Users\mo_tr\AppData\Local\Temp\VMBCore\arduino19x\882e3f8fb73489be87d03aa790b764cf\variant\variant.cpp.o" -Wl,--whole-archive "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug\core.a" -Wl,--no-whole-archive -lc -Wl,--end-group -lm -lgcc -lstdc++

recipe.objcopy.bin.pattern

"C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-objcopy" -O binary "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug/graphictest_kbv.ino.elf" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug/graphictest_kbv.ino.bin"

recipe.objcopy.hex.pattern

"C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-objcopy" -O ihex "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug/graphictest_kbv.ino.elf" "C:\Users\mo_tr\AppData\Local\Temp\VMBuilds\graphictest_kbv\STM32_Nucleo_144\Debug/graphictest_kbv.ino.hex"

Program graphictest_kbv size: 65,564 bytes (used 3% of a 2,097,152 byte maximum) (5.64 secs) Minimum Memory Usage: 2488 bytes (0% of a 524288 byte maximum)

Copy build result to 'Project>Property Pages>Intermediate Directory'

Destination: file:///C:/Users/mo_tr/Documents/Arduino/libraries/MCUFRIEND_kbv/examples/graphictest_kbv/Debug/

Uploading 'graphictest_kbv' to 'Nucleo-144' using 'COM4' Uploader started for board Nucleo-144 Upload method will be: bootloader Uploading via Bootloader C:\Users\mo_tr\AppData\Local\arduino15\packages\STM32\tools\STM32Tools\1.2.0\tools\win\massStorageCopy.bat -I "C:\Users\motr\AppData\Local\Temp\VMBuilds\GRAPHI~1\STM32~1\Debug/graphictest_kbv.ino.bin" -O "NODE_F767ZI" 1 File(s) copied The upload process has finished. Upload complete on NODE_F767ZI (G:)

As you can see my output is more in depth

I did follow your steps exactly I am still getting 0x0

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Monday, December 10, 2018 11:20:48 AM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

I am running IDE v1.8.8 on this laptop.

  1. I synced the MCUFRIEND_kbv project with GitHub. This informed the laptop that there was a new Branch in the Repository.

  2. Selected the "test_Nucleo-F767" Branch in my local GitHub.

  3. I can see the new "mcufriend_shield.h" file in NotePad++

  4. I select Nucleo-64 and F401RE in the Arduino IDE.

  5. You would select Nucleo-144 and F767ZI in the Arduino IDE

  6. Built graphictest_kbv from the Examples.

  7. I see some orange messages in the Verbose build e.g.

warning Uno Shield on NUCLEO-64

  1. You should see orange messages:

    warning Uno Shield on NUCLEO-144

    warning DELAY macros untested yet

  2. My F401RE is on COM25 for the Serial Terminal.

  3. It says:

Serial took 0ms to start ID = 0x2053

  1. Obviously your COM# and ID will be different. My Laptop PC is using IDE v1.8.8. My Desktop uses v1.8.1

  2. The IDE version should not matter too much. As long as it is reasonably up to date.

  3. The ST Core must be up to date. Otherwise it will not support your F767

"C:\Users\David\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\David\AppData\Local\Temp\arduino_build_458039/sketch/build_opt.h" -g -c -Os -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\Users\David\AppData\Local\Temp\arduino_modified_sketch_379570" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F4xx_HAL_Driver/Src/" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F4xx/" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F401RE/usb" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F4xx -DARDUINO=10808 -DARDUINO_NUCLEO_F401RE -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F401RE\"" -DSTM32F401xE -DHAL_UART_MODULE_ENABLED "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F401RE" "-IC:\Users\David\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\David\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\David\Documents\Arduino\libraries\MCUFRIEND_kbv" "-IC:\Users\David\Documents\Arduino\libraries\MCUFRIEND_kbv\utility" "C:\Users\David\Documents\Arduino\libraries\MCUFRIEND_kbv\OPENSMART_kbv.cpp" -o "C:\Users\David\AppData\Local\Temp\arduino_build_458039\libraries\MCUFRIEND_kbv\OPENSMART_kbv.cpp.o"

I suggest that you study my message carefully and make notes. e.g. selecting Branch, similar orange messages, commands, ...

It takes a little while to get used to GitHub. How much experience do you have?

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-445897752&data=02%7C01%7C%7Cf89dfc80087f4f394ed408d65ec3d488%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800592503525323&sdata=fhLaI7HwiP3xccMjtvfFmNYMfMIlH9VUYlw8MioqUIA%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2we2_95b2fg7SFk9Wtd44j_DeNraDks5u3pfwgaJpZM4ZKzFo&data=02%7C01%7C%7Cf89dfc80087f4f394ed408d65ec3d488%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800592503525323&sdata=gu%2BF7fB67IgQcgGrOECtI%2Bvw3RUbQfe9ELkLvloSdw8%3D&reserved=0.

prenticedavid commented 5 years ago

I gave you some numbered steps. Please can you just answer Yes or No to each number. For example. 1, 2, 3 = Yes. 4= you are using Visual Studio.

I would be a lot happier if you were using the Arduino IDE. It is v1.8.8 at the moment. I would NEVER trust an hourly build unless specifically advised.

The Arduino IDE gives you Orange Warnings. There is so much dross in the verbose output that you need to find Warning messages as I showed in (8). You can trigger a rebuild of MCUFRIEND_kbv by touching a dependent (or saving an edited file)

I am extremely wary of anything that says "Visual Micro". As far as I know they are just dangerous spam.

All the same, If you are happy with VM, you just need to confirm (2), (3), (8).

Personally, I build with Arduino IDE. I have amended platform.txt to copy the ELF to a CrossWorks directory. And then use CrossWorks to debug the "Externally Built Executable". I seldom use the hardware debugger. Except for just now (with a SAMD21 target).

David.

WindBasevi commented 5 years ago
  1. I synced the MCUFRIEND_kbv project with GitHub. This informed the laptop that there was a new Branch in the Repository. Yes done
  2. Selected the "test_Nucleo-F767" Branch in my local GitHub. Yes I downloaded the current 767ZI branch
  3. I can see the new "mcufriend_shield.h" file in NotePad++. Yes, I can use Arduino, IDE, VS, or notepad++. Take your pick, its all the same.
  4. I select Nucleo-64 and F401RE in the Arduino IDE. correct
  5. You would select Nucleo-144 and F767ZI in the Arduino IDE. Yes done
  6. Built graphictest_kbv from the Examples. Yes done – compiles and uploads but produces 0x0
  7. I see some orange messages in the Verbose build e.g. I am getting the same messages you are.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Monday, December 10, 2018 4:00:11 PM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

I gave you some numbered steps. Please can you just answer Yes or No to each number. For example. 1, 2, 3 = Yes. 4= you are using Visual Studio.

I would be a lot happier if you were using the Arduino IDE. It is v1.8.8 at the moment. I would NEVER trust an hourly build unless specifically advised.

The Arduino IDE gives you Orange Warnings. There is so much dross in the verbose output that you need to find Warning messages as I showed in (8). You can trigger a rebuild of MCUFRIEND_kbv by touching a dependent (or saving an edited file)

I am extremely wary of anything that says "Visual Micro". As far as I know they are just dangerous spam.

All the same, If you are happy with VM, you just need to confirm (2), (3), (8).

Personally, I build with Arduino IDE. I have amended platform.txt to copy the ELF to a CrossWorks directory. And then use CrossWorks to debug the "Externally Built Executable". I seldom use the hardware debugger. Except for just now (with a SAMD21 target).

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-445990574&data=02%7C01%7C%7Cbabf6b374b6b4b70818008d65eeadb58%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800760120296461&sdata=CtvIY3A23rKrTynbu3DwpR%2FfHBSaNbuuvdvkXhVGp3U%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2wfvDMT9lxkqn6YZytObzzHKgjow8ks5u3tlrgaJpZM4ZKzFo&data=02%7C01%7C%7Cbabf6b374b6b4b70818008d65eeadb58%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800760120296461&sdata=hE7NqLfil6Sq%2Bi23xMh9wXQVaq7lmDrelXe9W5C9DIE%3D&reserved=0.

prenticedavid commented 5 years ago

Thanks. If you got #warning DELAY macros untested yet That means I have not got the Nucleo-144 read8() and write8() correct.

I will double check it. As you have noticed, the macros are a little hairy. But at least all the Nucleo-144 have the same pinout. FRDM boards have different pinout for each MCU.

I have printed the sequences on paper. I will have a cup of tea. If I find the problem, it will not be updated until the morning.

David.

prenticedavid commented 5 years ago

Ah-ha. I printed the sequence. I have not even got as far as the kettle.

Anyway, I hope that my corrections are ok. They have been pushed to GitHub.

The errors were appalling. Macros should always be checked with pencil and paper. I wrote them straight to the screen this morning.

I am going to make my tea now. If you get a chance to try it this evening, please let me know.

David.

WindBasevi commented 5 years ago

I am getting the same results as before – 0x0

I am in the US, so its only 5pm here – hehe

This may help, this output is from Arduino IDE:

C:\arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\arduino\hardware -hardware C:\Users\mo_tr\AppData\Local\Arduino15\packages -tools C:\arduino\tools-builder -tools C:\arduino\hardware\tools\avr -tools C:\Users\mo_tr\AppData\Local\Arduino15\packages -built-in-libraries C:\arduino\libraries -libraries C:\Users\mo_tr\Documents\Arduino\libraries -fqbn=STM32:stm32:Nucleo_144:pnum=NUCLEO_F767ZI,upload_method=STLink,xserial=generic,usb=none,opt=o3lto,rtlib=nano -ide-version=10900 -build-path C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672 -warnings=default -build-cache C:\Users\mo_tr\AppData\Local\Temp\arduino_cache_178412 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.STM32Tools.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\STM32Tools\1.2.0 -prefs=runtime.tools.STM32Tools-1.2.0.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\STM32Tools\1.2.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update -prefs=runtime.tools.arm-none-eabi-gcc-6-2017-q2-update.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update -prefs=runtime.tools.CMSIS.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0 -prefs=runtime.tools.CMSIS-5.3.0.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0 -verbose -experimental C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv\graphictest_kbv.ino C:\arduino\arduino-builder -compile -logger=machine -hardware C:\arduino\hardware -hardware C:\Users\mo_tr\AppData\Local\Arduino15\packages -tools C:\arduino\tools-builder -tools C:\arduino\hardware\tools\avr -tools C:\Users\mo_tr\AppData\Local\Arduino15\packages -built-in-libraries C:\arduino\libraries -libraries C:\Users\mo_tr\Documents\Arduino\libraries -fqbn=STM32:stm32:Nucleo_144:pnum=NUCLEO_F767ZI,upload_method=STLink,xserial=generic,usb=none,opt=o3lto,rtlib=nano -ide-version=10900 -build-path C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672 -warnings=default -build-cache C:\Users\mo_tr\AppData\Local\Temp\arduino_cache_178412 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.STM32Tools.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\STM32Tools\1.2.0 -prefs=runtime.tools.STM32Tools-1.2.0.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\STM32Tools\1.2.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update -prefs=runtime.tools.arm-none-eabi-gcc-6-2017-q2-update.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update -prefs=runtime.tools.CMSIS.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0 -prefs=runtime.tools.CMSIS-5.3.0.path=C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0 -verbose -experimental C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv\graphictest_kbv.ino Using board 'Nucleo_144' from platform in folder: C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0 Using core 'arduino' from platform in folder: C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0 cmd /c if not exist "C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv/build_opt.h" mkdir "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch" & type NUL > "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" Detecting libraries used... "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\graphictest_kbv.ino.cpp" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\graphictest_kbv.ino.cpp" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\graphictest_kbv.ino.cpp" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\graphictest_kbv.ino.cpp" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\icons.c" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src\SPI.cpp" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library\glcdfont.c" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\utility" "C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp" -o nul "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\utility" "C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\OPENSMART_kbv.cpp" -o nul Generating function prototypes... "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\graphictest_kbv.ino.cpp" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\arduino\tools-builder\arduino-preprocessor\0.1.5/arduino-preprocessor" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\preproc\ctags_target_for_gcc_minus_e.cpp" "" -- -std=gnu++11 Compiling sketch... "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-gcc" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\icons.c" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\icons.c.o" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\graphictest_kbv.ino.cpp" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\sketch\graphictest_kbv.ino.cpp.o" Compiling libraries... Compiling library "SPI" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src\SPI.cpp" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\libraries\SPI\SPI.cpp.o" Compiling library "Adafruit_GFX_Library" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-gcc" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library\glcdfont.c" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\libraries\Adafruit_GFX_Library\glcdfont.c.o" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "C:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o" Compiling library "MCUFRIEND_kbv" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\utility" "C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp.o" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\libraries\SPI\src" "-IC:\Users\mo_tr\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv" "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\utility" "C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\OPENSMART_kbv.cpp" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\libraries\MCUFRIEND_kbv\OPENSMART_kbv.cpp.o" In file included from C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:33:0:

C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:458:2: warning: #warning DELAY macros untested yet [-Wcpp]

warning DELAY macros untested yet

^~~

C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:566:2: warning: #warning Uno Shield on NUCLEO-144 [-Wcpp]

warning Uno Shield on NUCLEO-144

^~~

In file included from C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:33:0,

             from C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\OPENSMART_kbv.cpp:16:

C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:458:2: warning: #warning DELAY macros untested yet [-Wcpp]

warning DELAY macros untested yet

^~~

C:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:566:2: warning: #warning Uno Shield on NUCLEO-144 [-Wcpp]

warning Uno Shield on NUCLEO-144

^~~

Compiling core... "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-gcc" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DHAL_UART_MODULE_ENABLED "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\CMSIS\5.3.0/CMSIS/Core/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI\PeripheralPins.c" -o "C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672\core\PeripheralPins.c.o" "C:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\tools\arm-none-eabi-gcc\6-2017-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\Users\mo_tr\AppData\Local\Temp\arduino_build_407672/sketch/build_opt.h" -c -O3 -flto -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-IC:\Users\mo_tr\Documents\Arduino\libraries\MCUFRIEND_kbv\examples\graphictest_kbv" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/avr" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\cores\arduino/stm32/LL" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Inc/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Drivers/STM32F7xx_HAL_Driver/Src/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/STM32F7xx/" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\variants\NUCLEO_F767ZI/usb" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\Users\mo_tr\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.4.0\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10900 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO

prenticedavid commented 5 years ago

Well, I have taken the dog out for his constitutional. And am enjoying my cup of tea.

The warnings come from the correct line numbers. There is so much dross in the verbose output. It "looks" normal. I have not got the energy to inspect it.

I have just printed the "corrected" sequence. Obviously it is not correct yet. It is my bedtime. I am using the pinouts from https://os.mbed.com/platforms/ST-Nucleo-F767ZI/ I can't see my error(s). I doubt if speed is a problem. I have a F446 @ 180MHz. 216MHz is not much faster. Do you have any other shields?

The macros might be fiddly. But you have experience. You might spot my mistakes.

David.

WindBasevi commented 5 years ago

I think I have narrowed it down to this:

// configure macros for the data pins

define DMASK ((1 << 15)) //#1

define EMASK ((1 << 13) | (1 << 11) | (1 << 9)) //#3, #5, #6

define FMASK ((1 << 12) | (1 << 15) | (1 << 14) | (1 << 13)) //#0, #2, #4, #7

define write_8(d) \

{ \ GPIOD->REGS(BSRR) = DMASK << 16; \ GPIOE->REGS(BSRR) = EMASK << 16; \ GPIOF->REGS(BSRR) = FMASK << 16; \ GPIOD->REGS(BSRR) = (((d) & (1 << 1)) << 14); \ GPIOE->REGS(BSRR) = (((d) & (1 << 3)) << 10) | (((d) & (1 << 5)) << 6) | \ (((d) & (1 << 6)) << 3); \ GPIOF->REGS(BSRR) = (((d) & (1 << 0)) << 12) | (((d) & (1 << 2)) << 13) | \ (((d) & (1 << 4)) << 10) | (((d) & (1 << 7)) << 6); \ }

define read_8() \

((((GPIOF->REGS(IDR) & (1 << 12)) >> 12) | \ ((GPIOD->REGS(IDR) & (1 << 15)) >> 14) | \ ((GPIOF->REGS(IDR) & (1 << 15)) >> 13) | \ ((GPIOE->REGS(IDR) & (1 << 13)) >> 10) | \ ((GPIOF->REGS(IDR) & (1 << 14)) >> 10) | \ ((GPIOE->REGS(IDR) & (1 << 11)) >> 6) | \ ((GPIOE->REGS(IDR) & (1 << 9)) >> 3) | \ ((GPIOF->REGS(IDR) & (1 << 13)) >> 6)))

// PD15 PE13,PE11,PE9 // PF15,PF14,PF13,PF12

define setWriteDir() \

{ \ setReadDir(); \ GPIOD->MODER |= 0x40000000; \ GPIOE->MODER |= 0x04440000; \ GPIOF->MODER |= 0x55000000; \ }

define setReadDir() \

{ \ GPIOD->MODER &= ~0xC0000000; \ GPIOE->MODER &= ~0x0CCC0000; \ GPIOF->MODER &= ~0xFF000000; \ }

It is a pin issue. With the old values in place here I get 0x2020.

I currently have an uno v3, due, mega2560, f407vg – the disco, and the f767ZI.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Monday, December 10, 2018 5:31:04 PM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

Well, I have taken the dog out for his constitutional. And am enjoying my cup of tea.

The warnings come from the correct line numbers. There is so much dross in the verbose output. It "looks" normal. I have not got the energy to inspect it.

I have just printed the "corrected" sequence. Obviously it is not correct yet. It is my bedtime. I am using the pinouts from https://os.mbed.com/platforms/ST-Nucleo-F767ZI/https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fos.mbed.com%2Fplatforms%2FST-Nucleo-F767ZI%2F&data=02%7C01%7C%7C231ec9a045624803971408d65ef78e22%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800814659239325&sdata=tiD%2FxMDFqtc5YWdep3kiwyoYKmKaO8V3TfBmvC7h%2BFk%3D&reserved=0 I can't see my error(s). I doubt if speed is a problem. I have a F446 @ 180MHz. 216MHz is not much faster. Do you have any other shields?

The macros might be fiddly. But you have experience. You might spot my mistakes.

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-446014757&data=02%7C01%7C%7C231ec9a045624803971408d65ef78e22%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800814659249342&sdata=TXq36Uvz0rG3KHVIdLKjmHYFxw25D5D9PR99ej2OX48%3D&reserved=0, or mute the threadhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2wd5b9hAMN6PX2bcq62UVMQ06TEHpks5u3u64gaJpZM4ZKzFo&data=02%7C01%7C%7C231ec9a045624803971408d65ef78e22%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636800814659269346&sdata=wC4fQBsZJ2o35hELk8VtoHKPf7hFxAWxFHl0u7NSCCs%3D&reserved=0.

prenticedavid commented 5 years ago

Yes, you have identified the code in question. I can not see any problem with my code after a good night's sleep.

The F767 has the same MODER register behaviour as modern STM32 I select regular OUTPUT mode for the control pins. And INPUT/OUTPUT for the data bus as required.

So I doubt if any of the Arduino pins are in an "Alternate Function" or "Analog" mode.

You could examine the state of MODER, ODR, IDR in the debugger.

This has annoyed me. Farnell has plenty of Nucleos in stock. I will order one. It should arrive by Wednesday. I had been intending to buy a Nucleo-144 anyway.

I am sure this will turn out to be some trivial typo somewhere !!

David.

WindBasevi commented 5 years ago

I am not very good at math, but I will do my best to keep after it. If you need me to try anything just shout.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Tuesday, December 11, 2018 3:33:05 AM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

Yes, you have identified the code in question. I can not see any problem with my code after a good night's sleep.

The F767 has the same MODER register behaviour as modern STM32 I select regular OUTPUT mode for the control pins. And INPUT/OUTPUT for the data bus as required.

So I doubt if any of the Arduino pins are in an "Alternate Function" or "Analog" mode.

You could examine the state of MODER, ODR, IDR in the debugger.

This has annoyed me. Farnell has plenty of Nucleos in stock. I will order one. It should arrive by Wednesday. I had been intending to buy a Nucleo-144 anyway.

I am sure this will turn out to be some trivial typo somewhere !!

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-446133768&data=02%7C01%7C%7C50ad19d252614567ebc508d65f4ba7d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636801175867676763&sdata=ZHW5BGBy9NKRKp90CA4BXyyo8Du1QkwG%2FM0SzWWtMn8%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2wUm7cuvaPxPt0ftf3ZN98QIV8qgKks5u33vRgaJpZM4ZKzFo&data=02%7C01%7C%7C50ad19d252614567ebc508d65f4ba7d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636801175867676763&sdata=1%2FHdyC%2BZCdgjGEP0GYUFlam66ywnetgAUkF7mEeIaXs%3D&reserved=0.

prenticedavid commented 5 years ago

Farnell shipped the Nucleo board about 30 minutes ago. I should receive it tomorrow morning.

With luck, I should find the problem with the debugger.

I suspect that I will ask you lots of questions about Visual Micro. My experience when VM first appeared was : it worked well with Uno. But you could never avoid Spam for life. The only escape was a new PC.

I have no problems with buying licences for something that is useful to me. But I am reluctant to risk it. Unless I get a personal recommendation.

David.

WindBasevi commented 5 years ago

There is another software I use for VS, it called visualGDB. It is an amazing debugger along with the stlink.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Tuesday, December 11, 2018 4:26:50 PM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

Farnell shipped the Nucleo board about 30 minutes ago. I should receive it tomorrow morning.

With luck, I should find the problem with the debugger.

I suspect that I will ask you lots of questions about Visual Micro. My experience when VM first appeared was : it worked well with Uno. But you could never avoid Spam for life. The only escape was a new PC.

I have no problems with buying licences for something that is useful to me. But I am reluctant to risk it. Unless I get a personal recommendation.

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-446386527&data=02%7C01%7C%7C4d79eedda91344f20fd608d65fb7bfbf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636801640126660195&sdata=VZmwGhI0MqQ5AgmyM1DhE2cm1drSDTR73R3SUZ3Vjjk%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2waushkPHYguEbJyZu7XRCXNaRVE_ks5u4DEpgaJpZM4ZKzFo&data=02%7C01%7C%7C4d79eedda91344f20fd608d65fb7bfbf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636801640126660195&sdata=9dfr%2B1sTzawRgGAlpdakx2pIStwxinllGxc8hBqvA7M%3D&reserved=0.

prenticedavid commented 5 years ago

My Nucleo-F767 arrived this afternoon. And yes, it did not work.

I had omitted to enable all the GPIO ports i.e. A, C, D, E, F in the GPIO_INIT() macro(s) This enabled writes but readID() and readGRAM() still failed. I have adjusted the timing.

The Nucleo-144 measures the current. Several Mcufriend shields exceed 500mA. LD5 comes on. Well designed TFT panels use 100-200mA for the backlight. My RM68140 shield takes a lot of current.

I guess that these surplus panels were designed for PWM.

Please let me know how you get on. readID() is not reliable with my ILI9320. I would expect modern MIPI controllers to be ok. The ILI9486 should be fine.

David.

WindBasevi commented 5 years ago

Hi, I was lookin at mbed code and found this, maybe it will help. This code is the closest I have come to it working.

// prepare the data bus for writing commands and pixel data BusOut dataBus( D8, D9, D2, D3, D4, D5, D6, D7 ); // 8 pins // create the lcd instance ILI9328_LCD lcd( A3, A4, A2,A1, &dataBus, NC, A0); // control pins and data bus //ILI9328_LCD( CS, RESET, RS, WR, BusOut* DATA_PORT, PinName BL = NC, RD );

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Wednesday, December 12, 2018 3:35:28 PM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

My Nucleo-F767 arrived this afternoon. And yes, it did not work.

I had omitted to enable all the GPIO ports i.e. A, C, D, E, F in the GPIO_INIT() macro(s) This enabled writes but readID() and readGRAM() still failed. I have adjusted the timing.

The Nucleo-144 measures the current. Several Mcufriend shields exceed 500mA. LD5 comes on. Well designed TFT panels use 100-200mA for the backlight. My RM68140 shield takes a lot of current.

I guess that these surplus panels were designed for PWM.

Please let me know how you get on. readID() is not reliable with my ILI9320. I would expect modern MIPI controllers to be ok. The ILI9486 should be fine.

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-446752970&data=02%7C01%7C%7C5d68451fbf6a4ccf93ba08d66079bcb0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802473310129556&sdata=Wbpe6DA1g4oKMlktqbb7HhKctBkc5fbAO%2Fvk2dazND8%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2wTG25fEupJi2TNxYj8oPThckLQBZks5u4XaggaJpZM4ZKzFo&data=02%7C01%7C%7C5d68451fbf6a4ccf93ba08d66079bcb0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802473310129556&sdata=l4FD58wgexcsuocfcJfGUMYM70Wu%2FmvVqaP8hqPYGYc%3D&reserved=0.

WindBasevi commented 5 years ago

Woohoo found this for the 0x9486 From stevstronghttps://github.com/stevstrong/Adafruit_TFTLCD_16bit_STM32https://github.com/stevstrong/Adafruit_TFTLCD_16bit_STM32

define ILI9486 1

/**/

define TFTLCD_DELAY8 0xFF

const uint8_t ILI9341_regValues_ada[] = { // Adafruit_TFTLCD only works with EXTC=0

   //                     0xF6, 3, 0x00, 0x01, 0x00,  //Interface Control needs EXTC=1 TM=0, RIM=0

   //            0xF6, 3, 0x01, 0x01, 0x03,  //Interface Control needs EXTC=1 RM=1, RIM=1

/**/

   0xF6, 3, 0x09, 0x01, 0x03,  //Interface Control needs EXTC=1 RM=0, RIM=1

   0xB0, 1, 0x40,      //RGB Signal [40] RCM=2

   0xB4, 1, 0x00,      //Inversion Control [02] .kbv NLA=1, NLB=1, NLC=1

   0xC0, 1, 0x23,      //Power Control 1 [26]

   0xC1, 1, 0x10,      //Power Control 2 [00]

   0xC5, 2, 0x2B, 0x2B,        //VCOM 1 [31 3C]

   0xC7, 1, 0xC0,      //VCOM 2 [C0]

   0x36, 1, 0x48,      //Memory Access [00]

   0xB1, 2, 0x00, 0x1B,        //Frame Control [00 1B]

   0xB7, 1, 0x07,      //Entry Mode [00]

// TFTLCD_DELAY8, 1,

};

/*

.write16: 36write8: 0write8: 36write8: 48

.write16: 33_write8: 0write8: 33write8: 0write8: 0write8: 1write8: 40write8: 0_write8: 0

.write16: 37_write8: 0write8: 37write8: 0_write8: 0

.write16: 13_write8: 0_write8: 13

.write16: 21_write8: 0_write8: 21

*/

const uint8_t ILI9341_regValues_post[] =

{ // post-init settings, sniffed from David's lib

   0x36, 1, 0x48,      //Memory Access [00]

   0x33, 6, 0x00, 0x00, 0x01, 0x40, 0x00, 0x00,

   0x37, 2, 0x00, 0x00,

   0x13, 0,                    // normaldisp

   0x21, 0,                    // invert off

};

/*****/

static void WriteCmdParamN(uint16_t cmd, int8_t N, const uint8_t * block)

{

   //Serial.print("cmd: "); Serial.print(cmd,HEX);

writeCommand(cmd);

   //Serial.print(", data: ");

   while (N-- > 0) {

          uint8_t u8 = *block++;

          CD_DATA;

          //Serial.print(u8,HEX);

          writeData(0x00FF&u8);

   }

CS_IDLE;

   //Serial.write('\n');

}

/*****/

static void init_table(const uint8_t *table, int16_t size)

{

   while (size > 0) {

          uint8_t cmd = *table++;

          uint8_t len = *table++;

          if (cmd == TFTLCD_DELAY8) {

                 //Serial.print("delay: "); Serial.println(len);

                 delay(len);

                 len = 0;

          } else {

                 WriteCmdParamN(cmd, len, table);

                 table += len;

          }

          size -= len + 2;

   }

}

const uint8_t reset_off[] = {

   0x01, 0,            //Soft Reset

   TFTLCD_DELAY8, 150,  // .kbv will power up with ONLY reset, sleep out, display on

   0x28, 0,            //Display Off

   0x3A, 1, 0x55,      //Pixel read=565, write=565.

ifdef ILI9486

   // PGAMCTRL(Positive Gamma Control)

   0xE0, 15, 0x0F, 0x1F, 0x1C, 0x0C, 0x0F, 0x08, 0x48, 0x98,

             0x37, 0x0A, 0x13, 0x04, 0x11, 0x0D, 0x00,

   // NGAMCTRL(Negative Gamma Control)

   0xE1, 15, 0x0F, 0x32, 0x2E, 0x0B, 0x0D, 0x05, 0x47, 0x75,

             0x37, 0x06, 0x10, 0x03, 0x24, 0x20, 0x00,

   // Digital Gamma Control 1

   0xE2, 15, 0x0F, 0x32, 0x2E, 0x0B, 0x0D, 0x05, 0x47, 0x75,

             0x37, 0x06, 0x10, 0x03, 0x24, 0x20, 0x00,

endif

};

const uint8_t wake_on[] = {

   0x11, 0,            //Sleep Out

   TFTLCD_DELAY8, 150,

   0x29, 0,            //Display On

   //additional settings

// 0x21, 0, // invert off

   0x36, 1, 0x48,      //Memory Access

   0xB0, 1, 0x40,      //RGB Signal [40] RCM=2

};

/*****/

void ili9341_begin(void)

{

// Serial.println("\nILI9341 begin...");

   init_table(reset_off, sizeof(reset_off));

   //init_table(ILI9341_regValues_ada, sizeof(ILI9341_regValues_ada));   //can change PIXFMT

   init_table(wake_on, sizeof(wake_on));

   //init_table(ILI9341_regValues_post, sizeof(ILI9341_regValues_post));

}

/*****/

// Sets the LCD address window. Relevant to all write routines.

// Input coordinates are assumed pre-sorted (e.g. x2 >= x1).

/*****/

void ili9341_setAddrWindow(int16_t x1, int16_t y1, int16_t x2, int16_t y2)

{

   writeRegister32(ILI9341_COLADDRSET, ((uint32_t)(x1<<16) | x2));  // HX8357D uses same registers!

   writeRegister32(ILI9341_PAGEADDRSET, ((uint32_t)(y1<<16) | y2)); // HX8357D uses same registers!

}

/*****/

void ili9341_fillScreen(uint16_t color)

{

}

/*****/

void ili9341_drawPixel(int16_t x, int16_t y, uint16_t color)

{

}

/*****/

void ili9341_setRotation(uint8_t x)

{

}

/*****/

uint16_t ili9341_readPixel(int16_t x, int16_t y)

{

   return 0;

}

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Wednesday, December 12, 2018 3:35:28 PM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

My Nucleo-F767 arrived this afternoon. And yes, it did not work.

I had omitted to enable all the GPIO ports i.e. A, C, D, E, F in the GPIO_INIT() macro(s) This enabled writes but readID() and readGRAM() still failed. I have adjusted the timing.

The Nucleo-144 measures the current. Several Mcufriend shields exceed 500mA. LD5 comes on. Well designed TFT panels use 100-200mA for the backlight. My RM68140 shield takes a lot of current.

I guess that these surplus panels were designed for PWM.

Please let me know how you get on. readID() is not reliable with my ILI9320. I would expect modern MIPI controllers to be ok. The ILI9486 should be fine.

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-446752970&data=02%7C01%7C%7C5d68451fbf6a4ccf93ba08d66079bcb0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802473310129556&sdata=Wbpe6DA1g4oKMlktqbb7HhKctBkc5fbAO%2Fvk2dazND8%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2wTG25fEupJi2TNxYj8oPThckLQBZks5u4XaggaJpZM4ZKzFo&data=02%7C01%7C%7C5d68451fbf6a4ccf93ba08d66079bcb0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802473310129556&sdata=l4FD58wgexcsuocfcJfGUMYM70Wu%2FmvVqaP8hqPYGYc%3D&reserved=0.

prenticedavid commented 5 years ago

Did it work?

If you want to use MBED, say so. Steve Strong's library is for 8080-16 parallel interface (and ILI9341). Your Shield has a 8080-8 interface.

David.

WindBasevi commented 5 years ago

I got yours working. I am also doing mbed as well

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Wednesday, December 12, 2018 6:45:13 PM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

Did it work?

If you want to use MBED, say so. Steve Strong's library is for 8080-16 parallel interface (and ILI9341). Your Shield has a 8080-8 interface.

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-446800137&data=02%7C01%7C%7C379d8cf486c641a1bd4508d660943ee8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802587151790007&sdata=wvYQQ%2BvHYrAB4WQcB0cBqjQYQ2FbRH1coi2cgncz%2B7g%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2wd-mEPMDGPr7JfOTplo3uDy-fOtmks5u4aMZgaJpZM4ZKzFo&data=02%7C01%7C%7C379d8cf486c641a1bd4508d660943ee8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802587151790007&sdata=1YNbqN%2BlIyAA31FpjqDbi8RwKiEQsZ%2FRy6kBfjijzHQ%3D&reserved=0.

WindBasevi commented 5 years ago

WindBasevihttps://github.com/WindBasevi/MCUFRIEND_kbv_Nucleo-144https://github.com/WindBasevi/MCUFRIEND_kbv_Nucleo-144

Created a repo

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: prenticedavid notifications@github.com Sent: Wednesday, December 12, 2018 6:45:13 PM To: prenticedavid/MCUFRIEND_kbv Cc: Dj Wind; Author Subject: Re: [prenticedavid/MCUFRIEND_kbv] STM32F767ZI Nucleo and 3.5 TFT (#73)

Did it work?

If you want to use MBED, say so. Steve Strong's library is for 8080-16 parallel interface (and ILI9341). Your Shield has a 8080-8 interface.

David.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprenticedavid%2FMCUFRIEND_kbv%2Fissues%2F73%23issuecomment-446800137&data=02%7C01%7C%7C379d8cf486c641a1bd4508d660943ee8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802587151790007&sdata=wvYQQ%2BvHYrAB4WQcB0cBqjQYQ2FbRH1coi2cgncz%2B7g%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA_2wd-mEPMDGPr7JfOTplo3uDy-fOtmks5u4aMZgaJpZM4ZKzFo&data=02%7C01%7C%7C379d8cf486c641a1bd4508d660943ee8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802587151790007&sdata=1YNbqN%2BlIyAA31FpjqDbi8RwKiEQsZ%2FRy6kBfjijzHQ%3D&reserved=0.