Purpose: Its main function is to debug and track and test
Mainly includes: Mt_task, Mt_zdo_func and other MT compile options
lcd_supported, Lcd_supported=debug, blink_leds
And look at the text to explain each;
Mt_task
This compileoption enables the device is able to the Z-tool PC application, Andto is able to output minimal Deb UG informationusing the Debug_str () function. Removing this saves some code and RAM usage.
What to do: function, call functions
Note: This will increase the size of the code and RAM space, which is prudent for 8-bit machines, especially for large stacks such as the protocol stack.
Mt_zdo_func and other Mtcompile options
Mt_zdo_func is a example of acompile option that enables the ZDO
Commands to is used with Z-tool. Most devices wouldnot need all of
The monitor test commands to beenabled. Each ZDO command can
Enabled Individuallyin ZDConfig.h. Selectivelyenabling requests that
Need to is in the application minimizes code usage. See the Z-stack
Compile Options Document Formore information on the different MT
Compile options.
lcd_supported
This turns the displaying debug trace information on
Development Boardsthat Support an LCD. Ondevelopment Kit Hardware
Platforms that does not Supportlcds, setting lcd_supported enables
Sending information to Theserial Port (since it does not has an LCD
Display). Enabling this compileoption uses a significant portion of RAM.
Lcd_supported=debug
Setting Lcd_supported=debugenables sending information to both
The LCD and SerialPort, so code is actually larger. On platforms this do
Not support LCDs, debug information are only sent to the Serial Port,
Therefore using less code.
Blink_leds
The blink_leds compile Optionenables extended LED functionality at
The expense of Extracode and RAM space.
See the Z-stackcompile Options document for more information.
Note the difference between the following two compilation options, in fact, in many cases the use of these values is not
Very large, but useful for debugging, such as grabbing a bag with the sniffer tool.
Talk less, look at the English document is the kingly way.
Compile options--Compilation Options