Commit Graph

19312 Commits

Author SHA1 Message Date
jun2sak
0f188befb6 set RAM retention just before deep sleep 2021-02-24 00:12:25 +09:00
jun2sak
105042e870 move dump_xxx functions to debug_uart.c. 2021-02-23 12:22:33 +09:00
jun2sak
ec64fa6a29 move dump_xxx functions to debug_uart.c. 2021-02-23 12:16:37 +09:00
jun2sak
372c98626a move all the debug codes from port.c to debug_uart.c. 2021-02-23 11:56:40 +09:00
jun2sak
9df0f439f3 alarm/pin/__init__.c is no longer used. 2021-02-23 10:31:49 +09:00
jun2sak
5c858a1925 add weak board_deinit(). 2021-02-21 16:27:21 +09:00
jun2sak
62b38e273b update translation file. 2021-02-21 15:37:51 +09:00
jun2sak
1da8b9900a Merge branch 'main' into nrf52-sleep 2021-02-21 13:35:06 +09:00
jun2sak
36c59250dd some cleanups. 2021-02-21 09:57:14 +09:00
jun2sak
d659c2ce34 move port-specific debug functions from supervisor/shared/serial.c to ports/nrf/supervisor/port.c 2021-02-21 09:55:10 +09:00
jun2sak
793198909e set SleepMemory size to 256 bytes. 2021-02-21 08:19:39 +09:00
jun2sak
41d9d4e0ab call sd API only when sd enabled. 2021-02-21 08:17:57 +09:00
Dan Halbert
cf3217e6d4
Merge pull request #4232 from TG-Techie/fix_tg_watch
fix TG-Watch ble issue
2021-02-20 18:10:52 -05:00
Jonah Yolles-Murphy
d8715ac92a update adafruit_register 2021-02-20 16:04:31 -05:00
Jonah Yolles-Murphy
a9a2145238 fix TG-Watch ble issue 2021-02-20 15:46:33 -05:00
Dan Halbert
2074244bce
Merge pull request #4229 from jepler/update-ulab-175
update to ulab 1.7.5
2021-02-20 14:19:17 -05:00
Jeff Epler
dde2b8dfb3 update to ulab 1.7.5 2021-02-20 10:05:39 -06:00
jun2sak
26f8f532f1 safe mode fix. 2021-02-21 00:47:07 +09:00
Scott Shawcroft
5d154937d6
Merge pull request #4187 from hierophect/manual-tests
Create tests/_manual, add Socket tests
2021-02-19 18:44:27 -08:00
Scott Shawcroft
fdf9d04a75
Merge pull request #4225 from jepler/update-doc-excludes
docs: ignore the idf_tools folder
2021-02-19 18:42:18 -08:00
Scott Shawcroft
7b6f89a074
Merge pull request #4215 from dhalbert/secondary-cdc
Second USB CDC (serial) channel
2021-02-19 18:34:03 -08:00
Scott Shawcroft
220f86f873
Merge pull request #4223 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-19 18:28:27 -08:00
Jose David M
2529c263de
Translated using Weblate (Spanish)
Currently translated at 100.0% (963 of 963 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-02-20 02:10:27 +01:00
Dan Halbert
985e020936 shrink simmel build 2021-02-19 18:41:27 -05:00
Dan Halbert
076a7b7161 CIRCUITPY_BITOPS merge error 2021-02-19 15:30:27 -05:00
Dan Halbert
67406488d1 merge from upstream; re-alphabetize 2021-02-19 14:22:50 -05:00
Dan Halbert
9d4442e298 handle reads/writes larger than buffers; add .write_timeout 2021-02-19 14:15:31 -05:00
Jeff Epler
f50e7c71f8 docs: ignore the idf_tools folder 2021-02-19 10:48:00 -06:00
Hosted Weblate
e37ec5199c
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-02-19 03:29:16 +01:00
Hosted Weblate
552f25255f Merge remote-tracking branch 'origin/main' into main 2021-02-19 03:29:13 +01:00
Jose David M
df1789c270
Translated using Weblate (Spanish)
Currently translated at 91.4% (878 of 960 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-02-19 03:29:13 +01:00
Jeff Epler
1cd4e4552e
Merge pull request #4219 from jepler/bit_transpose
Add Bit transpose function to support piopixl8
2021-02-18 20:29:05 -06:00
Jeff Epler
b854c06a0c make translate 2021-02-18 17:23:55 -06:00
Jeff Epler
5c758523c0 requested changes 2021-02-18 17:19:34 -06:00
Jeff Epler
ffae89b191 bitops: fix argument parsing 2021-02-18 16:10:57 -06:00
Jeff Epler
72e8fb085c remove debug print during build 2021-02-18 16:01:23 -06:00
Jeff Epler
d56fe7691d bitops: doc correction 2021-02-18 15:44:51 -06:00
Jeff Epler
7fd4567893 bitops: rename from _bit_transpose, describe the algorithm 2021-02-18 15:41:23 -06:00
Lucian Copeland
e77981f86e Fix file ends for CI 2021-02-18 16:26:14 -05:00
Lucian Copeland
0ecb24c3e5
Merge pull request #4169 from hierophect/stm32-i2cstart
STM32: Fix I2C repeated start by converting to IT mode
2021-02-18 15:19:00 -05:00
Dan Halbert
e344c6d684 fix some builds 2021-02-18 14:24:58 -05:00
Scott Shawcroft
e29178cf94
Merge pull request #4213 from jepler/raspberrypi-urandom2
raspberrypi: implement os.urandom
2021-02-18 10:41:41 -08:00
Scott Shawcroft
6921862d67
Merge pull request #4217 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-18 10:39:12 -08:00
Jeff Epler
ac0ffc5656 _bit_transpose: fix docs 2021-02-18 11:45:48 -06:00
Jeff Epler
c284728621 bit_transpose: Support from 2 to 7 strands, not just 8 2021-02-18 11:33:13 -06:00
Jeff Epler
9cf7d73c6c core: add bit_transpose function
.. this version can only handle exactly 8 bits "across".  The restriction
may be relaxed in a future revision.
2021-02-18 11:32:47 -06:00
Dan Halbert
5c37b73c6d fix typo to fix nrf builds 2021-02-18 11:09:32 -05:00
Luca De Filippo
84d3c0d02f
Translated using Weblate (Italian)
Currently translated at 45.0% (432 of 960 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/it/
2021-02-18 16:50:24 +01:00
Dan Halbert
ed49c02feb add timeout; finish up for PR 2021-02-17 23:24:11 -05:00
Jeff Epler
ab5eb86118 raspberrypi: implement os.urandom
Since the datasheet cast some doubt on the strength of the "rosc_hw->randombit",
I use the SHA256 hash function to create a high quality random seed
from random values of uncertain entropy, as well as to generate a sequence
of random values from that seed using SHA256 as a cryptographically-secure
random number generator.

In practice, it produces over 100kB/s of random data which does not
have any gross problems according to _PractRand_.
2021-02-17 17:49:25 -06:00