summaryrefslogtreecommitdiff
path: root/stmhal/make-stmconst.py
AgeCommit message (Collapse)Author
2017-08-21all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.Damien George
2017-05-06stmhal: Convert all module and method tables to use MP_ROM macros.Damien George
2016-11-28stmhal: Add back GPIO_BSRRL and GPIO_BSRRH constants to stm module.Damien George
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.
2016-11-16stmhal/make-stmconst.py: Restore Python 2 compatibility.Damien George
2016-11-16stmhal/make-stmconst.py: Add support for files with invalid utf8 bytes.Damien George
2016-11-16stmhal/make-stmconst.py: fix regex's to work with current CMSISKrzysztof Blazewicz
CMSIS v2.5.0 removed all uint32_t casts and uses only Misra Cast (U)
2016-01-07stmhal: Make stm constants big ints when they don't fit in a small int.Damien George
Adds 924 bytes of code, but means that no more hacks and work-arounds are needed due to large constants becoming negative.
2015-11-06stmhal: Add missing regex property for parsing header commentsTony Abboud
2015-08-07stmhal: Generate modstm constants per buildDave Hylands
This causes unnecessary constants to no longer be generated. Some constants (like UART_BRR) are different between the F4 and F7
2015-03-01stmhal: Add I2S2EXT and I2S3EXT constants to stm module.Damien George
2014-11-29Use MP_DEFINE_CONST_DICT macro to define module dicts.Damien George
This is just a clean-up of the code. Generated code is exactly the same.
2014-04-19stmhal: Add lots of constants to stm module.Damien George