eddy_em: (Default)
[personal profile] eddy_em
Пытаюсь работать с CH552G в qt-creator. Текст испещрен подчеркиваниями. В отличие от STM'ок, здесь регистры объявляются посредством конструкции __sfr at(xx) name или __sbit at (xx) name.
А вот clang-tidy, который проверяет текст, этого не понимает!
Возможно ли как-то его настроить? Или единственное решение — отключить?
Пока что записал в конфиг такое:
#define __sfr volatile int
#define __sbit volatile int
#define __at(x)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

May 2025

S M T W T F S
    123
45678910
11121314151617
1819202122 2324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 24th, 2025 06:55 am
Powered by Dreamwidth Studios