Commit Graph

15185 Commits

Author SHA1 Message Date
Radomir Dopieralski 59ded1131f Take display offsets for PewPew M4 from the bootloader config
The PewPew M4 devices come with different displays, which require
different offsets. Since the information about offsets is saved in
the bootloader, we can take it from there.
2020-01-06 14:24:30 +01:00
Dan Halbert 390337b9a5 wip; compiles 2020-01-05 23:33:42 -05:00
Hierophect f355642eab Boot linker edits 2020-01-04 16:29:31 -05:00
Hierophect 53238ad9b2 yaml changes 2020-01-04 13:57:38 -05:00
Hierophect d0fab1c728 Clean up debugging edits 2020-01-04 13:53:31 -05:00
Hierophect 36088becc9 PWM Fix, plus debugging 2020-01-04 13:35:53 -05:00
Marius-450 3ad3d49959 changes only for monster m4sk 2020-01-04 12:32:49 -05:00
Marius-450 d2b2cf0add CIRCUITPY_DISPLAY_LIMIT = 2 2020-01-04 12:20:32 -05:00
Scott Shawcroft 82fb761c0f
Add PacketBuffer and MTU negotiation support.
PacketBuffer facilitates packet oriented BLE protocols such as BLE
MIDI and the Apple Media Service.

This also adds PHY, MTU and connection event extension negotiation
to speed up data transfer when possible.
2020-01-03 17:29:54 -08:00
Scott Shawcroft 776c9b011c
Merge pull request #2432 from tannewt/fix_nrf_uart
Fix nRF UART reset
2020-01-03 16:57:59 -08:00
Scott Shawcroft f6ec1ea172
Throw an error when we cannot allocate PWM pixel buffer 2020-01-03 15:15:36 -08:00
Scott Shawcroft 6afb8dadbc
Change SPI and I2C in the same way. 2020-01-03 15:14:37 -08:00
Dan Halbert fc5f776429
Merge pull request #2034 from rhooper/new-pixelbuf-api
Updates to pixelbuf API - Addresses #884
2020-01-03 17:19:02 -05:00
Dan Halbert 242d572470 wip 2020-01-03 10:24:07 -05:00
Jeff Epler bd8650d35b samd/peripherals: take upstream update 2020-01-02 17:55:50 -06:00
Roy Hooper 767ce1cdf8 remove unnecessary GCC pragmas 2020-01-02 18:03:18 -05:00
Roy Hooper ccf158b030 raise mp_raise_NotImplementedError 2020-01-02 18:00:36 -05:00
Roy Hooper fdddb54db4 rename call_show to pixelbuf_call_show 2020-01-02 17:56:04 -05:00
Jeff Epler ec22520992 MP3File: Add rms_level property
This lets a music player show it vu-meter style
2020-01-02 15:23:42 -06:00
Roy Hooper 4e1996856f Fix docstring for byteorder 2020-01-01 19:25:44 -05:00
Roy Hooper 12193913a8 move native fill to a helper to work around being unable to call a subclass show method from the native superclass 2020-01-01 17:30:17 -05:00
Roy Hooper 8129a8503a Revert "try a property with a callable static class"
This reverts commit ca5b2770cf.
2020-01-01 16:10:22 -05:00
Roy Hooper ca5b2770cf try a property with a callable static class 2020-01-01 16:10:01 -05:00
Dan Halbert 32b82032a1
Merge pull request #2423 from pewpew-game/pewpew-m4-update
Update the PewPew M4 board and circuitpython-stage
2020-01-01 13:59:02 -05:00
Roy Hooper 64556e017d Merge branch 'master' into new-pixelbuf-api 2019-12-31 11:26:20 -05:00
Dan Halbert 1bc9279ba0
Merge pull request #2438 from dglaude/patch-2
Update Shape.c
2019-12-31 00:16:10 -05:00
Dan Halbert c7d68fc3bc
Merge pull request #2440 from adafruit/tannewt-hwm4-uart-pins
Fix Hallowing M4 Express UART pin mapping
2019-12-30 23:45:14 -05:00
Dan Halbert 775adaec97
Merge pull request #2441 from dhalbert/clue_nrf52840_express
initial CLUE board defn
2019-12-30 18:20:07 -05:00
Dan Halbert f0d34da556 add display support; rotation 270 2019-12-30 17:39:39 -05:00
Dan Halbert 3f9ebd2fed initial CLUE board defn 2019-12-30 17:10:42 -05:00
Hierophect 28b1d718a3 Tests for PWM issues, style changes 2019-12-30 15:15:55 -05:00
Scott Shawcroft 0223589e6c
Fix default UART too 2019-12-30 11:34:51 -08:00
Scott Shawcroft e1d026f815
Update pins.c 2019-12-30 11:33:04 -08:00
Dan Halbert 264abd4741
Merge pull request #2428 from hathach/samd-improve-usb
improve usb dcd samd51
2019-12-30 13:39:17 -05:00
Dan Halbert 385ed1154f
Merge pull request #2439 from hierophect/stm32-cpython-compat
STM32: Cpython compatibility flag
2019-12-30 13:11:03 -05:00
Hierophect e9dbc34d80 add cypthon compat setting 2019-12-30 11:35:02 -05:00
Hierophect 5b9209aa02 Merge remote-tracking branch 'upstream/master' into stm32-meowbit 2019-12-30 11:17:12 -05:00
David Glaude 01d49eb0a7
Update Shape.c
Make no sense to say this is experimental and will change in 4.0.0 when we are already above 4.0.0.
This should be removed, or updated to say it will not be in x.0.0
2019-12-30 16:54:16 +01:00
Roy Hooper 023d64fe4a Merge branch 'pixelbuf-subscr-change' into new-pixelbuf-api 2019-12-29 13:56:47 -05:00
Roy Hooper f1a9039632 Merge branch 'master' into pixelbuf-subscr-change 2019-12-29 13:56:31 -05:00
Scott Shawcroft cfd71d9023
Fix nRF UART reset
disable only turns off ENABLE but doesn't set the init tracking that
nrfx uses. uninit hangs if ENABLE is off and is called because it
waits forever for TX to stop.
2019-12-27 20:18:07 -08:00
hathach adff14c5bc
more tinyusb update 2019-12-27 09:55:16 +07:00
Radomir Dopieralski 6205b55b19 Bump circuitpython-stage version to 1.0.8 2019-12-26 22:13:52 +01:00
hathach 62c4028cde
sync with https://github.com/hathach/tinyusb/pull/246
should fix slow enumeration
2019-12-26 23:04:16 +07:00
Dan Halbert 7387f60920
Merge pull request #2431 from jerryneedell/jerryn_stm_vbat
define board.VOLTAGE_MONITOR for feather_stm32f405_express
2019-12-26 09:29:58 -05:00
Jerry Needell d38a0007f1 define board.VOLTAGE_MONITOR for feather_stm32f405_express 2019-12-26 08:46:27 -05:00
hathach 3492ba33d5
improve usb dcd samd51
fix race condition with setup packet + scsi status response
2019-12-26 00:18:04 +07:00
Jeff Epler 97bb46c047 MP3File: tweak buffer handling
After adding the ability to change files in an existing MP3File object,
it became apparent that at the beginning of a track some part of an
existing buffer was playing first.

I noticed that in get_buffer, the just-populated buffer wasn't being
returned, but the other one was.  But still after fixing this, I heard
wrong audio at the beginning of a track, so I took the heavy duty approach
and zeroed the buffers out.  That means there's a remaining bug to chase,
which is merely hidden by the memset()s.
2019-12-24 09:43:15 -06:00
Jeff Epler 5aa3e3eabb samd/peripherals: update 2019-12-24 09:36:19 -06:00
Ha Thach 9ba40de538
Merge pull request #2424 from hierophect/vbus-rename
STM32: rename vbus flag
2019-12-24 10:16:31 +07:00