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.pdf
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.