Commit Graph

1785 Commits

Author SHA1 Message Date
Christian Walther 0bdff4fd5f Remove addressed TODO comments 2021-07-23 21:00:00 +02:00
microDev e790ff7327
Merge pull request #5036 from tannewt/esp_oserror0
Remove OSError(0) and old network modules
2021-07-23 11:00:56 +05:30
Scott Shawcroft beda1f7998
Merge pull request #5037 from hierophect/getprevtraceback
Add supervisor.get_previous_traceback() function.
2021-07-22 17:00:14 -07:00
Scott Shawcroft 779b5c1850
Merge pull request #5040 from lesamouraipourpre/max-size
Remove the max_size parameter from displayio.Group
2021-07-22 16:56:14 -07:00
Scott Shawcroft 2cb25622d0
Comment where -2 value comes from 2021-07-22 16:38:48 -07:00
James Carr 45fd6dd68c Remove the max_size parameter from displayio.Group
max_size has been ignored for a while with the intention of removing it in 7.0
2021-07-22 19:41:45 +01:00
Lucian Copeland ace04ef600 Formatting fixes 2021-07-22 12:57:10 -04:00
Christian Walther cf97793af8 Add supervisor.get_previous_traceback() function.
Useful for #1084.
2021-07-22 12:23:55 -04:00
Scott Shawcroft f84cb94819
Remove OSError(0) and old network modules
The newer modules are `socketpool` and `ssl`.

Fixes #3924, related to #2021, closes #1880, closes #2273, closes #2274
2021-07-21 17:33:40 -07:00
Jeff Epler 7dfb999391 _typing: ulab.ndarray is moving 2021-07-20 19:49:43 -05:00
Dan Halbert d2f2afe57b
Merge pull request #4925 from microDev1/update-run-mode
Add RunMode.UF2 and update esp32s2 run-modes
2021-07-19 16:37:46 -04:00
Jeff Epler 7896bf7fa3 fix stubs 2021-07-19 10:35:17 -05:00
Jeff Epler 1bbe7282e0 OnDiskBitmap: Allow a filename to be passed to the constructor
.. eventually we'll phase out the old way of constructing with an
open file, but this allows for compatibility between 6.x and 7.0.
2021-07-19 10:08:40 -05:00
microDev 40b085746a
Merge pull request #5006 from tannewt/scanentry_match_all
ScanEntry.matches() kwarg all -> match_all
2021-07-18 09:45:58 +05:30
microDev 9ac607dffa
update run-mode
- add microcontroller.RunMode.UF2
- add UF2, NORMAL and BOOTLOADER run-modes to esp32s2
2021-07-18 00:00:58 +05:30
Dan Halbert 1d1b80f4c1
Merge pull request #5011 from dhalbert/keypad-eventqueue-typos
Correct type name for EventQueue; EventQueue.overflowed not accessible
2021-07-16 18:07:19 -04:00
Dan Halbert e785ddfd6f Correct type name for EventQueue; EventQueue.overflowed not accessible 2021-07-16 14:51:58 -04:00
Kattni Rembor c21e16162c Remove _ from common_hal__adafruit_pixelbuf. 2021-07-16 14:08:39 -04:00
Kattni Rembor dc2907ac1b Rename _pixelbuf to adafruit_pixelbuf, alias. 2021-07-16 13:31:40 -04:00
Scott Shawcroft 448597b4a0
ScanEntry.matches() kwarg all -> match_all
Related to #3007
2021-07-15 14:36:57 -07:00
Dan Halbert 698a392cf1
Merge pull request #4762 from Neradoc/small-timestamps-if-epoch-2000
time.localtime: low timestamps when epoch is 2000
2021-07-15 15:08:09 -04:00
Lucian Copeland e3bc800bbc
Merge pull request #4999 from hierophect/esp-timer-leak
ESP32S2: Fix PWM timer leak and variable frequency conflicts
2021-07-14 13:29:56 -04:00
Lucian Copeland c504a85ecc Add shared bindings check for invalid frequency 2021-07-13 18:22:43 -04:00
microDev 916bd92b0c
update native_uart implementation 2021-07-13 08:56:18 +05:30
microDev fc975d6147
Merge branch 'adafruit:main' into add_uart_subclassing 2021-07-13 08:53:37 +05:30
Scott Shawcroft 9fdecacec7
Merge pull request #4903 from jepler/split-type-objects
Split type objects
2021-07-12 16:37:55 -07:00
Kattni Rembor 4579bf9b12 Rename rainbow to rainbowio 2021-07-12 14:40:01 -04:00
Jeff Epler 52540a9830 Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS 2021-07-12 06:57:59 -05:00
Jeff Epler 1600f11545 Merge remote-tracking branch 'origin/main' into supervisor-ticks 2021-07-11 15:12:55 -05:00
Jeff Epler 7302bc09a7 rename the type flag to EXTENDED for consistency 2021-07-09 14:59:37 -05:00
Kattni Rembor 825a706135 Turn off MIDI on one build, fix name. 2021-07-08 17:31:10 -04:00
Kattni Rembor 289575a811 Adding rainbow module. 2021-07-08 15:55:13 -04:00
James Carr 2e068d0384
Minor docs fix in TileGrid.c 2021-07-07 22:30:30 +01:00
Jeff Epler 317483785f Fix esp32 build errors 2021-07-07 09:07:00 -05:00
Jeff Epler 21e2dfaee2 Fix type checking against struct time 2021-07-07 08:43:18 -05:00
Jeff Epler d37f8a1a5a milestone: a selection of builds succeed 2021-07-06 10:57:44 -05:00
Jeff Epler df56ba207f WIP 2021-07-06 09:25:56 -05:00
Dan Halbert c7ffc2c10b
Merge pull request #4957 from tannewt/ble_serial
Add serial over BLE
2021-07-01 23:05:18 -04:00
Dan Halbert 7f39779f45
Merge pull request #4931 from jepler/struct-time-construct
Allow construction of struct_time from another struct_time
2021-06-30 22:59:46 -04:00
Scott Shawcroft 54cadb96ec
Merge pull request #4952 from jepler/colorconverter-bgr
ColorConverter: Add "BGR" color modes.
2021-06-30 10:19:25 -07:00
Jeff Epler d83a21b984 ColorConverter: Add "BGR" color modes.
The BGR565_SWAPPED mode is needed for OV2640 cameras.
2021-06-30 10:29:31 -05:00
dmcomm ae8ea915d7
Fix pulseio.PulseIn __len__() documentation 2021-06-29 13:38:12 +01:00
microDev fd681ca70a
minor fix for struct_time docs 2021-06-29 08:11:16 +05:30
Jeff Epler 3dcd603e39 time: Fix and better document time.struct_time constructor
INCOMPATIBLE CHANGE: struct_time(1,2,3,4,5,6,7,8,9) is now _rejected_
just as on standad Python.

This incorrect constructor was added by me in #2327; I assumed
without even checking that the `struct_time` constructor was also
compatible with the `namedtuple` constructor, but it is not and has
always been rejected by standard Python (checked 2.7 and 3.9)

This commit restores the specific error message that we used for this
purpose, which was removed in the previous commit either out of laziness
or out of trying to reduce unneeded error strings. In this case, the
alternate string is too misleading (it refers to arguments, not to
sequence elements) so let's put the better message back.
2021-06-28 19:28:00 -05:00
Scott Shawcroft 8a5a7457ab
Merge pull request #4928 from 2bndy5/fix-bus-device-docs
update busio & adafruit_bus_device docs
2021-06-28 15:38:24 -07:00
Dan Halbert ae5080955e
Merge pull request #4938 from dhalbert/displayio.Display-doc-fixes
Fix displayio.Display __init__() signature documentation
2021-06-28 10:35:17 -04:00
Dan Halbert 259d5b9e7d Fix displayio.Display __init__() signature documentation 2021-06-28 09:32:50 -04:00
Jeff Epler 78b20441c1 supervisor: Add a function to get "wrapping" milliseconds
As discussed in #3410, this is a micropython-compatible (though
differently named) function that allows creation of useful time
and deadline functions in pure python.
2021-06-27 20:41:39 -05:00
Jeff Epler cac71a33fc time: Allow constructing a struct_time from another struct_time
Closes: #4917
2021-06-26 20:25:24 -05:00
Brendan 9ff9259d1c fix interlinking in busio docs 2021-06-26 01:50:28 -07:00