Commit Graph

15913 Commits

Author SHA1 Message Date
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
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
Daniel Pollard
f63ee9fb9b excluded countio from other smaller boards 2020-05-05 16:15:57 +10:00
Daniel Pollard
d5c24b99b8 hallowing m0 - exclude countio 2020-05-05 16:04:28 +10:00
Daniel Pollard
0ecc515544 added missing translation 2020-05-05 15:46:58 +10:00
Daniel Pollard
b43102342a Merge remote-tracking branch 'adafruit/master' into Optical-Encoder-Module 2020-05-05 15:46:13 +10:00
Daniel Pollard
bfa5cd9c13 refactor countio based on feedback 2020-05-05 15:23:38 +10: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
602eabe668
Squeeze hallowing_m0_express build slightly
ko build is a little too big.
2020-05-04 17:18:53 -04:00
Dan Halbert
c377d4bea7
Merge branch 'master' into non-standard-nvm 2020-05-04 16:08:45 -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
dherrada
0e465e63b9
Did audiopwmio, bitbangio, and _bleio 2020-05-01 18:23:27 -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
Yihui Xiong
7dd3ddc06b use Nordic's VID which seems to be allowed
https://devzone.nordicsemi.com/f/nordic-q-a/50638/usb-pid-for-nrf52840
2020-05-01 06:10:43 +00: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