codeblocks+SDCC+proteus仿真51
codeblocks
SDCC:Small Device C Compiler
打开codeblocks,配置SDCC:
-
setting--->compiler setting
-
选中Small Device C Compiler
3.Toolchain executables选中SDCC安装目录
4.
Search directories的compiler选项卡选中SDCC安装目录下的include文件夹,linker选项卡选中SDCC安装目录下的lib文件夹
创建MCS51项目:
最终效果: