Skip to main content
Visitor II
October 31, 2018
Question

ST Utility External Loader Example

  • October 31, 2018
  • 11 replies
  • 6822 views

Hi everyone,

I have to write a custom external loader and reviewed the examples. The read text of these examples say that after the folder placed inside cube files, it will run seamlessly. However, I can't do this, it needs lots of files to build. Please help me.

Using example: N25Q512A_STM32F769I-EVAL

Placed folder: ..STM32Cube_FW_F7_V1.12.0\Projects\STM32F769I_EVAL\Examples\QSPI

Toolchain : SW4STM32

    This topic has been closed for replies.

    11 replies

    Visitor II
    October 18, 2019

    I am trying to develop an External Flash Loader for a custom ST32F746 board with MT25QL512A.

    I started by trying to build the N25Q512A_STM32F769I-EVAL example under SW4STM32.

    I get this error:

    No rule to make target 'E:/21 aout/N25Q512A_STM32F769I-EVAL/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/system_stm32f7xx.c', needed by 'Drivers/CMSIS/system_stm32f7xx.o'.

    This weird path corruption seems to originate in: Debug\Drivers\CMSIS\subdir.mk :

    "

    # Add inputs and outputs from these tool invocations to the build variables

    C_SRCS += \

    E:/21\ aout/N25Q512A_STM32F769I-EVAL/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/system_stm32f7xx.c "

    Anybody have any idea what is going on here ?

     Or can anyone give me a version of this SW4STM32 project that builds ?

    Regards,

    Richard.

    Graduate II
    October 18, 2019

    You'd be better just having a local copy of that in the project, that's what ST does, as the original model had you setting PLL and board specific frequencies up there via SystemInit(). Otherwise you need to climb relatively from the project directory into the library directories. Not sure how SW4STM32 does this, not a tool I'm using, seriously not a fan of Eclipse Workspaces.