Damien George
139b891d6d
stmhal: Add back GPIO_BSRRL and GPIO_BSRRH constants to stm module.
These were inadvertently removed with a recent upgrade to CMSIS, where
those registers were no longer defined in the CMSIS headers, and hence
no longer extracted.
8 years ago
Damien George
e01e214259
stmhal/make-stmconst.py: Restore Python 2 compatibility.
8 years ago
Damien George
c5621529c9
stmhal/make-stmconst.py: Add support for files with invalid utf8 bytes.
8 years ago
Krzysztof Blazewicz
fa833f96df
stmhal/make-stmconst.py: fix regex's to work with current CMSIS
CMSIS v2.5.0 removed all uint32_t casts and uses only Misra Cast (U)
8 years ago
Damien George
2621f8a340
stmhal: Make stm constants big ints when they don't fit in a small int.
Adds 924 bytes of code, but means that no more hacks and work-arounds are
needed due to large constants becoming negative.
9 years ago
Tony Abboud
ae58035573
stmhal: Add missing regex property for parsing header comments
9 years ago
Dave Hylands
be66a9ecf6
stmhal: Generate modstm constants per build
This causes unnecessary constants to no longer be generated.
Some constants (like UART_BRR) are different between the F4 and F7
9 years ago
Damien George
b753009a38
stmhal: Add I2S2EXT and I2S3EXT constants to stm module.
10 years ago
Damien George
3b603f29ec
Use MP_DEFINE_CONST_DICT macro to define module dicts.
This is just a clean-up of the code. Generated code is exactly the
same.
10 years ago
Damien George
f20e093b9b
stmhal: Add lots of constants to stm module.
11 years ago