Jeff Epler
a53720810b
docs: corrections that stem from the "audiocore" rename
4 years ago
Jeff Epler
324d31225c
make translate
4 years ago
Jeff Epler
a183425e00
ports/nrf: Implement audioio.AudioOut using PWM
...
This implements AudioOut, with known caveats:
* pause/resume are not yet implemented (this is just a bug)
* at best, the sample fidelity is 8 bits (this is a hardware limitation)
Testing performed:
My test system is a Particle Xenon with a PAM8302 op-amp
https://www.adafruit.com/product/2130 and 8-ohm speaker. There's no
analog filtering between the Xenon's PWM pin and the "A+" input of
the amplifier; the "A-" pin is disconnected. It is powered from
VUSB.
I used pin D4, which is *NOT* listed as a low-speed-only pin, but
the code does NOT switch the pin to high drive. This is related to
an open issue for general inability to set drive level for pins
being used by a "special function" on nrf:
https://github.com/adafruit/circuitpython/issues/1270
Nothing about the code I've written should limit the usable pins.
All samples I played were 16-bit, generally monophonic at 11025Hz
and 22050Hz from the Debian LibreOffice package.
4 years ago
Jeff Epler
2bc704fe07
ports/nrf: factor out routines for allocating, freeing pwm channels
4 years ago
Jeff Epler
7b9d26cefe
WavFile.h: include vfs_fat.h for pyb_file_obj_t definition
...
Without such a definition, this header is not self-contained, but
requires whoever included it to also include vfs_fat.h
4 years ago
Jeff Epler
54cde56ec5
audiopwmio: Add the shared files for this new module
4 years ago
Scott Shawcroft
c61c874a6d
Reduce feather_m0_supersized build size
...
Make it match feather_m0_express
4 years ago
Scott Shawcroft
a87094e01f
Turn off GC opt to save space on Trinket Haxpress
4 years ago
Scott Shawcroft
f8d2776177
Extend existing board lists
...
Adding another means a build would be 6 concurrent jobs and make two not fit side by side in the 10 total we have.
4 years ago
Scott Shawcroft
1dd4bf0280
Update translations
4 years ago
Scott Shawcroft
4e7de436b4
Update constructors of boards with displays
4 years ago
Scott Shawcroft
af8cfbedfb
Add knobs for SSD1322 and two fixes.
...
* Fix terminal clear after first successful code.py run.
* Fix transmitting too many bytes for column constraint with single
byte bounds.
4 years ago
C47D
be1fd5e995
[travis check new boards] Add missing boards to TRAVIS_BOARDS
4 years ago
C47D
7e4d7a5373
[travis check new boards] Fail in case of any missing boards
4 years ago
Scott Shawcroft
d99d3bd471
Merge pull request #2010 from jepler/audiocore
...
audiocore: Factor from audioio
4 years ago
Dave Astels
b6178c9d85
WIP on exposing fill_area
4 years ago
Dave Astels
7fd1a6c8a8
Expose array_new and array_subscr
4 years ago
Scott Shawcroft
485f06e36f
Remove unneeded headers
4 years ago
Jeff Epler
6b44e40ee8
audiocore: Factor from audioio
...
When nrf pwm audio is introduced, it will be called `audiopwmio`. To
enable code sharing with the existing (dac-based) `audioio`, factor
the sample and mixer types to `audiocore`.
INCOMPATIBLE CHANGE: Now, `Mixer`, `RawSample` and `WaveFile` must
be imported from `audiocore`, not `audioio`.
4 years ago
Scott Shawcroft
8ec2d6ce49
Merge pull request #2007 from hierophect/F4xx-port-setup
...
Add STM32 Discovery F412ZG and F411RE support
4 years ago
Hierophect
295afaaf6c
Update SystemCoreClock macro
4 years ago
Hierophect
a63df51893
Requested changes, general cleanup
4 years ago
Dan Halbert
f39a6f40fd
Merge pull request #2009 from hathach/tinyusb-update
...
update tinyusb lib to 0.5.x
4 years ago
hathach
5d03cda01a
whitespace
4 years ago
hathach
c921f6637f
update tinyusb lib to 0.5.x
4 years ago
sommersoft
45a54c3fd7
docs: replace overzealous removal of parens
4 years ago
sommersoft
136bbc1690
docs: revert calling 'shared_bindings_matrix.py'
4 years ago
sommersoft
b90b63bb2b
don't use files to pass data; call and return directly in conf.py
4 years ago
sommersoft
7b67ef15c4
remove local copy of 'support_matrix.json'
4 years ago
Hierophect
172ab190b5
Revert tinyUSB issue
4 years ago
Hierophect
5ee5c35833
Doc error caused by submodule, misc cleanup
4 years ago
Hierophect
5cfde7b6ea
Switch to submodule for cube files
4 years ago
C47D
8864cefba6
[travis check new boards] missing_boards as set
4 years ago
C47D
c316231dd2
[travis check new boards] Do not end test if there are missing boards
4 years ago
Hierophect
9c1487cff6
Python doc generator fixes
4 years ago
Dan Halbert
82ab998cd5
Merge pull request #1998 from tannewt/monocolor
...
Add support for grayscale displays
4 years ago
Scott Shawcroft
7cb2aa2d62
Merge pull request #1986 from AnthonyDiGirolamo/patch-1
...
Update Arch Linux ARM compiler installation instructions
4 years ago
Dan Halbert
3e04744f75
Merge pull request #2006 from ntavish/patch-1
...
Fix incorrect preprocessor define NRFX_TIMER3/4
4 years ago
Hierophect
10aac2be05
Switch to SAMD compatible tinyusb commit
4 years ago
Hierophect
ee75f1aaaf
Fix LED misuse interfering with atmel builds
4 years ago
Hierophect
f65404cc05
Cleanup missed items
4 years ago
Hierophect
58630a844a
Add feature conditionals and clean up
4 years ago
Tavish Naruka
e4d92a3aad
Fix incorrect preprocessor define NRFX_TIMER3/4
...
Should be NRF_TIMER3 and NRF_TIMER4
4 years ago
sommersoft
b630e561a7
exclude aliased boards from 'get_board_mapping()'
4 years ago
Carlos
d1fecf5025
Fix missing module sh and remove unused module re
4 years ago
C47D
06cb075025
[travis check new boards] Move script into the before_script section
4 years ago
Scott Shawcroft
1d1b8703b6
Review feedback including NO_BRIGHTNESS_COMMAND macro
4 years ago
Scott Shawcroft
b9b9ef227f
Turn off bitbanging on Hallowing to save code space.
4 years ago
Scott Shawcroft
cdfc169ab6
Correct typo in line meant to turn off frequencyio on M0 which saves 2k code space.
4 years ago
Scott Shawcroft
e4611b6e3e
Update translations
4 years ago