MCCのビルドが通った・・・なぜ??
ダメ元でMCCを先に起動して必要機能とピンの割り当てを
設定してGenerate Codeボタンを押してコード生成を行った
す・・・る・・・と!!
ビルドサクセスが表示された。
以下ビルドメッセージ
----------------------------------------------------------
:: warning: (1273) Omniscient Code Generation not available in Free mode
C:\Program Files (x86)\Microchip\xc8\v1.44\sources\common\doprnt.c:541: warning: (373) implicit signed to unsigned conversion
mcc_generated_files/eusart.c:77: warning: (520) function "_EUSART_Read" is never called
mcc_generated_files/eusart.c:106: warning: (520) function "_getch" is never called
mcc_generated_files/pin_manager.c:94: warning: (520) function "_PIN_MANAGER_IOC" is never called
Memory Summary:
Program space used 86h ( 134) of 4000h words ( 0.8%)
Data space used Bh ( 11) of 3F0h bytes ( 1.1%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Data stack space used 0h ( 0) of 3F0h bytes ( 0.0%)
Configuration bits used 2h ( 2) of 2h words (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
You have compiled in FREE mode.
Using Omniscient Code Generation that is available in PRO mode,
you could have produced up to 60% smaller and 400% faster code.
See http://www.microchip.com/MPLABXCcompilers for more information.
make[2]: Leaving directory 'C:/Users/ryotank-GGH/MPLABXProjects/16F1938_EUART_Part1.X'
make[1]: Leaving directory 'C:/Users/ryotank-GGH/MPLABXProjects/16F1938_EUART_Part1.X'
BUILD SUCCESSFUL (total time: 4s)
Loading code from C:/Users/ryotank-GGH/MPLABXProjects/16F1938_EUART_Part1.X/dist/default/production/16F1938_EUART_Part1.X.production.hex...
Loading completed
---------------------------------------------------------------------------------------------------------------------
上記のようにこれからは
MCCで必要な機能等を設定してGenerate Codeボタンを押してコード生成をしようと思う
これからはこの方法でどんどんプログラムが組めそうだあ