diff options
author | Dave Hylands <dhylands@gmail.com> | 2019-02-14 11:56:02 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-19 15:17:28 +1100 |
commit | 92fec603d0a72e8b962fddca42af075117c36395 (patch) | |
tree | c524fff3f8a9acffa3c62d321e2468d71c6b066b /py/qstr.c | |
parent | 9441f4b682b29b0a03e68e5e57567a81ce05afa7 (diff) |
stm32/make-stmconst.py: Improve regex to parse more constants.
A few RTC constants weren't being parsed properly due to whitespace
differences, and this patch makes certain whitespace optional. Changes
made:
- allow for no space between /*!< and EXTI, eg for:
__IO uint32_t IMR; /*!<EXTI Interrupt mask register, Address offset: 0x00 */
- allow for no space between semicolon and start of comment, eg for:
__IO uint32_t ALRMASSR;/*!< RTC alarm A sub second register, Address offset: 0x44 */
Diffstat (limited to 'py/qstr.c')
0 files changed, 0 insertions, 0 deletions