Commit Graph

18674 Commits

Author SHA1 Message Date
Jeff Epler
10861b4038 esp32s2: Rename ESP_CALL_RAISE to CHECK_ESP_RESULT
Suggested by @tannewt, thanks!
2021-01-09 13:41:44 -06:00
Jeff Epler
5f0e41ad60 I2SOut: Enable ticks during audio playback
.. otherwise, the background callback to load the I2S fifos does not get
run.  (I'm not sure this is _correct_ behavior of sleep + background
tasks, but it is the current behavior)
2021-01-08 09:01:34 -06:00
Jeff Epler
430bcdb59d port_i2s_play: fill the initial buffer via background callback
There were _possibly_ problems where this routine was being entered
by direct call AND by background callback.  Schedule the work here,
and it will be done almost immediately, without worry about interference.
I don't know if this is strictly necessary, but it doesn't hurt.  Since
the I2S clock is being run all the time, we have to enter the background
task to fill the FIFO with zeros constantly anyway.
2021-01-08 08:49:25 -06:00
Jeff Epler
12264cca34 port_i2s_play: remove build error 2021-01-08 08:47:13 -06:00
Jeff Epler
0b7a4c4b2b i2s_fill_buffer: remove debug print 2021-01-08 08:46:56 -06:00
Jeff Epler
873a300d02 i2s_fill_buffer: Need to fill with zeros when stopping 2021-01-08 08:46:41 -06:00
Jeff Epler
cfd8288dfa esp2s2: enlarge stack-buffer, use it instead of i2s_zero_dma_buffer
.. it's not clear that there was a problem with i2s_zero_dma_buffer, but
just in case.
2021-01-07 16:29:52 -06:00
Jeff Epler
d3afda61d8 esp32s2: i2s: must reset buffer, otherwise wave samples don't start
.. and other housekeeping when starting to play a sample
2021-01-07 16:29:08 -06:00
Jeff Epler
352226402c esp32s2: i2s: fix accounting for "stretched" frames 2021-01-07 16:28:33 -06:00
Jeff Epler
010a4e7b0f esp32s2: port: Ensure JTAG pins are available for debugging 2021-01-07 16:23:21 -06:00
Jeff Epler
7bb196b9d2 esp32s2: 'make flash': Allow customizing the esptool flags
This can be useful so that e.g., on a Kaluga when programming via
the FTDI chip, you can override the variable to specify "--after=hard_reset"
to automatically return to running CircuitPython, choose a different
baud rate (921600 is about 2s faster than 460800), etc:
    make BOARD=espressif_kaluga_1 ESPTOOL_FLAGS="-b 921600 --before=default_reset --after=hard_reset"
2021-01-07 15:01:33 -06:00
Jeff Epler
30c6dd3f76 Merge remote-tracking branch 'origin/main' into audioout-esp32 2021-01-07 14:11:14 -06:00
Dan Halbert
f6f1ef7dc2
Merge pull request #3929 from jepler/update-ulab3
ulab: update to 1.6.0
2021-01-04 15:24:54 -05:00
Jeff Epler
f87ce01b8f make translate 2021-01-04 12:55:39 -06:00
Jeff Epler
09bf58407f ulab: update to 1.6.0
This fixes several problems I encountered.
2021-01-04 12:50:08 -06:00
Limor "Ladyada" Fried
dcf88e1e91
Merge pull request #3923 from bwshockley/Add_dotstar_mini_sam_m4
Add dotstar mini sam m4
2021-01-03 19:40:43 -05:00
Limor "Ladyada" Fried
46ec95d297
Merge pull request #3925 from UnexpectedCircuitPython/main
Fixed incorrect pin assignment on header
2021-01-03 19:40:34 -05:00
Seon Rozenblum
10f178d162 Fixed incorrect pin assignment on header
IO13 is for blue LED
IO14 is the correct pin header between IO18 and IO12
The silk is wrong (shows IO13), but hardware is correct as IO14, but IO14 was not included in pins.c
Silk will be updated on next PCB production run
2021-01-04 10:06:32 +11:00
Jeff Epler
2a5f3de1cd Merge pull request #3608 from adafruit/6.0.x
Update main with latest 6.0.x
2021-01-04 09:52:42 +11:00
Limor "Ladyada" Fried
d0e54993e9
Merge pull request #3914 from askpatrickw/feathers2-Nsync
Feathers2 nsync
2021-01-03 17:32:00 -05:00
Benjamin Shockley
9286f26831
Added CP Dotstart Lib to Build
Added the CircuitPython dotstar library to the Mini SAM M4 build so users do not have to include the library to utilize the built-in APA102 LED.
2021-01-03 10:42:58 -06:00
Benjamin Shockley
8c8961ad01
Merge pull request #3 from adafruit/main
Rebase
2021-01-03 10:41:16 -06:00
Dan Halbert
80fa60d4ef
Merge pull request #3915 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-01-02 13:05:02 -05:00
Hosted Weblate
3a51ffeb9d
Merge branch 'origin/main' into Weblate. 2021-01-02 04:03:54 +01:00
Dan Halbert
ad2ee0954c
Merge pull request #3917 from brrzap/fix-3753
pixelbuf: error check in brightness setter
2021-01-01 22:03:45 -05:00
askpatricw
2ce07209df changes based on UM's input 2021-01-01 17:23:11 -08:00
@brrzap
df4c028d29 _pixelbuf: error check in brightness setter (fix #3753) 2021-01-01 19:49:20 -05:00
Wellington Terumi Uemura
71cc9b60ea
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (891 of 891 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-01-01 05:29:12 +01:00
Hugo Dahl
80e5899b30
Translated using Weblate (French)
Currently translated at 100.0% (891 of 891 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-01-01 05:29:11 +01:00
askpatricw
220501e159 dupe LED entries 2020-12-31 18:02:44 -08:00
askpatricw
43f93b097f release and pre-release FeatherS2 NSync 2020-12-31 17:50:41 -08:00
Jeff Epler
d0bc5e4e57
Merge pull request #3909 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-12-31 19:06:00 -06:00
askpatricw
9e559ac3ec Merge branch 'main' of https://github.com/adafruit/circuitpython into main 2020-12-31 16:54:22 -08:00
Hosted Weblate
c056ac3499
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-12-30 23:25:22 +01:00
Hosted Weblate
70bd3c50eb
Merge branch 'origin/main' into Weblate. 2020-12-30 23:25:20 +01:00
Hugo Dahl
334207c365
Translated using Weblate (French)
Currently translated at 100.0% (889 of 889 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2020-12-30 23:25:20 +01:00
Hugo Dahl
c27030ba7c
Translated using Weblate (Spanish)
Currently translated at 96.7% (860 of 889 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-12-30 23:25:19 +01:00
oon arfiandwi
7cae612ad0
Translated using Weblate (Indonesian)
Currently translated at 46.1% (410 of 889 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/id/
2020-12-30 23:25:18 +01:00
Jeff Epler
5698b8bb0a
Merge pull request #3850 from microDev1/touch-s2
Support for Touch Alarm
2020-12-30 16:25:11 -06:00
Jeff Epler
7e78af7aca
Merge pull request #3905 from dhalbert/update-frozen-6.1.0-beta.3
update frozen libs for 6.1.0-beta.3
2020-12-30 16:08:10 -06:00
microDev
0bad6110d4
update wake-alarm implementation 2020-12-31 02:44:20 +05:30
microDev
b83bdc540d
enable light-sleep functionality 2020-12-31 02:22:20 +05:30
Dan Halbert
3b72d502a4 update frozen libs for 6.1.0-beta.3 2020-12-30 14:32:03 -05:00
Dan Halbert
fb216148ec
Merge pull request #3900 from jepler/restore-frozen-busdevice
Restore frozen adafruit_bus_device module
2020-12-30 13:22:46 -05:00
Limor "Ladyada" Fried
fc20a3797b
Merge pull request #3896 from hugodahl/fix-esp32-s2-readme-typo
Fix minor typo in ESP32-S2 README
2020-12-30 12:30:52 -05:00
microDev
28ce5e8988
Merge branch 'main' into touch-s2 2020-12-30 22:44:22 +05:30
Jeff Epler
83c6774a44 Revert "Removing frozen libs"
This reverts commit 23ed3ef971.
2020-12-30 10:55:28 -06:00
microDev
c7f68022ef
add pretend-to-sleep functionality 2020-12-30 22:11:22 +05:30
Hugo Dahl
72cad49c69
Fix minor typo in ESP32S2 readme 2020-12-29 22:52:59 -06:00
Jeff Epler
48de52c8ab
Merge pull request #3893 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-12-29 18:01:52 -06:00