ZodiusInfuser
f69bf8beb9
Removed whitespaces
2021-04-15 11:57:27 +01:00
ZodiusInfuser
d67ccb625c
Added correct USB PIDs
2021-04-15 11:41:46 +01:00
Scott Shawcroft
aa28d4f315
Allow setting max_packet_size for PacketBuffer
...
This is handy for remote characteristics because it allows for
the PacketBuffer binding code to have the correct max size. This
PR also adds checks so we don't write outside the outgoing buffer.
2021-04-14 17:09:48 -07:00
Neradoc
223027fe9e
shrink simmel
2021-04-15 01:43:02 +02:00
ZodiusInfuser
e4456bd756
Added definitions for PicoLipo boards
2021-04-14 23:09:10 +01:00
Scott Shawcroft
3978b50b8d
Merge pull request #4489 from gamblor21/audiomixer_rp2040
...
Add non M4 audiomixer support
2021-04-14 12:19:17 -07:00
Neradoc
0d743224f2
add countio to nrf port
2021-04-14 01:37:19 +02:00
Scott Shawcroft
b273f59c4e
Assume max characteristic size when the client
2021-04-13 15:37:47 -07:00
Scott Shawcroft
b1f4a9a9fd
Merge pull request #4447 from tyomitch/patch-3
...
[synthio] add a simple MidiTrack implementation
2021-04-13 15:09:23 -07:00
Kattni
9a3f04a1b8
Merge pull request #4599 from dhalbert/neopixel-trinkey-storage
...
Turn storage back on for NeoPixel Trinkey
2021-04-13 12:42:46 -04:00
Limor "Ladyada" Fried
1163af5d48
Merge pull request #4591 from jepler/same51-modules
...
same51: enable specific modules based on chip family
2021-04-13 11:47:08 -04:00
Dan Halbert
cc36402a64
turn storage back on
2021-04-13 11:06:59 -04:00
Artyom Skrobov
92d7f31046
[synthio] disable in stm32f411ce_blackpill_with_flash
...
region `FLASH_FIRMWARE' overflowed by 228 bytes
2021-04-13 03:01:55 -04:00
Artyom Skrobov
c6ee471b52
Merge branch 'main' of https://github.com/adafruit/circuitpython into patch-3
2021-04-13 00:32:19 -04:00
lady ada
d136078768
try re-enabling storage
2021-04-12 22:17:20 -04:00
lady ada
8053d4a7a3
remove neopixels
2021-04-11 22:33:03 -04:00
Jeff Epler
4f36504aeb
same51: enable specific modules based on chip family
...
closes #4590
2021-04-11 20:07:59 -05:00
lady ada
42abb982fe
rename proxsense to proxlight
2021-04-11 18:39:14 -04:00
lady ada
9dc6d691b8
add prox trinkey and rename others to adafruit_
2021-04-11 17:45:37 -04:00
lady ada
56be8306cd
try adding a submodule?
2021-04-10 23:22:13 -04:00
lady ada
137745e911
neokey trinkey friend
2021-04-10 23:04:48 -04:00
Scott Shawcroft
ebfe36c9aa
Merge pull request #4576 from felixerdy/main
...
Add senseBox MCU
2021-04-09 10:27:37 -07:00
Dan Halbert
11b9a5e605
Merge pull request #4577 from dglaude/patch-1
...
Respect product name: space between QT and Py
2021-04-09 13:10:19 -04:00
Dan Halbert
1b60c9d033
Merge pull request #4580 from jepler/incrementalencoder-refactor
...
IncrementalEncoder: factor out the quadrature state machine
2021-04-09 13:10:02 -04:00
Dan Halbert
61e33a5619
fix nrf ISR; make direction consistent across ports; save code size
2021-04-09 11:07:47 -04:00
felixerdy
ca6dda4d2b
reorder alias
2021-04-09 08:35:13 +02:00
Kevin Lutzer
4fb3139273
switch orders the flash memory is listed
2021-04-08 21:56:25 -06:00
Kevin Lutzer
c672b33770
add W25Q64JVxQ as a supported flash for stm32f411 black pill
2021-04-08 21:53:38 -06:00
Dan Halbert
fdc5bb41f4
D3 pin should be GPIO26
2021-04-08 19:11:27 -04:00
Dan Halbert
72055ff02b
Merge pull request #4578 from tannewt/packetbuffer_lengths
...
Improve PacketBuffer lengths and remove packet_size
2021-04-08 18:55:24 -04:00
Jeff Epler
d69ca4a8ae
nrf: switch to shared softencoder implementation
2021-04-08 16:36:10 -05:00
Jeff Epler
3aec1032f7
atmel-samd: switch to shared softencoder implementation
2021-04-08 16:32:36 -05:00
Jeff Epler
3ce0b512f8
rasberrypi: IncrementalEncoder: factor out state machine
2021-04-08 16:25:47 -05:00
Scott Shawcroft
e3b3f97fa6
Improve PacketBuffer packet lengths for remote service
2021-04-08 13:25:11 -07:00
David Glaude
5d6bef569d
Respect product name: space between QT and Py
...
https://www.adafruit.com/product/4900 say "Adafruit QT Py RP2040"
This is also matching other "QT Py" product.
2021-04-08 21:50:16 +02:00
felixerdy
e5cffa94e8
add aliases for TX and RX
2021-04-08 21:19:27 +02:00
Scott Shawcroft
0539b88a6b
Merge pull request #4561 from bd34n/bdmicro_vina_d51_update
...
boards/bdmicro_vina_d51: A few updates for flexibility and expansion.
2021-04-07 10:33:58 -07:00
Brian Dean
8544249fc0
boards/bdmicro_vina_d51: Replace old rev with new rev and rename.
...
This update to the PR retains the earlier board rev (with a rename) so
that backward binary compatibility is not lost for the earlier board
revision. The primary name 'vina-d51' is retained for the latest
revision to make it easy for customers to select the proper UF2
download - because the name matches the commercial name.
Details:
Replace bdmicro_vina_d51 with bdmicro_vina_d51_pcb7 (revision 7 of
PCB) with boardfiles unmodified. Add _pcb7 to the workflow build.
Replace bdmicro_vina_d51 boardfile content with latest PCB updates
(revision 10 ov PCB). Add minimal comments in the board files to make
it clear which PCB revision is implemented. Update the USB PID to
reflect an updated board revision.
2021-04-07 09:11:30 -04:00
Limor "Ladyada" Fried
e6aaf9924f
Merge pull request #4570 from jepler/mimxrt-busdevice
...
mimxrt10xx: enable adafruit_bus_device in core
2021-04-06 20:15:23 -04:00
Dan Halbert
82479b6a2c
Merge pull request #4503 from hierophect/sleep-api-update
...
Sleep API changes and fix for main.c silent issue
2021-04-06 16:53:25 -04:00
Scott Shawcroft
6097afdaa5
Merge pull request #4559 from jepler/rp2-rotary-encoder-fixes
...
raspberrypi: Several rotary encoder fixes
2021-04-06 10:00:26 -07:00
Jeff Epler
1a2ce27b73
raspberrypi: Drop support for auto-reversing swapped encoder
2021-04-06 09:22:59 -05:00
Jeff Epler
1a163dd70d
mimxrt10xx: enable adafruit_bus_device in core
2021-04-06 09:19:41 -05:00
Scott Shawcroft
71eabe814c
Update StateMachine.c
2021-04-05 16:17:08 -07:00
Lucian Copeland
bf58afdb2a
Merge pull request #4399 from tyomitch/patch-2
...
[stm] implementation of audiopwmio
2021-04-05 18:35:39 -04:00
Brian Dean
3e558a89ac
boards/bdmicro_vina_d51: A few updates for flexibility and expansion.
...
ESP-01 header renamed to AUX, and expanded to 12 pins from 8
pins. Pins 1-8 still accommodate the ESP-01, with expansion to full
SERCOM 4-pad support to allow for SPI and I2C on that expansion port
with additional GPIO control.
Update pins.c with additional signals provided AUX_1-8, along with
UART, SPI, I2C name usage as aliases to appropriate AUX_1-8
signals. Additionally, add several alternate names specific to several
expansion modules - the ESP-01, and the ATW-01 using the WINC_1500
(SPI) w/interrupt and control needed for the WINC - with assignments
to module pin positions.
Re-work SERCOM assignments to accommodate the above from other parts
of the board, which required moving a SERCOM or two around in order to
accommodate the 4-pad sercom pin mapping on the AUX port.
Built and tested using latest from 'main':
Adafruit CircuitPython 6.2.0-rc.0-70-ga1562430f-dirty on 2021-04-05;
BDMICRO VINA-D51 with samd51n20
2021-04-05 10:44:52 -04:00
Jeff Epler
fc86475de5
IncrementalEncoder: support swapped pins
...
Closes : #4422
2021-04-04 13:49:50 -05:00
Jeff Epler
93d6ceedd9
IncrementalEncoder: Disconnect interrupt handler during deinit.
...
Closes : #4557
2021-04-04 13:49:41 -05:00
Jeff Epler
bcd90dd927
IncrementalEncoder: There are no out pins.
...
Closes #4556
2021-04-04 13:49:21 -05:00
Dan Halbert
ae80378c4e
Merge pull request #4545 from ElectronicCats/huntercat_nfc
...
HunterCat NFC
2021-04-04 14:21:49 -04:00
sabas1080
8b6ffba392
Update comment
2021-04-04 11:10:32 -05:00
Jeff Epler
27d8832868
Merge pull request #4512 from m-byte/main
...
Add Artisense RD00 board files
2021-04-03 18:40:59 -05:00
Artyom Skrobov
4ee781227f
[meowbit] change board.BUZZ type to PWMAudioOut,
...
as advised in #4257
2021-04-03 13:35:19 -04:00
Matthias Breithaupt
43ba81ffa1
Add Artisense RD00 board files
2021-04-03 17:20:59 +02:00
sabas1080
53f3282e9c
change flash device
2021-04-02 14:42:38 -06:00
sabas1080
f8da94b8ba
removed o¡modules not availables
2021-04-02 14:40:27 -06:00
sabas1080
c1987b7311
init port hunter cat nfc!
2021-04-02 13:19:59 -06:00
Jonny Bergdahl
1afd204828
Changed error message to display the generic term 'system firmware' instead of the Nordic specific term 'soft device'
2021-04-02 20:34:37 +02:00
Jeff Epler
3451c25a75
Merge pull request #4530 from jepler/mimxrt1011-pwmio
...
mimxrt1011: pwmio: Enable basic PWMOut functionality
2021-04-02 09:29:41 -05:00
Dan Halbert
da16e4dce1
Merge pull request #4534 from UnexpectedCircuitPython/main
...
Changed some pins for TinyS2
2021-04-01 21:05:46 -04:00
Scott Shawcroft
58835e5a5b
Two small PacketBuffer fixes
...
1. Allow for ctrl-c during a write.
2. Handle disconnects when acting as a client.
2021-04-01 14:16:35 -07:00
Seon Rozenblum
a9b4e04643
Changed some pins for TinyS2
2021-04-02 08:08:02 +11:00
Jeff Epler
3f3cb79b7d
Add pinmux info for 1021 and 1062 family MCUs
2021-04-01 15:59:57 -05:00
Jeff Epler
89fc0298ce
mimxrt1011: pwmout: Add prescaler, fix duty_cycle=65535
2021-04-01 13:04:06 -05:00
Jeff Epler
489163b74e
mimxrt1011: pwmio: Enable basic PWMOut functionality
...
After this change, the following program works for me on the MIMXRT1010-EVK:
```python
import pwmio
import board
p = pwmio.PWMOut(board.D13, frequency=1_000_000, variable_frequency=True)
p.duty_cycle = 32868
while True:
pass
```
Querying and varying the duty_cycle and frequency work as well.
The lowest frequency obtainable is about 2kHz; there is an additional
divider which would allow lower PWM frequencies (I think 1kHz is important
for servos?)
Something odd happens with very low duty cycles, such as
```python
>>> p.frequency = 2000
>>> p.duty_cycle = 2
```
instead of a symmetrical waveform, it's asymmetrical. With `duty_cycle=4`,
the effect disappears. The reason for this is probably hidden in the
datasheet, but could affect servos or other things that count pulse
widths.
2021-04-01 10:06:59 -05:00
Tsutomu IKEGAMI
be50732515
Fix SD_DET pin assignment of seeduino_wio_terminal.
2021-04-01 17:09:56 +09:00
Dan Halbert
d0ba75e6dc
Merge pull request #4522 from tannewt/ble_fixup
...
Fix central pairing and crash on clear
2021-03-31 21:24:19 -04:00
Scott Shawcroft
0752bbd5fd
Fix central pairing and crash on clear
...
The list_clear would crash if we tried to clear a NULL list. (It
can happen if we haven't tried to discover any services.)
2021-03-31 16:04:04 -07:00
Dan Halbert
0e915dc3fb
Merge pull request #4518 from jepler/fix-bogus-assertion
...
mimxrt10xx: Fix bogus assertion.
2021-03-31 15:53:42 -04:00
Jeff Epler
cce8b2be07
raspberypi: Allow mpconfigboard to override additional items
...
This allows more options to be overridden to 0 in an mpconfigboard.mk.
Improved:
* FRAMEBUFFERIO, FULL_BUILD, BITOPS, PWMIO, RGBMATRIX, OTARYIO, PULSEIO, WATCHDOG
Still problematic (pull requests welcome):
* RP2PIO & NEOPIXEL_WRITE, possibly only if a status neopixel is defined
* BITBANGIO, possibly only if BUSIO is enabled
* RTC
Incidentally, with RP2PIO & NEOPIXEL_WRITE, BITBANGIO, and RTC re-enabled I get
```
323956 bytes used, 720524 bytes free in flash firmware space out of 1044480 bytes (1020.0kB).
12072 bytes used, 250072 bytes free in ram for stack and heap out of 262144 bytes (256.0kB).
```
Closes #4515
2021-03-31 09:40:48 -05:00
Jeff Epler
cb29ad0846
mimxrt10xx: Fix bogus assertion.
...
.. as noted by @d-c-d
2021-03-31 09:21:08 -05:00
Jeff Epler
71eee45a37
mimxrt1011: UART: Add additional error checking
...
.. and make the 'invalid pin' messages standard.
Closes #4502
2021-03-30 10:17:48 -05:00
Scott Shawcroft
580456719c
Merge pull request #4508 from dhalbert/rp2040-calc-sda-hold-time
...
Calculate RP2040 SDA hold time
2021-03-29 15:09:30 -07:00
Dan Halbert
840373f5c2
Merge pull request #4495 from tyomitch/patch-1
...
[ure] to save space, disable debug dumps by default
2021-03-29 16:08:56 -04:00
Dan Halbert
8e0834d74c
Calculate RP2040 SDA hold time
2021-03-29 14:40:13 -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
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
Artyom Skrobov
8056af8648
[synthio] add a simple MidiTrack implementation
2021-03-26 16:38:10 -04:00
Artyom Skrobov
d7dc3801ab
[ure] to save space, disable debug dumps by default
...
Has to stay enabled in unix port for the sake of tests/extmod/ure_debug.py
2021-03-26 13:24:20 -04:00
Artyom Skrobov
b40d072648
[stm] implementation of audiopwmio
...
Based on nrf PWMAudioOut by @jepler and stm PulseOut by @hierophect
Tested on a Meowbit
2021-03-26 13:18:01 -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
gamblor21
0b212e2243
Add non M4 audiomixer support
2021-03-25 17:30:40 -05: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
felixerdy
cde659651b
add brown out detect level
2021-03-23 19:17:45 +01: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