foamyguy
67fd815e27
maximum value validation for bitmap constructor
2023-02-10 17:39:38 -06:00
foamyguy
bb4cccc1cd
use range instead of min where applicable to consolodate bounds checks
2023-02-10 17:26:01 -06:00
gamblor21
19eba41630
Doc fixes and return next frame delay
2023-02-08 22:58:44 -06:00
foamyguy
efe48e61ed
argument bounds validation for bitmap.blit()
2023-02-06 17:03:49 -06:00
gamblor21
dbe518680a
Memory savings and more properties
2023-02-05 10:54:04 -06:00
gamblor21
2b26242c66
need gif.c in shared-bindings to build
2023-02-04 18:38:07 -06:00
gamblor21
6a9b7199ec
Initial gif proof of concept
2023-02-04 16:44:29 -06:00
foamyguy
beb4a797ff
bitmap fill, __get_item__, and __set_item__ positive validation
2023-02-04 12:37:43 -06:00
foamyguy
547ca5a452
bitmap constructor positive validation
2023-02-04 12:02:06 -06:00
MicroDev
d9d94eacca
run updated pre-commit
2023-02-01 13:38:41 +05:30
MicroDev
4ef363a797
improve dualbank and storage extension docs
2023-01-29 23:16:45 +05:30
Neradoc
f0058774d0
add CIRCUITPY_SKIP_SAFE_MODE_WAIT to circuitpy_mpconfig.mk
...
use #if (also a CIRCUITPY_ULAB)
2023-01-29 00:56:16 +01:00
MicroDev
cda5689263
move esp32_camera
to espcamera
2023-01-27 22:05:43 +05:30
Maciej Sokołowski
e474df3a18
Add function for drawing polygons to bitmaptools
2023-01-20 23:14:38 +01:00
Dan Halbert
7dd76fc7e4
Merge pull request #7467 from matemaciek/main
...
Allow lines with ends out of bitmap in `bitmaptools_obj_draw_line`
2023-01-19 21:11:17 -05:00
Maciej Sokołowski
483f14b73f
Allow lines with ends out of bitmap in bitmaptools_obj_draw_line
2023-01-19 21:37:25 +01:00
Scott Shawcroft
dca66eb98c
Watch for ctrl-c over BLE workflow serial
...
Before this, it was impossible to interrupt a running program over
BLE.
2023-01-18 16:28:35 -08:00
Dan Halbert
79b76f7bea
Merge pull request #7445 from tannewt/fix_rpi_mdns
...
Share the web workflow MDNS object with the user
2023-01-17 14:46:38 -05:00
Colin B
bfba1e4100
Change common_hal_mcu_processor_set_frequency to void
...
* Add warning about setting RP2040 frequency
2023-01-16 21:26:13 -08:00
Scott Shawcroft
8b0db804ba
Fix SPI readinto with negative start or end
2023-01-12 16:25:11 -08:00
Scott Shawcroft
987d9a31c8
Fix pin_or_none
2023-01-12 16:03:45 -08:00
Scott Shawcroft
ee2fe993dd
Fix repeated MDNS use on Pico W
2023-01-12 14:56:06 -08:00
Scott Shawcroft
ca80f30348
Share the web workflow MDNS object with the user
...
Fixes #7369
2023-01-11 16:05:19 -08:00
Scott Shawcroft
aa2ba4d88b
Have start and end kwargs respect element size
...
The comment says it is `buffer[start:end]` but it assumed elements
were a single byte long. Now it correctly does multibyte elements
from array.array.
Fixes #4988
2023-01-11 15:36:41 -08:00
Dan Halbert
a974402542
Improve type validation errors messages, especially for pins
2023-01-10 15:02:55 -05:00
Colin B
a84a8855ed
Add frequency setting for RP2040 boards.
2023-01-07 17:41:37 -08:00
Scott Shawcroft
6b3ae630a9
Improve time alarm doc
...
Fixes #7406
2023-01-04 14:16:35 -05:00
Dan Halbert
03b43b7b3f
complete rework for microcontroller.cpu.frequency and wifi.radio MAC addresses
2023-01-02 11:45:58 -05:00
Dan Halbert
a3adcf0e1a
clarify read-only mac address; reuse translate msgs
2023-01-02 10:13:20 -05:00
Jeff Epler
928fb0a9c4
Make the "name or service not known" message translatable
2022-12-26 13:58:31 -06:00
Scott Shawcroft
c16b42e972
Tweak arg checking and comments
2022-12-20 11:00:13 -05:00
Scott Shawcroft
f8ac1d9261
Rework the coproc API
...
It is now a generic `memorymap` API and an ESP specific `espulp` module.
Fixes #7218 . Fixes #3234 . Fixes #7300 .
2022-12-19 14:08:38 -05:00
Jeff Epler
297657ea9a
Refactor so that all sites of name lookup failure result in gaierror
2022-12-14 14:45:32 -06:00
Jeff Epler
5ac622a30d
get rid of nearly-empty getenv.c file
2022-12-13 13:13:01 -06:00
Jeff Epler
3459fe322b
Withdraw the _environ module
...
This existed solely for testing, so expose it a different way during
the unix coverage build
Also turn off os.getenv support on samd21.
2022-12-08 15:33:10 -06:00
Jeff Epler
a05829528b
_environ: update documentation
2022-12-08 13:36:48 -06:00
Jeff Epler
ef2bfdb5db
dotenv becomes settings.toml
2022-12-08 12:44:20 -06:00
s-ol
99b8564e8f
Add VfsFat.readonly property for getting current state
...
Previously the only other way of determining whether the Vfs has been mounted
read-write or read-only appears to be to attempt a write operation and detect a
possible OSError.
It wasn't possible for the user code to keep track of the state of the state
since the boot VM has to decide whether to (re)mount read-write or read-only,
but can't (easily) pass this information on to the runtime VM.
2022-12-08 14:45:24 +01:00
Scott Shawcroft
4c064c263e
Merge pull request #7294 from tannewt/analogbufio_rework
...
Rework the analogbufio API.
2022-12-02 14:53:16 -08:00
Scott Shawcroft
d6c3dfb461
Merge pull request #7297 from jepler/chain-exception-doc
...
Implement the chain= argument of traceback.print_exception
2022-12-02 14:53:03 -08:00
Scott Shawcroft
f7504ff857
Tweaks based on review comments
2022-12-02 10:19:31 -08:00
Jeff Epler
b83c42e41a
Implement the chain= argument of traceback.print_exception
2022-12-02 10:50:31 -06:00
Scott Shawcroft
9e104c04ae
Merge pull request #7215 from FoamyGuy/set_root_group
...
displayio.show() API change
2022-12-02 08:45:20 -08:00
Scott Shawcroft
255e997345
Rework the analogbufio API.
...
* read() is now readinto() and takes the buffer to write into.
* readinto() returns the number of valid samples.
* readinto() can be interrupted by ctrl-c.
* readinto() API doesn't support signed numbers because it never did.
* sample_rate is now required in the constructor because supported
values will vary per-port.
* 16 bit values are full range. 12 bit samples from RP2040 are stretched
in the same way they are for AnalogIn.
Fixes #7226
2022-12-01 17:46:07 -08:00
Dan Halbert
082b0d1aed
Merge pull request #7191 from jepler/fastpixelmap
...
Add a fast PixelMap-like class
2022-12-01 11:43:00 -05:00
foamyguy
0563487433
get slicing
2022-11-30 19:16:20 -06:00
Jeff Epler
530e5a1df2
Use standard validation function
2022-11-30 14:39:51 -06:00
Jeff Epler
c46e219795
Having an input-only pin is rare, save a string on other ports
2022-11-30 14:39:49 -06:00
Jeff Epler
d39d146352
Merge some messages
2022-11-30 14:39:47 -06:00
Jeff Epler
f67bca94c4
On python3 log(0) raises math domain error, not zerodivisionerror
2022-11-30 14:39:33 -06:00