[riot-notifications] [RIOT-OS/RIOT] drivers/dfplayer: New driver for the DFPlayer Mini MP3 player (#12271)

Marian Buschsieweke notifications at github.com
Mon Sep 30 14:05:49 CEST 2019


> The main difference I could find is code size, the driver in this PR takes ~1300 byte ROM, while mine takes ~700 (both @ nrf52dk). The question is, if this is due to some additional features or maybe there is room for improvement.

The difference between the two drivers seem to be mainly that the driver in this PR does error handling, has some workarounds for hardware bugs, and has a more verbose and easier to use callback interface. I currently have two different DFPlayer versions. One works relatively fine with sending commands as fire and forget, so you 700 Bytes version would work there. But for the other skipping error handling is just not going to work.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12271#issuecomment-536531381
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190930/04bed5b5/attachment-0001.htm>


More information about the notifications mailing list