What is the role of .s files in a C project?
问题 I am working with an ARM Cortex M3 chip (STM32F2) and ST provides a "standard peripheral library". It has some useful .c and .h files. It also has .s files. What is the purpose of these .s files in the context of a C project? How do I get my compiler/linker/? to take them into account? 回答1: The .s extension is the convention used by GNU and many other tool-chains for assembler files. Last I looked the STM32 Standard Peripheral Library itself contains no assembler files, however the CMSIS