Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

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