16 lines
453 B
Markdown
16 lines
453 B
Markdown
|
# Sources for compiling a lib devoted to use Serial port 3-pins of CG10/20/50
|
||
|
|
||
|
just run `make` in the root directory of the project.
|
||
|
it will produce the library `libserial.a`
|
||
|
|
||
|
installation into the right compiler folder is not automatic.
|
||
|
|
||
|
So you need to copy `libserial.a` in the lib folder of sh-elf-gcc compiler
|
||
|
and the file `include/serial.h` into the include directory
|
||
|
|
||
|
`make clean` cleans all the `.o` and the library from the sources folders.
|
||
|
|
||
|
|
||
|
|
||
|
|