Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/docu/README.txt @ 193:652e17b6267a
Minor fixes.
author | JeanDo |
---|---|
date | Sat, 12 Feb 2011 01:16:47 +0100 |
parents | c8816e4bc724 |
children | ba5309c01dd7 |
comparison
equal
deleted
inserted
replaced
192:c8816e4bc724 | 193:652e17b6267a |
---|---|
34 <my_source_path>/code_part1/OSTC_code_c_part2/p2_deco.o | 34 <my_source_path>/code_part1/OSTC_code_c_part2/p2_deco.o |
35 | 35 |
36 (or use the .c instead of the .o if you have the C18 compiler) | 36 (or use the .c instead of the .o if you have the C18 compiler) |
37 | 37 |
38 - If you want to compile C code, configure it: | 38 - If you want to compile C code, configure it: |
39 Project > Build Options... > Project > MPLab C18 | 39 Menu: Project > Build Options... > Project > MPLab C18 |
40 General: Default storage = Overlay (-sco) | 40 General: Default storage = Overlay (-sco) |
41 Optimization: Enable all | 41 Optimization: Enable all |
42 | |
43 - Make sure the IDE is configured to find the clib.lib file | |
44 (needed even with pé_deco.o) | |
45 Menu : Project > Build Options ... > Project > Directories | |
46 Set «Search Directories» for : «Library Seach Path» to the path of the | |
47 “clib.lib” file (in c:\Program Files\Microship\MCC18\lib in my case) | |
48 Set «Build Directory Policy» to «Assemble/Compile in source-file directory, link in output directory» | |
42 | 49 |
43 - Hit F10 to recompile everything. | 50 - Hit F10 to recompile everything. |
44 --> You should get a .hex file where you saved your project. | 51 --> You should get a .hex file where you saved your project. |
45 | 52 |
46 | 53 |