The tool I use is HI-TECH PICCME, so I choose "HI-TECH PICC".
3. Next, select the calling path of the compiler component in "Tool Name". Here, you need to set the "PICC Compiler" (C compiler), "PICC Assembler" (assembler) and "PICC Linker" (linker).
3. Set node properties. Since FLASHA.C has other related source programs that need to be added, you should select "PICC Linker" in the "Language Tool" column.
This project has two nodes: fla.c and flasha.c. Select the node and click "Node Properties" or double-click the node to enter the node property settings.
5. The tool for the node file should be "PICC Compiler" (C compiler). The 4 items in the blue circle are: 1) Display debug information; 2) Local optimization; 3) Global optimization; 4) ICD compilation accessories. Selecting optimization will make the program code more reasonable and reduce the resource usage. Similarly, if you are not using ICD, the 4th item should not be selected.
The following is the interface of successful compilation: the blue box contains the compilation success information; the red box displays the resource usage.