![]() |
![]() |
#4 |
Đệ tử 9 túi
|
C18
C18 mình cài vào thư mục:
C:\Program Files\Microchip\MPLAB C18\ Với C18 bạn dùng build command line sau: Code:
"C:\Program Files\Microchip\MPLAB C18\bin\mcc18.exe" -p=18F2620 "main.c" -fo="main.o" -w3 -Oa -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Code:
"C:\Program Files\Microchip\MPLAB C18\bin\mplink.exe" /l"C:\Program Files\Microchip\MPLAB C18\lib" "C:\Program Files\Microchip\MPLAB C18\lkr\18f2620.lkr" "main.o" /m"IO_C18.map" /w /o"IO_C18.cof" Rebuild command line cũng giống như trên. Còn search path thì thêm vào các dòng : Code:
C:\Program Files\Microchip\MPLAB C18\h C:\Program Files\Microchip\MPLAB C18\lib |
![]() |
![]() |
|
|