Dan Halbert
23dd7c7c96
Merge pull request #3435 from jepler/fix-sdhc1
...
sdioio: fix code for the case where there is no SDHC1
2020-09-18 17:10:59 -04:00
Dan Halbert
550b42e4d3
Merge pull request #3434 from jepler/same54-disable-cpu-voltage
...
sam e54: disable microcontroller.cpu.voltage
2020-09-18 15:20:43 -04:00
Dan Halbert
749cbe19ab
Merge pull request #3437 from jepler/serial-connected-fix
...
supervisor: Improve serial connection detection
2020-09-18 13:33:04 -04:00
Jeff Epler
28043c94b5
supervisor: Improve serial connection detection
...
These changes remove the caveat from supervisor.runtime.serial_connected.
It appears that _tud_cdc_connected() only tracks explicit changes to the
"DTR" bit, which leads to disconnects not being registered.
Instead:
* when line state is changed explicitly, track the dtr value in
_serial_connected
* when the USB bus is suspended, set _serial_connected to False
Testing performed (using sam e54 xplained): Run a program to show
the state of `serial_connected` on the LED:
```
import digitalio
import supervisor
import board
led = digitalio.DigitalInOut(board.LED)
while True:
led.switch_to_output(not supervisor.runtime.serial_connected)
```
Try all the following:
* open, close serial terminal program
- LED status tracks whether terminal is open
* turn on/off data lines using the switchable charge-only cable
- LED turns off when switch is in "charger" position
- LED turns back on when switch is in Data position and terminal is
opened (but doesn't turn back on just because switch position is
changed)
2020-09-17 18:32:06 -05:00
Jeff Epler
c73182803d
sdioio: fix code for the case where there is no SDHC1
...
.. it doesn't really make a difference (the old code created an empty
else{} statement) but this is more correct.
2020-09-17 18:29:31 -05:00
Jeff Epler
1b29ceaf1a
sam e54: disable microcontroller.cpu.voltage
...
This hangs, and the usual workarounds didn't work.
2020-09-17 18:27:43 -05:00
Scott Shawcroft
7f60ebd6c7
Merge pull request #3426 from tannewt/esp_flash_sizes
...
Add partition layouts for 8 and 16 MB as well.
2020-09-17 13:27:58 -07:00
Scott Shawcroft
4b827b25ad
Merge pull request #2966 from sommersoft/ci_check_vid_pid
...
Automate USB VID/PID Uniqueness Check
2020-09-17 11:48:46 -07:00
Scott Shawcroft
9cf9441ba6
Merge pull request #3393 from tannewt/fix_spi_psram
...
Add non-DMA SPI support.
2020-09-17 11:11:56 -07:00
Scott Shawcroft
78338ac12b
Merge pull request #3417 from hierophect/esp32s2-readme
...
ESP32S2: Add Readme
2020-09-17 10:58:17 -07:00
Scott Shawcroft
c55deb54f0
Merge pull request #3427 from usini/muselab_nanoesp32_s2
...
Added board - Muselab nanoESP32-S2
2020-09-16 12:23:41 -07:00
Scott Shawcroft
fb90daa0ff
Merge pull request #3422 from askpatrickw/rtc-support
...
RTC enabled
2020-09-16 11:12:00 -07:00
Scott Shawcroft
750bc1e04a
Merge pull request #3398 from jepler/better-dictionary-compression
...
compression: Implement @ciscorn's dictionary approach
2020-09-16 11:10:22 -07:00
askpatricw
18285f96e8
RTC is pickd up automatically
2020-09-16 10:13:07 -07:00
Dan Halbert
d774678a0f
Merge pull request #3369 from kamtom480/camera
...
Add camera module
2020-09-16 12:29:58 -04:00
Lucian Copeland
478a4b6405
Clarify location of port root
2020-09-16 10:51:08 -04:00
Jeff Epler
1fc797132a
Merge pull request #3237 from DavePutz/issue3216
...
Issue#3216 - Needed an alternate way to check if background tasks were run
2020-09-16 08:47:33 -05:00
Jeff Epler
a8e98cda83
makeqstrdata: comment my understanding of @ciscorn's code
2020-09-16 08:28:15 -05:00
Rémi Sarrailh
4225f8348f
Change build-arm to build-xtensa in build.yml
2020-09-16 14:59:35 +02:00
Rémi Sarrailh
d538918cfd
Fix name in build.yml
2020-09-16 13:59:59 +02:00
Kamil Tomaszewski
61687c81d8
camera: Pass width and height to take_picture()
2020-09-16 13:55:57 +02:00
Rémi Sarrailh
8be5d616e4
Fix invalid indentation on build.yml
2020-09-16 13:44:09 +02:00
Rémi Sarrailh
c06aeda399
Add Muselab nanoesp32 s2 definition
2020-09-16 13:10:01 +02:00
Scott Shawcroft
2bd169ec32
Add partition layouts for 8 and 16 MB as well.
2020-09-15 18:12:06 -07:00
Scott Shawcroft
95e27bb8bf
Add more PIDs for unique boards
2020-09-15 13:43:35 -07:00
askpatricw
bd381e434f
Revert "code review feedback"
...
This reverts commit f9f614b3a2
.
2020-09-15 13:02:26 -07:00
askpatricw
f9f614b3a2
code review feedback
2020-09-15 11:28:31 -07:00
Jeff Epler
d9e336d39f
supervisor translate: explain the dictionary
2020-09-15 13:18:04 -05:00
askpatricw
8fcdc7da16
RTC enabled
2020-09-14 23:24:44 -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
DavePutz
2a2a8d6457
Merge pull request #28 from adafruit/main
...
Merge from adafruit/main
2020-09-14 16:50:40 -05: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
Lucian Copeland
3640ef2b7f
Fix toctree, incorrect flash port assumptions
2020-09-14 17:37:55 -04:00
DavePutz
4a3be4df91
Sync with adafruit/main
2020-09-14 16:33:25 -05: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
Lucian Copeland
6ecfdda580
Add Readme
2020-09-14 13:18:51 -04: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
DavePutz
4ca8c35f1f
Reverting some changes
2020-09-14 12:05:59 -05:00
DavePutz
da0a0f88f9
Reverting some prior changes
2020-09-14 11:27:08 -05:00
DavePutz
c812bee8f1
Reverting some prior changes
2020-09-14 11:25:59 -05:00
DavePutz
2eca4ee902
Update PulseIn.c
2020-09-14 11:04:45 -05:00
Lucian Copeland
e504438fd2
Remove unlicensed file, fix reset pin type check
2020-09-14 11:58:13 -04:00
DavePutz
c014ac3089
Reworked check for input taking too long
2020-09-14 10:54:57 -05:00
DavePutz
6b93f97de1
Removing some prior changes
2020-09-14 10:53:30 -05:00
DavePutz
127346f7ae
Removing some prior changes
2020-09-14 10:52:46 -05:00
DavePutz
c68098777d
Fixing up locale/circuitpython.pot date
2020-09-14 10:50:57 -05:00
Lucian Copeland
ecc219fe50
Merge remote-tracking branch 'upstream/main' into esp32-displayio-fix
2020-09-14 10:44:31 -04:00