diff options
author | Damien George <damien@micropython.org> | 2024-12-19 00:55:31 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-12-19 00:55:31 +1100 |
commit | 3c1722e705002b2182f138a114f4408ae7ebac38 (patch) | |
tree | f24920137d542ad226bb2150b89fe85c34a8f1a3 /docs/esp32/tutorial | |
parent | 7924b31050271c76ff6cf26c6fda5fe3ba615d08 (diff) | |
download | micropython-3c1722e705002b2182f138a114f4408ae7ebac38.tar.gz micropython-3c1722e705002b2182f138a114f4408ae7ebac38.zip |
stm32: Fix extraction of hse/hsi/pllm values from preprocessed source.
The expressions for the `micropy_hw_hse_value` etc variables may contain
parenthesis, eg `micropy_hw_hse_value = ((25) * 1000000)`. To handle such
a case, simplify the regex and always use `eval(found)` to evaluate the
expression.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions