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
Lucian Copeland
947c2243bd
add feather bootloader settings, cleanup
2020-01-29 15:30:35 -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
Jeff Epler
f13f9c7f30
rework gitignore file
2020-01-25 15:32:52 -06:00
Jeff Epler
9673ea4a50
Add a makefile to cross-compile for raspbian
2020-01-25 15:32:52 -06:00
Jeff Epler
d9e0742a07
accomodate excessively old gcc versions for raspbian mpy-cross cross-build
2020-01-25 15:32:52 -06:00
Jeff Epler
a43a19728c
Define serial_write, it was undefined in the Windows mpy-cross build
2020-01-25 15:09:49 -06:00
Jeff Epler
ebf0fe0a8c
mpy-cross: Make it easier to build mpy-cross static targets
2020-01-25 14:04:11 -06:00
sommersoft
c2fd30364e
Merge pull request #2526 from jepler/mixer-opt
...
Mixer: Rework for performance, particularly of the S16 case
2020-01-24 21:46:47 -06:00
Scott Shawcroft
39971794dd
Encapsulate buffers inside PixelBuf and refactor it.
2020-01-24 18:23:07 -08:00
Scott Shawcroft
81c3bc411f
Don't assume native methods want the native object as self.
2020-01-24 18:22:28 -08:00
Lucian Copeland
b5b94b72c1
Return to bootloader options
2020-01-24 14:47:13 -05:00
Lucian Copeland
70932cab42
Simplify the flash-display conflict fix
2020-01-24 14:33:28 -05:00
Scott Shawcroft
ad6e8ea6f7
Merge pull request #2548 from dhalbert/cpb-reset-neopixels
...
reset NeoPixels on soft reload on CPB, pybadge, and pygamer boards
2020-01-24 11:31:29 -08:00
Lucian Copeland
2afca4e942
Fix flash-display conflict error
2020-01-24 14:25:36 -05:00
Dan Halbert
6f13979c9b
pygamer and pybadge boards were not resetting neopixels
2020-01-24 09:32:28 -05:00
Dan Halbert
68f9aee992
reset NeoPixels on CPB on soft reload
2020-01-23 20:16:31 -05:00
Lucian Copeland
d8bc57c1dc
Flash and display control
2020-01-23 17:17:02 -05:00
Limor "Ladyada" Fried
1831f5164c
Merge pull request #2542 from ndGarage/ndbit6
...
Ndbit6
2020-01-23 13:14:36 -05:00
Limor "Ladyada" Fried
fe70072d68
Merge branch 'master' into ndbit6
2020-01-23 12:32:19 -05:00
ndgarage
4675783545
change-name-to-ndgarage_ndbit6
2020-01-23 09:55:17 -07:00