Commit Graph

19960 Commits

Author SHA1 Message Date
Lucian Copeland
8a2143f161 Clean up comments and debugging pins 2021-04-02 17:40:40 -04:00
Lucian Copeland
9240146b22 Make light sleep store true alarm object to global map 2021-04-02 16:58:42 -04:00
Lucian Copeland
66a1583183 Implement fake and true deep sleep alarm differentiation 2021-04-02 15:13:10 -04:00
Lucian Copeland
17585e1e07 Clean up API 2021-04-02 14:08:48 -04:00
Lucian Copeland
91e530d36c Resolve wake alarm crash 2021-04-02 13:42:22 -04:00
Lucian Copeland
4f52554eb3 Fix to RTC reset 2021-04-01 20:53:25 -04:00
Lucian Copeland
33418ce826 Merge remote-tracking branch 'upstream/main' into stm-alarm 2021-03-29 13:39:14 -04:00
Lucian Copeland
d35a307ffa Merge branch 'sleep-api-update' into stm-alarm 2021-03-29 12:27:25 -04:00
Jeff Epler
f73625877d
Merge pull request #4490 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-29 08:02:17 -05:00
hexthat
dfac6d9f62
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (970 of 970 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-03-29 10:26:59 +02:00
Lucian Copeland
00178ca5e0 Sleep API changes, redundancy fix 2021-03-27 14:14:57 -04:00
Hosted Weblate
277b0d1f0d Merge remote-tracking branch 'origin/main' into main 2021-03-27 18:49:41 +01:00
Jeff Epler
010232574e
Merge pull request #4468 from jepler/metro-m7-dup-pins
remove duplicate RX/TX pin lines
2021-03-27 12:49:33 -05:00
Lucian Copeland
529fb52309 Style changes and wakeup detection 2021-03-27 13:16:12 -04:00
Hosted Weblate
bca327ec9a Merge remote-tracking branch 'origin/main' into main 2021-03-27 04:00:16 +01:00
Dan Halbert
a13da2ad57
Merge pull request #4486 from kmatch98/displayio_area_expand
`displayio` and `vectorio`: move to displayio_area_union and away from _expand
2021-03-26 23:00:05 -04:00
Hosted Weblate
0280064640 Merge remote-tracking branch 'origin/main' into main 2021-03-27 01:21:57 +01:00
Limor "Ladyada" Fried
9ac8ea587a
Merge pull request #4499 from dhalbert/rp2040-lengthen-sda-tx-hold-time
Length RP2040 I2C SDA hold time
2021-03-26 20:21:52 -04:00
Hosted Weblate
9f1b68578b Merge remote-tracking branch 'origin/main' into main 2021-03-27 00:34:55 +01:00
Limor "Ladyada" Fried
f8cd7d777f
Merge pull request #4497 from jepler/spi-enhancements
Spi enhancements
2021-03-26 19:34:50 -04:00
Dan Halbert
03340a3fcd Incorporate https://github.com/adafruit/pico-sdk/pull/2 2021-03-26 18:55:45 -04:00
Jeff Epler
583fc76cf5 run uncrustify 2021-03-26 15:38:20 -05:00
Hosted Weblate
0501c8d79f Merge remote-tracking branch 'origin/main' into main 2021-03-26 20:58:39 +01:00
Jeff Epler
999f713423
Merge pull request #4487 from jepler/fix-spi-gaps
Fix spi gaps
2021-03-26 14:58:32 -05:00
Jeff Epler
172715194f adafruit_bus_device: SPIDevice: Fix so it works with bitbangio.SPI
.. by calling methods, same as we did for I2C
2021-03-26 14:51:53 -05:00
Jeff Epler
a70b679ed5 bitbangio.SPI.read: Support write_value, fix some other nits 2021-03-26 12:24:09 -05:00
Jeff Epler
2bc61b4580 Parenthesize double-division for clarity 2021-03-26 11:01:22 -05:00
Jeff Epler
231cb1ffd9 mimxrt10xx: Use the proper "betweenTransferDelay" (et al) values
Set the betweenTransferDelay to the SCK low-time, to avoid long pauses
between bytes (transfers) while preventing the last SCK cycle in a byte
from being a runt pulse.

Compared to an earlier revision of this change, which just set the delays
all to zero, this doesn't break using an AirLift, which was sensitive
to the runt pulses (the simple loopback-wire test didn't detect the problem)
2021-03-26 10:54:13 -05:00
Jeff Epler
1d48054aea mimxrt10xx: Factor out "transfer_common"
.. and set the "MasterPcsContinuous" flag, which removes some of the
gap between bytes of a single SPI transaction
2021-03-26 10:04:35 -05:00
Jeff Epler
ffb70a8737 Freeze ESP32SPI into mimxrt1011_evk
.. so that it is more conveniently like the metro m7 for my testing
2021-03-26 10:01:53 -05:00
Jeff Epler
9e110f120a mimxrt10xx: busio: cap SPI baudrate at 30MHz per datasheet 2021-03-26 10:01:53 -05:00
Hosted Weblate
8b448eb491 Merge remote-tracking branch 'origin/main' into main 2021-03-26 02:01:09 +01:00
Dan Halbert
155b61f027
Merge pull request #4378 from Gadgetoid/patch-remove-rp2040-i2c-bitbang
RP2040: Remove short-write bitbang from I2C
2021-03-25 21:01:02 -04:00
Gareth Coleman
abdc6d59ec
Translated using Weblate (English (United Kingdom))
Currently translated at 99.5% (966 of 970 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2021-03-26 00:30:08 +01:00
Scott Shawcroft
5810461adf
Merge pull request #4481 from tannewt/external_devices
Switch devices.h to nvm.toml data
2021-03-25 15:28:01 -07:00
Scott Shawcroft
01c153cd7e
Fix devices include by splitting type from defines 2021-03-25 11:37:08 -07:00
Scott Shawcroft
da4dceea15
Fix 16MB Winbond names 2021-03-25 11:37:08 -07:00
Scott Shawcroft
0105b30a07
Merge pull request #4484 from kmatch98/vector_fix
Corrects vectorio.Rectangle size dimensions
2021-03-25 10:56:47 -07:00
Scott Shawcroft
aec0ef3cbf
Switch devices.h to nvm.toml data 2021-03-25 09:57:18 -07:00
Kevin Matocha
56362a9806 remove duplicated code, replace with displayio_area_canon 2021-03-25 11:31:07 -05:00
Kevin Matocha
9485805b6a move to displayio_area_union and away from _expand 2021-03-25 11:21:39 -05:00
Scott Shawcroft
e9ceb9263e
Merge pull request #4474 from jepler/fix-spi-frequency
mimxrt: SPI: Set the TCR value returned by MasterBaudSetRate
2021-03-25 08:59:21 -07:00
Limor "Ladyada" Fried
7831be5a55
Merge pull request #4480 from tannewt/raspberrypi_link_line_length
Use GCC @file to shorten linker command length
2021-03-25 11:53:32 -04:00
Kevin Matocha
3785eb7779 correct rectangle size dimensions 2021-03-25 09:36:40 -05:00
Jeff Epler
47801bb73c
Merge pull request #4483 from Neradoc/implement-issue-4470
Implement issue #4470
2021-03-25 08:57:10 -05:00
Neradoc
6b89883797 sort languages in a way that is not case sensitive 2021-03-25 02:57:04 +01:00
Neradoc
36f91fe022 implement issue #4470
move the language allow list to generate_download_info() and use it there too
2021-03-24 23:39:47 +01:00
Scott Shawcroft
f79d60b205
Use GCC @file to shorten linker command length
This hopefully fixes linking on Windows with cmd.exe
2021-03-24 15:03:33 -07:00
Jeff Epler
b440883fe5 mimxrt: SPI: Set the TCR value returned by MasterBaudSetRate
without this, the baud rate could be wrong; in my testing, it was
low by a factor of 2 when requesating baudrate=1_000_000 (1MHz).

When passing the baudrate in to LPSPI_MasterInit, the setting is made
automatically, but LPSPI_MAster_SetBaudRate just returns it via the
out-parameter tcrPrescaleValue.
2021-03-24 13:33:21 -05:00
Jeff Epler
5314fddca0 remove duplicate RX/TX pin lines 2021-03-23 16:04:23 -05:00