ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
28 марта
1096779
Andreas (30.04.2021 10:17, просмотров: 8639)
Злоебучий gcc! Взял файл из стандартной поставки CMSIS и долго не мог понять, почему в стартапном файле препроцессор не работает. Оказалось, что это фича и похоже cmsis только в кейле проверяют. 

The gcc frontend program recognizes files with the ending .S (upper-case S) to be assembler files that needs preprocessing, and will run them through the preprocessor. It also recognizes files with the ending .s (lower-case s) as assembler files that don't need to be preprocessed.