Commit Graph

25683 Commits

Author SHA1 Message Date
Trammell Hudson
4ab00d7125 mp_hal_delay_ms: avoid overflow when scaling ticks
This patch casts the delay argument to mp_hal_delay_ms()
from mp_uint_t to uint64_t when scaling from milliseconds
to ticks to avoid 32-bit integer overflow when time.sleep()
is called with a duration of greater than 70 minutes.

Signed-off-by: Trammell Hudson <hudson@trmm.net>
2021-09-17 17:28:03 +00:00
microDev
be3fca81e7
fix espidf docs 2021-09-17 21:27:18 +05:30
microDev
87dc84af3c
more ci docs build changes
- some refactoring
- add doc build tools to search pattern
- build all if trigger event is not a pr
2021-09-17 19:13:03 +05:30
microDev
f5ef2559fe
Merge pull request #5363 from Neradoc/nera-fix-doci2c
Remove leftover stop from I2C.writeto docs
2021-09-17 18:54:10 +05:30
Neradoc
23e4f08bc6 Remove leftover stop from I2C.writeto docs 2021-09-17 15:17:39 +02:00
microDev
1f82fa9d99
Merge pull request #5358 from jepler/import-paralleldisplay
paralleldisplay: make it actually importable
2021-09-17 12:10:11 +05:30
Pierre Constantineau
fd7d094f7c adding necesary includes 2021-09-16 21:43:31 -06:00
Pierre Constantineau
29db2078f1 New Board: Pykey60 2021-09-16 21:12:31 -06:00
Jeff Epler
72bfd39a17 keypad: Event: add timestamp.
this will probably need simplification before it fits on constrained
boards.
2021-09-16 21:08:05 -05:00
Jeff Epler
2916167bf4 paralleldisplay: make it actually importable 2021-09-16 14:11:16 -05:00
Max Holliday
0f8cb5618f
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-16 12:12:36 -06:00
Max Holliday
4eda8b04c4 removing redudant pycubed v04 board defs 2021-09-16 12:12:15 -06:00
Dan Halbert
42523a1832
Merge pull request #5357 from dhalbert/revert-5341
Revert #5341. Does not work on power-cycle.
2021-09-16 12:24:59 -04:00
Dan Halbert
a5dc0fef5f Revert #5341. Does not work on power-cycle. 2021-09-16 11:59:43 -04:00
Max Holliday
1ccaeeb619
adding back heritage pycubed board defs 2021-09-15 14:36:27 -06:00
Max Holliday
4f10a91f85 moving boot counter to main() and re-adding old pin names for SD_CS 2021-09-15 14:33:54 -06:00
Max Holliday
5b69aa0a58
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-15 14:23:56 -06:00
microDev
e91fb247a3
build docs dynamically 2021-09-16 00:05:42 +05:30
Scott Shawcroft
3cc4f25a1c
Merge pull request #5337 from hathach/tinyusb-compliance-stm-imxrt-esp32
update tinyusb to have esp32sx, stm32 and imxrt passed compliance test suite
2021-09-14 22:40:13 -07:00
microDev
a5e83d39f1
Merge pull request #5347 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-09-15 10:42:07 +05:30
Hosted Weblate
6401cb1443
Merge remote-tracking branch 'origin/main' into main 2021-09-15 04:08:37 +02:00
Dan Halbert
ad663cbdf9
Merge pull request #5348 from tannewt/fix_s2_hang
Clear the buffer byte between ATB and FTB
2021-09-14 22:08:30 -04:00
Dan Halbert
9e8c6b2bab Shrink pca10100 some more 2021-09-14 21:37:30 -04:00
Dan Halbert
02dc0481c5 shrink stm32f411ve_discovery 2021-09-14 19:50:46 -04:00
Hosted Weblate
98cf17ff69
Merge remote-tracking branch 'origin/main' into main 2021-09-15 01:27:45 +02:00
Dan Halbert
59b1bedcda
Merge pull request #5333 from microDev1/patch
Make `next_code_allocation` and `prev_traceback_allocation` movable
2021-09-14 19:27:40 -04:00
Scott Shawcroft
e544909b5b
Clear the buffer byte between ATB and FTB
This ensures it has a known start state. An unknown state risks it
looking like a tail block similar to the problem fixed by #5245.

Fixes #5305
2021-09-14 16:24:37 -07:00
Hosted Weblate
0704becce7
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-09-15 01:23:23 +02:00
Scott Shawcroft
dfba2ee26e
Merge pull request #5342 from tannewt/rename_esp32s2_to_espressif
Rename esp32s2 port to espressif
2021-09-14 16:23:14 -07:00
Dan Halbert
0ab4df6f2f shrink some SAMD21 builds, and nrf simmel 2021-09-14 17:10:49 -04:00
Dan Halbert
81e28308c2 Revert "turn off inline-unit-growth and max-inline-insns-auto uses"
This reverts commit 94d76e0f48.
2021-09-14 16:56:04 -04:00
Scott Shawcroft
6d43dd0dca
Try and fix build 2021-09-14 11:10:55 -07:00
microDev
8520c430a7
Merge pull request #5341 from urish/patch-1
Enable WFI for raspberrypi port
2021-09-14 22:10:02 +05:30
microDev
ec179d2a58
Merge pull request #5345 from dhalbert/restore-sdioio
Restore sdioio name (was sdio)
2021-09-14 22:06:22 +05:30
Dan Halbert
94d76e0f48 turn off inline-unit-growth and max-inline-insns-auto uses 2021-09-14 12:15:21 -04:00
Dan Halbert
31e1b89f9f Restore sdioio name (was sdio) 2021-09-14 11:01:12 -04:00
Scott Shawcroft
6bf0db7a81
Merge pull request #5340 from tannewt/ble_file_modification
BLE file service v4
2021-09-13 23:35:54 -07:00
Scott Shawcroft
973a90f2aa
Rename esp32s2 port to espressif
This is in preparation for ESP32-S3 support and potentially others.

Related to #4363
2021-09-13 16:44:55 -07:00
Scott Shawcroft
4659102cfe
Factor out common code and comment it 2021-09-13 16:12:40 -07:00
Dan Halbert
650ce17c0d
Fix formatting 2021-09-13 19:12:21 -04:00
Uri Shaked
e5290a2886
Enable WFI for raspberrypi port
See #5331 for details
2021-09-14 01:09:15 +03:00
Scott Shawcroft
b0adf65d94
Bump to v4 with move and dir path tweaks 2021-09-13 14:46:14 -07:00
Scott Shawcroft
64ff8d9e19
v3 BLE file service: Add file modification times 2021-09-13 14:46:14 -07:00
Dan Halbert
9b2d8ade2f
Merge pull request #5338 from lesamouraipourpre/bitmaptools-readinto
Correct the 24bit decoding in bitmaptools.readinto()
2021-09-13 17:11:26 -04:00
Dan Halbert
3e9cf8fa54
Merge pull request #5339 from tannewt/shrink_pca10100
Trade RAM for flash on pca10100
2021-09-13 17:11:14 -04:00
Scott Shawcroft
5d90991745
Trade RAM for flash on pca10100 2021-09-13 12:04:27 -07:00
James Carr
56ecdee5a0
Correct the 24bit decoding in bitmaptools.readinto() 2021-09-13 19:50:35 +01:00
microDev
3cb2ab318d
Merge pull request #5330 from lesamouraipourpre/vectorio-docs
Update the docs for vectorio
2021-09-14 00:18:14 +05:30
hathach
8b3ce25ce0 update tinyusb to have esp32sx, stm32 and imxrt passed compliance test suite 2021-09-13 23:25:30 +07:00
James Carr
5f519b8ba9
Update shared-bindings/vectorio/Polygon.c
As per microDev1

Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-09-13 17:04:46 +01:00