Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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


 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs