Skip to content

Instantly share code, notes, and snippets.

@myrual
myrual / gist:617daa491cf7011139a6
Created June 20, 2014 07:14
cubieboard how to enable uart3 uart4 uart7
http://en.bir-robotic.ir/2014/04/how-to-use-the-uart/
https://stackoverflow.com/users/login?returnurl=http%3a%2f%2fstackoverflow.com%2fquestions%2f8818551%2fdoes-anybody-know-any-very-basic-stm32-tutorials
http://www.st.com/stonline/stappl/productcatalog/app?page=partNumberSearchPage&levelid=SS1031&parentid=1734&resourcetype=SW
http://www.nxp.com/campaigns/lpc800-go/quick-jack
audio session init
audio session active
set audio category
set audio route change notification
prefer_buffer 005
get sample hardware rate
setup rio for input
setup rio for ouput
@myrual
myrual / gist:fc5c362bc5d8aad26642
Created July 22, 2014 14:01
android how to build
android basic
https://source.android.com/devices/index.html
how to build android
http://www.ibm.com/developerworks/cn/opensource/os-cn-android-build/
http://www.hindawi.com/journals/ame/2014/852937/
@myrual
myrual / gist:b044924a85b30a635dc2
Last active August 29, 2015 14:05
android hardware device driver and hal
add android service from TI
http://processors.wiki.ti.com/index.php/Android-Adding_SystemService
Camera porting guide from TI
http://processors.wiki.ti.com/index.php/TI-Android-DevKit-Camera_Porting_Guide
android sensor
http://developer.android.com/reference/android/hardware/TriggerEvent.html
android intruduction
https://events.linuxfoundation.org/slides/2011/abs/abs2011_yaghmour_internals.pdf
@myrual
myrual / gist:cbe860a5708d62794350
Last active August 29, 2015 14:05
freescale i.mx 4.4.2
the lastest android build on google site is not for 4.4.2 freescale i.mx
so follow me to build correct android
build machine must be: ubuntu linux 12.04 lts 64bit, over 200G free disk space
----install jdk6------
#yes, jdk6, 4.4.2 need jdk6 instead of jdk7
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
@myrual
myrual / gist:2a72ae96f711596c290a
Created August 31, 2014 11:31
天津 生孩子 流程
http://www.babytree.com/community/hospital38412/topic_6354753.html
这些建议都要在12周以内办理,同是天津的麻麻,介绍一下我办理的流程吧!
准生证:
1,妊娠证明原件及复印件2,双方单位开具初生初育证明3,想在哪个区领证就要开一个住在该地的居住证明,居委会开,如果双方户口都在一个区在一起就不用开了4,结婚证,双方户口本,双方身份证的原件及复印件5,以上资料都齐了到该区的计生委办理领证手续,建议提前打电话问好上班时间,不是每天都接待的!
社区医院立本,开生育保险:
1,计生委领完准生证会告诉你所属街道的社区医院是哪里,拿着准生证,还有妊娠证明等相关检查资料,双方户口本及身份证原件,女方医保卡去社区医院立本检查当时就能开通生育保险了!
@myrual
myrual / gist:48283849f495877286c5
Created September 2, 2014 14:52
linux natime
http://askubuntu.com/a/2889