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.
Networking does not fit
The TCP examples given here do not fit on the lpc1768, the builder says the TCPSocket_HelloWorld uses 35k of ram and I have 32K.
I know sockets used to run, and I have used NetServices which no longer builds as well.
The question is what happened???
Question relating to:
2 Answers
10 years, 10 months ago.
Ok thanks for that, but then how do I know when I'm going to run out of said ram LOL.
10 years, 10 months ago.
Does it actually say it cannot compile, or is it just that it says it uses 35k out of 32k RAM? It should just be that, that it says it uses too much RAM, but it compiles fine. If it actually doesn't fit on compile time it will generate an error.
The 'problem' is that the LPC1768 has 32k general purpose RAM, and with the ethernet library 35k is used totally. However a significant part of that is used in the 16k RAM reserved for ethernet, and the build details doesn't take that into account, but it should work fine.