Commit Graph

2898 Commits

Author SHA1 Message Date
Dan Halbert c0a4abc03c Fix merge bugs; remove shared/tinyusb/* 2023-10-19 16:02:42 -04:00
Dan Halbert f78b35d06f remove unused files; fix typo; remove debugging code 2023-10-16 19:23:35 -04:00
Scott Shawcroft 4d262c8492
Fix typo 2023-10-16 10:59:13 -07:00
Dan Halbert 021926c96a Fix DotClockFrameBuffer type definition
also remove unnecessary `const` with `MP_DEFINE_CONST_TYPE_OBJ` in I2C
2023-10-13 12:11:14 -04:00
Scott Shawcroft 81ccc606b9
Fix memorymap type check 2023-10-11 14:11:48 -07:00
Scott Shawcroft 1f38293096
Fix ESP related issues 2023-10-11 14:11:29 -07:00
Scott Shawcroft 9633c4e78f
Merge remote-tracking branch 'adafruit/main' into v1.20-merge 2023-10-11 11:21:57 -07:00
Dan Halbert ca7be16209 fixes for stm and mimxrt10xx 2023-10-07 23:27:20 -04:00
Scott Shawcroft 923a5b28ca
Add NO_FPS_LIMIT instead of magic numbers 2023-10-05 14:56:11 -07:00
Scott Shawcroft 807edd4c66
Improve framebufferdisplay.refresh()
Now the defaults make it easy to refresh when you want. It matches
the displayio.Display().refresh() behavior.
2023-10-05 14:56:11 -07:00
Dan Halbert 06765ccfa6 RP2040 now builds 2023-10-05 14:49:49 -04:00
Dan Halbert b4e29e9426
Merge pull request #8456 from tannewt/remove_deprecated_apis
Remove deprecated apis
2023-10-03 15:08:39 -04:00
Dan Halbert 7e0e6fcdca Metro M4 now compiles 2023-10-03 15:03:59 -04:00
Scott Shawcroft 7938c6cfd2
Remove one I2CPeripheral leftover 2023-10-02 14:36:19 -07:00
Scott Shawcroft 8183d8ef50
Remove `displayio.*.show()`
Use `displayio.*.root_group =`.
2023-10-02 14:28:59 -07:00
Scott Shawcroft a15c111d5c
Merge pull request #7718 from microdev1/watchdog-rp
Update WatchDog implementation
2023-10-02 14:17:29 -07:00
Sumitra Sharma fd4a61233e Update documentation for rotaryio.IncrementalEncoder
Update the documentation in circuitpython/shared-bindings/rotaryio/IncrementalEncoder.c
to explicitly state that rotaryio.IncrementalEncoder assumes the encoder's pins are
connected to ground and sets pull-ups on the pins accordingly.

Closes #5847

Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.com>
2023-10-02 21:18:55 +05:30
Dan Halbert 2fc5a934a1 add back generic subscript iterator, gc_never_free 2023-09-29 23:01:02 -04:00
Dan Halbert 68a2927385 MP_REGISTER_ROOT_POINTER for port-specific root pointers 2023-09-29 15:46:42 -04:00
Dan Halbert 1c388ab315 finish converting to MP_REGISTER_ROOT_POINTER() 2023-09-29 10:49:34 -04:00
Dan Halbert 76ff01452b Trinket M0 comes up; still very much wip 2023-09-28 16:22:10 -04:00
Jeff Epler f80d08e207
Make dot clock displays with a masked portion on the left work 2023-09-27 15:15:32 -05:00
Jeff Epler 6990c37320
Fix calculation of bit-weight for reset pin 2023-09-26 08:33:00 -05:00
Jeff Epler 04ad525c09
Re-work ioexpander_send_init_sequence
* can now send the I2C bus initialization code
 * can now reset the display on an I/O expander pin
 * parameters re-ordered to enable easy use with **board.TFT_IO_EXPANDER
2023-09-25 11:31:16 -05:00
MicroDev 27fd60d739
implement suggested changes
- update the docs
- split out common `watchdog_reset`
- revert to using `None` instead of `WatchDogMode.NONE`
2023-09-24 15:23:38 +00:00
MicroDev 05812e0618
Merge branch 'main' into watchdog-rp 2023-09-24 05:13:22 +00:00
Jeff Epler 477b2300a1
fix definitoin of MidiTrack type 2023-09-22 13:58:01 -05:00
Jeff Epler 5d9b84dcb2
fix definition of MathOperation 2023-09-22 13:57:51 -05:00
Jeff Epler 78a7c6b164
fix getting make_new slot of object 2023-09-22 13:57:31 -05:00
Jeff Epler f812750a76
fix use of mp_type_fileio 2023-09-22 13:56:55 -05:00
Jeff Epler e48984872b
allow definition of namedtuples in core 2023-09-22 13:56:16 -05:00
Jeff Epler 1c09a0b494
fix string construction 2023-09-22 13:53:56 -05:00
Jeff Epler e1af819a91
fix (unused) default for some required args 2023-09-22 13:53:11 -05:00
Jeff Epler 5108c3a11f
whitespace 2023-09-20 11:27:12 -05:00
Jeff Epler 51f49698c2
indentation 2023-09-20 11:27:01 -05:00
Dan Halbert 4d175ab41a convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
Dan Halbert 2c0fa0f7dc initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
Scott Shawcroft e39fbf1b26
Merge pull request #8401 from jepler/i2c-expander-init
Fast(ish) special purpose bitbang spi over i2c
2023-09-18 13:19:49 -07:00
Jeff Epler 91b98dc9d5
fix constness 2023-09-15 14:45:53 -05:00
Jeff Epler c7b7e22195
remove debug print 2023-09-15 11:16:43 -05:00
Jeff Epler 4b41fdb586
Fast(ish) special purpose bitbang spi over i2c
with the i2c bus operating at 400kHz this achieves a 4.8kHz SPI clock
rate which could be worse.

It accepts the same style of init sequence as displayio.

tested by scoping the pins on the espressif lcd dev kit with a dummy init sequence:
```python
dotclockframebuffer.ioexpander_send_init_sequence(
    bus=bus,
    i2c_address=expander_addr,
    gpio_address=1,
    gpio_data_len=1,
    gpio_data=0xff,
    cs_bit=1,
    mosi_bit=3,
    clk_bit=2,
    init_sequence=init_sequence)
```
2023-09-14 14:42:48 -05:00
Dan Halbert 9f1d52601e merge from 8.2.x 2023-09-12 20:14:30 -04:00
Dan Halbert d8aeceb706 SSLContext.load_verify_locations - no kw-only args 2023-09-12 12:45:46 -04:00
Scott Shawcroft 885dbec599
Merge pull request #8357 from eightycc/memorymap
Add memorymap support to RP2 port
2023-09-08 11:28:11 -07:00
Bob Abeles 0e0941d6fd Review changes 2023-09-07 16:45:45 -07:00
Jeff Epler c3c2b84584
fix typo, copyright notice 2023-09-07 12:57:45 -05:00
Bob Abeles 1e178318cf review update, add RP2040 example 2023-09-06 19:59:40 -07:00
Bob Abeles 66b3eccaf6 8334: RP2040 lacks raw memory map access 2023-08-31 20:25:20 -07:00
Jeff Epler 80a1d1a20a
Add support for a non-displayed left portion of screen 2023-08-31 14:52:26 -05:00
Jeff Epler ed9cacf41d
Add DotClockFramebuffer 2023-08-30 10:30:15 -05:00