Loading...
 

STM32MP1 support available in SW4STM32

   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 download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


Text editor options

Hello,

I moved from AC6 EDT V2.0.1 to the new V2.4.0 in a new computer
in V2.0.1 I used the Text editor options Displayed tab width: 2 Insert spaces for tabs selected
in V2.4.0 the Text editor options by default are Displayed tab width: 4 Insert spaces for tabs unselected

This gives a lot of compilation warnings due to the text unalignment:
this ‘else’ clause does not guard... -Wmisleading-indentation

Changing the Text editor options to Displayed tab width: 2 Insert spaces for tabs selected
is not applied immediately to the existing code.

So what could be the procedure to preserve the previous presentation of the code
Thanks & regards

Hi Guy,

you can change it in Windows > Preferences, in the tree select General > Text Editors.
HTH

Christelle

Hello Christelle,

I did it, but the changes are not applied to existing code. Only the new lines take care of the editor options.
so the code is not now properly aligned.
Guy


ho ... sorry !
go the preferences dialog and select C/C++ > Code Style > Formatter
click on “Edit...” change the tab size field. close the preferences

Then, select all the project you want to apply it, click right and select “Source > Format”

Christelle

Good
Merci beaucoup