Dan Halbert
616201109c
correct MP_TYPE_FLAG_NONE to MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS
...
also remove #include py/objproperty.h where not needed
(side effect of looking for property uses)
2023-11-04 22:51:41 -04:00
Daniel James
1309235cd8
Updates for CircuitPython 9.x
2023-10-30 20:53:26 -07:00
Daniel James
f9d3ec5027
Support for publishing TXT records via mDNS
...
- Update lwIP+Raspberry Pi implementation to use lwIP API correctly
- Add translations
2023-10-30 20:39:38 -07:00
Jeff Epler
774f6ac6ab
Switch to using MP_ERROR_TEXT instead of translate, globally
2023-10-30 09:49:06 +01:00
Radomir Dopieralski
8123dc8bf7
Fix keypad classes to show the events property
...
It looks like we need the MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS flag on
the class for properties to work, and the Keys, KeyMatrix and
ShiftRegisterKeys classes were missing it, so the "events" property
didn't appear on the instances.
2023-10-28 19:33:37 +02:00
Dan Halbert
32b6ac79d5
Merge pull request #8519 from jepler/compressed-message-type
...
Rename compressed_string_t to mp_rom_error_text_t to match upstream
2023-10-27 10:53:44 -04:00
Scott Shawcroft
f439f02492
Add warnings
and warn about displayio changes
...
Follow up to #8493
2023-10-25 15:45:45 -07:00
Scott Shawcroft
c2f20080de
Fix qrio named_tuple declaration
2023-10-25 13:12:37 -07:00
Jeff Epler
de541cf155
Fix pointer-ness, const-ness of compressed messages
...
micropython puts the pointer-ness into the typedef; we can put the
const-ness there too.
this reduces the delta to micropython; for instance, emitinlinextensa
and emitinlinethumb now match upstream.
2023-10-25 21:40:11 +02:00
Scott Shawcroft
9354c921c2
Merge pull request #8467 from pypewpew/qrio-find
...
Add qrio.QRDecoder.find() to locate codes without decoding
2023-10-25 11:51:06 -07:00
Scott Shawcroft
0a1e36d298
Add friendlier error when .show() used
...
Fixes #8499
2023-10-25 09:44:18 -07:00
Jeff Epler
55874b6470
Rename compressed_string_t to mp_rom_error_text_t to match upstream
2023-10-25 08:14:13 +02:00
Scott Shawcroft
53bc6d4bd1
Fix docs build by splitting out support matrix
2023-10-24 16:20:51 -07:00
Scott Shawcroft
e62db5adcd
Fix native property setting from subclass
2023-10-24 16:20:51 -07:00
Scott Shawcroft
e1df598199
Split displayio hardware support from core
...
These are moved:
* Display -> busdisplay.BusDisplay
* FourWire -> fourwire.FourWire
* EPaperDisplay -> epaperdisplay.EPaperDisplay
* I2CDisplay -> i2cdisplaybus.I2CDisplayBus
`paralleldisplay` is now `paralleldisplaybus` (and registered as
`paralleldisplay` too).
Bus related helpers are split out of display_core into bus_core.
It is in still displayio since it is a dependency of both
busdisplay and epaperdisplay.
Fixes #7667
2023-10-24 15:43:34 -07:00
Scott Shawcroft
168c40e940
Merge pull request #8508 from dhalbert/v1.21-merge
...
V1.21 merge
2023-10-24 15:36:06 -07:00
Scott Shawcroft
89467ecdab
Merge tag '8.2.7' into merge_in_8.2.7
2023-10-20 15:21:30 -07:00
Dan Halbert
4b42a6f4a0
restore old uzlib; remove remaining U and u prefixes
2023-10-19 21:29:57 -04:00
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
Radomir Dopieralski
12b6a9b5be
Add qrio.QRDecoder.find() to locate codes without decoding
...
Fix #8452
2023-10-14 21:57:54 +02: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
Scott Shawcroft
4c21f22114
Improve RGBMatrix allocation tracking
...
This prevents leaks but not all use-after-free issues.
2023-09-29 14:55:42 -07: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
Randy Hudson
f5d4f1edb7
Fixed displayio/Bitmap value_count range
2023-09-25 22:11:25 -04: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