Dan Halbert
419d374d3c
Merge pull request #5181 from kattni/macropad-speaker-enable
...
Add SPEAKER_ENABLE to MacroPad
2021-08-19 19:32:28 -04:00
Kattni Rembor
1185228b90
Remove SPEAKER_SHUTDOWN pin.
2021-08-19 15:18:19 -04:00
Scott Shawcroft
d2860b58b0
Check background pending before sleep
...
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.
Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
Jeff Epler
6abcac4ed6
not needed on rp2040
2021-08-19 13:56:31 -05:00
Jeff Epler
371f166de1
canio: Run background tasks while waiting for message reception
...
Closes : #5004
2021-08-19 13:55:30 -05:00
Jeff Epler
6ea136987e
run codeformat
2021-08-19 13:54:13 -05:00
Kattni Rembor
ae923db06d
Add SPEAKER_ENABLE pin to MacroPad.
2021-08-18 17:30:42 -04:00
Jeff Epler
cabe96e188
canio: Run background tasks while waiting for message reception
...
Closes : #5004
2021-08-18 11:39:40 -05:00
Scott Shawcroft
0390f812be
Fix RP2040 I2C instance check
2021-08-18 08:55:52 -07:00
Scott Shawcroft
e0ce5ff045
Fix some builds by disabling exfat
2021-08-18 08:22:29 -07:00
Jeff Epler
2b64318a57
Update all implementations of common_hal_busio_spi_read to honor write_value
...
(nrf, rp2040, and cxd56)
.. as well as a misleading comment that said that read always output
zeros.
Closes : #3447
2021-08-18 10:20:40 -05:00
gamblor21
d02a4b9f71
Removed ulab to make space in blackpill with flash board
2021-08-18 10:16:44 -05:00
Dan Halbert
5b0009cbc4
Merge pull request #5151 from dhalbert/usb_hid-changes
...
Support multiple reports per device in usb_hid
2021-08-17 17:14:28 -04:00
Scott Shawcroft
2d8346d23b
Merge pull request #5163 from dhalbert/fix-MICROPY_HW-definitions
...
correct some status LED pin defns per #5161
2021-08-17 12:41:00 -07:00
Scott Shawcroft
a5143d284b
Merge pull request #5161 from ZodiusInfuser/patch_micropy
...
Removed unnecessary defines from Pimoroni board files
2021-08-17 12:40:12 -07:00
Dan Halbert
a0c340f727
Update ports/esp32s2/boards/microdev_micro_s2/mpconfigboard.h
...
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-08-17 11:26:43 -04:00
Dan Halbert
064e086570
correct some status LED pin defns per #5161
2021-08-17 09:33:34 -04:00
microDev
6c763762d4
restore sys.atexit() to prevent merge conflict
2021-08-17 10:13:01 +05:30
Ryan A. Pavlik
a77e269121
cp_sapling_m0_revb: board.UART not board.uart
...
This is the only board that didn't match the all-uppercase convention for these UART (and more generally, these bus) entries.
2021-08-16 17:07:17 -05:00
Scott Shawcroft
abe8638f41
Merge pull request #5160 from ZodiusInfuser/patch_tiny2040
...
Removed default UART, SPI and I2C from Tiny2040 config
2021-08-16 14:54:52 -07:00
microDev
1c4a6c3667
atexit module refinements
...
- add test for atexit module
- add callback to gc collection
- fix callback memory allocation
- execute callback on both code and repl exit
2021-08-16 21:37:32 +05:30
ZodiusInfuser
2255ab1486
Removed unnecessary Micropy and Ignore defines
2021-08-16 16:40:12 +01:00
ZodiusInfuser
5fb507c3ff
Removed default UART SPI and I2C from Tiny2040 config
2021-08-16 16:31:31 +01:00
Seth Kerr
201883dcc1
removed bread 2040 from commit
2021-08-15 14:02:43 -06:00
Seth Kerr
3b491ac0f3
ran pre-commit locally
2021-08-15 14:02:43 -06:00
Seth Kerr
2ebeeb5daf
add ODT PixelWing ESP32S2
2021-08-15 14:02:43 -06:00
codetyphon
fd8fe6f013
Update ports/esp32s2/boards/ai_thinker_esp_12k_nodemcu/mpconfigboard.h
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-08-15 20:39:53 +08:00
codetyphon
7a48fc05b4
fix ai-tinker-esp-12k path
2021-08-15 13:29:42 +08:00
codetyphon
e29346b79a
ai_thinker_esp_12k_nodemcu
2021-08-15 10:18:40 +08:00
Dan Halbert
f37e1d7bf5
squeeze a couple of boards
2021-08-14 17:36:05 -04:00
codetyphon
8945d17aa2
Update mpconfigboard.mk
2021-08-14 23:32:40 +08:00
codetyphon
c577d3b6a4
add ai_thinker_esp_12k
2021-08-14 20:29:33 +08:00
codetyphon
221d66c603
Create board.c
2021-08-14 20:27:51 +08:00
Scott Shawcroft
3ffab36cdc
Merge remote-tracking branch 'adafruit/main' into fix_samd_timer_leak
2021-08-13 15:20:25 -07:00
Dan Halbert
ffb9ecfeca
Merge pull request #5139 from tannewt/onewireio
...
Move OneWire to `onewireio`
2021-08-13 18:10:04 -04:00
Scott Shawcroft
d528386d4e
Merge pull request #5143 from tylercrumpton/add-crumps2
...
Add CrumpS2 ESP32-S2 board
2021-08-13 12:03:42 -07:00
Scott Shawcroft
de796e2304
Move OneWire to onewireio
from busio
...
This will allow finer grained inclusion in 8.0.0
Fixes #5135
2021-08-12 10:47:14 -07:00
Scott Shawcroft
d294692c4e
Merge pull request #5100 from tannewt/fix_cp_irremote
...
Switch SAMD21 ticks to PER event
2021-08-12 09:52:29 -07:00
Dan Halbert
6c1dbea8b0
Merge pull request #5129 from skieast/add-morphesp240
...
Add morphesp240
2021-08-12 12:27:51 -04:00
Scott Shawcroft
9c77d2653f
Merge pull request #5099 from ZodiusInfuser/main
...
Added definitions for some upcoming Pimoroni LED driver boards
2021-08-12 09:27:21 -07:00
ZodiusInfuser
47c8ff0570
Removed unnecessary defines
2021-08-11 23:34:20 +01:00
Scott Shawcroft
fb6b438580
Make getpass
and traceback
full build only
...
This leaves much more space on SAMD21 builds that aren't "full builds".
These are new APIs that we don't need to add to old boards.
Also, tweak two Arduino boards to save space on them.
2021-08-11 14:47:35 -07:00
Scott Shawcroft
0c1d6cef75
Merge remote-tracking branch 'adafruit/main' into fix_cp_irremote
2021-08-11 13:43:59 -07:00
Bruce Segal
f35afa8239
Formatting and build.yml
2021-08-11 13:43:08 -07:00
Bruce Segal
4be64cd8a9
Initial MorphESP-240 support
2021-08-11 13:11:17 -07:00
Scott Shawcroft
0632a1e681
Merge pull request #5060 from cdwilson/cdwilson/circuitpython/sparkfun-stm32f405-micromod
...
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-11 12:19:16 -07:00
Scott Shawcroft
7f016ae11e
Fix build with filter to do OR
2021-08-11 12:10:51 -07:00
Scott Shawcroft
083960ce90
Fix SAMD51 builds and Prox Trinkey
...
Adds CIRCUITPY_BUSIO_UART to disable UART by raising ValueError
that no pins work.
2021-08-11 11:53:26 -07:00
Scott Shawcroft
ebf0901558
Merge pull request #5079 from dhalbert/debug-audio
...
Fix various RP2040 and SAMD audio issues
2021-08-11 11:19:53 -07:00
Scott Shawcroft
b56455ffbb
Allow sleep while paused
2021-08-11 10:48:39 -07:00
Scott Shawcroft
67c6932ca2
Reset timers separate from pwmio
...
This prevents timer leakage on builds without pwmio.
Fixes #5057
2021-08-11 09:58:31 -07:00
Dan Halbert
4608877c12
address review comments
2021-08-11 12:10:49 -04:00
Dan Halbert
35aac3d26b
display SPI now 10MHz; set PWM duty cycle to zero at stop to quiet output
2021-08-11 10:48:53 -04:00
Dan Halbert
24e61a7da8
Track more carefully which audio buffers to fill, based on interrupt channels
2021-08-10 22:00:09 -04:00
Jeff Epler
1e53cf40ad
Merge pull request #5114 from jpconstantineau/board-bluemicro840
...
Add Board bluemicro840
2021-08-10 19:17:05 -05:00
Scott Shawcroft
f0859ac954
Switch SAMD21 ticks to PER event
...
The EVSYS is used to generate an interrupt from the event. This
simplifies timing used in pulseio that conflicted with the
auto-reload countdown.
Fixes #3890
2021-08-10 15:23:45 -07:00
ZodiusInfuser
e587bd7dc0
Added final USB PIDs
2021-08-10 11:17:06 +01:00
Chris Wilson
c0902dade6
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-09 23:11:13 -07:00
Chris Wilson
e741330ca8
Consistent pin naming for SparkFun MicroMod processor boards.
2021-08-09 23:10:52 -07:00
Pierre Constantineau
aec965e6d9
changed PID as suggested by Scott
2021-08-09 15:25:06 -06:00
microDev
93c9d59960
Merge branch 'main' into getpass
2021-08-10 01:00:10 +05:30
microDev
052c53efc3
Merge pull request #5116 from eddieespinal/atmegazero_esp32s2
...
Fixes the MOSI and MISO pins mapping
2021-08-09 22:45:41 +05:30
Eddie Espinal
6764af182a
Fixes the MOSI and MISO pins. By mistake I added them backward in this mapping
2021-08-09 11:31:20 -04:00
Dan Halbert
2451c788f4
valid channels in audio_dma_stop; cleaner supervisor_ticks mgmt in keypad
2021-08-09 09:47:13 -04:00
Dan Halbert
59b89fdc5c
Fix various audio DMA issues:
...
RP2040 and SAMD51:
- Detect when DMA has finished, and stop DMA audio explicitly.
- Do not accidentally reuse `first_buffer` supplied by WaveFile or RawSample. Always realloc `first_buffer` and `second_buffer`
RP2040:
- When audio playing is stopped, write a final zero to the output register. This prevents residual PWM tones.
- Handle buffer size for 8-bit samples properly for 16-bit output.
- Fail on some edge cases (which may not be possible at the moment).
2021-08-09 09:47:13 -04:00
Dan Halbert
2cd80d1074
wip, with debugging printf's
2021-08-09 09:47:13 -04:00
Dan Halbert
fd71d924d2
partial buffer mgmt fix
2021-08-09 09:47:13 -04:00
microDev
51f8603783
add getpass module
2021-08-09 17:50:28 +05:30
Pierre
7d02fd42f8
removed trailing spaces at end of pins.c
2021-08-08 21:56:24 -06:00
Pierre
1a7cad6562
removed trailing spaces in pins.c
2021-08-08 21:43:03 -06:00
Pierre
b1d5b50551
fromatting updates to pins.c
2021-08-08 21:38:23 -06:00
Nathan Young
579194a543
Colocated board.LED and D13 together (GCM4)
2021-08-09 05:35:38 +02:00
Pierre
9de8045dca
foromatting updates to pins.c
2021-08-08 21:31:07 -06:00
Pierre
45d4058981
adding initial files for BlueMicro840 Board
2021-08-08 21:25:54 -06:00
Nathan Young
a15ac65fa0
Add board.LED for Grand Central M4 Express
...
Fixes #5111
2021-08-08 21:43:12 +02:00
microDev
063e3946d6
Merge pull request #5094 from jepler/quirc
...
Add qrio: Decode QR codes with quirc lib
2021-08-07 09:30:20 +05:30
Scott Shawcroft
be2342f32f
Merge pull request #5072 from microDev1/traceback
...
Add traceback module
2021-08-06 12:10:17 -07:00
Scott Shawcroft
93aa4e9e47
Merge pull request #5102 from evildave666/blackpill-add-mfg-name
...
Add WeAct manufacturer for STM32F411 blackpill boards
2021-08-06 11:59:24 -07:00
evildave666
4d14bcf2a2
Add WeAct manufacturer for black pill boards
2021-08-06 16:06:16 +09:00
Scott Shawcroft
00b617c9c4
Merge pull request #5097 from anecdata/cucumber
...
Add Gravitech Cucumber M, MS, R, and RS boards
2021-08-05 11:49:51 -07:00
Jeff Epler
f0e489f51f
Merge pull request #5098 from bd34n/bdmicro_vina_d51_flash_chip
...
board bdmicro_vina_d51: Add support for MX25L12833F flash chip.
2021-08-05 13:48:29 -05:00
Scott Shawcroft
e3fa6e2c35
Merge pull request #5089 from tannewt/disable_ble_workflow
...
Add ability to disable BLE workflow
2021-08-05 11:21:17 -07:00
Jeff Epler
2e8eb43dcc
Use new quirc define for small stacks
...
.. and revert stack enlargement of esp32-s2
2021-08-05 12:52:43 -05:00
Jeff Epler
f9393c9e51
enable qrio in unix coverage build, and add a test
2021-08-05 12:24:07 -05:00
ZodiusInfuser
f707fa107a
Tweaks to Interstate75 pinout
2021-08-05 15:00:47 +01:00
Brian Dean
821f3d5532
board bdmicro_vina_d51: Add support for MX25L12833F flash chip. Add QSPI activity indicator LED. Add D15-D19 as aliases for the I2S peripheral pins.
2021-08-05 09:14:51 -04:00
ZodiusInfuser
11ed759cf9
Tweaks to Plasma2040 pinout
2021-08-05 13:01:50 +01:00
anecdata
10f74618cf
Cucumber M, MS, R, and RS boards
2021-08-04 19:09:43 -05:00
Jeff Epler
131dbf1e87
Remove hard-coded disable of USB_HID for kaluga devkits
2021-08-04 18:17:20 -05:00
Dan Halbert
81833035fc
raytac_mdbt50q-rx
2021-08-04 15:47:19 -04:00
Jeff Epler
38f392f318
esp32s2: Increase C stack size
...
The QR decoder has a single item that is 8908 bytes big and placed
on the stack. (struct datastream)
Without enlarging the stack, this will reliably crash.
2021-08-03 13:40:27 -05:00
Jeff Epler
dfc992b7be
Make it easier to disable wifi
2021-08-03 13:40:27 -05:00
Jeff Epler
ac4b10bcd9
It's "shared-module", not "shared-modules"
2021-08-03 10:37:47 -05:00
ZodiusInfuser
6663dacedb
Added board configurations for Plasma and Interstate
2021-08-03 14:01:56 +01:00
Scott Shawcroft
1e225610cc
Add ability to disable BLE workflow
...
Call `supervisor.disable_ble_workflow()` and the BLE workflow will
be disabled until the chip is reset.
This also includes a couple fixes:
1. Terminals can now be deinit by setting the tilegrid to NULL. This
prevents using the tilegrid before display is init.
2. Fix BLE serial send amount when sending more than a single packet.
Fixes #5049
2021-08-02 18:37:19 -07:00
Scott Shawcroft
686103fd8e
Merge pull request #5085 from dhalbert/board-specific-pico-sdk-settings
...
Add board-specific pico-sdk settings; set xosc multipler for Adafruit boards
2021-08-02 10:53:54 -07:00
Tyler Crumpton
5f2cd41bf2
Update PID/VID to real values
2021-07-31 18:05:43 -05:00
Tyler Crumpton
f7727405d3
Add CrumpSpace CrumpS2 board definition
2021-07-31 17:01:48 -05:00
Dan Halbert
a358e5f58a
Add board-specific pico-sdk settings; set xosc multipler for Adafruit boards
2021-07-30 18:50:21 -04:00
Lucian Copeland
da149b0a42
Merge remote-tracking branch 'upstream/main' into stm32-sleepmem
2021-07-30 15:35:55 -04:00