AboutMTK driver developmentA brief overview is the content to be introduced in this article, mainly to understandMTKOfDriver developmentAbout someDriver developmentFor more information, see the detailed description.
1. Configure NAND and PSRAM
The definition of MCP can be found in Custom_MemoryDevice.h. It is worth noting that all MCP can only be in the Memory Select List of MTK (an Excel table, under the MemoryDeviceList directory of Tools );
2. GPIO Configuration
After 07A, you can directly use Drvtool. It is worth noting that they are based on all *. dws file to automatically generate the GPIO configuration file, so when the configuration is correct, delete all other dws files in this directory;
3. LCD driver development
After getting the driver code from the LCD manufacturer, you can fill in the blanks to transplant all LCD functions, mainly initialization functions and BlockWrite functions. The same LCD function uses a uniform prefix, in this way, MainLCD can directly select different LCD unified functions based on the LCD type to reduce the workload for future maintenance;
4. About ScatterFile
5. Makefile
Summary: AboutMTK driver developmentThe summary is complete.MTKOfDriver developmentDoes learning have a certain learning foundation? Finally, I hope this article will help you!