Commit Graph

15145 Commits

Author SHA1 Message Date
Scott Shawcroft 085242bf5c
Use new USB PIDs that aren't used yet. 2020-01-21 18:45:00 -08:00
Scott Shawcroft 87344ff53a
Disable the DCache when USB is initialized. There are still issues enabling it. 2020-01-21 18:32:19 -08:00
Dan Halbert f99157b811
Merge pull request #2545 from dhalbert/cpx-stack-4760
Increase CPX stack size by 256
2020-01-21 19:43:34 -05:00
sommersoft ed2d94cae9
Merge pull request #2543 from pewpew-game/support-matrix
Fix entry overrides in support matrix generation
2020-01-21 18:18:08 -06:00
Dan Halbert 4923caf85e Increase CPX stack size by 256 2020-01-21 18:53:55 -05:00
Radomir Dopieralski e1840f6abc Fix entry overrides in support matrix generation
Fix #2539

The entries in the board's mpconfigboard.mk override any other entries.

Also, fixed a warning for bad use of backslash in a string.
2020-01-21 22:03:47 +01:00
tsupplis b66abd47b8
Update fix (missing pragma gcc diagnostic push)
Update fix (missing pragma gcc diagnostic push)
2020-01-21 19:45:20 +00:00
Scott Shawcroft 1daac3a5f4
Merge pull request #2534 from CapableRobot/capablerobot-usbhub
Pin name updates and add additional SPI flash part for Capable Robot USB Hub
2020-01-20 22:27:55 -08:00
Jeff Epler b4ddee2bb6 Mixer: rename function based on review comment 2020-01-20 14:08:56 -06:00
Jeff Epler 982c63a717 Mixer: use MP_LIKELY macro instead of locally brewed one 2020-01-20 14:08:32 -06:00
Chris Osterwood 97420994e8 Merge remote-tracking branch 'origin/master' into capablerobot-usbhub 2020-01-20 13:11:57 -05:00
Scott Shawcroft 1c39606345
Fix other builds missing new heap bounds functions 2020-01-18 18:06:56 -08:00
Scott Shawcroft 834259a2cf
Update translations and translation sources 2020-01-18 11:57:57 -08:00
Scott Shawcroft 9d5742ebd1
Fix start on power up by providing Reset_Handler ourselves.
On power up the FlexRAM banks are in an unknown config so we can't
rely on the stack until after we configure FlexRAM.
2020-01-18 11:54:01 -08:00
Scott Shawcroft 9f4ea2122a
teensy fixes 2020-01-17 18:35:09 -08:00
Scott Shawcroft 7d8dac9211
Refine iMX RT memory layout and add three boards
Introduces a way to place CircuitPython code and data into
tightly coupled memory (TCM) which is accessible by the CPU in a
single cycle. It also frees up room in the corresponding cache for
intermittent data. Loading from external flash is slow!

The data cache is also now enabled.

Adds support for the iMX RT 1021 chip. Adds three new boards:
* iMX RT 1020 EVK
* iMX RT 1060 EVK
* Teensy 4.0

Related to #2492, #2472 and #2477. Fixes #2475.
2020-01-17 17:36:08 -08:00
Hierophect 3f43155b63 Meowbit bus conflict WIP 2020-01-17 13:31:12 -05:00
Limor "Ladyada" Fried 85c731734a
Merge pull request #2530 from adafruit/mimxrt1011_pin_fix
mimxrt1011: Fix pin definition
2020-01-17 10:49:50 -05:00
arturo182 69785cccfe
mimxrt1011: Fix pin definition 2020-01-17 14:45:29 +01:00
Limor "Ladyada" Fried d11a112389
Merge pull request #2528 from oshwabadge2020/ohs2020-badge
Ohs2020 badge initial support
2020-01-16 19:04:46 -05:00
Michael Welling cc77e86408 Update the VID and USB company string
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 15:43:49 -08:00
Michael Welling cc03d68984 Fix backlight pin registration
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 14:53:07 -08:00
Michael Welling b61014a7b8 Add OHS2020 badge to build.yml
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 14:28:28 -08:00
Michael Welling 86d454adf3 Initial board support for OHS2020 Badge
Not tested but builds.

Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 13:46:56 -08:00
Jeff Epler 449dbea456 Mixer: Rework for performance, particularly of the S16 case
This removes downscaling (halving-add) when multiple voices are
being mixed.  To avoid clipping, and get similar behavior to before,
set the "level" of each voice to (1/voice_count).

Slow paths that were applicable to only M0 chips were removed.

As a side effect, the internal volume representation is now 0 ..
0x8000 (inclusive), which additionally makes a level of exactly 0.5
representable.

Testing performed, on PyGamer: For all 4 data cases, for stereo and
mono, for 1 and 2 voices, play pure sign waves represented as
RawSamples and view the result on a scope and through headphones.
Also, scope the amount of time spent in background tasks.

Code size: growth of +272 bytes

Performance (time in background task when mixing 2 stereo 16-bit voices):
76us per down from 135us (once per ~2.9ms long term average)
(Decrease from 4.7% to 2.4% of all CPU time)
2020-01-16 10:48:38 -06:00
Jeff Epler e6869c8983 mixer: factor out mix_one_voice 2020-01-16 10:31:26 -06:00
Scott Shawcroft 8b61333937
Merge pull request #2510 from dhalbert/bonding-nvm
nrf: Add bonding to BLE pairing support
2020-01-15 16:11:09 -08:00
Dan Halbert 765a54afb5
Merge pull request #2525 from aramcon-badge/badge_2019_upstream
Add board definition files for AramCon Badge 2019
2020-01-15 18:29:36 -05:00
Benny Meisels 4bf10a75c7 Add board definition files for AramCon Badge 2019 2020-01-16 00:44:18 +02:00
Dan Halbert f496b6cdc8
Merge pull request #2520 from joeycastillo/openbook-squashed
CircuitPython support for the Open Book
2020-01-15 17:21:19 -05:00
Limor "Ladyada" Fried c1ed78de79
Merge pull request #2521 from dalegrover/add_seeeduino_xiao
Add Seeeduino XIAO board definitions
2020-01-15 16:57:38 -05:00
Dan Halbert 85dc4089b9 address review comments 2020-01-14 17:23:16 -05:00
dalegrover d6e657b593 Initial commit. 2020-01-14 16:51:27 -05:00
Joey Castillo eb481c9247 add support for the Open Book 2020-01-14 16:34:46 -05:00
Hierophect 1070f2c853 Merge remote-tracking branch 'upstream/master' into stm32-meowbit 2020-01-14 16:11:59 -05:00
Hierophect 05093f7f54 Fix VTOR relocate, add bootloader makefile handling 2020-01-14 15:50:00 -05:00
hierophect 7775513a5b
Merge pull request #2463 from hierophect/stm32-i2c-rework
STM32: I2C fix & general busio cleanup
2020-01-14 15:06:31 -05:00
Scott Shawcroft b5df5ce1ce
Merge pull request #2507 from kamtom480/circuitpython-mkspk
Add mkspk source files
2020-01-14 12:05:36 -08:00
Scott Shawcroft 1d2e262a59
Merge pull request #2505 from theodox/master
Make all `PYTHON` env vars into `PYTHON3`
2020-01-14 10:55:23 -08:00
Scott Shawcroft ed811fb9c0
Merge pull request #2504 from rhooper/fix-tuple-subscr
Fix tuple subscr
2020-01-14 10:53:50 -08:00
Hierophect 5aae8df5d7 style changes, fix i2c typo 2020-01-14 13:30:16 -05:00
Hierophect c0dacba80f remove comment confusing py tools 2020-01-14 13:06:10 -05:00
Dan Halbert 5b1139db3e
Merge pull request #2511 from scs217/feather_m4_express_expanded_pinout
Added Dxx names to analog pins on Feather M4 Express pins.c file
2020-01-13 22:54:48 -05:00
scs217 50e718be99 second revision to line breaks for visibility per dhalbert 2020-01-13 22:13:39 -05:00
scs217 18957786f2 inserted line breaks between different pins (grouping together aliases for legibility) per request by dhalbert 2020-01-13 22:00:42 -05:00
scs217 c735289ddf Added Dxx names to analog pins on Feather M4 Express pins.c file 2020-01-13 21:19:17 -05:00
Dan Halbert 0367ba7495 fix some typos and leftovers 2020-01-13 18:29:34 -05:00
Dan Halbert 2a75196aa3 merge from adafruit/circuitpython 2020-01-13 18:15:32 -05:00
Dan Halbert 4ad004f24e put bonding to-do flags into Connection objects instead of using a heap-allocated queue 2020-01-13 17:52:32 -05:00
Hierophect de2379bc30 minor WIP debug edits 2020-01-13 17:24:52 -05:00