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


You are viewing a reply to BLE warnings on ST example  

BLE warnings on ST example

Hi Udibit,


It happend beacuse your example use some files to compile according with IAR compiler.

The __packed attribute is kinda different on GCC compiler, as described here:

https://www.iar.com/contentassets/e20cfa542d1a4734aa6b234bea42f11a/example-5.pdfQuestion

To solve this, you can go to:

Project Proprieties -> C/C++ General -> Paths and Symbols -> (TAB) Symbols

and press to add a symbol, and:

name: __packed
value: attribute packed

You should do it to __weak too


I saw this on a generated project from STM32CubeMX.