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,
0xc0170

posted by Martin Kojtal 03 Feb 2014

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
Be the first to answer this question.