micropython/extmod
Damien George af64c2ddbd extmod/machine_pwm: Factor out machine.PWM bindings to common code.
This commit refactors machine.PWM and creates extmod/machine_pwm.c.  The
esp8266, esp32 and rp2 ports all use this and provide implementations of
the required PWM functionality.  This helps to reduce code duplication and
keep the same Python API across ports.

This commit does not make any functional changes.

Signed-off-by: Damien George <damien@micropython.org>
2021-09-04 16:31:17 +10:00
..
axtls-include extmod: Update for move of crypto-algorithms, re1.5, uzlib to lib. 2021-07-12 16:37:07 +10:00
btstack extmod/modbluetooth: Add send_update arg to gatts_write. 2021-08-14 22:21:55 +10:00
lwip-include
nimble extmod/modbluetooth: Add send_update arg to gatts_write. 2021-08-14 22:21:55 +10:00
uasyncio extmod/uasyncio: In open_connection use address info in socket creation. 2021-07-31 15:33:48 +10:00
webrepl
extmod.cmake extmod/machine_pwm: Factor out machine.PWM bindings to common code. 2021-09-04 16:31:17 +10:00
extmod.mk all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
machine_bitstream.c extmod: Add machine.bitstream. 2021-08-19 22:50:11 +10:00
machine_bitstream.h extmod: Add machine.bitstream. 2021-08-19 22:50:11 +10:00
machine_i2c.c extmod/machine_i2c: Make SoftI2C configurable via macro option. 2021-09-02 13:11:23 +10:00
machine_i2c.h extmod/machine_i2c: Add init protocol method for generic I2C bindings. 2020-11-23 19:45:04 +11:00
machine_mem.c extmod/machine_mem: Only allow integers in machine.memX subscript. 2020-11-13 11:13:37 +11:00
machine_mem.h
machine_pinbase.c
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_pwm.c extmod/machine_pwm: Factor out machine.PWM bindings to common code. 2021-09-04 16:31:17 +10:00
machine_pwm.h extmod/machine_pwm: Factor out machine.PWM bindings to common code. 2021-09-04 16:31:17 +10:00
machine_signal.c
machine_signal.h
machine_spi.c extmod/machine_spi: Make SoftSPI configurable via macro option. 2021-09-02 13:11:23 +10:00
machine_spi.h ports: Support legacy soft I2C/SPI construction via id=-1 arg. 2020-10-01 12:57:10 +10:00
misc.h
modbluetooth.c extmod/modbluetooth: Add send_update arg to gatts_write. 2021-08-14 22:21:55 +10:00
modbluetooth.h extmod/modbluetooth: Add send_update arg to gatts_write. 2021-08-14 22:21:55 +10:00
modbtree.c
modframebuf.c extmod/modframebuf: Enable blit between different formats via a palette. 2021-08-25 15:31:23 +10:00
modlwip.c extmod/modlwip: Fix close and clean up of UDP and raw sockets. 2021-08-13 23:46:11 +10:00
modonewire.c extmod/modonewire: Make _onewire module configurable via macro option. 2021-09-02 13:11:23 +10:00
moduasyncio.c all: Fix signed shifts and NULL access errors from -fsanitize=undefined. 2021-06-24 23:01:04 +10:00
modubinascii.c extmod: Update for move of crypto-algorithms, re1.5, uzlib to lib. 2021-07-12 16:37:07 +10:00
moducryptolib.c
moductypes.c extmod/moductypes: Fix size and offset calculation for ARRAY of FLOAT32. 2021-05-06 13:11:33 +10:00
moduhashlib.c extmod: Update for move of crypto-algorithms, re1.5, uzlib to lib. 2021-07-12 16:37:07 +10:00
moduheapq.c
modujson.c extmod/modujson: Add support for dump/dumps separators keyword-argument. 2021-08-07 13:52:16 +10:00
modurandom.c extmod/modurandom: Support an argument of bits=0 to getrandbits. 2021-05-30 17:05:56 +10:00
modure.c py: Introduce and use mp_raise_type_arg helper. 2021-07-15 00:12:41 +10:00
moduselect.c extmod/moduselect: Conditionally compile select(). 2021-07-17 23:32:39 +10:00
modussl_axtls.c extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking. 2021-02-17 11:50:54 +11:00
modussl_mbedtls.c extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking. 2021-02-17 11:50:54 +11:00
modutimeq.c
moduwebsocket.c
moduwebsocket.h
moduzlib.c py: Introduce and use mp_raise_type_arg helper. 2021-07-15 00:12:41 +10:00
modwebrepl.c
mpbthci.c extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
mpbthci.h extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
network_cyw43.c drivers/cyw43: Make wifi join fail if interface is not active. 2021-08-31 13:00:11 +10:00
network_cyw43.h
uos_dupterm.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
utime_mphal.c extmod/utime: Always invoke mp_hal_delay_ms when >= to 0ms. 2021-07-22 00:05:17 +10:00
utime_mphal.h extmod/utime_mphal: Add generic utime.time_ns() function. 2020-10-01 14:20:42 +10:00
vfs.c extmod/vfs: Check block 0 and 1 when auto-detecting littlefs. 2021-01-29 15:02:55 +11:00
vfs.h
vfs_blockdev.c
vfs_fat.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
vfs_fat.h
vfs_fat_diskio.c
vfs_fat_file.c
vfs_lfs.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
vfs_lfs.h
vfs_lfsx.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
vfs_lfsx_file.c
vfs_posix.c
vfs_posix.h
vfs_posix_file.c extmod/vfs_posix_file: Allow closing an already closed file. 2021-02-11 22:54:41 +11:00
vfs_reader.c
virtpin.c
virtpin.h