micropython/ports
Mark Blakeney fbb7c32040 esp32/esp32_rmt: Change RMT.source_freq() to class method.
To create an esp32.RMT() instance with an optimum (i.e. highest resolution)
clock_div is currently awkward because you need to know the source clock
frequency to calculate the best clock_div, but unfortunately that is only
currently available as an source_freq() method on the instance after you
have already created it.  So RMT.source_freq() should really be a class
method, not an instance method.  This change is backwards compatible for
existing code because you can still reference that function from an
instance, or now also, from the class.

Signed-off-by: Mark Blakeney <mark.blakeney@bullet-systems.net>
2023-11-09 13:51:47 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200
embed
esp32 esp32/esp32_rmt: Change RMT.source_freq() to class method. 2023-11-09 13:51:47 +11:00
esp8266
mimxrt mimxrt/boards/OLIMEX_RT1010: Adjust the UART pin assignment. 2023-11-09 13:41:44 +11:00
minimal
nrf
pic16bit
powerpc
qemu-arm tools/tinytest-codegen.py: Externalise tests list. 2023-11-07 15:53:27 +11:00
renesas-ra extmod/machine_adc_block: Factor esp32 ADCBlock bindings to common code. 2023-11-07 16:44:35 +11:00
rp2 rp2: Change to use TinyUSB dcd_event_handler hook. 2023-11-09 12:28:28 +11:00
samd samd: Switch TinyUSB to run via a scheduled task. 2023-11-09 12:30:04 +11:00
stm32
unix
webassembly
windows windows: Use the MicroPython logo as application icon. 2023-11-07 17:22:52 +11:00
zephyr