-
Notifications
You must be signed in to change notification settings - Fork 151
lib: stm32wb0: implement IAR toolchain compatibility #329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
lib: stm32wb0: implement IAR toolchain compatibility #329
Conversation
|
To build an application (e.g.,
Note that EWARM 9.70.1 is required - older versions will NOT work! |
|
Please, include the rename changes in the README.rst file. |
Replace all GCC-isms in the CMakeLists for STM32WB0 series libraries with toolchain agnostic patterns (or gate behind toolchain check) and rename some preprocessed assembler files to the proper extension to enable compilation of STM32WB0 Bluetooth apps with IAR toolchain. Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
d8ceaf5 to
07baa61
Compare
Done. (Note that this only affects Linux system; on Windows, CMake is not case-sensitive and will accept |

Replace all GCC-isms in the CMakeLists for STM32WB0 series libraries with toolchain agnostic patterns (or gate behind toolchain check) and rename some preprocessed assembler files to the proper extension to enable compilation of STM32WB0 Bluetooth apps with IAR toolchain.
The biggest wart in patchset is mandatory renaming of assembler
.sfile to.S- the extension has always been wrong, but it seems GCC happily copes with it; when IAR is used,.sfiles are built by the IAR assembler and (more annoyingly) seem to not be preprocessed, which results in build failures.cc @msmttchr @FrancescoCiminoST