Daniel Pollard
62bdfb74e3
removed lib from catwan_usbstick - updated transalations overflowed
2020-05-12 16:40:23 +10:00
Daniel Pollard
c00f81c0a3
changed branch on protomatter
2020-05-12 16:33:09 +10:00
Daniel Pollard
5e5461e77e
removed countio from catwan_usbstick build
2020-05-12 16:32:35 +10:00
Daniel Pollard
22bf99ccc4
Fixed underline in documentation
2020-05-12 14:52:48 +10:00
Daniel Pollard
ee2cb703c8
merged master
2020-05-12 14:41:28 +10:00
Scott Shawcroft
62b835ad76
Merge pull request #2833 from xiongyihui/pitaya-go
...
add nRF52840 based Makerdiary Pitaya Go
2020-05-11 16:34:27 -07:00
Scott Shawcroft
4937d5f1ca
Merge pull request #2866 from hierophect/stm32-lsetimeout
...
STM32: Fix LSE hang at startup
2020-05-11 16:23:09 -07:00
Scott Shawcroft
1b0c52c8ca
Merge pull request #2877 from rhooper/pixelbuf-doc-fix
...
Pixelbuf doc fix
2020-05-11 15:42:33 -07:00
Scott Shawcroft
55f78bfb70
Merge pull request #2878 from WarriorOfWire/ujson-stream-protocol
...
ujson: work with mp stream protocol for fast & easy read
2020-05-11 15:40:27 -07:00
Scott Shawcroft
801d9655e5
Merge pull request #2881 from DavePutz/Issue2872
...
Added call to rtc_reset() to fix Issue #2872
2020-05-11 15:30:32 -07:00
Lucian Copeland
94949fb46f
Add recovery domain write access, adjust stack
2020-05-11 18:02:40 -04:00
Scott Shawcroft
6cfd73f480
Merge pull request #2883 from tannewt/teensy41
...
Add Teensy 4.1 board definition
2020-05-11 14:54:01 -07:00
Scott Shawcroft
61450cbd56
Add Teensy 4.1 board definition
2020-05-11 13:58:58 -07:00
Lucian Copeland
248704b262
Merge remote-tracking branch 'upstream/master' into stm32-lsetimeout
2020-05-11 14:18:37 -04:00
DavePutz
407938bf3a
Added a check for platforms supporting RTC before calling rtc_reset()
...
Added an #if CIRCUITPY_RTC check for platforms supporting RTC
2020-05-11 12:03:44 -05:00
DavePutz
2ddfab315c
Added call to rtc_reset() in rtc_init()
...
Fix for issue #2872 . The rtc_time_source had not been initialized; causing a time.time() call to fail.
2020-05-11 11:31:18 -05:00
DavePutz
581c9cee08
Merge pull request #2 from adafruit/master
...
update fork
2020-05-11 11:26:37 -05:00
warriorofwire
d8491f3176
ujson: back out overeager loads() change; only change load()
2020-05-10 21:56:01 -07:00
warriorofwire
eb3d5fa453
ujson: do not eat trailing whitespace
...
Ujson should only worry about whitespace before JSON. This becomes apparent when you are using MP stream protocol to read directly from input buffers.
When you attempt to read(1) on a UART (and possibly other protocols) you have to wait for either the byte or the timeout.
Fixes:
- Waiting for a timeout after you have completed reading a correct and complete JSON off the input.
- Raising an OSError after reading a correct and complete JSON off the input.
- Eating more data than semantically owned off the input buffer.
- Blocking to start parsing JSON until the entire JSON body has been loaded into a potentially large, contiguous Python object.
Code you would write before:
```
line = board_busio_uart_port.read_line()
json_dict = json.loads(line)
```
or reaching for fixed buffers and swapping them around in Python.
Code that did not work before that does now:
```
json_dict = json.load(board_busio_uart_port)
```
- This removes the need for intermediate copies of data when reading JSON from micropython stream protocol inputs.
- It also increases total application speed by parsing JSON concurrently with receiving on boards that read from UART via DMA.
- It simplifies code that users write while improving their apps.
2020-05-10 20:45:42 -07:00
Roy Hooper
09fedb3fd5
fix another doc error (pixelsx - thanks @theacodes)
2020-05-10 21:35:37 -04:00
Roy Hooper
70f2ef3f8e
Fix docs some more
2020-05-10 19:50:10 -04:00
Roy Hooper
2f7c0ec8e4
Minor fixes to _pixelbuf.PixelBuf docs
2020-05-10 16:22:01 -04:00
Dan Halbert
90bd931808
Merge pull request #2870 from kattni/pixelbuf-colorwheel-fix
...
Fix colorwheel RGB order and update name
2020-05-09 15:01:39 -04:00
Daniel Pollard
e947e4eb58
removed duplicate build param
2020-05-09 17:56:38 +10:00
Dan Halbert
8d00d99ca0
Shrink hallowing_m0_express to fit ko build
2020-05-08 22:51:21 -04:00
DavePutz
d5671bdba5
Merge pull request #1 from adafruit/master
...
update fork
2020-05-08 15:56:18 -05:00
Kattni Rembor
a83d1d7b4b
Update wheel to colorwheel and fix RGB order.
2020-05-08 14:44:41 -04:00
Kattni Rembor
37e5ff7757
Update colorwheel from GRB to RGB.
2020-05-08 13:25:52 -04:00
Lucian Copeland
5249a7b02c
Add timeout and adjustment to LSI
2020-05-08 12:36:39 -04:00
Dan Halbert
6a5ab57c18
Merge pull request #2867 from jepler/stm32f4xx-rgbmatrix
...
Fix build after #2831 (stm32f4xx rgbmatrix) broke it
2020-05-08 11:28:17 -04:00
Jeff Epler
182ae10080
Fix build after #2831 (stm32f4xx rgbmatrix) broke it
2020-05-07 18:32:50 -05:00
Daniel Pollard
94ca233d97
Update py/circuitpy_mpconfig.mk
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2020-05-08 07:55:11 +10:00
Scott Shawcroft
7eb60b62b8
Merge pull request #2862 from spkuehl/docs-fix-RTC-typo
...
Documentation Fix: Typo in RTC.
2020-05-07 11:35:32 -07:00
Daniel Pollard
84c806a4be
updated descriptions and build variable
2020-05-07 12:42:46 +10:00
spkuehl
af55af216a
Fix type in RTC documentation.
2020-05-06 14:11:11 -05:00
Scott Shawcroft
241ef52841
Merge pull request #2823 from xobs/crypto-aes
...
aes: add initial AES module
2020-05-06 10:54:57 -07:00
Scott Shawcroft
c3b3eb4c21
Merge pull request #2831 from jepler/rgbmatrix-stm
...
stm: enable RGBMatrix
2020-05-06 08:35:25 -07:00
Scott Shawcroft
4519ddebeb
Merge pull request #2841 from hierophect/mimxrt-spi-oneway
...
mimxrt10xx: add one-directional SPI
2020-05-06 08:32:21 -07:00
Sean Cross
b9f62ab14a
locale: add translations for aesio
...
This is the result of running `make translate` after creating aesio.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-06 17:47:44 +08:00
Sean Cross
b168784fa0
aesio: add basic AES encryption and decryption
...
This adds initial support for an AES module named aesio. This
implementation supports only a subset of AES modes, namely
ECB, CBC, and CTR modes.
Example usage:
```
>>> import aesio
>>>
>>> key = b'Sixteen byte key'
>>> cipher = aesio.AES(key, aesio.MODE_ECB)
>>> output = bytearray(16)
>>> cipher.encrypt_into(b'Circuit Python!!', output)
>>> output
bytearray(b'E\x14\x85\x18\x9a\x9c\r\x95>\xa7kV\xa2`\x8b\n')
>>>
```
This key is 16-bytes, so it uses AES128. If your key is 24- or 32-
bytes long, it will switch to AES192 or AES256 respectively.
This has been tested with many of the official NIST test vectors,
such as those used in `pycryptodome` at
39626a5b01/lib/Crypto/SelfTest/Cipher/test_vectors/AES
CTR has not been tested as NIST does not provide test vectors for it.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-06 17:40:06 +08:00
Daniel Pollard
8961dd9fe7
changed build variables as per advice
2020-05-06 09:05:14 +10:00
Daniel Pollard
7f1be814c8
changed build variables as per advice
2020-05-06 09:04:15 +10:00
Jeff Epler
90625d169a
Merge pull request #2858 from weblate/weblate-circuitpython-master
...
Translations update from Weblate
2020-05-05 15:25:59 -05:00
Jeff Epler
2e29f7f141
Translated using Weblate (French)
...
Currently translated at 65.1% (477 of 732 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-05 22:24:11 +02:00
Dan Halbert
4e786fa63a
Merge pull request #2835 from jepler/weblate-circuitpython-circuitpython-master
...
Translations update from Weblate
2020-05-05 15:16:09 -04:00
Lucian Copeland
a1330747e8
text fixes, postpone warning disable
2020-05-05 12:46:30 -04:00
hierophect
c311b5c002
Merge pull request #2842 from hierophect/stm32-h7-displayio
...
STM32: Add displayio to F7/H7
2020-05-05 12:37:08 -04:00
Jeff Epler
fdd0deb0e1
Translated using Weblate (German)
...
Currently translated at 67.9% (495 of 729 strings)
Translation: CircuitPython/circuitpython-master
Translate-URL: https://later.unpythonic.net/projects/circuitpython/circuitpython-master/de/
2020-05-05 15:50:28 +00:00
Tannewt
c1eb33347f
Translated using Weblate (English)
...
Currently translated at 2.9% (21 of 723 strings)
Translation: CircuitPython/circuitpython-master
Translate-URL: https://later.unpythonic.net/projects/circuitpython/circuitpython-master/en_X@pirate/
2020-05-05 15:50:28 +00:00
Weblate Admin
e8ad37c7ea
Translated using Weblate (French)
...
Currently translated at 65.8% (476 of 723 strings)
Translation: CircuitPython/circuitpython-master
Translate-URL: https://later.unpythonic.net/projects/circuitpython/circuitpython-master/fr/
2020-05-05 15:50:28 +00:00