I’ve tried first to compile only “ks0108_c_example”. An error message told me that “MIOS_BIN_PATH” variable was not set. So I create it in User Variables. The error message disappeared and I got this output message:
rm -rf _output/*
rm -rf _output
rm -rf *.cod *.map *.lst
rm -rf *.hex
mkdir -p _output
sh ./bin/mios-sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimize-goto --optimize-cmp --disab
le-warning 85 --obanksel=2 -pleave-reset-vector -I./src -I ./include/c -I ./modules/glcd_font -DDEB
UG_MODE=0 modules/libdev/pic18f452.c -o _output/pic18f452.o
Processor: 18f452
./bin/mios-gpasm modifies _output/pic18f452.asm, result in _output/pic18f452__mios-gpasm-tmp.asm
sh ./bin/mios-gpasm -c -p p18f452 -I./src -I ./include/asm -I ./modules/app_lcd/ks0108 -I ./modules/
glcd_font -DDEBUG_MODE=0 -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -I ./modules/mios_wrapper module
s/mios_wrapper/mios_wrapper.asm -o _output/mios_wrapper.o
sh ./bin/mios-gpasm -c -p p18f452 -I./src -I ./include/asm -I ./modules/app_lcd/ks0108 -I ./modules/
glcd_font -DDEBUG_MODE=0 modules/app_lcd/ks0108/app_lcd.asm -o _output/app_lcd.o
sh ./bin/mios-sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimize-goto --optimize-cmp --disab
le-warning 85 --obanksel=2 -pleave-reset-vector -I./src -I ./include/c -I ./modules/glcd_font -DDEB
UG_MODE=0 main.c -o _output/main.o
Processor: 18f452
./bin/mios-gpasm modifies _output/main.asm, result in _output/main__mios-gpasm-tmp.asm
sh ./bin/mios-gpasm -c -p p18f452 -I./src -I ./include/asm -I ./modules/app_lcd/ks0108 -I ./modules/
glcd_font -DDEBUG_MODE=0 modules/glcd_font/glcd_font_big.asm -o _output/glcd_font_big.o
sh ./bin/mios-gpasm -c -p p18f452 -I./src -I ./include/asm -I ./modules/app_lcd/ks0108 -I ./modules/
glcd_font -DDEBUG_MODE=0 modules/glcd_font/glcd_font_knob_icons.asm -o _output/glcd_font_knob_icon
s.o
gplink -s ./etc/lkr/p18f452.lkr -m -o project.hex _output/pic18f452.o _output/mios_wrapper.o _output
/app_lcd.o _output/main.o _output/glcd_font_big.o _output/glcd_font_knob_icons.o
Do you think it’s OK? Can I integrate my code?
Best regards,
nsunier