This will help enable CircuitPython to use the Adafruit_MP3 library
to implement its MP3File functionality, including the creation of
multiple MP3 playback objects at the same time.
This does not intentionally change any behavior on Arduino.
Testing performed:
* In Arduino, verified the "play_from_header" example still worked
on a PyPortal (SAMD51)
* In WIP CircuitPython, verified that playback (including 2 simultaneous
mp3 files) functioned on nRF52840 Feather
# Conflicts:
# src/buffers.c
Hopefully all intended architectures support the smlal instruction;
this is supported on "ARM architecture v3M, and ARM architecture v4
and above except xM variants", and missing support should be caught
as an assembler error.
* Treat most files as "C" files
* add "extern C" guards to C-ish headers
for when they are included from C++ files
* Make Arduino.h inclusion optional,
not available in CircuitPython
- Added support for Teensy 3.5 - Added `defined(__MK64FX512__)` wherever `defined(__MK66FX1M0__)` was found
- Added/modified comments on compiler directives for Teensy boards
- Included test.mp3 sample file (58.3 KB)
- Fix applied to library and the "play_from_SD.ino" example only. *(Other examples may have the same errors so use the above notes to fix other examples if needed.)*
This release was tested with the Teensy 3.5 only. It is expected that it will work with all other supported boards. *(At least as supported as the previous version.)*