Commit Graph

14049 Commits

Author SHA1 Message Date
Melissa LeBlanc-Williams
b7598f7058 Merge branch 'master' of https://github.com/adafruit/circuitpython 2019-09-19 14:20:28 -07:00
Scott Shawcroft
3f6379e6b4
Merge pull request #2158 from jepler/dac51
AnalogOut / AudioOut: Copy settings from Arduino
2019-09-19 14:20:11 -07:00
Scott Shawcroft
0fed65e7d2
Merge remote-tracking branch 'adafruit/master' into dac51 2019-09-19 12:21:54 -07:00
Melissa LeBlanc-Williams
341428b4da Added SPEAKER pin to HalloWing M4 for code compatibility 2019-09-19 11:23:37 -07:00
Melissa LeBlanc-Williams
76d463e8ec
Merge pull request #2165 from makermelissa/master
Added TOUCH pins to HalloWing M4 for code compatibility
2019-09-19 11:19:05 -07:00
Melissa LeBlanc-Williams
8dfb2237d9 Added TOUCH pins to HalloWing M4 for code compatibility 2019-09-19 10:40:13 -07:00
Limor "Ladyada" Fried
013aea3bb9
Merge pull request #2143 from hierophect/stm32-analogio
STM32: AnalogIO
2019-09-18 15:08:43 -04:00
Hierophect
cd5ec365d3 Cleanup 2019-09-18 13:44:08 -04:00
Hierophect
c9b86111f4 text fix 2019-09-18 11:45:21 -04:00
Hierophect
601c3ea8dc minor HAL swap 2019-09-17 17:54:29 -04:00
Hierophect
97b1208829 Merge remote-tracking branch 'upstream/master' into stm32-analogio 2019-09-17 17:47:15 -04:00
Hierophect
48ae684c6e Adjust settings to support F412 2019-09-17 17:46:44 -04:00
Limor "Ladyada" Fried
69234cc8d6
Merge pull request #2163 from tannewt/cpx_displayio
Add custom CPX build for display support
2019-09-17 16:55:42 -04:00
Hierophect
863655044e Re-expand pin reset 2019-09-17 16:52:44 -04:00
Hierophect
71531dd4d1 Fix out of date HAL inputs in DigitalIO 2019-09-17 16:15:39 -04:00
Hierophect
7c713b9e3b Fix crash related to ADC timeout 2019-09-17 15:45:15 -04:00
Hierophect
168823e096 Retract pin resets, revert to HAL, QOL changes 2019-09-17 15:07:08 -04:00
Scott Shawcroft
fc90c942f5
Add custom CPX build for display support 2019-09-17 10:40:07 -07:00
Scott Shawcroft
b5a9ed3688
Merge pull request #2161 from jepler/nrf-analog-reference
nRF: Change analog reference voltage
2019-09-17 09:41:52 -07:00
Scott Shawcroft
178419658b
Merge pull request #2162 from hexthat/patch-4
Update zh_Latn_pinyin.po
2019-09-17 09:41:27 -07:00
hexthat
fbe5da4090
Update zh_Latn_pinyin.po 2019-09-17 02:31:09 -07:00
jepler
dffedd7c86 samd: peripherals: update submodule reference 2019-09-16 21:48:31 -05:00
jepler
d39c85e3f5 nRF: Change analog reference to VCC(/4)
@ladyada says:
"having this be adjustable (reference) would be ideal cause you can get
absolute voltages but for now, VCC/4 + 4x matches every other chip :)"

... and indeed doing it this way happens to give a much more steady
reading when using a VCC-referenced resistance, and so many of the simple
things you'd wire up are actually VCC-referenced anyway.
2019-09-16 21:43:07 -05:00
Jeff Epler
c56186da8c nRF: Change analog reference voltage
Datasheet reading explains one reason why readings might have been 10% low.
2019-09-16 18:35:48 -05:00
Scott Shawcroft
bd4282adfd
Merge pull request #2160 from darkmusic/readme_fix
Update README.rst
2019-09-16 13:36:29 -07:00
Thomas Johnson
3a989acd1d
Update README.rst
Fixed link
2019-09-16 12:35:46 -07:00
Scott Shawcroft
aa9b57fc81
Merge pull request #2154 from arturo182/master
Add support for Serpente boards
2019-09-16 09:20:17 -07:00
arturo182
e1679acaec
Set as small build regardless of language 2019-09-16 11:51:46 +02:00
Jeff Epler
39c2a88c67
Merge pull request #2156 from kattni/monster-m4sk-pin-fix
Update board def, enable touchio
2019-09-15 21:41:35 -05:00
jepler
61698eb5d8 AnalogOut / AudioOut: Copy settings from Arduino
Make changes in asf4_conf even though I think in these cases the
"peripherals" submodule is running the show.

Arduino clocks the DAC at 12MHz but uses the CCTRL setting for
clocking < 1.2MHz (100kSPS).

A fresh clock (6) is allocated for the new 12MHz clock.  This matches
the Arduino value, though not the GCLK index.

Modify other settings to more closely resemble Arduino.

In AudioOut, actually clock the waveform data from the timer we set up
for this purpose.

This gives good waveforms when setting AnalogOut full-scale in a loop,
but the rise/fall of waveforms that come from AudioOut are still erratic.
Weirdly, if AudioOut limits its range even slightly (e.g., to 1000..64000)
then the erratic

Note that this will require https://github.com/adafruit/samd-peripherals/pull/26
to be accepted for the submodule update here to work.
2019-09-15 11:30:49 -05:00
Kattni Rembor
c94310411b Update board def, enable touchio 2019-09-14 21:19:35 -04:00
Scott Shawcroft
78318ae441
Merge pull request #2155 from tannewt/ignore_existing_files
When uploading release assets, ignore those already uploaded.
2019-09-14 13:43:29 -07:00
Scott Shawcroft
54b03a7476
When uploading release assets, ignore those already uploaded. 2019-09-14 13:05:52 -07:00
arturo182
53d474075f Merge branch 'serpente' into 'master' 2019-09-14 16:07:10 +02:00
arturo182
28bb901d1e Add support for Serpente boards 2019-09-14 16:06:28 +02:00
Scott Shawcroft
157429f20d
Merge pull request #2135 from jepler/audio-stuttering-background
Reduce audio stuttering by running background tasks
2019-09-13 09:33:36 -07:00
Scott Shawcroft
3422e53bd1
Merge pull request #2147 from jepler/issue2146
nRF: PWMOut: At deinit, make pin available again
2019-09-13 09:32:28 -07:00
Scott Shawcroft
42d37c5c51
Merge pull request #2126 from hierophect/stm32-pin-remap
STM32 pin remap
2019-09-13 09:03:03 -07:00
jepler
523025ce8c Merge remote-tracking branch 'origin/master' into audio-stuttering-background 2019-09-12 20:45:59 -05:00
Hierophect
e445e7930e Merge remote-tracking branch 'upstream/master' into stm32-pin-remap 2019-09-12 16:00:41 -04:00
Hierophect
55eb8dcfa0 ADC unit select, reset bugfix 2019-09-12 13:47:01 -04:00
jepler
70daf007ae In py/, must guard uses of RUN_BACKGROUND_TASKS 2019-09-11 21:15:10 -05:00
jepler
df48312ce7 nRF: PWMOut: At deinit, make pin available again
Closes: #2146
2019-09-11 20:09:38 -05:00
Hierophect
57ce381bcd disable claim pin for debug 2019-09-11 17:26:33 -04:00
Hierophect
7f54630224 fix tinyusb merge sync error 2019-09-11 14:39:17 -04:00
Hierophect
4b3796a303 Merge remote-tracking branch 'upstream/master' into stm32-analogio 2019-09-11 14:12:01 -04:00
Hierophect
a59a8e7a19 Merge branch 'stm32-pin-remap' into stm32-analogio 2019-09-11 14:11:47 -04:00
Hierophect
6e007f4e8c text fixes 2019-09-11 14:09:57 -04:00
Hierophect
d888922db6 minor text fix 2019-09-11 13:55:48 -04:00
Hierophect
3d2a4d4165 Merge branch 'stm32-f412-tinyusb' into stm32-analogio 2019-09-11 13:47:20 -04:00