diff options
author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2024-09-03 10:41:25 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-12-18 16:55:53 +1100 |
commit | 7924b31050271c76ff6cf26c6fda5fe3ba615d08 (patch) | |
tree | d86345498cacbc82b0e3e3509a22684924c87cb0 /ports/stm32/machine_i2s.c | |
parent | 22804fccf312030104adf48f836dd8667411cad1 (diff) | |
download | micropython-7924b31050271c76ff6cf26c6fda5fe3ba615d08.tar.gz micropython-7924b31050271c76ff6cf26c6fda5fe3ba615d08.zip |
stm32: Generate PLL tables from pre-processed headers.
Allows boards to configure their HSE and PLL values in variants.
Signed-off-by: Andrew Leech <andrew@alelec.net>
Diffstat (limited to 'ports/stm32/machine_i2s.c')
-rw-r--r-- | ports/stm32/machine_i2s.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/machine_i2s.c b/ports/stm32/machine_i2s.c index a2a0a82910..d7d4dc14b9 100644 --- a/ports/stm32/machine_i2s.c +++ b/ports/stm32/machine_i2s.c @@ -33,7 +33,9 @@ #include "py/mphal.h" #include "pin.h" #include "dma.h" +#ifndef NO_QSTR #include "genhdr/plli2stable.h" +#endif // Notes on this port's specific implementation of I2S: // - the DMA callbacks (1/2 complete and complete) are used to implement the asynchronous background operations |