Commit Graph

27351 Commits

Author SHA1 Message Date
Jeff Epler
d91ca7369c
Merge remote-tracking branch 'origin/main' into revamp-duplicate-usb-check 2022-03-24 09:44:41 -05:00
Jeff Epler
a07ac72cc5
Improve the USB vid:pid duplicate checker
To me, it made more sense to track which boards go together in a cluster;
when reviewing a request to actually use a duplicate vid/pid, you want
to know what board(s) it is aliasing.

I also revamped the detection of non-USB boards so that a board .mk file
that couldn't be parsed by the code here would raise a problem instead
of just being skipped for the purposes of checking.

There were some lines with comments on the end, and some variation in
capitalization of the IDs. These are all normalized and a (sometimes
unfriendly!) error printed when it's incorrect.

Before this, here were some ways to trick the duplicate vid/pid checker:
```
USB_PID = 0XABCD
USB_PID = 0xAbCd
USB_PID = 0xABCD # harmless comment?
```
None of these things were ever done on purpose.
2022-03-24 09:42:11 -05:00
Scott Shawcroft
8ebab7625e
Merge pull request #6181 from tannewt/c3_serial_jtag
Add USB to Serial/JTAG support for REPL
2022-03-23 14:20:23 -07:00
Scott Shawcroft
ee4c501936
Merge remote-tracking branch 'adafruit/main' into c3_serial_jtag 2022-03-23 12:17:02 -07:00
Dan Halbert
c1b05ce918
Merge pull request #6189 from Neradoc/patch-1
Enable rgb status LED on MakerDiary USB Dongle
2022-03-23 11:07:35 -04:00
Dan Halbert
94bbcf8efe
Merge pull request #6188 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-03-23 08:27:26 -04:00
Jonny Bergdahl
3cccbf3d70
Translated using Weblate (Swedish)
Currently translated at 100.0% (1053 of 1053 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-03-23 09:58:08 +01:00
Scott Shawcroft
2fa182147b
Fix STM non-F4 builds 2022-03-22 23:07:38 -07:00
Scott Shawcroft
f5d90fc84f
Switch to port_serial_* hooks
This makes it easier to integrate port specific serial alongside
the common approaches.
2022-03-22 19:40:33 -07:00
Neradoc
367e0ea901 Enable rgb status LED on MakerDiary USB Dongle 2022-03-22 20:53:12 +01:00
Jeff Epler
35b188d342
Merge pull request #6182 from tannewt/board_def_cleanup
Board definition clean up
2022-03-22 13:56:55 -05:00
Dan Halbert
86418f236f
Merge pull request #6180 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-03-22 14:56:27 -04:00
Scott Shawcroft
110857c12e
Actually turn on serial over Serial/JTAG for QTPy 2022-03-22 11:45:47 -07:00
Scott Shawcroft
b8d1bb1d5d
Shrink C3 builds 2022-03-22 10:46:57 -07:00
Scott Shawcroft
4363361c87
Board definition clean up
Removes:
* AUTORESET_DELAY_MS which never did anything but was introduced
  somehow.
* CIRCUITPY_BOOT_BUTTON in all but one ESP board because they all have
  them. There is a default based on the strapping pins.
* BOARD_USER_SAFE_MODE_ACTION because it was all the same for boards
  with boot buttons. Now the safe mode code manages the message.
2022-03-21 17:58:43 -07:00
Scott Shawcroft
623b6fad16
Fix nested categories in update_sdkconfig.py
Also, mark QTPy C3 as BIN only.
2022-03-21 17:04:19 -07:00
Wellington Terumi Uemura
7b79ec693d
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1053 of 1053 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-03-21 23:57:16 +01:00
Scott Shawcroft
6dd9db31b3
Add USB to Serial/JTAG support for REPL
Adds Adafruit QT Py C3 board that uses it. Also revamps size
check script to work for S3 and C3 as well.

Fixes #6030
2022-03-21 14:03:57 -07:00
Hosted Weblate
2844358d9b
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/
2022-03-21 21:55:18 +01:00
Jeff Epler
4465adfe01
Merge pull request #6175 from tannewt/mdns
Add mdns module
2022-03-21 15:55:03 -05:00
Scott Shawcroft
1ac44a0760
Add missing self in function doc 2022-03-21 10:49:07 -07:00
Scott Shawcroft
92d946fcac
Guard against NULL result 2022-03-21 10:15:46 -07:00
Mark
8dae57a95e
Merge pull request #6176 from FoamyGuy/vectorio_color_number
Vectorio color index
2022-03-21 08:45:22 -05:00
Limor "Ladyada" Fried
479f7cbd42
Merge pull request #6178 from ladyada/main
add feather esp32-s3 8mb flash, 0 psram
2022-03-20 18:42:01 -04:00
foamyguy
366b9fa0f3 add color_index property to docstring 2022-03-20 09:51:42 -05:00
lady ada
fdf27eee12 add feather esp32-s3 8mb flash, 0 psram 2022-03-19 23:04:20 -04:00
Dan Halbert
0708125f59
Merge pull request #6177 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-03-19 17:18:48 -04:00
Jonny Bergdahl
ff618dd8ca
Translated using Weblate (Swedish)
Currently translated at 100.0% (1050 of 1050 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-03-19 17:56:02 +01:00
Wellington Terumi Uemura
cc874ffb47
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1050 of 1050 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-03-19 17:56:01 +01:00
foamyguy
255fdf8eba remove unused import 2022-03-19 11:36:23 -05:00
foamyguy
5db7e33237 color index test script for vectorio shapes. 2022-03-19 11:33:55 -05:00
foamyguy
fe8b9728e7 color index for vectorio shapes. 2022-03-19 11:30:37 -05:00
foamyguy
90fadc58fd implement color_number argument for vectorio.Rectangle 2022-03-18 18:28:29 -05:00
Scott Shawcroft
543940e0a7
Fix the docs 2022-03-18 14:56:20 -07:00
Scott Shawcroft
6f0d62d85e
Formatting and shrink build size on C3 2022-03-18 12:05:54 -07:00
Scott Shawcroft
047afab6d8
Merge pull request #6173 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-03-18 09:41:36 -07:00
Hosted Weblate
66e5c2d78e
Merge remote-tracking branch 'origin/main' 2022-03-18 02:41:12 +01:00
Scott Shawcroft
8319faa032
Merge pull request #6155 from prplz/lilygo_ttgo_t-01c3
Add board lilygo_ttgo_t-01c3
2022-03-17 18:41:05 -07:00
Jeff Epler
e9d81c2826
Add mdns module
This allows for CircuitPython to resolve a .local domain and find
other devices with MDNS services.

First step for #6174
2022-03-17 18:16:16 -07:00
Hosted Weblate
6a0ebccaa4
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/
2022-03-18 01:02:40 +01:00
Hosted Weblate
73d78b3d29
Merge remote-tracking branch 'origin/main' 2022-03-18 01:02:37 +01:00
Fabian Affolter
e8742da4b0
Translated using Weblate (German)
Currently translated at 100.0% (1051 of 1051 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2022-03-18 01:02:37 +01:00
Dan Halbert
bad6cdcfa5
Merge pull request #6160 from tannewt/merge_7.2.2
Merge 7.2.2 changes into main
2022-03-17 20:02:30 -04:00
Scott Shawcroft
51701e6abe
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2 2022-03-17 14:15:55 -07:00
Scott Shawcroft
704a50a694
Merge pull request #6172 from tannewt/supervisor_reload
Fix supervisor.reload
2022-03-17 14:14:13 -07:00
Scott Shawcroft
78cb61c7a3
Turn off traceback on bluemicro833 2022-03-17 11:38:27 -07:00
Scott Shawcroft
a8a4fbb767
Fix supervisor.reload
Fixes #6170
2022-03-17 10:36:45 -07:00
Scott Shawcroft
851a02d791
Merge pull request #6162 from prplz/fix-counter-type-hint
Fix countio.Counter.__init__ type hints
2022-03-17 10:02:25 -07:00
Michael Himing
da92d508c2 lilygo_ttgo_t-01c3: Add creation ID 2022-03-17 19:21:34 +11:00
Michael Himing
196bb4d1f4 lilygo_ttgo_t-01c3: only require .bin file 2022-03-17 17:24:24 +11:00