QUERY · ISSUE
STM32: machine.freq unsupported on F0, L0, L4 and WB
port-stm32
When I set pyb.freq(30000000) it occurs an error that I can't change the frequency. How should I do?
CANDIDATE · ISSUE
stm32/machine.freq: Only one argument accpted.
port-stm32
As part of the harmonization of the machine.freq() method, the ability was lost for the STM32 port to define APB1 and APB2 frequencies as well. They are now always SYCLK/2 and SYSCLK/4. The function mp_machine_set_freq() in modmachine.c still attempts to evaluate additional arguments, but they are rejected in extmod/modmachin.c.