MTK platform driver debugging How to debug the driver on the MTK platform 1. makefile MXX_GPRS.mak(mcu\\make) Option.mak(mcu\\make) For the same platform, different projects have different functional configurations. For driver debugging, it is necessary to modify and add some macro switch controls; Basic format and steps: MXX_GPRS.mak: XXX_XXX = XXX XXX_XXX = NONE XXX_XXX = TRUE XXX_XXX = FALSE Option.mak: ifdef XXX_XXX ifneq ($(strip $( XXX_XXX)),FALSE) COM_DEFS += XXX_XXX endif endif XXX_XXX is used in the code to control related codes; #if defined(XXX_XXX) //add code here #endif Take the MT6226(05c) platform as an example: List some switches that are modified more frequently: | |MT6226A |MT6226B |MT6226M |MT6227A |MT6227B ||PLATFORM |MT6226 |MT6226 |MT6226M |MT6227A |MT6227B ||CHIP_VER |S00 |S01 |S01 |S00 |S01 ||LCD_MODULE |Used for LCM Module control; see No.2 for details ||CUSTOM_CFLAGS |If using JTAG for DEBU...
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore