Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Noob: Unexpected sequence of Project build(Unexpected, out of order, random, non-deterministic order, different results with same code)
Noob: Unexpected sequence of Project build [message #1783561] Wed, 14 March 2018 07:30 Go to next message
Tapio Valli is currently offline Tapio ValliFriend
Messages: 2
Registered: March 2018
Junior Member
Hi,

This likely very noob question but here we go. Bear with me:

I have a significant amount of code, including mostly vendor libraries (STM uController code base). My own addition, the application is very small. Some portions of vendor code has (minor) issues. My code probably has more. I am trying to work through them, in a sequential method, starting from the 1st problem (at the top of console), fix it, rebuild.

I am seeing varying results. Sometimes when I have fixed a part, another one pops up, which I am certain I have closed already earlier. So, I did a test:

1) I did Build Project => result: error set 1
2) I did Build Project => result: error set 2
3) I did Build Project => result: error set 3
4) I did Build Project => result: error set 4

No code changes in between 1-4.

Expected behaviour

1) I did Build Project => result: error set 1
2) I did Build Project => result: error set 1
3) I did Build Project => result: error set 1
4) I did Build Project => result: error set 1

Questions:

- Maybe this was my error? Highly probable, can be easily re-tested
- I use multi-core Computer, maybe different parts are compiled in parallel and finish at different times in 1-4, resulting in errors being reported in different order?
- There is something un-deterministic in build process that I don't know about?

Could someone more knowledgeable explain this please?

Thanks,

Tapio



Re: Noob: Unexpected sequence of Project build [message #1783619 is a reply to message #1783561] Wed, 14 March 2018 15:46 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 743
Registered: August 2014
Senior Member
There are not enough details, but I'll make a guess:

You have many modules, assume 4. On the first attempt, the compile bails out after the first module, but it has succeeded enough to create an object file. On the second try, the Make utility doing the hard work notes that the first module is already done, and the build craps out after the second module, but it will again leave an object file. The same logic goes on, until you have all the error sets.

I you will have consistent complaints, remember to clean the project between the build attempts.

I have a similar project going on, with about 150 modules with compiler complaints. The situation is now with the complaints down from 884 to 322, still some way to go.

The hardware vendor's code is nothing to brag about. In a previous project, the Atmel ASF modules had to be mutilated so badly that I rewrote the whole bunch.


--

Tauno Voipio
Re: Noob: Unexpected sequence of Project build [message #1783638 is a reply to message #1783619] Wed, 14 March 2018 19:04 Go to previous messageGo to next message
Tapio Valli is currently offline Tapio ValliFriend
Messages: 2
Registered: March 2018
Junior Member
Hi Tauno,

Very good explanation, I'd buy that. But I tried clean-build-clean-build cycle, and that didn't change the behaviour. However I saved the console log to a file. Looking at the log, it would seem that Eclipse is indeed cleaning a lot files but building surprisingly few before hitting errors. And it hits different set in two consecutive runs (with clean in-between ofc). Here's the log (I didn't find option to attach zip file here). You can search for timestamps "20:" f.ex.

20:44:35 **** Clean-only build of configuration Debug for project ADC3_SDRAM_FATFS_test ****
rm -rf Drivers/BSP/Components/wm8994/wm8994.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_eeprom.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery.d Drivers/BSP/Components/wm8994/wm8994.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_pwr_ex.d Src/functions.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_eeprom.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_pwr_ex.o Src/functions.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sd.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sd.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_pwr.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_sdram.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_pwr.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_sdram.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dsi.o startup/startup_stm32f746xx.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dsi.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_adc_ex.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_adc_ex.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_rcc.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_rcc.d Drivers/BSP/Components/st7735/st7735.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_tim_ex.d Drivers/BSP/Components/st7735/st7735.o Drivers/BSP/Components/ov9655/ov9655.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_tim_ex.o ADC3_SDRAM_FATFS_test Drivers/BSP/Components/ov9655/ov9655.d Src/sdram_diskio.d Middlewares/FatFs/diskio.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_adc.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_ltdc_ex.d Middlewares/FatFs/syscall.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_ltdc_ex.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_adc.o Src/sdram_diskio.o Middlewares/FatFs/syscall.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_uart.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sdram.o Src/system_stm32f7xx.d Src/system_stm32f7xx.o Src/stm32f7xx_hal_msp.o Src/stm32f7xx_hal_msp.d Drivers/BSP/Components/s5k5cag/s5k5cag.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sdram.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_uart.o Drivers/BSP/Components/s5k5cag/s5k5cag.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.d Middlewares/FatFs/diskio.o Drivers/BSP/Components/ft6x06/ft6x06.d Middlewares/FatFs/ff_gen_drv.o Drivers/BSP/Components/ft6x06/ft6x06.o Middlewares/FatFs/ff_gen_drv.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_tim.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_tim.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.o Src/main.o Src/main.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.d Drivers/BSP/Components/mfxstm32l152/mfxstm32l152.d Drivers/BSP/Components/adv7533/adv7533.d Drivers/BSP/Components/adv7533/adv7533.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.o Drivers/BSP/Components/mfxstm32l152/mfxstm32l152.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_i2c.d Src/stm32f7xx_it.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_i2c.o ADC3_SDRAM_FATFS_test.elf Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_i2c_ex.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_i2c_ex.o Drivers/BSP/Components/exc7200/exc7200.d Drivers/BSP/Components/exc7200/exc7200.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_qspi.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_qspi.d Drivers/BSP/Components/st7789h2/st7789h2.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_rcc_ex.d Drivers/BSP/Components/st7789h2/st7789h2.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_ts.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_ts.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_rcc_ex.o Drivers/BSP/Components/otm8009a/otm8009a.o Drivers/BSP/Components/otm8009a/otm8009a.d Drivers/BSP/Components/stmpe811/stmpe811.d Drivers/BSP/Components/stmpe811/stmpe811.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_lcd.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_lcd.o Src/stm32f7xx_it.d Src/stm32f7xx_hal_timebase_TIM.d Drivers/BSP/Components/ft5336/ft5336.d Src/fatfs.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o Src/fatfs.d Src/stm32f7xx_hal_timebase_TIM.o Drivers/BSP/Components/ft5336/ft5336.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_ll_fmc.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_ltdc.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_ll_fmc.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_ltdc.o Middlewares/FatFs/ff.o Drivers/BSP/Components/ts3510/ts3510.d Middlewares/FatFs/ff.d Drivers/BSP/Components/ts3510/ts3510.o Src/bsp_driver_sdram.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.d Src/bsp_driver_sdram.o 

20:44:35 Build Finished (took 110ms)

20:44:40 **** Rebuild of configuration Debug for project ADC3_SDRAM_FATFS_test ****
Info: Internal Builder is used for build
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F7xx_HAL_Driver\stm32f7xx_hal_uart.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Middlewares\FatFs\syscall.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Middlewares\Third_Party\FatFs\src\option\syscall.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Src\bsp_driver_sdram.o ..\Src\bsp_driver_sdram.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -g -Wa,--no-warn -x assembler-with-cpp -specs=nano.specs -o startup\startup_stm32f746xx.o ..\startup\startup_stm32f746xx.s 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F7xx_HAL_Driver\stm32f7xx_hal_dma_ex.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma_ex.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F7xx_HAL_Driver\stm32f7xx_hal_sdram.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sdram.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\Components\ft6x06\ft6x06.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components\ft6x06\ft6x06.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Src\stm32f7xx_it.o ..\Src\stm32f7xx_it.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\Components\otm8009a\otm8009a.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components\otm8009a\otm8009a.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Middlewares\FatFs\ff.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Middlewares\Third_Party\FatFs\src\ff.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F7xx_HAL_Driver\stm32f7xx_hal_i2c.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2c.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\Components\stmpe811\stmpe811.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components\stmpe811\stmpe811.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\STM32746G-Discovery\stm32746g_discovery.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Src\functions.o ..\Src\functions.c 
..\Src\functions.c: In function 'InitScreen':
..\Src\functions.c:150:10: error: 'LTDC_HandleTypeDef {aka struct <anonymous>}' has no member named 'SetBackColor'
     hltdc.SetBackColor(BackGroundColor);
          ^
..\Src\functions.c:151:10: error: 'LTDC_HandleTypeDef {aka struct <anonymous>}' has no member named 'SetTextColor'
     hltdc.SetTextColor(ForeGroundColor);
          ^
..\Src\functions.c:152:10: error: 'LTDC_HandleTypeDef {aka struct <anonymous>}' has no member named 'SetFont'
     hltdc.SetFont(&Font20);
          ^
..\Src\functions.c: In function 'LCDWrite':
..\Src\functions.c:161:10: error: 'LTDC_HandleTypeDef {aka struct <anonymous>}' has no member named 'ClearStringLine'
     hltdc.ClearStringLine(Line);
          ^
..\Src\functions.c:163:10: error: 'LTDC_HandleTypeDef {aka struct <anonymous>}' has no member named 'DisplayStringAt'
     hltdc.DisplayStringAt(0, LINE(Line), (uint8_t *)IntStr, AlignMode);
          ^
..\Src\functions.c: In function 'CountDown':
..\Src\functions.c:171:5: warning: implicit declaration of function 'wait_ms' [-Wimplicit-function-declaration]
     wait_ms(1);
     ^~~~~~~
..\Src\functions.c: In function 'SamplePoints':
..\Src\functions.c:188:5: error: unknown type name 'AnalogIn'
     AnalogIn    ain(A0);
     ^~~~~~~~
..\Src\functions.c:188:5: warning: parameter names (without types) in function declaration
..\Src\functions.c:193:38: error: request for member 'read_u16' in something not a structure or union
         Data->array[i]=(uint16_t)(ain.read_u16());
                                      ^
..\Src\functions.c:194:9: warning: implicit declaration of function 'wait_us' [-Wimplicit-function-declaration]
         wait_us(Period_us);
         ^~~~~~~
..\Src\functions.c:200:11: error: 'UART_HandleTypeDef {aka struct <anonymous>}' has no member named 'printf'
     huart1.printf("Sampling done.\r\n",i);
           ^
..\Src\functions.c: In function 'AvgAndPlotPoints':
..\Src\functions.c:211:11: error: 'UART_HandleTypeDef {aka struct <anonymous>}' has no member named 'printf'
     huart1.printf("Start reading... \r\n");
           ^
..\Src\functions.c:231:11: error: 'UART_HandleTypeDef {aka struct <anonymous>}' has no member named 'printf'
     huart1.printf("Done all, Points = %u Avg = %u \r\n", i1,AvgSize);
           ^
..\Src\functions.c:234:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint32_t {aka long unsigned int}' [-Wformat=]
     snprintf(MyStr,50,"Pnts = %d Avg = %d",NoOfPoints,AvgSize);
                                ^
..\Src\functions.c:234:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'uint32_t {aka long unsigned int}' [-Wformat=]
     snprintf(MyStr,50,"Pnts = %d Avg = %d",NoOfPoints,AvgSize);
                                         ^

20:44:48 Build Finished (took 7s.830ms)

20:44:56 **** Clean-only build of configuration Debug for project ADC3_SDRAM_FATFS_test ****
rm -rf Drivers/BSP/Components/wm8994/wm8994.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_eeprom.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery.d Drivers/BSP/Components/wm8994/wm8994.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_pwr_ex.d Src/functions.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_eeprom.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_pwr_ex.o Src/functions.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sd.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sd.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_pwr.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_sdram.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_pwr.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_sdram.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dsi.o startup/startup_stm32f746xx.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dsi.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_adc_ex.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_adc_ex.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_rcc.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_rcc.d Drivers/BSP/Components/st7735/st7735.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_tim_ex.d Drivers/BSP/Components/st7735/st7735.o Drivers/BSP/Components/ov9655/ov9655.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_tim_ex.o ADC3_SDRAM_FATFS_test Drivers/BSP/Components/ov9655/ov9655.d Src/sdram_diskio.d Middlewares/FatFs/diskio.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_adc.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_ltdc_ex.d Middlewares/FatFs/syscall.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_ltdc_ex.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_adc.o Src/sdram_diskio.o Middlewares/FatFs/syscall.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_uart.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sdram.o Src/system_stm32f7xx.d Src/system_stm32f7xx.o Src/stm32f7xx_hal_msp.o Src/stm32f7xx_hal_msp.d Drivers/BSP/Components/s5k5cag/s5k5cag.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sdram.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_uart.o Drivers/BSP/Components/s5k5cag/s5k5cag.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.d Middlewares/FatFs/diskio.o Drivers/BSP/Components/ft6x06/ft6x06.d Middlewares/FatFs/ff_gen_drv.o Drivers/BSP/Components/ft6x06/ft6x06.o Middlewares/FatFs/ff_gen_drv.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_tim.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_tim.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.o Src/main.o Src/main.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.d Drivers/BSP/Components/mfxstm32l152/mfxstm32l152.d Drivers/BSP/Components/adv7533/adv7533.d Drivers/BSP/Components/adv7533/adv7533.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.o Drivers/BSP/Components/mfxstm32l152/mfxstm32l152.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_i2c.d Src/stm32f7xx_it.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_i2c.o ADC3_SDRAM_FATFS_test.elf Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_i2c_ex.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_i2c_ex.o Drivers/BSP/Components/exc7200/exc7200.d Drivers/BSP/Components/exc7200/exc7200.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_qspi.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_qspi.d Drivers/BSP/Components/st7789h2/st7789h2.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_rcc_ex.d Drivers/BSP/Components/st7789h2/st7789h2.d Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_ts.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_ts.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_rcc_ex.o Drivers/BSP/Components/otm8009a/otm8009a.o Drivers/BSP/Components/otm8009a/otm8009a.d Drivers/BSP/Components/stmpe811/stmpe811.d Drivers/BSP/Components/stmpe811/stmpe811.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_lcd.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.o Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_lcd.o Src/stm32f7xx_it.d Src/stm32f7xx_hal_timebase_TIM.d Drivers/BSP/Components/ft5336/ft5336.d Src/fatfs.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o Src/fatfs.d Src/stm32f7xx_hal_timebase_TIM.o Drivers/BSP/Components/ft5336/ft5336.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_ll_fmc.o Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_ltdc.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_ll_fmc.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_ltdc.o Middlewares/FatFs/ff.o Drivers/BSP/Components/ts3510/ts3510.d Middlewares/FatFs/ff.d Drivers/BSP/Components/ts3510/ts3510.o Src/bsp_driver_sdram.d Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.d Src/bsp_driver_sdram.o 

20:44:56 Build Finished (took 125ms)

20:45:02 **** Rebuild of configuration Debug for project ADC3_SDRAM_FATFS_test ****
Info: Internal Builder is used for build
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F7xx_HAL_Driver\stm32f7xx_hal_pwr_ex.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr_ex.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Src\system_stm32f7xx.o ..\Src\system_stm32f7xx.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\Components\otm8009a\otm8009a.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components\otm8009a\otm8009a.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_ts.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_ts.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F7xx_HAL_Driver\stm32f7xx_hal.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\Components\wm8994\wm8994.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components\wm8994\wm8994.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_eeprom.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_eeprom.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F7xx_HAL_Driver\stm32f7xx_hal_tim.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_tim.c 
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F746xx -I../Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Device/ST/STM32F7xx/Include -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Middlewares/Third_Party/FatFs/src -IC:/Users/tapio/STM32Cube/Repository/STM32Cube_FW_F7_V1.9.0/Drivers/CMSIS/Include -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\Components -IC:\Users\tapio\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Utilities -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.o ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c 
In file included from ..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:87:0:
c:\users\tapio\stm32cube\repository\stm32cube_fw_f7_v1.9.0\drivers\bsp\stm32746g-discovery\stm32746g_discovery_sd.h:128:28: error: unknown type name 'HAL_SD_CardInfoTypeDef'
 void    BSP_SD_GetCardInfo(HAL_SD_CardInfoTypeDef *CardInfo);
                            ^~~~~~~~~~~~~~~~~~~~~~
c:\users\tapio\stm32cube\repository\stm32cube_fw_f7_v1.9.0\drivers\bsp\stm32746g-discovery\stm32746g_discovery_sd.h:133:24: error: unknown type name 'SD_HandleTypeDef'
 void    BSP_SD_MspInit(SD_HandleTypeDef *hsd, void *Params);
                        ^~~~~~~~~~~~~~~~
c:\users\tapio\stm32cube\repository\stm32cube_fw_f7_v1.9.0\drivers\bsp\stm32746g-discovery\stm32746g_discovery_sd.h:134:31: error: unknown type name 'SD_HandleTypeDef'
 void    BSP_SD_Detect_MspInit(SD_HandleTypeDef *hsd, void *Params);
                               ^~~~~~~~~~~~~~~~
c:\users\tapio\stm32cube\repository\stm32cube_fw_f7_v1.9.0\drivers\bsp\stm32746g-discovery\stm32746g_discovery_sd.h:135:26: error: unknown type name 'SD_HandleTypeDef'
 void    BSP_SD_MspDeInit(SD_HandleTypeDef *hsd, void *Params);
                          ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:126:1: error: unknown type name 'SD_HandleTypeDef'
 SD_HandleTypeDef uSdHandle;
 ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_Init':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:152:12: error: request for member 'Instance' in something not a structure or union
   uSdHandle.Instance = SDMMC1;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:154:12: error: request for member 'Init' in something not a structure or union
   uSdHandle.Init.ClockEdge           = SDMMC_CLOCK_EDGE_RISING;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:154:40: error: 'SDMMC_CLOCK_EDGE_RISING' undeclared (first use in this function)
   uSdHandle.Init.ClockEdge           = SDMMC_CLOCK_EDGE_RISING;
                                        ^~~~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:154:40: note: each undeclared identifier is reported only once for each function it appears in
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:155:12: error: request for member 'Init' in something not a structure or union
   uSdHandle.Init.ClockBypass         = SDMMC_CLOCK_BYPASS_DISABLE;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:155:40: error: 'SDMMC_CLOCK_BYPASS_DISABLE' undeclared (first use in this function)
   uSdHandle.Init.ClockBypass         = SDMMC_CLOCK_BYPASS_DISABLE;
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:156:12: error: request for member 'Init' in something not a structure or union
   uSdHandle.Init.ClockPowerSave      = SDMMC_CLOCK_POWER_SAVE_DISABLE;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:156:40: error: 'SDMMC_CLOCK_POWER_SAVE_DISABLE' undeclared (first use in this function)
   uSdHandle.Init.ClockPowerSave      = SDMMC_CLOCK_POWER_SAVE_DISABLE;
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:157:12: error: request for member 'Init' in something not a structure or union
   uSdHandle.Init.BusWide             = SDMMC_BUS_WIDE_1B;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:157:40: error: 'SDMMC_BUS_WIDE_1B' undeclared (first use in this function)
   uSdHandle.Init.BusWide             = SDMMC_BUS_WIDE_1B;
                                        ^~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:158:12: error: request for member 'Init' in something not a structure or union
   uSdHandle.Init.HardwareFlowControl = SDMMC_HARDWARE_FLOW_CONTROL_DISABLE;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:158:40: error: 'SDMMC_HARDWARE_FLOW_CONTROL_DISABLE' undeclared (first use in this function)
   uSdHandle.Init.HardwareFlowControl = SDMMC_HARDWARE_FLOW_CONTROL_DISABLE;
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:159:12: error: request for member 'Init' in something not a structure or union
   uSdHandle.Init.ClockDiv            = SDMMC_TRANSFER_CLK_DIV;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:159:40: error: 'SDMMC_TRANSFER_CLK_DIV' undeclared (first use in this function)
   uSdHandle.Init.ClockDiv            = SDMMC_TRANSFER_CLK_DIV;
                                        ^~~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:162:3: warning: implicit declaration of function 'BSP_SD_Detect_MspInit' [-Wimplicit-function-declaration]
   BSP_SD_Detect_MspInit(&uSdHandle, NULL);
   ^~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:169:3: warning: implicit declaration of function 'BSP_SD_MspInit' [-Wimplicit-function-declaration]
   BSP_SD_MspInit(&uSdHandle, NULL);
   ^~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:172:6: warning: implicit declaration of function 'HAL_SD_Init' [-Wimplicit-function-declaration]
   if(HAL_SD_Init(&uSdHandle) != HAL_OK)
      ^~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:181:8: warning: implicit declaration of function 'HAL_SD_ConfigWideBusOperation' [-Wimplicit-function-declaration]
     if(HAL_SD_ConfigWideBusOperation(&uSdHandle, SDMMC_BUS_WIDE_4B) != HAL_OK)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:181:50: error: 'SDMMC_BUS_WIDE_4B' undeclared (first use in this function)
     if(HAL_SD_ConfigWideBusOperation(&uSdHandle, SDMMC_BUS_WIDE_4B) != HAL_OK)
                                                  ^~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_DeInit':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:202:12: error: request for member 'Instance' in something not a structure or union
   uSdHandle.Instance = SDMMC1;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:205:6: warning: implicit declaration of function 'HAL_SD_DeInit' [-Wimplicit-function-declaration]
   if(HAL_SD_DeInit(&uSdHandle) != HAL_OK)
      ^~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:211:12: error: request for member 'Instance' in something not a structure or union
   uSdHandle.Instance = SDMMC1;
            ^
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:212:3: warning: implicit declaration of function 'BSP_SD_MspDeInit' [-Wimplicit-function-declaration]
   BSP_SD_MspDeInit(&uSdHandle, NULL);
   ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_ReadBlocks':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:266:6: warning: implicit declaration of function 'HAL_SD_ReadBlocks' [-Wimplicit-function-declaration]
   if(HAL_SD_ReadBlocks(&uSdHandle, (uint8_t *)pData, ReadAddr, NumOfBlocks, Timeout) != HAL_OK)
      ^~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_WriteBlocks':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:286:6: warning: implicit declaration of function 'HAL_SD_WriteBlocks' [-Wimplicit-function-declaration]
   if(HAL_SD_WriteBlocks(&uSdHandle, (uint8_t *)pData, WriteAddr, NumOfBlocks, Timeout) != HAL_OK)
      ^~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_ReadBlocks_DMA':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:306:6: warning: implicit declaration of function 'HAL_SD_ReadBlocks_DMA' [-Wimplicit-function-declaration]
   if(HAL_SD_ReadBlocks_DMA(&uSdHandle, (uint8_t *)pData, ReadAddr, NumOfBlocks) != HAL_OK)
      ^~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_WriteBlocks_DMA':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:326:6: warning: implicit declaration of function 'HAL_SD_WriteBlocks_DMA' [-Wimplicit-function-declaration]
   if(HAL_SD_WriteBlocks_DMA(&uSdHandle, (uint8_t *)pData, WriteAddr, NumOfBlocks) != HAL_OK)
      ^~~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_Erase':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:344:6: warning: implicit declaration of function 'HAL_SD_Erase' [-Wimplicit-function-declaration]
   if(HAL_SD_Erase(&uSdHandle, StartAddr, EndAddr) != HAL_OK)
      ^~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: At top level:
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:360:28: error: unknown type name 'SD_HandleTypeDef'
 __weak void BSP_SD_MspInit(SD_HandleTypeDef *hsd, void *Params)
                            ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:459:35: error: unknown type name 'SD_HandleTypeDef'
 __weak void BSP_SD_Detect_MspInit(SD_HandleTypeDef *hsd, void *Params)
                                   ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:479:30: error: unknown type name 'SD_HandleTypeDef'
 __weak void BSP_SD_MspDeInit(SD_HandleTypeDef *hsd, void *Params)
                              ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_GetCardState':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:518:11: warning: implicit declaration of function 'HAL_SD_GetCardState' [-Wimplicit-function-declaration]
   return((HAL_SD_GetCardState(&uSdHandle) == HAL_SD_CARD_TRANSFER ) ? SD_TRANSFER_OK : SD_TRANSFER_BUSY);
           ^~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:518:46: error: 'HAL_SD_CARD_TRANSFER' undeclared (first use in this function)
   return((HAL_SD_GetCardState(&uSdHandle) == HAL_SD_CARD_TRANSFER ) ? SD_TRANSFER_OK : SD_TRANSFER_BUSY);
                                              ^~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: At top level:
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:527:25: error: unknown type name 'HAL_SD_CardInfoTypeDef'
 void BSP_SD_GetCardInfo(HAL_SD_CardInfoTypeDef *CardInfo)
                         ^~~~~~~~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:538:27: error: unknown type name 'SD_HandleTypeDef'
 void HAL_SD_AbortCallback(SD_HandleTypeDef *hsd)
                           ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:548:28: error: unknown type name 'SD_HandleTypeDef'
 void HAL_SD_TxCpltCallback(SD_HandleTypeDef *hsd)
                            ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:558:28: error: unknown type name 'SD_HandleTypeDef'
 void HAL_SD_RxCpltCallback(SD_HandleTypeDef *hsd)
                            ^~~~~~~~~~~~~~~~
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c: In function 'BSP_SD_GetCardState':
..\..\..\..\..\..\STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sd.c:519:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

20:45:07 Build Finished (took 4s.842ms)


Re: Noob: Unexpected sequence of Project build [message #1783777 is a reply to message #1783638] Fri, 16 March 2018 19:30 Go to previous message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 35
Registered: September 2010
Member
Wow, I can't say I've seen anything like this before!
That said, there's ALWAYS an explanation. Unfortunately, there's not nearly enough information in the log to make any useful assumptions.

The 'clean' list of files is consistent.

Some things to check:
- After 'clean', are ALL of the intermediate files removed?
- Is the 'clean' & 'build' list of files created by the method? Can you create a list of files to build?
- Can you reduce the file count to debug the build issue?



Major System Configuration:
Windows 7 64-bit
Eclipse IDE for C/C++ Developers
v 4.6.2 (Neon)
v 4.7.3a (Oxygen)
v 4.8r (Photon)
v 2018_09

PyDev

MinGW
MSys
GNU Toolchain
Perforce
Previous Topic:Synchronized Project files not updating, can not figure out why
Next Topic:Any docs for CDT Docker Container Launch Support?
Goto Forum:
  


Current Time: Sun Jan 26 03:09:02 GMT 2025

Powered by FUDForum. Page generated in 0.02711 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top