Generate MCC Drivers Step 9 - Click on the Generate code button to have MCC create the software libraries for this project. Step 10 - The project will now have both generated Header Files and Source Files. It should also have a generated main.c file. Note: MCC may offer to generate a main.c file . Click on YES to allow it to complete this task.