Commit Graph

8340 Commits

Author SHA1 Message Date
Scott Shawcroft fcde108d03
Merge pull request #6194 from jepler/revamp-duplicate-usb-check
Improve the USB vid:pid duplicate checker
2022-03-24 14:57:48 -07:00
Scott Shawcroft ac7977ba75
Merge pull request #6191 from tannewt/esp_3_wire_spi
Fix 3-wire SPI on ESP
2022-03-24 14:51:16 -07:00
Scott Shawcroft 9d4c74a87e
Merge pull request #6197 from ZodiusInfuser/servo
Added board definition for upcoming Pimoroni servo driver.
2022-03-24 14:44:44 -07:00
jerryneedell bcec1e44f0 add status LED to nrf pca10059 dongdle 2022-03-24 15:05:02 -04:00
ZodiusInfuser 8e98be2704 Added additional constants 2022-03-24 18:32:39 +00:00
ZodiusInfuser 9c81ea86e9 Added board definition for upcoming Pimoroni servo driver. 2022-03-24 16:07:04 +00:00
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 380a7087d4
Fix 3-wire SPI on ESP
Simplifying the checks fixed it.

Fixes #6141
2022-03-23 14:53:46 -07:00
Scott Shawcroft ee4c501936
Merge remote-tracking branch 'adafruit/main' into c3_serial_jtag 2022-03-23 12:17:02 -07: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
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
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
Jeff Epler 4465adfe01
Merge pull request #6175 from tannewt/mdns
Add mdns module
2022-03-21 15:55:03 -05:00
Scott Shawcroft 92d946fcac
Guard against NULL result 2022-03-21 10:15:46 -07:00
lady ada fdf27eee12 add feather esp32-s3 8mb flash, 0 psram 2022-03-19 23:04:20 -04:00
Scott Shawcroft 6f0d62d85e
Formatting and shrink build size on C3 2022-03-18 12:05:54 -07: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
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 78cb61c7a3
Turn off traceback on bluemicro833 2022-03-17 11:38:27 -07:00
Michael Himing da92d508c2 lilygo_ttgo_t-01c3: Add creation ID 2022-03-17 19:21:34 +11:00
Michael Himing de168b106c Add board lilygo_ttgo_t-01c3 2022-03-17 17:24:24 +11:00
Scott Shawcroft c098474854
Disable aesio and traceback on matrixportal to save space 2022-03-16 10:41:17 -07:00
Dan Halbert af9f80daeb
Merge pull request #6144 from tannewt/back_to_idf4.4
Update ESP-IDF to fix PinAlarm
2022-03-15 17:10:42 -04:00
Scott Shawcroft dcc3ec171e
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2 2022-03-15 13:56:11 -07:00
Scott Shawcroft 4ffbf0830b
Merge pull request #6157 from arms22/ssci_isp1807_micro_board
Add board ssci_isp1807_micro_board
2022-03-15 13:42:34 -07:00
Scott Shawcroft 1a73b44679
Merge pull request #6156 from arms22/ssci_isp1807_dev_board
Add board ssci_isp1807_dev_board
2022-03-15 13:41:54 -07:00
Scott Shawcroft fd17ba6d91
Merge pull request #6143 from ZodiusInfuser/badger
Added built-in display bringup for Badger2040
2022-03-15 13:28:00 -07:00
arms22 2b4917bbf5 change USB_PID 2022-03-15 14:54:29 +09:00
arms22 7482148a78 Add board ssci_isp1807_micro_board 2022-03-15 14:39:32 +09:00
arms22 b671ba81b9 Add board ssci_isp1807_dev_board 2022-03-15 14:29:24 +09:00
Dan Halbert ff0b3a9f50
Merge pull request #6153 from tannewt/refine_autoreload
Further refine autoreload
2022-03-14 22:22:08 -04:00
Scott Shawcroft f602296e59
Re-enable BLE on MatrixPortal. Remove PortalBase
We have a guide that uses it. It was removed in #6043 without
realizing that.

Fixes #6152
2022-03-14 17:04:46 -07:00
Scott Shawcroft 32ac396a41
Further refine autoreload
This unifies the delay into the post-run delay that also waits
for user input and fake sleep. This ensures we always delay.
Previous code would only delay if the code.py was running when
autoreload was triggered. Now it will always delay.

We also now suspend autoreload when a USB write starts and then
resume on completion. This should prevent reloading in between
sectors of a single write.
2022-03-14 16:49:30 -07:00
ZodiusInfuser af2862ead9
Removed trailing whitespace 2022-03-14 22:28:28 +00:00
ZodiusInfuser a778469082 Inverted the display pixels to match the expected CPY behaviour 2022-03-14 11:12:03 +00:00
Dan Halbert f13d218749
Merge pull request #6125 from tannewt/usb_host
Start of USB host API
2022-03-11 21:41:28 -05:00
Scott Shawcroft 7cb66dd316
Merge pull request #6142 from dhalbert/7.2.x-autoreload-fake-sleep
7.2.x autoreload rework (again)
2022-03-11 16:46:04 -08:00
Scott Shawcroft a719fabbb6
Shrink bluemicro833 build 2022-03-11 16:04:12 -08:00
Scott Shawcroft 96dd11a198
Update ESP-IDF to fix PinAlarm
Fixes #5973
2022-03-11 14:40:49 -08:00
ZodiusInfuser eab5f00548 Added built-in display bringup for Badger2040 2022-03-11 20:10:42 +00:00
Dan Halbert e4cd9690f1 rework auto-reload delay logic 2022-03-11 14:03:04 -05:00
Dan Halbert 862210b3fb
Merge pull request #6135 from CircuitART/main
merge hexky_s2 board
2022-03-11 07:48:54 -05:00