diff options
| author | Angus Gratton <angus@redyak.com.au> | 2023-08-09 11:53:03 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-08-23 11:58:11 +1000 |
| commit | 2919a9fbf33b2e9c0cfeeb73e1a7240d70b5310d (patch) | |
| tree | 62d32d92161fb52e2c59022a62c4fcf083e41f9d /py/objexcept.c | |
| parent | 02620c2236e948b1899d122359a1eb150e5a9ee0 (diff) | |
stm32/modstm: Add MICROPY_PY_STM_CONST flag, clear it for STM32WL5.
MICROPY_PY_STM_CONST defaults to 1 if MICROPY_PY_STM is set. Overriding to
0 disables the named register peripheral constants being including in the
stm32 module.
This saves about 7.5KB of code size for the STM32WL55, which is significant
as this SoC doesn't have a lot of flash.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/objexcept.c')
0 files changed, 0 insertions, 0 deletions
