Commit Graph

19645 Commits

Author SHA1 Message Date
Jeff Epler
16bfe3b41c raspberrypi: RTC: Ensure a time is set
Until a time is set, the RTC is not running, and rtc_get_datetime()
returns false without assigning to the out-parameter.

In CircuitPython, this would manifest as arbitrary values being returned,
since uninitialized storage on the stack was being converted into a timestamp.
2021-03-10 20:20:40 -06:00
Scott Shawcroft
be9e045ee3
Merge pull request #4375 from hathach/rp2040-double-tap-uf2
rp2040 add double reset to uf2
2021-03-10 08:48:07 -08:00
hathach
58fb011070 clean up 2021-03-10 19:03:27 +07:00
hathach
d1c6bb0927 rp2040 add double reset to uf2, also update pico-sdk to 1.1.0 2021-03-10 18:58:23 +07:00
Scott Shawcroft
3b46f2c878
Merge pull request #4366 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-09 18:11:20 -08:00
Hosted Weblate
c7eb174361 Merge remote-tracking branch 'origin/main' into main 2021-03-09 22:07:24 +01:00
Scott Shawcroft
d650849581
Merge pull request #4348 from FBSeletronica/franzininhoWIFI_wrover
Franzininho wifi ESP32-S2 Wrover
2021-03-09 13:07:19 -08:00
Hosted Weblate
ff2f402ac9 Merge remote-tracking branch 'origin/main' into main 2021-03-09 21:59:06 +01:00
Scott Shawcroft
2c3002b327
Merge pull request #4370 from jposada202020/i2cperipheral_ctrlc
I2CPeripheral samd51 corrections in the CTRLC bit
2021-03-09 12:58:59 -08:00
Hosted Weblate
c39e1e9f55 Merge remote-tracking branch 'origin/main' into main 2021-03-09 21:32:30 +01:00
Scott Shawcroft
709cee0aaf
Merge pull request #4371 from jepler/revert-partition-change
Revert "circuitpy_mpconfig: Disable flash multi-partition"
2021-03-09 12:32:20 -08:00
Jeff Epler
1e5ffe1a53 Revert "circuitpy_mpconfig: Disable flash multi-partition"
This reverts commit 156ee4833a.
2021-03-09 11:08:36 -06:00
FBSeletronica
1aad93baa3 Fixing build.yml 2021-03-09 13:58:02 -03:00
FBSeletronica
c4b30420f1 Merge branch 'franzininhoWIFI_wrover' of github.com:FBSeletronica/circuitpython into franzininhoWIFI_wrover 2021-03-09 13:56:00 -03:00
Hosted Weblate
e3b314e1e6 Merge remote-tracking branch 'origin/main' into main 2021-03-09 17:55:57 +01:00
Jonny Bergdahl
48c486807b
Translated using Weblate (Swedish)
Currently translated at 100.0% (975 of 975 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-03-09 17:55:57 +01:00
Wellington Terumi Uemura
d1e3626460
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (975 of 975 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-03-09 17:55:57 +01:00
Dan Halbert
7d92f5aa5a
Merge pull request #4365 from tannewt/tinyusb_2ad
Update TinyUSB
2021-03-09 11:55:50 -05:00
FBSeletronica
c6eb3f98be Fixing build.yml 2021-03-09 13:55:20 -03:00
jposada202020
be90fa80e8 Initial Changes 2021-03-09 10:48:33 -05:00
Hosted Weblate
f83465e371
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-03-09 02:49:53 +01:00
Hosted Weblate
f6fe8440d0 Merge remote-tracking branch 'origin/main' into main 2021-03-09 02:49:51 +01:00
hexthat
183fbbfe23
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (974 of 974 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-03-09 02:49:51 +01:00
Scott Shawcroft
775f1b9e0d
Merge pull request #4329 from jepler/rp2-rotaryio
raspberrypi: Implement rotaryio, improve StateMachine
2021-03-08 17:49:45 -08:00
Scott Shawcroft
e3d4036f2e
Update TinyUSB 2021-03-08 17:24:03 -08:00
Fábio Souza
8dc6c5bf24
Merge branch 'main' into franzininhoWIFI_wrover 2021-03-08 20:58:22 -03:00
Scott Shawcroft
4fc6c7d8c9
Merge pull request #4347 from FBSeletronica/franzininhoWIFI
Adding Circuitpython port for Franzininho WIFI board with the ESP32-S2 wroom module
2021-03-08 15:37:42 -08:00
Scott Shawcroft
b5a955a168
Merge pull request #4354 from jepler/disable-fat-partition
circuitpy_mpconfig: Disable flash multi-partition
2021-03-08 15:25:58 -08:00
Jeff Epler
240909ed57
Merge pull request #4359 from dhalbert/usb_cdc-connect-doc-note
Add caveat for usb_cdc.Serial.connected; fix another doc bug
2021-03-08 15:59:57 -06:00
Jeff Epler
88542e1826
Merge pull request #4355 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-08 09:36:53 -06:00
FBSeletronica
27703f3156 fix quote error 2021-03-08 10:32:37 -03:00
Hosted Weblate
069cf60138 Merge remote-tracking branch 'origin/main' into main 2021-03-08 14:02:52 +01:00
FBSeletronica
5d2631281a Adding franzininho_wifi_wroom in build.yml 2021-03-08 09:46:28 -03:00
FBSeletronica
6052b4e06b Fix build.yml 2021-03-08 09:31:10 -03:00
FBSeletronica
9b0b59d75f updating build.yml with franzininho wifi wroom 2021-03-08 09:01:36 -03:00
FBSeletronica
fe29780afb updating USB_VID and USB_PID for Espressif modules 2021-03-08 08:51:48 -03:00
FBSeletronica
2771e7fe75 Updating USB vendor ID and producfor Espressif modules 2021-03-08 08:47:33 -03:00
Jeff Epler
16f82b9797
Merge pull request #4358 from jepler/count-flash-devices
Automatically count EXTERNAL_FLASH_DEVICES
2021-03-07 21:20:18 -06:00
Jeff Epler
cdb0fda72a Merge remote-tracking branch 'origin/main' into count-flash-devices 2021-03-07 20:26:04 -06:00
Dan Halbert
24ac8152dd Clarify further; fix type error 2021-03-07 20:32:59 -05:00
Dan Halbert
1a6c021239 Add clarifying comment re carriage-return char. 2021-03-07 17:04:27 -05:00
Hosted Weblate
b77d0e5736 Merge remote-tracking branch 'origin/main' into main 2021-03-07 22:16:33 +01:00
Jeff Epler
7ab75fa398
Merge pull request #4356 from jerryneedell/jerryn_blackpill_flash
add GD25Q16C flash to BlackPill
2021-03-07 15:16:29 -06:00
Hosted Weblate
e1f8b8a5b8 Merge remote-tracking branch 'origin/main' into main 2021-03-07 21:55:52 +01:00
Jeff Epler
8f64aae9ca
Merge pull request #4357 from kmatch98/displayio_bitmap
refactor displayio set_pixel for use in bitmap_tools
2021-03-07 14:55:48 -06:00
Dan Halbert
a6cb7d7069 Document readline() and readlines() 2021-03-07 15:34:07 -05:00
Dan Halbert
d919b7fa4a fix #4352 2021-03-07 14:13:20 -05:00
Dan Halbert
8594396a07 Add caveat for usb_cdc.Serial.connected 2021-03-07 14:07:07 -05:00
Jeff Epler
32475ce98c Automatically count EXTERNAL_FLASH_DEVICES (mk2)
Instead of counting words in make, which is slightly awful, notice that
possible_devices is local to external_flash.c, so we can declare the array
with an automatic bound, and then get the count as the element-count
(MP_ARRAY_SIZE) of the array.

Since EXTERNAL_FLASH_DEVICE_COUNT is no longer a global macro, switch
a few sites to using EXTERNAL_FLASH_DEVICES in `#if` checks instead.
2021-03-07 12:51:47 -06:00
Jeff Epler
f1ada8e880 Automatically count EXTERNAL_FLASH_DEVICES 2021-03-07 11:48:39 -06:00