Skip to main content
LPode.1
Associate II
January 24, 2020
Question

Link Binary file in project

  • January 24, 2020
  • 2 replies
  • 2420 views

Hi, I am using this ST Cube Ide great program.

I need to link a binary data file in the project and I need to be able use alias name in order to use pointer variable in C language.

In the ARM Ide I use to do this adding input link file and give my preferences as name and alignment.

I am new with Cube Ide and I not understand how to do this so simple link action.

:)

Thanks, Luca

This topic has been closed for replies.

2 replies

KnarfB
Super User
January 24, 2020

STM32CubeIDE uses the GNU gcc-arm toolchain.

Two solutions of your problem are discussed here:

https://stackoverflow.com/questions/17265950/linking-arbitrary-data-using-gcc-arm-toolchain

LPode.1
LPode.1Author
Associate II
January 24, 2020

Thanks =)