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
Lucian Copeland
00178ca5e0
Sleep API changes, redundancy fix
2021-03-27 14:14:57 -04: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
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
Dan Halbert
03340a3fcd
Incorporate https://github.com/adafruit/pico-sdk/pull/2
2021-03-26 18:55:45 -04: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
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
Scott Shawcroft
da4dceea15
Fix 16MB Winbond names
2021-03-25 11:37:08 -07:00
Scott Shawcroft
aec0ef3cbf
Switch devices.h to nvm.toml data
2021-03-25 09:57:18 -07: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
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
Dan Halbert
c81007afb0
Merge pull request #4446 from tannewt/rp2040_flash
...
Switch RP2040 flash settings to nvm.toml
2021-03-23 15:18:29 -04:00
Lucian Copeland
278d53c512
Merge pull request #4465 from anecdata/udp_server
...
swap recvfrom_into() port byte-order
2021-03-23 13:48:39 -04:00
Scott Shawcroft
36edc4bb89
Improve Winbond naming and correct board settings
2021-03-23 09:06:48 -07:00
anecdata
c106b432c5
swap recvfrom_into() port byte-order
2021-03-22 20:03:26 -05:00
Scott Shawcroft
7867632a81
Merge remote-tracking branch 'adafruit/main' into rp2040_flash
2021-03-22 15:29:43 -07:00
Scott Shawcroft
f200e6a21e
Fix doc build and address feedback
2021-03-22 15:24:27 -07:00
lady ada
36ae69ab6f
qtpy is more of a button than a switch! add itsybitsy rev C files
2021-03-21 18:44:32 -04:00
lady ada
ebd6011633
add USBBOOT switch, move RX pin, re-enable UART (tested)
2021-03-21 14:58:18 -04:00
Lucian Copeland
d8a2d69e10
Working deep sleep via RTC reset, with debug pins
2021-03-21 13:15:44 -04:00
Limor "Ladyada" Fried
4b42932188
Merge pull request #4449 from ladyada/main
...
adventure together with rotary trinkey
2021-03-20 13:37:31 -04:00
lady ada
8884682cac
adventure together with rotary trinkey
2021-03-20 12:03:51 -04:00
Scott Shawcroft
4aea7f8f52
Add requirements-dev.txt for python deps
2021-03-19 15:22:23 -07:00
Jeff Epler
22906ac95e
Merge pull request #4442 from jepler/m7-reboot-bootloader
...
mimxrt1011: Fix reset-to-bootloader
2021-03-19 15:37:06 -05:00
Jeff Epler
3fcb6b278f
Merge pull request #4443 from jepler/evk-pins-dnp
...
imxrt1010_evk: Delete pins that are not connected
2021-03-19 15:36:36 -05:00
Limor "Ladyada" Fried
c0ec904c7a
Merge pull request #4441 from jepler/metro_m7_4mb
...
metro m7: another place to fix flash capacity
2021-03-19 12:42:35 -04:00
Jeff Epler
ee59c75f62
imxrt1010_evk: Delete pins that are not connected
...
There are DNP resistors on the MIMXRT1010-EVK board (see SCH-45852)
that lead to these pins on the arduino-style header not being connected
through. In theory someone could populate them, but as it the presence
of these names in the pins module caused problems when they didn't work
as expected.
Closes #3012
2021-03-19 11:29:32 -05:00
Jeff Epler
06743d91ed
mimxrt1011: Fix reset-to-bootloader
...
The definition of DBL_TAP_REG must match tinyuf2
2021-03-19 10:11:45 -05:00
Dan Halbert
d7a2ae9df7
fix stm compiler error
2021-03-19 11:04:46 -04:00
Jeff Epler
01a1cdf13a
update flash chip comment
2021-03-19 09:50:26 -05:00
Dan Halbert
1512ca520b
Fix PWMOut non-error handling and never reset
2021-03-19 09:57:21 -04:00
Jeff Epler
6abea8a4aa
another place to fix flash capacity
2021-03-19 08:41:28 -05:00
Dan Halbert
8293e1eedc
fix display rotation and position
2021-03-19 00:09:48 -04:00
Dan Halbert
47437cb415
make translate; fix display pins
2021-03-18 23:42:24 -04:00
Dan Halbert
ea82ca1d02
correct PID
2021-03-18 23:24:20 -04:00
Dan Halbert
21c55f8e75
update funhouse pins for latest rev b
2021-03-18 23:14:59 -04:00
Dan Halbert
b2d913412f
merge from upstream
2021-03-18 23:14:43 -04:00
Scott Shawcroft
5d2b60cbf6
Redo RP2040 flash settings
...
This switches stage2 to C and uses Jinja to change the C code based
on flash settings from https://github.com/adafruit/nvm.toml . It
produces the fastest settings for the given set of external flashes.
Flash size is no longer hard coded so switching flashes with similar
capabilities but different sizes should *just work*.
This PR also places "ITCM" code in RAM to save the XIP cache for
code execution. Further optimization is possible. A blink code.py
still requires a number of flash fetches every blink.
Fixes #4041
2021-03-18 16:55:42 -07:00
Jeff Epler
2589515342
Merge pull request #4435 from jepler/metro-m7
...
Fixes for Metro M7
2021-03-18 17:56:12 -05:00
Jeff Epler
0b22a9397a
mimxrt: Quiet some warnings down in the sdk
...
Closes #2487
2021-03-18 16:54:11 -05:00