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 two short videos (registration required) highlighting:

System Workbench for STM32


SWSTM32 make error 1

I am a newbie in stm32 programming and I am using stm32 in Linux. I could build my first project without any error. but when I added some new parts into my code which requires one new source file and header file (which I also added). The IDE started giving these two errors:

recipe for target ‘STM32L4xx-SensorTile.elf’ failed makefile /STM32L4xx-SensorTile/Release line 45 C/C++ Problem
make: *** STM32L4xx-SensorTile.elf Error 1 STM32L4xx-SensorTile C/C++ Problem

And this is the console output from the build:

09:43:02 **** Incremental Build of configuration Release for project STM32L4xx-SensorTile ****
make all
Building target: STM32L4xx-SensorTile.elf
Invoking: MCU GCC Linker
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L../Lib/ -specs=nosys.specs -T”../LinkerScript.ld” -Wl,-Map=output.map -Wl,--gc-sections -o “STM32L4xx-SensorTile.elf” @”objects.list”
MotEnv1_ST/User/main.o: In function `main’:
main.c:(.text.startup.main+0x518): undefined reference to `EnableHWDoubleTap’
collect2: error: ld returned 1 exit status
makefile:45: recipe for target ‘STM32L4xx-SensorTile.elf’ failed
make: *** STM32L4xx-SensorTile.elf Error 1

I checked online, saw some linker-related solution suggestions but could not make them work. Can someone help me with this, taking into account that I am a newbie so I need simple explanations?