An application that creates the basic files needed for writing a new driver in a layered architecture with some file guards.

sample image
Here is the link to the source code on github.
Short Description
This python script consists of four main functions.
DriverCreator:
This is the main function that checks for the user input for the layer in which the driver will be implemented “MCAL, HAL, APP, LIB, SRV, MEM, OS” if the input is correct it goes to the next function, if not it displays an error message. Note: you need to have the layered architecture folders existing, this will be solved later.
DriverFolder:
This function checks the user input for the name of the driver and creates a new folder with that driver name (XX_DriverName) as XX is the numbering system for the folders in the same layer.
DriverFiles:
This function creates the 5 main files for the driver “interface.h, config.h, private.h, register.h & program.c”, adds file guards to the “.h” files and includes them into “.c”.
FileHeader:
This function adds a comment on the header of each file with the current date, the version which will be 1.0 and the name of the author as a user input.