- This topic has 0 replies, 1 voice, and was last updated 1 month, 2 weeks ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
(This message was transferred over from our old forum)
Posted August 19, 2015
By Todd DeBoer
[hr]
On 5/29/12 laurent asked, “I just migrates to µEZ 2.00, and I have to change “UEZPlatform_Console_Expansion_Require” function in CARRIER_LPC1788.c file to use the UART2 (instead of UART0) as debug UART.
I also had to use level 3 instead of level 0 in KEIL 4.50 in order to build the emWin demo. With level 0, too big code size !”
[hr]
(Follow up post)
Answered:
Yes, the standard FDI demo is getting quite big (and packed at that!). On the IAR compiler, we have a flash bootloader that can off load the graphics to the external NOR flash, but the Keil compiler currently does not have a solution (would be great if the community had one). In any case, if you need to to get back to Level 0 (for easier debugging), you can disable sections of the code in the Config_Build.h file as follows:
#define APP_DEMO_EMWIN INCLUDE_EMWIN
#define APP_DEMO_YOUR_APP 1
#define APP_DEMO_COM 1
#define APP_DEMO_DRAW 1
#define APP_DEMO_APPS 1
#define UEZ_ENABLE_TCPIP_STACK 1
#define UEZ_ENABLE_USB_HOST_STACK 1
Setting any of these to zero turn off the appropriate feature.
Additionally, if there are demos on the main menu you do not need, you can turn them off by removing them from MainMenu.c