Scott Shawcroft
3fdf29e773
More parens
2021-02-22 18:35:09 -08:00
Scott Shawcroft
863981a5b8
Parens
2021-02-22 18:31:45 -08:00
Scott Shawcroft
0aafeac209
Board specific flash sizes for RP2040
...
Stop-gap solution for #4041 . Comment is there to provide info
needed in the future. (We currently run the generic "safe" settings.)
2021-02-22 17:19:18 -08:00
Dan Halbert
8470f0fdb7
SAMD21: one endpoint pair for MSC now instead of two
2021-02-21 12:37:59 -05:00
Dan Halbert
cf3217e6d4
Merge pull request #4232 from TG-Techie/fix_tg_watch
...
fix TG-Watch ble issue
2021-02-20 18:10:52 -05:00
Jonah Yolles-Murphy
a9a2145238
fix TG-Watch ble issue
2021-02-20 15:46:33 -05:00
Dan Halbert
985e020936
shrink simmel build
2021-02-19 18:41:27 -05:00
Dan Halbert
67406488d1
merge from upstream; re-alphabetize
2021-02-19 14:22:50 -05:00
Jeff Epler
1cd4e4552e
Merge pull request #4219 from jepler/bit_transpose
...
Add Bit transpose function to support piopixl8
2021-02-18 20:29:05 -06:00
Jeff Epler
7fd4567893
bitops: rename from _bit_transpose, describe the algorithm
2021-02-18 15:41:23 -06:00
Lucian Copeland
0ecb24c3e5
Merge pull request #4169 from hierophect/stm32-i2cstart
...
STM32: Fix I2C repeated start by converting to IT mode
2021-02-18 15:19:00 -05:00
Dan Halbert
e344c6d684
fix some builds
2021-02-18 14:24:58 -05:00
Jeff Epler
9cf7d73c6c
core: add bit_transpose function
...
.. this version can only handle exactly 8 bits "across". The restriction
may be relaxed in a future revision.
2021-02-18 11:32:47 -06:00
Dan Halbert
5c37b73c6d
fix typo to fix nrf builds
2021-02-18 11:09:32 -05:00
Jeff Epler
ab5eb86118
raspberrypi: implement os.urandom
...
Since the datasheet cast some doubt on the strength of the "rosc_hw->randombit",
I use the SHA256 hash function to create a high quality random seed
from random values of uncertain entropy, as well as to generate a sequence
of random values from that seed using SHA256 as a cryptographically-secure
random number generator.
In practice, it produces over 100kB/s of random data which does not
have any gross problems according to _PractRand_.
2021-02-17 17:49:25 -06:00
Scott Shawcroft
261b077209
Merge pull request #4192 from dhalbert/pico-pwmout-top-fix-4189
...
RP2040: fix off-by-one PWM top issue
2021-02-16 17:38:09 -08:00
Dan Halbert
c26de0136a
works! no timeouts
2021-02-16 17:39:36 -05:00
Dan Halbert
0b8f1b9a90
wip: usb_cdc.serials
2021-02-15 20:06:18 -05:00
Dan Halbert
93d788543c
Merge remote-tracking branch 'adafruit/main' into secondary-cdc
2021-02-15 20:03:53 -05:00
Lucian Copeland
6d5ffc677b
is_free should not check never_reset
2021-02-15 10:29:05 -05:00
Dan Halbert
0ec99b37e0
handle 100% duty cycle; improve actual_frequency calc
2021-02-13 13:16:49 -05:00
Dan Halbert
d54b5861a3
wip
2021-02-12 19:01:14 -05:00
Dan Halbert
3e4328140c
fix off-by-one PWM top issue
2021-02-12 15:53:31 -05:00
Dan Halbert
08f30fedf5
Merge pull request #4188 from ladyada/main
...
QT Py with RP2040
2021-02-11 22:19:56 -05:00
lady ada
6c914b8722
QT Py with RP2040
2021-02-11 19:21:42 -05:00
Dan Halbert
f0564b4986
merge from upstream; complicated webusb merge
2021-02-11 18:50:02 -05:00
Lucian Copeland
edb7f2d807
Free up space for JA build
2021-02-11 16:30:27 -05:00
Lucian Copeland
a061768ceb
Merge remote-tracking branch 'upstream/main' into stm32-i2cstart
2021-02-11 16:19:12 -05:00
Scott Shawcroft
aae10fb37f
Merge pull request #4167 from tannewt/rp2040_audiopwmio
...
Add PWM based audio playback
2021-02-11 12:19:57 -08:00
Lucian Copeland
d00bee2149
Fix I2C Repeated start error by converting to IT mode
2021-02-10 14:59:19 -05:00
Scott Shawcroft
f6603aa566
Merge pull request #4168 from BHDynamics/main
...
Add DynaLoRa-USB Dongle
2021-02-10 11:03:16 -08:00
Enrique Casado
983c75fb24
Add more pin names
2021-02-10 12:19:50 +01:00
Scott Shawcroft
191b143e7b
Add PWM based audio playback
...
See
https://learn.adafruit.com/circuitpython-essentials/circuitpython-audio-out
to get started.
Fixes #4037
2021-02-09 15:38:33 -08:00
Scott Shawcroft
b19c700d4a
Merge pull request #4165 from DavePutz/issue_4143
...
Issue 4143 - Fixed marking a PWM slice incorrectly as variable frequency
2021-02-09 14:30:39 -08:00
root
9a28f0bf45
Fix check for variable PWM frequency
2021-02-09 15:22:59 -06:00
Dan Halbert
5ba28e9861
Merge pull request #4159 from dhalbert/disable-brownout-before-deep-sleep-4025
...
turn off brownout before deep sleep
2021-02-09 09:03:33 -05:00
Scott Shawcroft
6efd87b3c6
Merge pull request #4124 from m4tk/main
...
Add display init code for Lilygo TTGO T8 ESP32-S2
2021-02-08 16:35:27 -08:00
Scott Shawcroft
0ceac79dfb
Merge pull request #4048 from janderit/fix_3763_mimxrt10xx_spi
...
fixes: busio, SPI OS error 5 for mimxrt10xx
2021-02-08 16:29:48 -08:00
Dan Halbert
3c99b09993
Merge pull request #4160 from gamblor21/rp2040_neopixel_pin_fix
...
RP2040 Set the neopixel pin as output after PIO use
2021-02-08 17:57:30 -05:00
Dan Halbert
3a68ac8abb
Merge pull request #3536 from pewpew-game/pew-get-ticks
...
Fix #3504 : Don't use time module in pew.tick()
2021-02-08 17:50:44 -05:00
Dan Halbert
b0ed258302
Merge pull request #4155 from jepler/rpi-pio-background
...
rp2pio: Transfer up to 32 bytes before checking background tasks
2021-02-08 16:34:16 -05:00
Dan Halbert
f171660870
Merge pull request #4139 from hierophect/socket-accept-conn
...
Socket: Connect accepted sockets
2021-02-08 16:25:31 -05:00
Dan Halbert
be500fd15c
Merge pull request #4136 from hierophect/socket-portmax
...
Socket: fix inconsistencies in argument types
2021-02-08 16:23:20 -05:00
Dan Halbert
c8cf1258ac
Merge pull request #4154 from LuminousOwl/fix-max-pio-instructions
...
Fix maximum PIO instructions
2021-02-08 16:21:49 -05:00
gamblor21
386b49c3e1
Set the pin as output after PIO use
2021-02-08 15:13:37 -06:00
Dan Halbert
c3a1bd8f13
turn off brownout before deep sleep
2021-02-08 12:40:20 -05:00
Lucian Copeland
1043d619fd
Merge pull request #4148 from Neradoc/fix-recv_into
...
Fix socket.recv_into receiving one less byte than expected
2021-02-08 11:29:41 -05:00
Dan Halbert
1b7f3d11e7
wip
2021-02-08 10:57:41 -05:00
Jeff Epler
5423e4966c
rp2pio: Transfer up to 32 bytes before checking background tasks
...
@Jerryneedell noticed that this problem affected strips short enough
to not use the DMA peripheral, thanks for the hot tip!
Instead of checking for background tasks after every byte transfer,
try up to 32 transfers before attending to background tasks.
This fixes the problem I was seeing on my 5-pixel circuit.
Closes #4135 .
2021-02-08 08:35:07 -06:00
Philip Jander
5bf08c503b
adds: maximum retries on SPI busy
2021-02-07 17:06:46 +01:00