Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 10 months ago.
Offline compiler issue with HTTP Client and LPC1768?
Is that a bug?
To reproduce:
- In the online compiler, with the C027 as selected device, select "New Program"
- Select "HTTP Test Client" as template.
- Pressing "Compile" works
- Select "Export Program", choose "GCC (ARM embedded)"
- Unpack download
- Type make
Results into:
/usr/local/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: HTTP2.elf section `.AHBSRAM1' will not fit in region `ETH_RAM' /usr/local/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: region `ETH_RAM' overflowed by 256 bytes
Hello Stefan Vaillant,
the online compiler uses ARMCC compiler (the one used in uvision or ds-5). As you exported to ARM GCC, the size can vary. Not to mention the settings set for each compiler as optimization, various flags which are not always available for both.
This could be also related to your other question, I'll have to check info posted there.
Regards,
posted by Martin Kojtal 03 Feb 20140xc0170
The issue is not specific to the C027 specifically so I've altered the title of the question and moved it to the general Q&A area.
posted by Stephen Paulger 04 Mar 2014