Michael Welling
64cafe82bc
Adjust OHS2020 madctl for default rotation
...
Make to go faster I guess.
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-02-02 22:14:10 -08:00
Michael Welling
6804b2a7fd
Add I2C pin definitions for interoperability with Adafruit libraries
...
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-02-02 22:13:39 -08:00
Michael Welling
33dcdd7c03
Updates to enable working SPI TFT
...
The backlight enable is active low on our board so the driver doesn't like it.
Toggling to GPIO manually for now.
As fixed the improper SPI bus pins definitions and it works!
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-02-02 22:13:03 -08:00
Michael Welling
d99c2ffe4f
QSPI flash fixes
...
We had the pin names swapped on the schematic and a different flash was populated.
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-02-02 22:11:12 -08:00
Dan Halbert
3aed0a1fd7
Merge pull request #2572 from ladyada/master
...
adjust CLUE madctl so rotation 0 is 'right'
2020-01-31 21:00:06 -05:00
Lady Ada
dc964b346c
adjust CLUE madctl so rotation 0 is 'right'
2020-01-31 20:17:39 -05:00
Dan Halbert
19f1234997
Merge pull request #2571 from dhalbert/clue-fixes
...
fix UICR check; do not use NULL for no MISO
2020-01-31 19:48:16 -05:00
Dan Halbert
be4e681d07
fix UICR check; do not use NULL for no MISO
2020-01-31 18:57:41 -05:00
Dan Halbert
8258cb851e
Merge pull request #2569 from dhalbert/nrf-increase-connections
...
increase max BLE connections from 2 to 5
2020-01-31 15:59:27 -05:00
Dan Halbert
4abd5f1f7b
increase max connections from 2 to 5
2020-01-31 14:58:23 -05:00
Dan Halbert
d378bebaa3
Merge pull request #2565 from dhalbert/gamepad-for-cpx
...
add gamepad to specialty cpx builds; update frozen libs
2020-01-30 22:05:46 -05:00
Dan Halbert
3b95d7c16a
add gamepad to specialty cpx builds; update frozen libs
2020-01-30 21:00:47 -05:00
Dan Halbert
89829aea85
Merge pull request #2564 from dhalbert/clue-rev-c
...
Update CLUE to Rev C
2020-01-30 16:14:30 -05:00
Dan Halbert
b6358182d3
Update CLUE to Rev C
2020-01-30 15:22:26 -05:00
Jeff Epler
ba47aa25a1
Merge pull request #2550 from tannewt/tweak_pixelbuf
...
Encapsulate the buffers within PixelBuf
2020-01-30 13:55:02 -06:00
Scott Shawcroft
55eb1730b8
Merge remote-tracking branch 'adafruit/master' into tweak_pixelbuf
2020-01-30 10:59:21 -08:00
Scott Shawcroft
2cc20e8816
Remove unneeded native cast.
2020-01-30 10:59:16 -08:00
Scott Shawcroft
d22e95eeda
Merge pull request #2561 from pewpew-game/stage-background
...
circuitpython-stage: allow choosing background color
2020-01-30 10:34:58 -08:00
Scott Shawcroft
298bca3fdd
Merge pull request #2562 from dhalbert/ble-fixes
...
nrf: track vm_used_ble better
2020-01-30 10:33:19 -08:00
Dan Halbert
87f73e2729
track vm_used_ble better
2020-01-30 09:52:06 -05:00
Radomir Dopieralski
27c36eea2b
circuitpython-stage: allow choosing background color
2020-01-30 15:24:04 +01:00
Scott Shawcroft
5d24ade5c9
Tweak error messages to reduce code size.
2020-01-29 17:32:07 -08:00
Scott Shawcroft
0b761f60ea
Merge pull request #2404 from hierophect/stm32-meowbit
...
STM32: Meowbit support
2020-01-29 16:32:35 -08:00
Lucian Copeland
1a25d3ca83
fix merge issue
2020-01-29 18:46:14 -05:00
Scott Shawcroft
710c1985ba
Merge commit 'eb0ef' into tweak_pixelbuf
2020-01-29 13:40:33 -08:00
Scott Shawcroft
d655c785b6
Merge commit 'b36b24' into tweak_pixelbuf
2020-01-29 13:35:22 -08:00
hierophect
898f4e1f72
Merge branch 'master' into stm32-meowbit
2020-01-29 16:32:08 -05:00
Lucian Copeland
100409961a
Move board_init to main.c
2020-01-29 16:29:43 -05:00
Lucian Copeland
b9bed98538
Merge stm32-meowbit
2020-01-29 16:05:19 -05:00
Lucian Copeland
8a9c3097e3
Add port-specific requested changes
2020-01-29 16:00:38 -05:00
Scott Shawcroft
5b6b4eb326
Merge pull request #2551 from jepler/build-mpy-cross-static-linux-win64
...
Build static binaries of mpy-cross for desktop linux, desktop windows, mac, and raspbian
2020-01-29 11:45:08 -08:00
Scott Shawcroft
7d4f9fc99f
Merge pull request #2554 from dhalbert/packetbuffer-packet_size
...
PacketBuffer.packet_size was returning bool instead of int
2020-01-29 11:44:40 -08:00
Scott Shawcroft
ac55143c64
Merge pull request #2556 from jepler/update-tools-uf2
...
tools/uf2: take new upstream commits
2020-01-29 11:43:40 -08:00
Lucian Copeland
3c86005546
Implement requested changes
2020-01-28 17:11:25 -05:00
Lucian Copeland
ab9483b7fb
Add internal display definitions, fails at startup
2020-01-28 16:00:34 -05:00
Jeff Epler
03cdc5ef76
tools/uf2: take new upstream commits
2020-01-28 13:48:40 -06:00
Scott Shawcroft
84b055362f
Merge pull request #2555 from suda/feature/particle-wiznet5k
...
Add support for the Particle Ethernet FeatherWing
2020-01-28 10:46:33 -08:00
Wojtek Siudzinski
df5e58fc6e
Add support for the Particle Ethernet FeatherWing
2020-01-28 10:53:50 +01:00
Scott Shawcroft
5e789b3850
Don't allocate the pre brightness buffer if brightness is 1.0 still
2020-01-27 15:10:32 -08:00
Scott Shawcroft
f6a635b102
Fix subclassing of objects that are tested. Others may still be broken.
2020-01-27 14:52:42 -08:00
Scott Shawcroft
eb0ef3726f
Merge pull request #2552 from jepler/samd-stereo-single-dma
...
samd: When possible, use one DMA channel for stereo AudioOut
2020-01-27 14:15:26 -08:00
Scott Shawcroft
b36b2493bc
Merge pull request #2532 from tannewt/teensy4-dev
...
Refine iMX RT memory layout and add three boards
2020-01-27 14:11:08 -08:00
Dan Halbert
e21580b67f
PacketBuffer.packet_size was returning bool instead of int
2020-01-27 17:10:56 -05:00
Jeff Epler
7c11a5ad6d
Merge pull request #2553 from ladyada/master
...
add missing displayref
2020-01-27 09:30:07 -06:00
Jeff Epler
c8f969feb5
samd: audio-dma: avoid memory allocations
...
With the previous change, stereo mp3 playback changed from needing
4 2304-byte allocations to needing 2 4604-byte allocations. This was
enough to cause MemoryErrors with regularity.
By using m_realloc() here, the existing memory region can be used.
m_realloc() also works on the first invocation, because m_realloc(NULL, sz)
just calls m_malloc of sz.
2020-01-27 08:49:41 -06:00
Lady Ada
f2dfcee042
add missing displayref
2020-01-26 20:10:20 -05:00
Jeff Epler
cb6193bbc7
samd: When possible, use one DMA channel for stereo AudioOut
...
.. the documentation doesn't make this clear, but in practice it works
to write both of the DATABUF registers at the same time. This should
also reduce the amount of wear and tear DMA puts on the system, as the
number of transfers is cut in half. (the number of bytes transferred
remains the same, though)
In principle, this could cover all stereo cases if audio_dma_convert_signed
also learned to 16-bit extend and swap values. However, this is the
case that matters for stereo mp3 playback on PyGamer.
Testing performed: Listened to some tracks with good stereo separation.
2020-01-26 15:36:24 -06:00
Jeff Epler
0b7551f4c7
add mpy-cross-mac to build artifacts
2020-01-25 18:49:14 -06:00
Jeff Epler
eee9159a91
alphabetize
2020-01-25 17:13:29 -06:00
Jeff Epler
b5b7b6fd0f
Build static mpy-cross bins
...
.. for windows, desktop (x86_64) linux, and raspbian
2020-01-25 15:43:23 -06:00