microDev
26fd2c6223
Add hostname validation
2020-10-15 16:08:01 +05:30
microDev
18fbff4f57
Update wifi hostname method
2020-10-14 11:11:59 +05:30
microDev
ceb531086e
Add method to set custom hostname
2020-10-13 14:22:02 +05:30
Jeff Epler
5e38bb98cb
rgbmatrix: update protomatter to 1.0.5 tag
...
this is compile-tested on
stm32f405 feather
matrixportal
nrf52840 feather
but not actually tested-tested.
2020-10-10 14:30:37 -05:00
Scott Shawcroft
375676ff58
Merge pull request #3501 from hierophect/esp32-analogin
...
ESP32S2: Add AnalogIn
2020-10-09 14:10:24 -07:00
Scott Shawcroft
9fcf96cb64
Replace _bleio.ConnectionError with the native version
...
Replace uses of _bleio.ConnectionError with regular ConnectionError
Fixes #3008
2020-10-07 17:11:32 -07:00
Scott Shawcroft
8c428a3bdd
Merge pull request #3492 from hierophect/esp32-update-idf
...
ESP32S2: move to official IDF submodule
2020-10-06 16:53:32 -07:00
Lucian Copeland
68cb384f8f
Remove logging from shared-bindings, fix translations, revert config target macro
2020-10-06 13:29:12 -04:00
hierophect
e93a274f2f
Merge branch 'main' into esp32-analogin
2020-10-05 13:02:42 -04:00
Scott Shawcroft
c27e3857b6
Merge branch 'main' into framebuffer-zero-size
2020-10-01 11:04:21 -07:00
Jeff Epler
e477d27be3
Update shared-bindings/rgbmatrix/RGBMatrix.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2020-10-01 10:59:02 -05:00
Scott Shawcroft
5ac3c36d64
Merge pull request #3450 from mdroberts1243/New_quirk_for_SH1107
...
New quirk for sh1107
2020-09-30 12:03:10 -07:00
Mark Roberts
9f19a8a760
Ran pre-commit locally
2020-09-30 11:06:13 -07:00
Lucian Copeland
66b8559fd4
Change submodule, rework all includes
2020-09-30 11:26:07 -04:00
Jeff Epler
88cbf772df
canio.CAN: clarify read-only status of several properties
2020-09-29 20:13:52 -05:00
Jeff Epler
e4b9c16891
rgbmatrix: Check that the number of rgb pins is supported.
...
Having zero RGB pins may not have been caught, nor having a non-multiple-of-6
value. Generally, users will only have 6 RGB pins unless they are driving
multiple matrices in parallel. No existing breakouts exist to do this, and
there are probably not any efficient pinouts to be had anyway.
2020-09-29 19:55:31 -05:00
Jeff Epler
176b337611
rgbmatrix: validate width= constructor parameter
...
In #3482 , @cwalther noted that, hypothetically, a zero byte allocation
could be made in the RGBMatrix constructor. Ensure that width is positive.
Height was already checked against the number of RGB pins if it was specified,
so zero is ruled out there as well.
2020-09-29 19:44:25 -05:00
Jeff Epler
d79f4e2662
canio: doc improvement -- don't needlessly call out deinit behavior
2020-09-29 14:32:27 -05:00
Jeff Epler
611f81ac1a
canio: actually drop the _error_count properties
...
thanks @tannewt
2020-09-29 14:25:53 -05:00
Jeff Epler
1bea099eb2
Allow the _state_count properties to be unimplemented
...
This is the case on the SPI implementations MCP2515 and MCP2518.
2020-09-29 14:05:50 -05:00
Jeff Epler
03bd968450
more doc improvements
2020-09-28 19:56:19 -05:00
Jeff Epler
979ec3a458
can: RemoteTransmissionRequest: remove duplicate docstrings
2020-09-28 19:47:06 -05:00
mdroberts1243
b1e1237887
Merge branch 'main' into New_quirk_for_SH1107
2020-09-28 19:40:47 -04:00
Jeff Epler
04e434a7ce
canio: remove stray remote_transmission_request method declaration
2020-09-28 17:22:02 -05:00
Jeff Epler
f4e36fc7f6
CAN: Use mp_obj_t insteaed of canio_message_obj_t, get rid of rtr field
2020-09-28 17:22:00 -05:00
Jeff Epler
13493730a1
canio: CAN.Match: improve how an unspecified mask
is implemented
...
0 should actually indicate a "match everything" filter which you otherwise
couldn't indicate with any single Match object, and an
all-address-bits-set number should indicate a "match single address"
filter. Use an optional/default None argument to do the job.
2020-09-28 17:22:00 -05:00
Jeff Epler
4f7f1e8106
canio: CAN.listen: rename argument to 'matches', reflecting that it is a sequence
2020-09-28 17:22:00 -05:00
Jeff Epler
a4cc3ad6cb
canio: RemoteTransmissionRequest: Split implementation, keep one structure
...
This already begins obscuring things, because now there are two sets of
shared-module functions for manipulating the same structure, e.g.,
common_hal_canio_remote_transmission_request_get_id and
common_hal_canio_message_get_id
2020-09-28 17:22:00 -05:00
Jeff Epler
ea2f5b6396
canio: Correct type annotations of CAN.send, Listener.receive
2020-09-28 17:22:00 -05:00
Jeff Epler
f4fd5bbfc4
canio: docs: fix how we refer to 'the listen method'
2020-09-28 17:22:00 -05:00
Jeff Epler
8d45be1cd9
canio: Split RemoteTransmissionRequest to its own class
...
It reuses most of canio.Message's implementation, and structure
2020-09-28 17:22:00 -05:00
Jeff Epler
48bda589b8
Listerner: read -> receive, drop readinto
...
This prepares for creating a separate RemoteTransmissionRequest class
2020-09-28 17:22:00 -05:00
Jeff Epler
79ca430ddf
Match: address -> id
2020-09-28 17:22:00 -05:00
Jeff Epler
8b82c239b8
canio: doc improvements
2020-09-28 17:22:00 -05:00
Scott Shawcroft
2c8ee08520
Merge pull request #3471 from tannewt/i2c_100k
...
Change I2C default to 100khz
2020-09-25 14:08:25 -07:00
Scott Shawcroft
b9d68bc5a6
Change I2C default to 100khz
...
Greater that 100khz is technically out of the original spec.
Background here: https://github.com/adafruit/Adafruit_CircuitPython_CLUE/issues/36
2020-09-25 11:07:22 -07:00
askpatricw
33952023e8
Print package if it exists for pin or module only if it does not
2020-09-25 10:08:26 -07:00
Mark Roberts
06a3d15266
Mostly-working-version with comments
2020-09-24 22:07:33 -04:00
Scott Shawcroft
dd86cb00ad
Merge pull request #3448 from hierophect/esp32-sd-fix
...
ESP32S2 - Fix SPI's SD card issue, add pin protections
2020-09-23 12:30:01 -07:00
Lucian Copeland
00517b2600
Move missing pin warning to shared-bindings
2020-09-23 11:39:39 -04:00
Jeff Epler
82f37c9252
canio: fix read(), iterable bindings
2020-09-22 10:28:25 -05:00
Jeff Epler
9fd9cf1138
canio: fix bugs in shared-bindings
2020-09-22 09:36:47 -05:00
Mark Roberts
5536e574db
Changes to compile cleanly
2020-09-21 22:08:16 -04:00
Mark Roberts
f21dc253e0
Initial commit bool column_and_page_addressing
2020-09-21 18:42:16 -04:00
Jeff Epler
10245c0ff8
canio: a few more stray _canios
2020-09-21 17:04:30 -05:00
Jeff Epler
a8147c125c
Fix unintentional cross references
2020-09-21 16:47:28 -05:00
Jeff Epler
4869dbdc67
canio: rename from _canio
...
This reflects our belief that the API is stable enough to avoid incompatible changes during 6.x.
2020-09-21 16:44:26 -05:00
Jeff Epler
493679da3b
CAN.listen: block until a message comes in or timeout is reached
2020-09-21 16:44:26 -05:00
Jeff Epler
9e8f1820c8
canio.CAN: switch rx/tx, make both mandatory, move declarations around
2020-09-21 16:44:26 -05:00
Jeff Epler
fd9df164c0
canio: Message: remove size property
...
This is just duplicating what len(message.data) gives you.
2020-09-21 16:44:26 -05:00