Commit Graph

6942 Commits

Author SHA1 Message Date
Scott Shawcroft bba611336c
Merge pull request #4964 from DavePutz/issue_4937
Fix for issue #4937 - Implement minimum PulseOut time
2021-07-16 11:29:32 -07:00
root eebddbb16d Change min pulse calculation 2021-07-15 21:27:23 -05:00
Jeff Epler e528d8dac3
Merge pull request #5002 from tannewt/microbitv2
Create first BLE-only board, Micro:Bit v2
2021-07-15 14:02:35 -05:00
Lucian Copeland e3bc800bbc
Merge pull request #4999 from hierophect/esp-timer-leak
ESP32S2: Fix PWM timer leak and variable frequency conflicts
2021-07-14 13:29:56 -04:00
Scott Shawcroft 0fadf028ef
Create first BLE-only board, Micro:Bit v2
This fixes build issues with USB off, tweaks the README to allow
for BLE-only boards and adds the Micro:Bit v2 definition.

Fixes #4546
2021-07-14 09:55:51 -07:00
Scott Shawcroft e7c5165ff6
Merge pull request #4994 from bobthechemist/atmel-samd-analogio-deinit
added pin object to analogout
2021-07-13 18:13:11 -07:00
Lucian Copeland bd39641f7e Fix PWM timer leak and varfreq conflicts 2021-07-13 18:05:47 -04:00
Scott Shawcroft c2685970af
Merge pull request #4987 from DavePutz/issue_4983
Fix for Issue #4983 - stop state machine before restarting
2021-07-13 12:16:33 -07:00
root 5c9823d8cb Change order of operations in restart 2021-07-13 11:17:03 -05:00
BoB LeSuer 35030fbb30 added pin object to analogout 2021-07-12 20:33:42 -04:00
Scott Shawcroft 9fdecacec7
Merge pull request #4903 from jepler/split-type-objects
Split type objects
2021-07-12 16:37:55 -07:00
root 490f263a41 Added code to reset SM program counter during a restart 2021-07-12 14:09:11 -05:00
Jeff Epler 1b2da0cda3 Rename mp_type_getbuffer -> mp_type_get_getbuffer_slot 2021-07-12 07:04:02 -05:00
Jeff Epler 52540a9830 Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS 2021-07-12 06:57:59 -05:00
root 9d5fbea7a3 Fix for Issue #4983 - stop state machine before restarting 2021-07-11 21:02:28 -05:00
root 0ea750b2d0 Fix handling of short pulses 2021-07-11 16:38:24 -05:00
DavePutz 25e799e51a
Add LED and GP25 for Cytron Maker Pi Pico 2021-07-09 20:49:59 -05:00
Jeff Epler 7302bc09a7 rename the type flag to EXTENDED for consistency 2021-07-09 14:59:37 -05:00
Scott Shawcroft 58fdf9e940
Merge pull request #4975 from DavePutz/issue_4945
Issue #4945 - handle multiple PulseIns
2021-07-09 11:03:16 -07:00
Scott Shawcroft 0e88b77b3e
Merge pull request #4977 from pewpew-game/samd21-filesystem-size
Allow changing size of the filesystem on samd21 per board
2021-07-09 11:00:13 -07:00
Kattni Rembor 825a706135 Turn off MIDI on one build, fix name. 2021-07-08 17:31:10 -04:00
Radomir Dopieralski 92fa1055ef Allow changing size of the filesystem on samd21 per board
As the CircuitPython grows, it may at some point no longer be possible
to squeeze it on some of the flash-less SAMD21 boards, so it would be
good to have the option of shrinking the filesystem size on per-board
basis. This change allows to define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE
inside the board's mpconfigborard.h file.
2021-07-08 22:19:54 +02:00
root 4046b0fb0a Issue #4945 - handle multiple PulseIns 2021-07-08 14:09:21 -05:00
Dan Halbert ab52a92704 Disallow ctrl-C interrupts of RP2040 SPI and PIO 2021-07-08 13:42:24 -04:00
Dan Halbert a843b8a0d4 Merge remote-tracking branch 'adafruit/main' into rp2040-audio-and-spi-fixes 2021-07-08 08:22:21 -04:00
Dan Halbert bd6826496c Fix various RP2040 audio dma things: (see detailed commit message)
1. Check for correct error values from dma_claim_unused_channel.
2. Introduce a .stereo flag for simplicity.
3. Clarify PWM carrier frequency choice.
4. Start introducing quiescent audio value. Still need to ramp up/down.
5. Redo audio stop logic a bit.
6. Fix (unrelated) displayio dependency things.

There is still an interference problem between other DMA users and audio. Still debugging this.
2021-07-08 08:14:49 -04:00
microDev b4e763613a
delete ports/nrf/examples directory 2021-07-07 15:13:26 +05:30
root f98ec0cfd6 Fix formatting 2021-07-06 14:43:46 -05:00
root bfa777c55a Add check for timer success 2021-07-06 14:34:15 -05:00
Jeff Epler 0d756066e8 milestone: coverage make test_full passes 2021-07-06 10:37:32 -05:00
Jeff Epler cd119ca3ec Introduce, use getters for fields which will be optional in types 2021-07-06 09:15:01 -05:00
Daniel Griswold 2519b06478 fix spi definition 2021-07-06 01:15:32 -04:00
root b2e72b2912 fix formatting 2021-07-05 23:13:18 -05:00
root 6e4613f1a1 Fix formatting 2021-07-05 12:30:26 -05:00
root 9814386d2e Fix for issue #4937 - Implement minimum pulseout time 2021-07-05 11:38:05 -05:00
microDev cece6492a5
Merge pull request #4963 from rsbohn/main
Enable audiomixer for esp32s2.
2021-07-03 22:48:12 +05:30
Randall Bohn 6bb44674a5
Enable audiomixer for esp32s2.
Allows playing sounds via Mixer on I2SOut. Tested on the feathers2.
2021-07-03 04:34:55 -06:00
Dan Halbert c37f354d2d
Merge pull request #4958 from dhalbert/rp2040-audio-fixes
RP2040 PWMAudioOut: Release DMA channels after play has finished
2021-07-02 10:03:54 -04:00
microDev a4bd4e916b
esp32s2 - fix spi_never_reset() 2021-07-02 14:40:41 +05:30
Dan Halbert c7ffc2c10b
Merge pull request #4957 from tannewt/ble_serial
Add serial over BLE
2021-07-01 23:05:18 -04:00
Dan Halbert d886e8041d Turn off pwmio on meow meow for space reasons 2021-07-01 22:14:37 -04:00
Dan Halbert 33bbb8b1f4 RP2040 PWMAudioOut: Release DMA channels after play has finished. 2021-07-01 17:36:29 -04:00
Scott Shawcroft 3940878695
Shrink builds and handle 0-length writes 2021-07-01 12:49:11 -07:00
Scott Shawcroft f2ef586331
clean up 2021-06-29 11:54:15 -07:00
Scott Shawcroft 826e25989c
Merge pull request #4949 from pewpew-game/macropad-oled
MacroPad RP2040: Add initialization for the OLED display
2021-06-29 11:08:14 -07:00
Limor "Ladyada" Fried 176c5c5cd5
Merge pull request #4942 from pewpew-game/main
PewPew M4: use keypad instead of gamepad
2021-06-29 11:54:01 -04:00
Radomir Dopieralski b8c4f7d685 MacroPad RP2040: Add initialization for the OLED display 2021-06-29 17:38:14 +02:00
Radomir Dopieralski 1a076d34c9 PewPew M4: use keypad instead of gamepad
Since the new keypad module is taking over gamepad functionality,
I'm switching to it. If this works well, I will make the change
for the remaining boards.
2021-06-29 10:36:52 +02:00
Kattni Rembor 2c2d541e7c Adding pins to match silk and other RP2040 boards. 2021-06-28 17:10:15 -04:00
Scott Shawcroft 3177973843
Add BLE serial service 2021-06-25 15:00:10 -07:00