This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F4 DFP HAL Drivers Compatibility with ARM Compiler 6

Just started to migrate to the ARM compiler 6 and I noticed __weak is incompatible language extension in this version and it needs to be written __attribute__((weak)).

In STM32F4 HAL Drivers and almost all of the ST MCU series, there are lots of functions that have __weak in their declaration while it is not supported in ARM compiler V6. As for ARM Compiler and the DFPs, I have installed the latest versions.

Are we having a problematic kind of situation here?

Parents
  • The HAL is ST's code - so you need to talk to ST about this.

    They should document what  compilers (and versions) they support.

    Shouldn't be hard to get around this with a #define, though ... ?

Reply
  • The HAL is ST's code - so you need to talk to ST about this.

    They should document what  compilers (and versions) they support.

    Shouldn't be hard to get around this with a #define, though ... ?

Children