Jerry Needell
e55e06d501
modify tick.c to work when interrupts disabled - modify PulseIn.c to cast argument to common_hal_delay_us
2018-04-16 08:11:14 -04:00
Dan Halbert
10eabf6bc2
Merge pull request #756 from tannewt/audio3
...
Add audio output support!
2018-04-13 14:59:10 -04:00
Scott Shawcroft
22194d5977
Tweaks based on dhalbert's feedback.
2018-04-13 10:51:01 -07:00
Scott Shawcroft
0f4a2032b7
Merge pull request #759 from ladyada/master
...
quoting paths
2018-04-13 09:32:51 -07:00
ladyada
1418445b5e
fix for spaces in path
2018-04-12 23:12:36 -04:00
ladyada
ce6b94f5e2
deal with spaces in directories
2018-04-12 21:43:23 -04:00
Scott Shawcroft
8dcfeb6240
Fix Makefile
2018-04-12 18:17:46 -07:00
Scott Shawcroft
28642ab10d
Add audio output support!
...
This evolves the API from 2.x (and breaks it). Playback devices are now
separate from the samples themselves. This allows for greater playback
flexibility. Two sample sources are audioio.RawSample and audioio.WaveFile.
They can both be mono or stereo. They can be output to audioio.AudioOut or
audiobusio.I2SOut.
Internally, the dma tracking has changed from a TC counting block transfers
to an interrupt generated by the block event sent to the EVSYS. This reduces
the overhead of each DMA transfer so multiple can occure without using up TCs.
Fixes #652 . Fixes #522 . Huge progress on #263
2018-04-12 16:35:13 -07:00
Scott Shawcroft
12f1aa25fd
Merge pull request #757 from tannewt/status_pixel_fix
...
Fix the status neopixel flashing.
2018-04-12 16:33:48 -07:00
Scott Shawcroft
5f9b3f2b87
Fix the status neopixel flashing.
...
We were storing the wrong current color.
2018-04-12 13:33:58 -07:00
Dan Halbert
e311d17905
Merge pull request #755 from tannewt/itsy_m4
...
Add initial ItsyBitsy M4 support
2018-04-12 14:42:05 -04:00
Scott Shawcroft
2a26dac2bc
Add initial ItsyBitsy M4 support
2018-04-12 11:16:52 -07:00
Scott Shawcroft
f02cbeabab
Merge pull request #747 from dhalbert/reformat
...
add storage.erase_filesystem() to erase and reformat CIRCUITPY
2018-04-10 10:26:07 -07:00
Dan Halbert
eaa9923a8f
force_create rename got lost due to editing error
2018-04-10 12:24:27 -04:00
Dan Halbert
1b12c42477
Merge remote-tracking branch 'adafruit/master' into reformat
2018-04-10 12:17:00 -04:00
Dan Halbert
80fb61ea44
remove more unneeded includes
2018-04-10 12:16:46 -04:00
Dan Halbert
04b2c8be5a
remove unnecessary includes in esp8266 common-hal storage code
2018-04-10 12:13:21 -04:00
Dan Halbert
5f98953ed8
esp8266 and nrf: raise NotImplementedError
2018-04-10 12:08:41 -04:00
Jeff Epler
1e9a27177c
esp8266: Disable "strict aliasing" in compiler like in atmel-samd
...
This caused a fatal compiler diagnostic after #750 . This compiler
flag is already specified in the atmel-samd builds, so it makes
sense to do it here for the same reasons.
2018-04-09 22:23:39 -04:00
Scott Shawcroft
fd70383aa0
Fix rom qstr pool length.
2018-04-09 22:23:39 -04:00
Scott Shawcroft
3b511e503a
Prevent a heap pointer from living on the stack longer than we need.
2018-04-09 22:23:39 -04:00
Jeff Epler
eb7d0e317a
Create genhdr/ directory in time
2018-04-09 22:23:39 -04:00
Dan Halbert
a0cd94c184
Merge pull request #752 from jepler/esp8266-strict-aliasing
...
esp8266: Disable "strict aliasing" in compiler like in atmel-samd
2018-04-09 22:21:21 -04:00
Jeff Epler
c5d2a0da04
esp8266: Disable "strict aliasing" in compiler like in atmel-samd
...
This caused a fatal compiler diagnostic after #750 . This compiler
flag is already specified in the atmel-samd builds, so it makes
sense to do it here for the same reasons.
2018-04-09 21:17:26 -05:00
Dan Halbert
3883a9fb7a
Merge pull request #749 from tannewt/analyze_heap_dump
...
Fix rom qstr pool length.
2018-04-09 20:35:34 -04:00
Dan Halbert
d203d1c1cb
Merge pull request #750 from tannewt/parse_tree_memory
...
Prevent a heap pointer from living on the stack longer than we need.
2018-04-09 20:34:40 -04:00
Scott Shawcroft
7dd1d6afcc
Prevent a heap pointer from living on the stack longer than we need.
2018-04-09 16:02:32 -07:00
Scott Shawcroft
619b0ec164
Fix rom qstr pool length.
2018-04-09 15:59:52 -07:00
Dan Halbert
e7b8b13186
Merge pull request #748 from jepler/genhdr-output-directory
...
Create genhdr/ directory in time
2018-04-09 14:48:21 -04:00
Jeff Epler
88bbe425db
Create genhdr/ directory in time
2018-04-09 13:31:44 -05:00
Dan Halbert
aa8c262d14
add storage.erase_filesystem() to erase and reformat CIRCUITPY
2018-04-09 12:52:42 -04:00
Scott Shawcroft
4e053cea0d
Merge pull request #628 from sommersoft/super_status
...
Added Function To Check the Serial Connection From CircuitPython Layer
2018-04-08 22:06:09 -07:00
Scott Shawcroft
93e09e7ee5
Merge pull request #738 from dhalbert/3.0_hid
...
3.0 hid
2018-04-08 22:02:23 -07:00
Dan Halbert
1e87a785b9
Move CDC Comm back to Interface 0 for compat with Win7 drivers.
2018-04-08 15:59:19 -04:00
Dan Halbert
e7305ce15f
update usb_descriptor again
2018-04-08 10:15:47 -04:00
Dan Halbert
726d5e52a3
Merge branch 'master' into 3.0_hid
2018-04-08 09:52:29 -04:00
Dan Halbert
32048cdeeb
tools/usb_descriptor updates
2018-04-08 09:51:45 -04:00
Dan Halbert
a159b85340
Reorder composite device interfaces; fix report length bug
2018-04-08 09:33:02 -04:00
Scott Shawcroft
9672f3891e
Merge pull request #742 from jepler/esp8266-sdk-fixes
...
Adapt to incompatible changes in the ESP8266 SDK
2018-04-07 10:01:33 -07:00
Jeff Epler
d69ef6bfd3
esp8266/etshal: delete incorrect function prototypes
...
these are function prototypes not used in circuitpython. The
declarations began to conflict with ones in the upstream SDK
at some point, so delete them.
2018-04-06 20:37:48 -05:00
Paul Sokolovsky
4982a3ad32
esp8266/esp8266_common.ld: Put .text of more libs into .irom0.text .
...
Recent vendor SDKs ship libs with code in .text section, which previously
was going into .irom0.text. Adjust the linker script to route these
sections back to iROM (follows upstream change).
2018-04-06 20:37:41 -05:00
sommersoft
cc644032ea
Merge branch 'super_status' of https://github.com/sommersoft/circuitpython into super_status
2018-04-06 01:58:29 +00:00
sommersoft
d1974e0038
supervisor/Runtime: updated documentation for 'no disconnect'
2018-04-06 01:56:51 +00:00
Scott Shawcroft
8f3bf5faf6
Merge pull request #741 from jepler/samd-reset-modes
...
Samd reset modes
2018-04-05 10:39:51 -07:00
Jeff Epler
92853e611d
RunMode: Fix repr(RunMode.BOOTLOADER)
2018-04-05 08:16:53 -05:00
Jeff Epler
fe6f5aaa70
atmel-samd: reset: reset() was always entering bootloader mode
...
.. set the dbl_tap word to a different special value unless
RUNMODE_BOOTLOADER was selected
2018-04-05 08:16:53 -05:00
Scott Shawcroft
5939497218
Merge pull request #740 from jepler/reboot-bootloader
...
atmel-samd: Fix rebooting to bootloader
2018-04-03 22:35:39 -07:00
Jeff Epler
5eb9f9d060
atmel-samd: Fix rebooting to bootloader
...
Commit efbf08266b
moved _estack in order to ensure 8-byte alignment
of the stack, but the address of _bootloader_dbl_tap must remain
right at the end of SRAM.
I verified by reading the source that the 4-byte-aligned address is
used for all samd21 / samd51 boards in
adafruit/circuitpython@efbf08266b . However, I only tested on
trinket_m0.
Closes : #739
2018-04-03 21:40:10 -05:00
Dan Halbert
beb6ad2e40
Add USB HID support, including Consumer Control
2018-04-02 21:37:44 -04:00
Dan Halbert
435e894fa0
Merge branch 'master' into 3.0_hid
2018-04-02 19:19:43 -04:00