准备开始学习一下代码,自然要有一个开发环境,kai大推荐avr-gcc所以就要学习一下啦,
代码的位置
https://github.com/kairyu/tmk_keyboard_custom
https://github.com/tmk/tmk_keyboard
下边两个是kai大认为应该重点学习的
https://github.com/kairyu/tmk_keyboard_custom/blob/master/doc/build.md
https://github.com/kairyu/tmk_keyboard_custom/blob/master/doc/keymap.md
好吧,现配置avr-gcc环境,参考了
http://blog.chinaunix.net/uid-28492690-id-4088906.html
GNU tools sudo apt-get install gcc-avr //这是avr的交叉编译器 sudo apt-get install avr-libc //这是编译要用的库 sudo apt-get install gdb-avr //gdb反向调试工具反汇编有木有 Programer sudo apt-get install avrdude //avr烧录工具
http://wenku.baidu.com/view/eeb52f245901020207409c79.html