Loading...
 

System Workbench for STM32


My CubeMX project cannot find the BSP files it needs even though I've added them to my project

I am trying to build a CubeMX project. The project uses TouchGFX and TouchGFX requires some BSP drivers. I have added the files to my project as follows:

http://www.openstm32.org/tiki-download_file.php?display&fileId=508Question

I have indicated the particular file that is not being found.

I have added the folders to my include path:

http://www.openstm32.org/tiki-download_file.php?display&fileId=509Question

No matter what I try, I cannot get the project to build. I always get this error:
Building file: C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/target/STM32F7TouchController.cpp
Invoking: MCU G++ Compiler
C:\Users\Administrator\workspace\StepperController_SW4STM32\SW4STM32\StepperController_SW4STM32\Debug
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 ‘-Dweak=attributeweak’ ‘-Dpacked=attributepacked’ -DUSE_HAL_DRIVER -DSTM32F746xx ‘-DUSE_BPP=16’ -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/FATFS/Target” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/FATFS/App” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Core/Inc” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/target” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/USB_HOST/App” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/USB_HOST/Target” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/generated/fonts/include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/generated/texts/include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/generated/images/include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/generated/gui_generated/include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/gui/include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Middlewares/ST/TouchGFX/touchgfx/framework/include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Drivers/STM32F7xx_HAL_Driver/Inc” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Middlewares/Third_Party/FatFs/src” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Middlewares/Third_Party/FreeRTOS/Source/include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Middlewares/ST/STM32_USB_Host_Library/Core/Inc” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Middlewares/ST/STM32_USB_Host_Library/Class/CDC/Inc” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Drivers/CMSIS/Device/ST/STM32F7xx/Include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/Drivers/CMSIS/Include” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/SW4STM32/StepperController_SW4STM32/Drivers/BSP” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/SW4STM32/StepperController_SW4STM32/Drivers/BSP/Components” -I”C:/Users/Administrator/workspace/StepperController_SW4STM32/SW4STM32/StepperController_SW4STM32/Drivers/BSP/STM32746G-Discovery” -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fno-exceptions -fno-rtti -MMD -MP -MF”Application/User/TouchGFX/target/STM32F7TouchController.d” -MT”Application/User/TouchGFX/target/STM32F7TouchController.o” -o “Application/User/TouchGFX/target/STM32F7TouchController.o” “C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/target/STM32F7TouchController.cpp”

C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/target/STM32F7TouchController.cpp: In member function ‘virtual void touchgfx
STM32F7TouchController
init()’:

C:/Users/Administrator/workspace/StepperController_SW4STM32/TouchGFX/target/STM32F7TouchController.cpp:21:4: error: ‘BSP_TS_Init’ was not declared in this scope
BSP_TS_Init(LCD_GetXSize(), LCD_GetYSize());
^~~~~~~~~~~

I am pulling my hair about about this. I am hoping that someone who knows a lot about SW4STM32 will take a look at this and let me know what I am doing wrong. I have also included my entire project in case that helps.

Thank you for whatever help you can provide.

I have restructured my project a bit but it still won’t build. Here is a screen shot showing exactly what is wrong.

If you are experienced with SW4STM32, please take a look at it and give me any suggestions to get it to build. Screen Shot 2018 12 22 At 8.36.21 PM


 

Newest Forum Posts

  1. Write option bytes by Just1M, 2019-04-24 11:34
  2. Write option bytes by ihouses, 2019-04-24 08:26
  3. Update vs. install version discrepency by christelle.burguera, 2019-04-23 10:06
  4. Variables by anthony@churchillnavigation.com, 2019-04-22 16:52
  5. Symbol 'SysTick_IRQn' could not be resolved by bart@engine27.be, 2019-04-22 12:56
  6. Update vs. install version discrepency by gbabecki, 2019-04-19 19:41
  7. failed to install drivers while tried to install STM32 workbench on windows 8.1 pro by saidattu32, 2019-04-19 19:13
  8. STemWin Trainning Video - Can't find lab file by agiles chroms, 2019-04-19 18:53
  9. System Workbench for STM32 v2.9.0 release by vionf, 2019-04-19 10:06
  10. Update vs. install version discrepency by dautrevaux, 2019-04-19 08:45

Last-Modified Blogs