Code breaking change to stm module
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Code breaking change to stm module
This will only affect people using stm to access GPIO registers. The value stm.GPIO_BSRRL has been renamed stm.GPIO_BSRR, presumably to conform with the manual.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Code breaking change to stm module
This was an unintended breaking-change. The constants stm.GPIO_BSRRL and stm.GPIO_BSRRH have been added back to the module (for F4 MCUs only). Although these constants will stick around, it's recommended to use just GPIO_BSRR, to conform with the datasheet of the microcontroller.