Content originally posted in LPCWare by lpcxpresso-support on Sun May 10 11:57:18 MST 2015
Normally, there is no need to manually declare the buffer in your main code => If you use the LPCXpresso project wizard, a file called mtb.c is created within the project, with the size of the buffer controlled by the project define __MTB_BUFFER_SIZE. In addition the MTB buffer can be excluded from a build by defining __MTB_DISABLE.
Anyway, if you are having problems with your MTB buffer being detected, I suggest that you post the full file containing your buffer definition, plus the linker map file generated when you built your project (normally in the Debug/Release subdirectory).
Regards,
LPCXpresso Support