|
Revision 18, 0.6 KB
(checked in by follower, 14 months ago)
|
|
Initial import of code from vendor driver. (License unclear.)
|
| Line | |
|---|
| 1 | + How to compile |
|---|
| 2 | |
|---|
| 3 | Execute the make in the ~/compile folder, then the source code is compiled. |
|---|
| 4 | |
|---|
| 5 | In the Makefile, the compiler vesion is distinguished by "D__COMPILER_VERSION__" option |
|---|
| 6 | and compiler version is defined in the types.h file like belows. |
|---|
| 7 | |
|---|
| 8 | #define __WINAVR_20050214__ 0 |
|---|
| 9 | #define __WINAVR_20060125__ 1 |
|---|
| 10 | #define __WINAVR_20060421__ 2 |
|---|
| 11 | |
|---|
| 12 | According to the compiler version, |
|---|
| 13 | rename the Makefile_WinAVR_20050214 or Makefile_WinAVR_20060421 file to Makefile |
|---|
| 14 | |
|---|
| 15 | + How to Change the interface mode |
|---|
| 16 | Change the value of the __DEF_IINCHIP_BUS__ in the types.h file. |
|---|