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
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
Weblate Admin
a129be22b8
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
Scott Shawcroft
f40db45009
Merge pull request #2799 from dhalbert/ringbuf-fixes
...
Ringbuf: fix PacketBuffer; clean up ringbuf implementation and use
2020-05-05 08:50:22 -07:00
Dan Halbert
e1366d78b1
trivial change to force rebuild
2020-05-04 23:05:47 -04:00
Dan Halbert
b23ff41606
merge from upstream and make translate again (sv.po)
2020-05-04 20:38:29 -04:00
Dan Halbert
0105acb231
Merge remote-tracking branch 'adafruit/master' into ringbuf-fixes
2020-05-04 20:37:32 -04:00
Dan Halbert
c0af9f67b5
make translate
2020-05-04 19:52:24 -04:00
Dan Halbert
b7836aeac6
address review comments
2020-05-04 19:51:08 -04:00
Jeff Epler
dd216b6cad
Merge pull request #2851 from jepler/add-swedish-translation
...
Create empty Swedish (sv) translation
2020-05-04 18:45:59 -05:00
Jeff Epler
fd383c8047
actions: build-riscv: switch to checkout@v2
2020-05-04 17:15:14 -05:00
Jeff Epler
6957aaf4d0
Create empty Swedish (sv) translation
2020-05-04 16:45:00 -05:00
Scott Shawcroft
54eb6d39e4
Merge pull request #2847 from bd34n/external-flash-fix
...
.../external_flash.c: Don't attempt to issue CMD_READ_STATUS2 for devices with only a single_status_byte.
2020-05-04 14:44:10 -07:00
Dan Halbert
bae7a5e433
make translate again
2020-05-04 17:26:59 -04:00
Dan Halbert
d6c6f9f4f0
add PacketBuffer .incoming_ and .outgoing_packet_length
2020-05-04 15:59:45 -04:00
Dan Halbert
4d7e341e44
Merge pull request #2844 from xobs/add-nrf-pca10100
...
nrf: add pca10100
2020-05-04 10:51:01 -04:00
Dan Halbert
e1b5ae36bd
Merge pull request #2849 from simmel-project/simmel-enable-hid
...
nrf: simmel: enable CIRCUITPY_USB_HID
2020-05-04 10:48:53 -04:00
Sean Cross
b128399d1e
nrf: simmel: enable CIRCUITPY_USB_HID
...
Simmel had USB HID disabled in order to save space. However, the board
configuration did not set USB_DEVICES, causing it to inherit the default
device bouquet of MSC,CDC,MIDI,HID. This in turn caused HID to be included
in the USB Configuration Descriptor.
For some reason, this was not a problem in an earlier version of tinyusb or
circuitpython. However, in the most recent version this has rightfully
caused asserts to appear during configuration.
Re-enable USB_HID for now, as it doesn't add too much in terms of space.
We may disable it again later on if we become pressed for space.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-04 15:37:53 +08:00
Sean Cross
cb4fc894d7
nrf: add pca10100
...
This is the nRF52833-DK board.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-04 15:07:49 +08:00
Brian Dean
28179a3aaf
.../external_flash.c: Don't attempt to issue CMD_READ_STATUS2 for
...
devices with only a single_status_byte.
2020-05-03 18:33:01 -04:00
Lucian Copeland
61b0994631
Fix flag typo
2020-05-01 14:46:06 -04:00
Scott Shawcroft
242063e1d0
Merge pull request #2838 from spkuehl/UART_sharedbinding_fix
...
Fix #2814 Corrected UART output.
2020-05-01 11:05:24 -07:00
Lucian Copeland
bc581fbdfb
Add-unidirectional-SPI
2020-05-01 13:15:38 -04:00
spkuehl
a3a2dd0f70
Corrected UART output.
2020-04-30 19:14:51 -05:00
Scott Shawcroft
b3b6a64ed7
Merge pull request #2685 from tannewt/lower_power
...
Lower power by using the Wait for Interrupt (WFI) instruction
2020-04-30 15:24:03 -07:00
Scott Shawcroft
a863b0a349
Fix openmv_h7 build
2020-04-30 13:46:12 -07:00
Scott Shawcroft
1ca90572f1
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-30 13:25:31 -07:00
hierophect
10c5bf666e
Merge pull request #2836 from hierophect/stm32-openmv-pid
...
STM32: Add correct PID for the OpenMV
2020-04-30 16:07:34 -04:00
Lucian Copeland
06b62721b3
Increase H7 filesystem size
2020-04-30 15:49:17 -04:00
Scott Shawcroft
74a2d0944a
Merge pull request #2834 from Teknikio/fix/bluebird_pinout
...
Update teknikio bluebird pin assignments
2020-04-30 11:50:02 -07:00
Lucian Copeland
435aa3d055
Add correct PID for the OpenMV
2020-04-30 14:49:47 -04:00
Lucian Copeland
4f71bd295d
Make PulseIO optional within DisplayIO
2020-04-30 14:47:50 -04:00
Scott Shawcroft
f44e1d6a8d
Merge pull request #2828 from simmel-project/add-simmel
...
WIP: add simmel board
2020-04-30 11:40:34 -07:00
Scott Shawcroft
7c4f307db3
Merge pull request #2832 from hierophect/stm32-openmv
...
STM32: Add the OpenMV-H7 R1 board
2020-04-30 11:32:06 -07:00
Lucian Copeland
89ff5589c4
Add the OpenMV-H7 R1 board
2020-04-30 12:39:20 -04:00
Jeff Epler
e5be728c1c
stm: enable protomatter
...
Testing performed: on stm32f405 feather, all pins change in plausible ways
on a logic probe. Didn't actually drive a display yet.
2020-04-30 08:58:58 -05:00
JoeBakalor
36a71560c2
update teknikio bluebird pin assignments
2020-04-30 09:58:27 -04:00
Dan Halbert
b0383f4aff
make translate; remove PO-Revision-Date to reduce merge changes in .po files
2020-04-30 09:18:48 -04:00
Dan Halbert
7337ea4955
fix support_matrix.py to handle ?=
2020-04-30 00:54:46 -04:00