keil modular programming

1. Create a new project folder, and then create user, project, stclib, mylib (src/inc) below

2. New project (D:\Desktop\Modular Programming)

Three, create and copy files

  • .h–>inc、
  • .c–>src、
  • Copy stc15.h to stclib (D:\c51\C51\INC\STC)
  • Create a new main.c under user

Four, add a group, associate files

Insert picture description here

Insert picture description here
Insert picture description here

Five, add path

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_45618376/article/details/114850206