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
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
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
Jeff Epler
0ba0fae495
mimxrt: Enable USB Midi
...
Closes #2473
2021-03-18 16:54:11 -05:00
Jeff Epler
74243fd71a
metro_m7: Update board name, flash chip size
2021-03-18 16:54:11 -05:00
Scott Shawcroft
11e510a06a
Merge pull request #4419 from spe2/main
...
Add board definition for Sparkfun Pro Micro RP2040
2021-03-17 18:17:24 -07:00
Jeff Epler
719e8710f2
Merge pull request #4411 from mintakka/thingplus-rp2040
...
added board configuration for Sparkfun ThingPlus RP2040
2021-03-17 16:23:55 -05:00
Phil Howard
b8d4f9655f
RP2040: Only bitbang 0-byte writes
...
The I2C.c for RP2040 included a special case for writes <=2 bytes to match the MicroPython implementation,
however RP2040 does support 1 and 2 byte reads, with only 0 bytes being the exception.
Signed-off-by: Philip Howard <phil@pimoroni.com>
2021-03-17 16:25:54 +00:00
Jeff Epler
bfc8c89536
Merge pull request #4403 from jepler/bitmap-read-2
...
bitmaptools: Add readinto, arrayblit
2021-03-17 07:57:31 -05:00
mintakka
337727ba0c
renamed board folder to match board name in boards.yml
2021-03-16 21:10:10 -04:00
Jeff Epler
94fa8e8a60
disable bitmaptools on small board
2021-03-16 19:04:21 -05:00
Jeff Epler
75ba26ee7c
Merge pull request #4421 from kattni/led-pin
...
Adding LED for D13/L pin name.
2021-03-16 18:58:14 -05:00
Mark
1be5ca7881
Merge pull request #4130 from gamblor21/rp_dp_parallel
...
Add RP2040 displayio.ParallelBus Support
2021-03-16 13:49:55 -05:00
spe2
dcd9a8ab91
Update ports/raspberrypi/boards/sparkfun_pro_micro_rp2040/mpconfigboard.mk
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 10:54:20 -07:00
spe2
5bc132a209
Update ports/raspberrypi/boards/sparkfun_pro_micro_rp2040/mpconfigboard.h
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 10:54:15 -07:00
mintakka
b5333f2bdf
Update ports/raspberrypi/boards/sparkfun_thingplus_rp2040/mpconfigboard.h
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 13:47:33 -04:00
mintakka
3d15877639
Update ports/raspberrypi/boards/sparkfun_thingplus_rp2040/mpconfigboard.mk
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 13:47:21 -04:00
Jeff Epler
58679dc038
Merge remote-tracking branch 'origin/main' into bitmap-read-2
2021-03-16 12:21:50 -05:00
Kattni Rembor
2b910b7292
Adding LED for D13/L pin name.
2021-03-16 12:14:40 -04:00
Jeff Epler
bc690d4070
Merge pull request #4415 from jepler/pre-commit-no-run-if-empty
...
pre-commit: code formatter fixes
2021-03-16 09:54:12 -05:00
gamblor21
0890b54cd9
More formatting
2021-03-16 08:29:04 -05:00
gamblor21
fb437d8280
Formatting fixes
2021-03-16 08:22:02 -05:00
gamblor21
3b01a65743
Fixed formatting
2021-03-16 08:14:49 -05:00
spe2
9de40f56f3
Add board config files
2021-03-15 22:08:19 -06:00
spe2
c9427780b3
Create pins.c
2021-03-15 22:07:24 -06:00
mintakka
49baa94446
added sparkfun_thingplus_rp2040 to .github/workflows/boards.yml and renamed board folder to include chip
2021-03-15 23:00:24 -04:00
mintakka
288415f867
Update ports/raspberrypi/boards/sparkfun_thingplus/mpconfigboard.h
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-15 21:07:31 -04:00
mintakka
30a74b3d92
Update ports/raspberrypi/boards/sparkfun_thingplus/mpconfigboard.mk
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-15 21:07:24 -04:00
Mark
e326d7ca80
Merge branch 'main' into rp_dp_parallel
2021-03-15 20:00:13 -05:00
Scott Shawcroft
f7a988b9b3
Merge pull request #4405 from DavePutz/issue_4237
...
Issue 4237 - Changed initial setting in program_struct
2021-03-15 17:51:36 -07:00
Scott Shawcroft
9cb8ce67ed
Merge pull request #4412 from kamtom480/spi_and_i2c
...
spresense: minor changes for i2c, spi and uart
2021-03-15 17:35:06 -07:00
Jeff Epler
d3bf1fe15d
modifications by pre-commit
2021-03-15 18:11:00 -05:00
Kamil Tomaszewski
ed3f636be5
spresense: empty rx uart fifo after initialization
2021-03-15 16:14:16 +01:00
Kamil Tomaszewski
22ed0abf6c
spresens: configure pin mode for i2c and spi
2021-03-15 16:14:16 +01:00
mintakka
0567d06936
added board configuration for Sparkfun ThingPlus RP2040
2021-03-15 10:27:21 -04:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
felixerdy
6c32a1f67f
update pins of senseBox MCU
2021-03-15 10:27:50 +01:00
Jeff Epler
b33d77bfe8
disable bitmaptools on over-full board
2021-03-14 20:08:09 -05:00
root
9a83501982
Fixed initial settings for program_struct to allow more than 1 program per pio
2021-03-14 15:05:56 -05:00
Dan Halbert
8e425a9354
Merge pull request #4393 from tannewt/raise_default_flash_speed
...
Speed up a bit more
2021-03-13 12:50:29 -05:00
Scott Shawcroft
1b106de4e0
Merge pull request #4262 from DavePutz/issue_4111
...
Issue 4111 - Implement pulseio(pulsein) for RP2040
2021-03-12 16:48:57 -08:00
Scott Shawcroft
45487f14a0
Speed up a bit more
2021-03-12 16:00:16 -08:00
DavePutz
96ce43e6d6
Added the correct files
2021-03-12 16:18:33 -06:00
DavePutz
6628f49852
Use StateMachine.c interrupt setup and simplify SM program
2021-03-12 16:06:57 -06:00
Jeff Epler
a5c6759325
Merge pull request #4392 from tannewt/lower_default_flash_speed
...
Lower default flash speed.
2021-03-12 13:58:44 -06:00
Scott Shawcroft
aec03a409f
Lower default flash speed.
...
/ 6 leads to ~40mhz. 2M and 4M have a max 0x03 read speed of 60mhz.
If the divisor is / 4 then the speed is just over 60mhz.
Fixes #4377
2021-03-12 11:06:39 -08:00
felixerdy
2009aecac3
Merge branch 'main' of github.com:felixerdy/circuitpython
2021-03-12 17:59:44 +01:00
felixerdy
de93df6444
add senseBox MCU
2021-03-12 17:57:55 +01:00
Dan Halbert
0ce5b2f594
put back pullup setting
2021-03-12 08:20:09 -05:00
gamblor21
307d2a99fe
Fix after rebase
2021-03-11 20:06:50 -06:00
gamblor21
5689307798
Changed frequency to match PIO having 2 instructions
2021-03-11 19:32:44 -06:00
gamblor21
b02b1e9979
Set frequency default 60Mhz
2021-03-11 19:32:44 -06:00
gamblor21
1658fe04f9
Set the statemachine to never reset so REPL works
2021-03-11 19:32:44 -06:00
gamblor21
c384ebe5c0
Updated to initalize pindirs
2021-03-11 19:32:44 -06:00
gamblor21
7321411962
Added frequency to parallel display
2021-03-11 19:32:43 -06:00
gamblor21
56a219911f
Add frequency support to parallel bus
2021-03-11 19:32:43 -06:00
gamblor21
b080d6207b
Removing debug info and clean up
2021-03-11 19:32:43 -06:00
gamblor21
c6aaab6f64
Initial commit
2021-03-11 19:32:43 -06:00
Dan Halbert
c71b6cb699
move to esp-idf PR merge
2021-03-11 20:05:31 -05:00
Dan Halbert
f75a009ed4
fix unnecessary statement order change
2021-03-11 15:16:32 -05:00
Dan Halbert
b5d2cc6f46
Merge remote-tracking branch 'adafruit/main' into esp32s2-i2c-bug
2021-03-11 15:09:18 -05:00
Jeff Epler
24f4d981bd
Merge pull request #4380 from jepler/rp2040-audiomp3
...
raspberrypi: Enable mp3 playback
2021-03-11 12:53:46 -06:00
Scott Shawcroft
0e451a1681
Merge pull request #4383 from hierophect/stm32-uart-dereserve
...
STM32: Fix UART deinit
2021-03-11 10:48:01 -08:00
Scott Shawcroft
40886d198d
Merge pull request #4385 from hierophect/stm32-f407-can
...
STM32: add all F405 modules to F407
2021-03-11 10:45:08 -08:00
Dan Halbert
de88fa37fb
Merge remote-tracking branch 'adafruit/main' into esp32s2-i2c-bug
2021-03-11 12:27:29 -05:00
Dan Halbert
061d5910cb
use fixed esp-idf
2021-03-11 12:09:01 -05:00
Kamil Tomaszewski
18668f6e28
spresense: fix spi to work with only one data pin
2021-03-11 18:06:49 +01:00
Kamil Tomaszewski
76d0870fba
spresense: return error as positive value for i2c
2021-03-11 18:04:01 +01:00
Lucian Copeland
0b73c7a212
Update F407 to match F405
2021-03-11 11:27:17 -05:00
Lucian Copeland
1ebbd14d0f
Fix UART deinit
2021-03-11 11:02:13 -05:00
Jeff Epler
15e97f12a1
Merge pull request #4379 from jepler/rp2040-rtc
...
raspberrypi: RTC: Ensure a time is set
2021-03-11 09:00:31 -06:00
Dan Halbert
08c5dbb003
use return values in STM PWMOut constructor, not exceptions
2021-03-11 08:52:47 -05:00
Jeff Epler
16bfe3b41c
raspberrypi: RTC: Ensure a time is set
...
Until a time is set, the RTC is not running, and rtc_get_datetime()
returns false without assigning to the out-parameter.
In CircuitPython, this would manifest as arbitrary values being returned,
since uninitialized storage on the stack was being converted into a timestamp.
2021-03-10 20:20:40 -06:00
Scott Shawcroft
f0965b1ef7
Merge pull request #4350 from nitz/board-add-sparkfun-micromod-nrf52840
...
Add new nRF port for SF MicroMod nRF52840.
2021-03-10 18:13:11 -08:00
Jeff Epler
c95def0b32
raspberrypi: Enable mp3 playback
...
The rp2040 is _very_ marginal for mp3 playback, and currently sometimes triggers a bug that gives garbled audio output. However, it does work for some limited situations.
2021-03-10 18:44:10 -06:00
hathach
58fb011070
clean up
2021-03-10 19:03:27 +07:00
hathach
d1c6bb0927
rp2040 add double reset to uf2, also update pico-sdk to 1.1.0
2021-03-10 18:58:23 +07:00
DavePutz
a3c3e8a0fa
fix trailing whitespace
2021-03-09 22:41:08 -06:00
nitz
d5365cb066
SDIO/QSPI pin names. ¯\_(ツ)_/¯
2021-03-09 18:36:29 -05:00
nitz
5beb529f61
Update pins, remove unused defs from board config.
2021-03-09 17:43:13 -05:00
nitz
fe0655e121
Update pins, remove unused defs from board config.
2021-03-09 17:39:50 -05:00
DavePutz
0c58cc4772
Moved pin wait to an initial exec
2021-03-09 16:37:29 -06:00
nitz
1ae858126a
Fix the mpconfigboard.mk that was screwy?
2021-03-09 17:29:10 -05:00
Scott Shawcroft
d650849581
Merge pull request #4348 from FBSeletronica/franzininhoWIFI_wrover
...
Franzininho wifi ESP32-S2 Wrover
2021-03-09 13:07:19 -08:00
Scott Shawcroft
2c3002b327
Merge pull request #4370 from jposada202020/i2cperipheral_ctrlc
...
I2CPeripheral samd51 corrections in the CTRLC bit
2021-03-09 12:58:59 -08:00
Chris Dailey
a61db7f12e
Updated SparkFun MicroMod USB PID
...
As per the PID provide by TheHoff, [here](https://forum.sparkfun.com/viewtopic.php?p=223812#p223812 )
2021-03-09 12:54:52 -05:00
DavePutz
f0e3274a33
Update to agree with modified StateMachine.h
2021-03-09 11:13:09 -06:00
FBSeletronica
c6eb3f98be
Fixing build.yml
2021-03-09 13:55:20 -03:00
jposada202020
be90fa80e8
Initial Changes
2021-03-09 10:48:33 -05:00
DavePutz
6f4510d7aa
Merge branch 'main' into issue_4111
2021-03-08 23:28:21 -06:00
root
576da73a17
Added check for maxlen
2021-03-08 23:23:51 -06:00
root
95b7a59156
Merge branch 'issue_4111' of https://github.com/DavePutz/circuitpython into issue_4111
2021-03-08 23:22:05 -06:00
root
3db0fec267
Added check for maxlen
2021-03-08 23:20:57 -06:00
DavePutz
88650bc4d0
Removed leftover debug code
2021-03-08 22:48:57 -06:00
Dan Halbert
7029783985
funhouse board
2021-03-08 21:24:28 -05:00
Scott Shawcroft
775f1b9e0d
Merge pull request #4329 from jepler/rp2-rotaryio
...
raspberrypi: Implement rotaryio, improve StateMachine
2021-03-08 17:49:45 -08:00
Scott Shawcroft
4fc6c7d8c9
Merge pull request #4347 from FBSeletronica/franzininhoWIFI
...
Adding Circuitpython port for Franzininho WIFI board with the ESP32-S2 wroom module
2021-03-08 15:37:42 -08:00
jun2sak
c8f36e604c
reset myself, not go REPL, after wakeup from deep sleep.
2021-03-09 00:42:22 +09:00
FBSeletronica
27703f3156
fix quote error
2021-03-08 10:32:37 -03:00
FBSeletronica
fe29780afb
updating USB_VID and USB_PID for Espressif modules
2021-03-08 08:51:48 -03:00
FBSeletronica
2771e7fe75
Updating USB vendor ID and producfor Espressif modules
2021-03-08 08:47:33 -03:00
Jeff Epler
cdb0fda72a
Merge remote-tracking branch 'origin/main' into count-flash-devices
2021-03-07 20:26:04 -06:00
Dan Halbert
26eb429cc6
restore install/delete for i2c driver
2021-03-07 18:23:14 -05:00
Jeff Epler
f1ada8e880
Automatically count EXTERNAL_FLASH_DEVICES
2021-03-07 11:48:39 -06:00
jerryneedell
a23129bc49
add GD25Q16C flash to BlackPill
2021-03-07 17:23:39 +00:00
Jeff Epler
a4133c4545
Merge pull request #4344 from jepler/vm-size-optimizations
...
Vm size optimizations: Get back 1500 bytes for 3.2% VM speed decrease
2021-03-07 10:09:51 -06:00
jun2sak
51c7a49853
Merge branch 'main' into nrf52-sleep
2021-03-07 20:50:53 +09:00
jun2sak
5bd1107fec
Clean up.
2021-03-07 20:38:04 +09:00
jun2sak
2eed9a1735
old System OFF sleep code for future reference.
2021-03-07 20:21:33 +09:00
jun2sak
7430b92d27
address hw pin-reset while sleep.
2021-03-07 20:20:29 +09:00
jun2sak
2795c002ad
disable QSPI while system ON idle loop.
2021-03-07 19:14:04 +09:00
jun2sak
cd5c0e99f7
Clean up.
2021-03-07 19:09:01 +09:00
nitz
3b76299f39
Add new nRF port for SF MicroMod nRF52840.
2021-03-07 01:06:50 -05:00
FBSeletronica
17aa9ae3f6
Update vendor ID for Espressif ESP32S2 Modules
2021-03-06 18:43:34 -03:00
FBSeletronica
4a50f1dd6f
Update Vendor ID for Espressif
2021-03-06 18:36:53 -03:00
FBSeletronica
48e727f7d6
adding port for Franzininho WIFI board ESP32S2 w/Wrover
2021-03-06 17:47:27 -03:00
FBSeletronica
6cf9c5158c
adding port for Franzininho WIFI board
2021-03-06 17:15:54 -03:00
jun2sak
3fab9f8b1b
new wait-until-alarm design, don't use System OFF.
2021-03-07 01:09:54 +09:00
Jeff Epler
4f040af481
vm: Make the speed-size trade-off compile time settable
...
.. and enable for all samd21 boards
2021-03-05 18:29:27 -06:00
Jeff Epler
67fb3054b4
Merge pull request #4342 from jamesbowman/main
...
Enable EVE low-level for Teensy 4.0 and 4.1
2021-03-05 17:25:00 -06:00
Jeff Epler
d2056a46ee
Merge pull request #4335 from tyomitch/main
...
[nrf] No need to store `buffer_length` as part of `audiopwmio_pwmaudioout_obj_t`
2021-03-05 15:54:10 -06:00
Jeff Epler
bed96a98d2
Merge pull request #4337 from tyomitch/patch-1
...
[stm] `curr_pulseout` can be `STATIC`
2021-03-05 15:53:31 -06:00
James Bowman
bff585ffd2
Enable EVE low-level for Teensy 4.0 and 4.1
2021-03-05 11:32:58 -08:00
Jeff Epler
cd1f19020f
raspberrypi: move landmine Makefile comments
2021-03-05 12:59:55 -06:00
Jeff Epler
2ae1e7de61
WIPrp2040: Implement IncrementalEncoder
...
Any two consecutive pins can be used for an IncrementalEncoder
Testing performed: Put a synthesized (few hundred counts per second) quadrature signal into GP2/3 and read the encoder out. Performed filesystem operations at the same time to stress test it.
The reasons for not using common_hal_rp2pio_statemachine_readinto are commented on.
2021-03-05 10:31:29 -06:00
Dan Halbert
4cf6579e22
remove general changes; not consistent across builds
2021-03-05 10:10:50 -05:00
Artyom Skrobov
e0b96c0f43
[nrf] No need to store buffer_length
as part of audiopwmio_pwmaudioout_obj_t
2021-03-05 06:01:58 -05:00
Artyom Skrobov
4720dc179a
[stm] curr_pulseout
can be STATIC
...
Not used outside of PulseOut.c
2021-03-05 12:52:13 +02:00
Dan Halbert
c97721455a
Shrink the smallest builds with compile options
2021-03-04 23:07:06 -05:00
DavePutz
a4dda3a5ba
Merge branch 'main' into issue_4111
2021-03-04 14:38:00 -06:00
DavePutz
c5c297d2c0
Update PulseOut.c
2021-03-04 13:53:19 -06:00
DavePutz
b7f03f9487
Update PulseOut.h
2021-03-04 13:52:40 -06:00
DavePutz
2d941b070f
Changed interrupt to per-word basis; cleaned up other small items
2021-03-04 13:51:46 -06:00
Jeff Epler
bc14ed31f6
StateMachine.h: Add header for declaration of mcu_pin_obj_t typedef
2021-03-04 12:28:46 -06:00
Jeff Epler
c023ec03ff
PDMIn: Add missing deinit call
2021-03-04 12:28:06 -06:00
Jeff Epler
bd01d31542
rp2pio: Add pins_are_sequential
...
This can be used where the standard API calls for a list of pins, to check that they satisfy the requirements of the rp2pio state machine, e.g.,
```python
def __init__(self, pin_a, pin_b):
if not rp2pio.pins_are_sequential([pin_a, pin_b]):
raise ValueError("Pins must be sequential")
```
2021-03-04 11:26:33 -06:00
Jeff Epler
ff62b0d2c0
StateMachine: Add pull up/down for inputs
2021-03-04 11:26:29 -06:00
Jeff Epler
68ac14b309
StateMachine: Add in_available property
...
I named the property `in_available` because it is similar to pyserial.
However, it indicates the number of words in the fifo, not the number
of bytes.
2021-03-04 11:14:09 -06:00
Dan Halbert
2ae8a44b2a
Merge pull request #4325 from microDev1/fix-wdt
...
ESP32S2: Fix watchdog deinit
2021-03-04 11:04:01 -05:00
hathach
6f99026a64
rp2040 use normal usb_irq_handler()
2021-03-04 21:29:04 +07:00
microDev
13453d35c6
fix watchdog deinit
2021-03-04 13:23:34 +05:30