After configuring the required MCAL modules, configuration verification and code generation can be performed. The toolbar of the MCAL configuration tool is shown in Figure 7.64. Among them, the second button from the right is "Verify selected project", and configuration verification will be performed after clicking. The first button from the right is "Generate Code for the currently selected project". After clicking, the MCAL code will be generated.
Figure 7.64 Toolbar of MCAL configuration tool
The final configuration code generated by the MCAL project is shown in Figure 7.65.
Figure 7.65 The final configuration code generated by the MCAL project