mybadzZzZz#1
Merged
Merged
Conversation
Ringbuf: fix PacketBuffer; clean up ringbuf implementation and use
Currently translated at 65.8% (476 of 723 strings) Translation: CircuitPython/circuitpython-master Translate-URL: https://later.unpythonic.net/projects/circuitpython/circuitpython-master/fr/
Currently translated at 65.8% (476 of 723 strings) Translation: CircuitPython/circuitpython-master Translate-URL: https://later.unpythonic.net/projects/circuitpython/circuitpython-master/fr/
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/
Currently translated at 67.9% (495 of 729 strings) Translation: CircuitPython/circuitpython-master Translate-URL: https://later.unpythonic.net/projects/circuitpython/circuitpython-master/de/
STM32: Add displayio to F7/H7
…hon-master Translations update from Weblate
Currently translated at 65.1% (477 of 732 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
Translations update from Weblate
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 https://github.com/Legrandin/pycryptodome/tree/39626a5b01ce5c1cf51d022be166ad0aea722177/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>
This is the result of running `make translate` after creating aesio. Signed-off-by: Sean Cross <sean@xobs.io>
mimxrt10xx: add one-directional SPI
stm: enable RGBMatrix
aes: add initial AES module
Documentation Fix: Typo in RTC.
Currently translated at 92.3% (689 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
Currently translated at 92.8% (693 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
Currently translated at 92.8% (693 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
Currently translated at 100.0% (746 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
Currently translated at 68.9% (514 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/es/
Currently translated at 100.0% (746 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
Currently translated at 100.0% (746 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
Currently translated at 100.0% (746 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
Currently translated at 66.6% (497 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/de/
Currently translated at 66.6% (497 of 746 strings) Translation: CircuitPython/master Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/de/
Translations update from Weblate
This section immediately follows the .bss section, and is designed to contain uninitialized variables that should persist across reboots. The section is placed directly after .bss, under the theory that the size of Circuit Python's .bss + .data is bigger than the bootloader's .bss + .data, so there is less likely to be a conflict. Signed-off-by: Sean Cross <sean@xobs.io>
Previously, it was placed following .bss. However, now that there is a new section after .bss, the heap must be moved forward. Signed-off-by: Sean Cross <sean@xobs.io>
Circuit Python supports saving a single word of data across reboots. Previously, this data was placed immediately following the .bss. However, this appeared to not work, as Circuit Python zeroes out the heap when it starts up, and the heap begins immediately after the .bss. Switch to using the new .uninitialized section in order to store this word across resets. Signed-off-by: Sean Cross <sean@xobs.io>
Store the RTC value in the .uninitialized section, but make sure to flank it with some known values. That way we can determine if the RTC value has been initialized, or if it's random uninitialized garbage. As part of this, add a `common_hal_rtc_init()` routine to determine if the value is correct, or reset it to 0 if it is not valid. Signed-off-by: Sean Cross <sean@xobs.io>
Call the new function to set the RTC, or reset it if the offset is not valid. Signed-off-by: Sean Cross <sean@xobs.io>
This change takes polygon from 126k pixels per second fill to 240k pps fill on a reference 5 point star 50x66px polygon, updating both location and shape at 10hz. Tested on an m4 express feather. As a curiosity, the flat-out fill rate of a shape whose get_pixel is `return 0;` fills just shy of 375k pixels per second.
vectorio: speed up polygon
Add bytearray.decode() for CPython compatibility
NRF: Persist RTC offset across reboots
add weblate status badge in readme
mimxrt10xx: Fix cpu.temperature crash
mimxrt1010: Increase max SPI speed
Add support for a debug console, such as ST-Link VCP.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
C# tittle