Commit Graph

27326 Commits

Author SHA1 Message Date
Dan Halbert
7ecd7bcac1 Update frozen libraries 2021-12-23 11:50:40 -05:00
Hosted Weblate
a838ead120
Merge remote-tracking branch 'origin/main' 2021-12-23 14:30:16 +01:00
Jeff Epler
900ec91fa6
Merge pull request #5761 from adafruit/7.1.x
Bring 7.1.x changes into main - cascadetoml undo + alarm fixes
2021-12-23 06:30:05 -07:00
hathach
53869d71fd
use family id for s2 and s3 depending on IDF_TARGET 2021-12-23 14:53:00 +07:00
Dan Halbert
41db3f6fb6
Merge pull request #5765 from adafruit/revert-5755-fix-cascadetoml-more
Revert "Fix cascadetoml more"
2021-12-22 22:35:27 -05:00
Hosted Weblate
4bd4856682
Merge remote-tracking branch 'origin/main' 2021-12-23 04:17:38 +01:00
Jeff Epler
c1236fb4d6
Merge pull request #5766 from tannewt/rp2040_sideset_enable
Add sideset_enable support to PIO
2021-12-22 20:17:33 -07:00
Scott Shawcroft
827ad327a5
Only ignore warnings if in gcc >= 11 2021-12-22 18:21:18 -08:00
dronecz
05b814e8b4
Translated using Weblate (Czech)
Currently translated at 5.8% (60 of 1029 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2021-12-23 02:53:48 +01:00
Scott Shawcroft
674c845fb6
Merge pull request #5760 from jepler/rename_under_typing
circuitpython_stubs: Use `circuitpython_typing` for cp-specific typing
2021-12-22 14:05:04 -08:00
Scott Shawcroft
3e13d4f5b5
Add sideset_enable support to PIO
This allows for UART TX via PIO
2021-12-22 12:00:19 -08:00
Scott Shawcroft
9d5ae2e072
Merge pull request #5762 from dhalbert/stale-wakeup-reasons
Fix recording of wake_alarm
2021-12-22 10:21:50 -08:00
Scott Shawcroft
936644c157
Revert "Fix cascadetoml more" 2021-12-22 10:07:30 -08:00
Jeff Epler
828b7d88d8 update sphinx
note that per the https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python
specify "3" for the latest python version (not 3.x as on github actions)
2021-12-22 11:32:54 -06:00
Jeff Epler
fb79d1c1d1 bitmaptools: add missing types
These diagnostics occurred, but weren't treated as errors:
```
[WARN] Missing return type: alphablend on line 38
[WARN] Missing argument type: dest_bitmap on line 38
[WARN] Missing argument type: source_bitmap_1 on line 38
[WARN] Missing argument type: source_bitmap_2 on line 38
```
2021-12-22 11:16:38 -06:00
Jeff Epler
166793f843 circuitpython_stubs: Use circuitpython_typing for cp-specific typing
Installing stubs for a module named `_typing` seems like a dubious
decision.
2021-12-22 11:14:21 -06:00
Danny Staple
174a2cbf25
Fix RST formatting for readthedocs
And also a typo/grammar thing.
2021-12-22 17:03:58 +00:00
Dan Halbert
3bb9a4439d Fix recording of wake_alarm 2021-12-21 21:48:36 -05:00
Michael Bentley
7566d107d5 tools/mpremote: Add mkdir and rmdir to RemoteFS.
This allows the remote MicroPython instance to create and delete
directories from the mounted host filesystem in addition to the already
existing functionality of reading, creating, and modifying files.

Signed-off-by: Michael Bentley <mikebentley15@gmail.com>
2021-12-22 12:13:39 +11:00
Jim Mussared
599b61c086 esp32/machine_bitstream: Replace bit-bang code with RMT-based driver.
This aims to solve glitching issues on long neopixel strips.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-12-22 12:04:13 +11:00
Scott Shawcroft
bea0526954
Merge pull request #5751 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2021-12-21 16:23:16 -08:00
Scott Shawcroft
03a80e429b
Add new line for pre-commit 2021-12-21 16:21:10 -08:00
Dan Halbert
c27c6155e6
Merge pull request #5758 from adafruit/revert-5750-pin-cascadetoml
Revert "pin specific versions of cascadetoml & tomlkit, temporarily"
2021-12-21 17:55:58 -05:00
Scott Shawcroft
0db83f42a4
Revert "pin specific versions of cascadetoml & tomlkit, temporarily" 2021-12-21 11:17:10 -08:00
Jeff Epler
05b70f3a42
Merge pull request #5755 from jepler/fix-cascadetoml-more
Fix cascadetoml more
2021-12-21 09:23:21 -07:00
Hosted Weblate
ff33231c2f
Merge remote-tracking branch 'origin/main' 2021-12-21 17:00:55 +01:00
Dan Halbert
a17d39f989
Merge pull request #5754 from adafruit/7.1.x
Merge 7.1.x to main for cascadetoml workaround
2021-12-21 11:00:47 -05:00
Jeff Epler
f527ef0eb8 pin cascadetoml for windows build too 2021-12-21 08:43:35 -06:00
Jeff Epler
ced98381f1
Merge pull request #5750 from jepler/pin-cascadetoml
pin specific versions of cascadetoml & tomlkit, temporarily
2021-12-21 07:08:29 -07:00
IhorNehrutsa
09fe80d091 esp32/machine_pwm: Keep duty constant when changing frequency.
Save and restore the same duty cycle when the frequency (or frequency
resolution) is changed.  This allows a smooth frequency change.

Also update the esp32 PWM quickref to be clearer.
2021-12-22 00:05:58 +11:00
IhorNehrutsa
4189c64869 esp32/modnetwork: Synchronize WiFi AUTH_xxx constants with IDF values. 2021-12-21 23:56:23 +11:00
0hotpotman0
745003751c Add new board Seeed_XIAO_nRF52840 2021-12-21 19:08:11 +08:00
Damien George
c768704cfd tests/basics/int_big_cmp.py: Add more tests for big-int comparison.
To improve coverage of mpz_cmp and mpn_cmp.

Signed-off-by: Damien George <damien@micropython.org>
2021-12-21 18:00:11 +11:00
Damien George
2c139bbf4e py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive.
This commit makes sure that the value zero is always encoded in an mpz_t as
neg=0 and len=0 (previously it was just len=0).

This invariant is needed for some of the bitwise operations that operate on
negative numbers, because they cannot handle -0.  For example
(-((1<<100)-(1<<100)))|1 was being computed as -65535, instead of 1.

Fixes issue #8042.

Signed-off-by: Damien George <damien@micropython.org>
2021-12-21 18:00:05 +11:00
Damien George
05bea70979 esp8266/etshal.h: Remove unneeded function declarations.
These removed ones are either unused by MicroPython or provided by osapi.h
in the SDK.  In particular ets_delay_us() has different signatures for
different versions of the SDK, so best to let it provide the declaration.

Fixes issue #8095.

Signed-off-by: Damien George <damien@micropython.org>
2021-12-21 14:37:16 +11:00
Hosted Weblate
5d4fbec072
Merge remote-tracking branch 'origin/main' 2021-12-21 03:24:54 +01:00
Dan Halbert
b60a806968
Merge pull request #5752 from jepler/ci-python3
make github-ci install python version "3.x" everywhere we use actions/setup-python (and upgrade to setup-python@v2)
2021-12-20 21:24:47 -05:00
Jeff Epler
d61d8b1020
set up python 3.x and use setup-python@v2 2021-12-20 19:05:51 -06:00
Hosted Weblate
99ada903d1
Merge remote-tracking branch 'origin/main' 2021-12-21 00:41:55 +01:00
Jeff Epler
6072016c7b
Merge pull request #5749 from FoamyGuy/tilegrid_size_props
Tilegrid size properties
2021-12-20 16:41:45 -07:00
dronecz
5e523c498d
Translated using Weblate (Czech)
Currently translated at 4.5% (47 of 1029 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2021-12-20 22:53:46 +01:00
Scott Shawcroft
bd207e4ef9
Merge pull request #5735 from tannewt/kb2040_clk_pin
Add alternative clock pin name to match silkscreen
2021-12-20 12:37:10 -08:00
Scott Shawcroft
1ec3e023d7
Merge pull request #5744 from jepler/update-protomatter
Update protomatter & re-enable rgbmatrix on esp32s2
2021-12-20 12:34:02 -08:00
foamyguy
d08ba86fc4 Revert "code format"
This reverts commit 577358ae99.
2021-12-20 12:09:14 -06:00
foamyguy
8b71519317 code format 2021-12-20 10:48:08 -06:00
Jeff Epler
4125a10d69
pin specific versions of cascadetoml & tomlkit, temporarily 2021-12-20 09:57:26 -06:00
foamyguy
577358ae99 code format 2021-12-20 07:38:16 -06:00
foamyguy
2ce9dc7680 Merge branch 'adafruit_main' into tilegrid_size_props 2021-12-20 07:31:08 -06:00
Matt Trentini
f2b5c99fde stm32/boards/OLIMEX_H407: Fix typo in OLIMEX H407 board.json.
Appears incorrectly as E407 in the download manager.
2021-12-20 12:32:46 +11:00
iabdalkader
bedd9c5463 stm32/boards/make-pins.py: Generate empty ADC table if needed.
If ADCx pins are hidden, print an empty table to prevent linker errors.
2021-12-20 09:41:46 +11:00