[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] RE: [lwip] Using lwIP with CS8900A on Atmel 89C51
From: |
DASILVA VINCENTE BIT |
Subject: |
[lwip-users] RE: [lwip] Using lwIP with CS8900A on Atmel 89C51 |
Date: |
Wed, 08 Jan 2003 23:56:57 -0000 |
Hello
I have ported lwip with ucOS as the HAL to 8051 with Keil 6.20c.
I am having problems with the optimisation, the only way I can fit the code
into 64k is with optimisation level 9. When running the program there seems
to be bugs in the code generated by the compiler.
Could you tell me more about the statement you made
I have to compile using level 6 'cause my emulator (that I usually
steal at the end of the day :-)) doesn't work with higher levels.
Thanks
Vicente
-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: 05 February 2002 05:00 PM
To: address@hidden
Subject: Re: [lwip] Using lwIP with CS8900A on Atmel 89C51
Hi,
this is a small code size report (Keil 6.22, optim. level 6):
Libraries and misc:
?C_INITSEG 3554 bytes
?C?LIB_CODE 2079 bytes
?C_C51STARTUP 140 bytes
?CO?HTTP 111 bytes
?CO?CS8900A 5 bytes
Total: 5789 bytes
lwIP:
_main.lst(10292): CODE SIZE = 226
arp.lst(5158): CODE SIZE = 2044
Cs8900a.lst(5498): CODE SIZE = 476
datarate.lst(6156): CODE SIZE = 683
ethernet.lst(8719): CODE SIZE = 2611
http.lst(7950): CODE SIZE = 1691
icmp.lst(5517): CODE SIZE = 1519
inet.lst(2867): CODE SIZE = 1404
ip.lst(9334): CODE SIZE = 2248
ip_addr.lst(1405): CODE SIZE = ----
lib_arch.lst(704): CODE SIZE = 173
mem.lst(4574): CODE SIZE = 2551
memp.lst(11191): CODE SIZE = 1812
netif.lst(2938): CODE SIZE = 303
pbuf.lst(6318): CODE SIZE = 3821
serial.lst(1297): CODE SIZE = 29
stats.lst(1876): CODE SIZE = 14
sys.lst(1374): CODE SIZE = ----
sys_8051.lst(1646): CODE SIZE = 27
tcp.lst(12737): CODE SIZE = 5507
tcp_in.lst(17362): CODE SIZE = 11275
tcp_out.lst(11724): CODE SIZE = 6425
timer.lst(1117): CODE SIZE = 251
Total: 39310 bytes
I left some stuff like printf, putchar, ...
I have to compile using level 6 'cause my emulator (that I usually
steal at the end of the day :-)) doesn't work with higher levels.
Andrea
[This message was sent through the lwip discussion list.]
[This message was sent through the lwip discussion list.]
- [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51, Andrea Olivotto, 2003/01/08
- [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51, Bilal Muddassir, 2003/01/08
- [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51, address@hidden, 2003/01/08
- [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51, Wing Kent Kwan, 2003/01/08
- [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51, Adam Dunkels, 2003/01/08
- [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51, Andrea Olivotto, 2003/01/08
- [lwip-users] RE: [lwip] Using lwIP with CS8900A on Atmel 89C51,
DASILVA VINCENTE BIT <=
- [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51, Adam Dunkels, 2003/01/09
- [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51, Adam Dunkels, 2003/01/09