summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-12-19 00:55:31 +1100
committerDamien George <damien@micropython.org>2024-12-19 00:55:31 +1100
commit3c1722e705002b2182f138a114f4408ae7ebac38 (patch)
treef24920137d542ad226bb2150b89fe85c34a8f1a3 /docs/esp32/tutorial
parent7924b31050271c76ff6cf26c6fda5fe3ba615d08 (diff)
downloadmicropython-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