Commit Graph

17377 Commits

Author SHA1 Message Date
Ryan T. Hamilton
daa1dd278d connect now accepts bssid 2020-09-16 16:25:17 -07:00
Ryan T. Hamilton
fead60d2d8 Add BSSID to Network 2020-09-15 23:32:53 -07:00
Dan Halbert
3c6af94fb3
Merge pull request #3384 from jepler/feather_m4_can
atmel-samd: add same51, feather_m4_can
2020-09-14 23:57:51 -04:00
Jeff Epler
067a975875 update submodules to merge commits 2020-09-14 17:22:30 -05:00
Scott Shawcroft
a60906d7df
Merge pull request #3392 from hierophect/esp32-displayio-fix
Fix some DisplayIO crashes, add ESP32-S2 debugging capability
2020-09-14 14:56:51 -07:00
Scott Shawcroft
3d8bac50e4
Merge pull request #3397 from tannewt/fix_size_0_bug
Fix bug with socket.recv_into size == 0.
2020-09-14 14:47:28 -07:00
Scott Shawcroft
1f43ddcbf1
Merge pull request #3418 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-09-14 14:29:00 -07:00
Jeff Epler
30cfac08e2
Added translation using Weblate (Greek) 2020-09-14 21:09:11 +02:00
Jeff Epler
32c8d9ec83
Merge pull request #3415 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-09-14 12:18:45 -05:00
Lucian Copeland
e504438fd2 Remove unlicensed file, fix reset pin type check 2020-09-14 11:58:13 -04:00
Lucian Copeland
ecc219fe50 Merge remote-tracking branch 'upstream/main' into esp32-displayio-fix 2020-09-14 10:44:31 -04:00
Wellington Terumi Uemura
6bf6995022
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (795 of 795 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-09-14 15:47:37 +02:00
Jeff Epler
94e261370b
Merge pull request #3413 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-09-14 08:47:30 -05:00
Hosted Weblate
90b21ce548
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/
2020-09-14 04:29:00 +02:00
Jeff Epler
814339abb9
Merge pull request #3405 from jepler/implicit-fallthrough-diagnostic
Enable implicit fallthrough diagnostic, note intentional fallthroughs.
2020-09-13 21:28:51 -05:00
Jeff Epler
9409a2c34c
Merge pull request #3412 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-09-13 20:41:06 -05:00
Jeff Epler
b3bdd4686b PacketBuffer: add missing 'break's, remove unneeded {} 2020-09-13 15:10:38 -05:00
Jeff Epler
af24c8ae06 Merge remote-tracking branch 'origin/main' into implicit-fallthrough-diagnostic
Conflict in locale/circuitpython.pot resolved with 'make translate'
2020-09-13 14:21:21 -05:00
Hosted Weblate
bbf2e98827
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/
2020-09-13 21:19:10 +02:00
Jeff Epler
73ad78ed1b
Merge pull request #3395 from microDev1/safeMode
Add esp32s2 safe mode support & fix user_safe_mode output
2020-09-13 14:18:59 -05:00
Jeff Epler
90f7340bfc move implicit-fallthrough warning enable to defns.mk 2020-09-13 13:13:09 -05:00
Jeff Epler
a81a2cff02
Merge pull request #3411 from jepler/ble-doc-typo
_bleio: fix markup typo
2020-09-13 12:50:12 -05:00
microDev
506bb097f7
Update safe_mode.c 2020-09-13 23:17:14 +05:30
microDev
36da92075b Update safe mode reason 2020-09-13 22:57:24 +05:30
Jeff Epler
e5122b1acf _bleio: fix markup typo 2020-09-13 11:56:34 -05:00
microDev
5deac8d249 Update board specific safe mode message 2020-09-13 18:22:40 +05:30
Limor "Ladyada" Fried
ca136db210
Merge pull request #3407 from ladyada/qtpy_m0
cutie variant
2020-09-12 21:58:46 -04:00
lady ada
cc57ef8368 add to buildyml! 2020-09-12 19:58:27 -04:00
lady ada
2fac4851a5 fix typo, tested hardware, neopixel doesnt work tho 2020-09-12 19:56:13 -04:00
lady ada
6fff4ec00d cutie variant 2020-09-12 19:00:26 -04:00
Jeff Epler
11eb55cade
Merge pull request #3406 from CarlFK/main
doc fix: remove the text about the non-existing clock specification
2020-09-12 17:51:28 -05:00
Jeff Epler
01fdd9598a disable iimplicit-fallthrough warning inside asf4
.. there is an instance of it that looks like a "true positive", but it only
affects sdhc transfers that are not a multiple of 4 bytes, which I don't think
happens. (sd card blocks are always 512 bytes)  I can fix this in our
asf4 repo but that would mean this should be deferred until after #3384 is
merged, since that also touches asf4 very invasively by adding a whole new
chip family.
2020-09-12 17:48:42 -05:00
Jeff Epler
7151ee85ce _bleio: add missing break statement 2020-09-12 16:30:12 -05:00
Carl Karsten
2f058029e9 doc fix: remove the text about the non-existing clock specification 2020-09-12 15:25:04 -05:00
Jeff Epler
487de0551c
Merge pull request #3401 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-09-12 15:21:43 -05:00
Jeff Epler
5729097bc4 atmel-samd: enable build error for implicit fallthrough
If any diagnostics occur, we will want to either add `/* FALLTHROUGH */`
or `break;` as appropriate.  I only tested a few builds (trinket m0
and metro m4 express)
2020-09-12 15:11:29 -05:00
Jeff Epler
12d826d941 Add FALLTHROUGH comments as needed
I investigated these cases and confirmed that the fallthrough behavior
was intentional.
2020-09-12 15:11:29 -05:00
Jeff Epler
4d70872b2b make translate 2020-09-12 15:11:02 -05:00
Jeff Epler
54d97251fe modstruct: Improve compliance with python3
While checking whether we can enable -Wimplicit-fallthrough, I encountered
a diagnostic in mp_binary_set_val_array_from_int which led to discovering
the following bug:
```
>>> struct.pack("xb", 3)
b'\x03\x03'
```
That is, the next value (3) was used as the value of a padding byte, while
standard Python always fills "x" bytes with zeros.  I initially thought
this had to do with the unintentional fallthrough, but it doesn't.
Instead, this code would relate to an array.array with a typecode of
padding ('x'), which is ALSO not desktop Python compliant:
```
>>> array.array('x', (1, 2, 3))
array('x', [1, 0, 0])
```
Possibly this is dead code that used to be shared between struct-setting
and array-setting, but it no longer is.

I also discovered that the argument list length for struct.pack
and struct.pack_into were not checked, and that the length of binary data
passed to array.array was not checked to be a multiple of the element
size.

I have corrected all of these to conform more closely to standard Python
and revised some tests where necessary.  Some tests for micropython-specific
behavior that does not conform to standard Python and is not present
in CircuitPython was deleted outright.
2020-09-12 14:07:23 -05:00
Wellington Terumi Uemura
7cb60d3b69 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (793 of 793 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-09-12 20:18:38 +02:00
Limor "Ladyada" Fried
b24d3b886a
Merge pull request #3399 from jepler/feather-m4-quadspi
feather_m4_express: Use quad data mode on flash
2020-09-12 14:18:32 -04:00
Jeff Epler
4fa419a751
Merge pull request #3390 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-09-12 12:27:07 -05:00
microDev
e9f411bebc Add translation for safe mode 2020-09-12 18:10:04 +05:30
microDev
4da478382d Fix serial console output & add more boards 2020-09-12 17:46:52 +05:30
Scott Shawcroft
8f58669ddd
Fix bug with socket.recv_into size == 0.
It returned 0 when it should have filled the buffer.

Python reference: https://docs.python.org/3/library/socket.html#socket.socket.recv_into
2020-09-11 16:17:20 -07:00
Hosted Weblate
5197085d79 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/
2020-09-11 21:48:01 +02:00
Scott Shawcroft
7611e71a1b
Merge pull request #3374 from kmatch98/shape_update
Add dirty rectangle tracking to Shape display element
2020-09-11 12:47:54 -07:00
Scott Shawcroft
01daf5b8ce
Merge pull request #3378 from DavePutz/issue3266
Fix for #3266: ensure SPI lock is free after a soft reboot
2020-09-11 12:41:06 -07:00
root
870326b221 Moved SPI unlock code 2020-09-11 10:54:46 -05:00
microDev
305bed6d9e Added esp32s2 safe_mode & fixed user_safe_mode 2020-09-11 21:06:54 +05:30