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


You are viewing a reply to Make files wrong  

Make files wrong

Thanks for your interest Pascale - we would really like to see this resolved.

I am developing with AC6 as a pilot project, the results will have a big impact on the purchase of STM32 processors by my company.

I’m not real sure what it is I did, you know, you get in the flow of development and you don’t remember everything you do. Yet this is the second time it’s happened.

We always use FreeRTOS at our company, one of the main concerns is how this tool works with FreeRTOS.

As I recall:

  • I went into Cube to add the I2C and USART2 peripherals. I have two projects with different base directories, I develop in one and I run Cube on the other.
  • I exited Cube and did a KDiff3 on the two directories - synced the changes for main.c and stm32l4xx_it.c
  • Did a refresh on AC6 and tried to build - got the errors that indicate a conflict in floating point instructions.


Deleting the subdir.mk and forcing them to rebuild did not help. Editing subdir.mk showed that they had the wrong options for the compiler.

I created another configuration, copying over my Release config then changing the debug and optimization options.

That had some success, the subdir.mk files were now correct. But the project still would not build, this time the errors came from FreeRTOS’s portmacro.h file, line 173 which is an assembly instruction that is only in ThumbII. Yet the build options for FreeRTOS were correct.

This morning I copied the Cube directory to another folder, started AC6 and imported that new folder then updated all the files with my changes.

That worked.

-Matt

Attached: 1) Build Errors from Debug build
2) Build Errors from Release build (Debug2 started doing the same thing as Debug this morning)