Features
- Audio Files: Reworked WavPlayer, added helpful utilies for working with WAV files (WavParser, FileTable), and added examples for demonstrating their usage.
- SDMMC: HAL_SD_ErrorCallback is now being handled to help with error handling
- note: this may cause things that would previously stall indefinitely to now cause an error. Often, the error will occur in
f_sync()orf_close()since that is where the disk i/o tends to occur. The SDMMC_HelloWorld example has been updated to better handle these errors.
- note: this may cause things that would previously stall indefinitely to now cause an error. Often, the error will occur in
- MPR121: Added demonstration program using MPR121 to examples.
Bug Fixes
- SDMMC: fix an issue where status flags were optimized out, resulting in very long while loops
- CMake: The platform definition for the new FileReader in CMake is now properly set up for use in targets outside of libDaisy.
- ICM20948: Fixed an incorrect number of arguments on call to
ReadExternalRegister. - MPR121: Fixed i2c i/o issues that led to problems reading correct data from the sensor.
- version: The version.h hasn't been updated since v4.0.0 -- it has now been updated to the current version.
Bootloader
- Update to v6.4. This version resolves issues related to i/o timeouts that could occur after programming devices hundreds/thousands of times with larger binary files.
Contribution Summary
- Improved WavPlayer and Extra Utilities by @stephenhensley in #677
- Add missing volatile to status flags to prevent "infinite" loop after optimization by @TheSlowGrowth in #678
- Fix CMake compile definition leakage by @Alloyed in #687
- Fix ICM20948 ReadExternalRegister argument count by @Brokezawa in #686
- Add HAL_SD_ErrorCallback to handle DMA errors gracefully by @CyberDuck79 in #685
- Use I2CHandle::ReadDataAtAddress for reading registers in mpr121.h by @kaathewise in #688
- Added example program for the MPR121 capacitive touch sensor. by @stephenhensley in #689
- Example - Improved result handling in SDMMC_HelloWorld by @stephenhensley in #690
- Bootloader v6.4 - Improved I/O handling to avoid timeouts by @stephenhensley in #691
New Contributors
- @Brokezawa made their first contribution in #686
- @CyberDuck79 made their first contribution in #685
- @kaathewise made their first contribution in #688