Code Monkey home page Code Monkey logo

mp3_slim's Introduction

基本需求:
	文件浏览
	图片查看
	音频播放(可以在“后台”运行)
	4个按键、电源及电量显示

技术需求:
	sd卡驱动
	LCD驱动(SPI接口)
	DMA使用(DAC、SDIO、LCD等地方)
	fatfs文件系统,支持长文件名
	字库,启动图标等裸数据
	操作系统(rtx),任务通信、同步
	简单的位图缩放
	MP3解码库使用(helix解码库)
	还能看的UI

系统构想:
MP3播放“后台”:
	MP3播放task的优先级较高,但被阻塞;
	用双缓冲储存输出数据,DMA搬完某个缓冲区后的中断中,使MP3的task就绪,同时输出下一个缓冲区
UI界面的支持:
	用“栈”,并且精简数据结构
字库等裸数据:
	事先烧进flash靠后的地方,用的时候用指针找到,否则每次调试都要花很长时间烧程序。(2500个16x16像素常用字大概占80k,一幅128x160的图片大概2.5k)


芯片选型:
	STM32F103RCT6,256k的flash,64k的RAM
	驱动为ST7735s的128x160像素的串口LCD屏幕

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.