[En-Nut-Discussion] !help! my code just exploded

Dominik Schröder dominik.schroeder at bh-informativ.de
Tue Mar 16 14:26:28 CET 2010


Hi

Problem fixed... puhh... :-)

Sometimes ago I have changed a flag in Makevars.gcc from -Os to -O0. With
the old version (-Os) It works. :-)
But now, how can I set some flags (-O0 -pedantic -std=gnu99) for my
Code/application?
Can I set these Flags in my specific Makefile!?

Best regards

Dominik

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Dominik Schröder
Gesendet: Dienstag, 16. März 2010 13:56
An: 'Ethernut User Chat (English)'
Betreff: Re: [En-Nut-Discussion] !help! my code just exploded

Hi Ole

Yes, your right, I use urom to include two of my websites. I checked my
urom.c file, in my opinion, it`s very large (337Kb). But I think the urom.c
is written automatically by Ethernut!? I thought the Files stored in the
"sample" Folder are converted to urom.c
I have changed nothing on this two websites (The sample Folder with two
websites and two .gif pictures has a size of 75Kb). So how can I influence
the creation of urom.c!?

Best regards

Dominik

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Ole Reinhardt
Gesendet: Dienstag, 16. März 2010 13:30
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] !help! my code just exploded

Hi Dominik,

> I`m curently working with Ethernut 4.9.6
> 
> Until now I don’t have any problems, my system just works fine.
> 
> To use the SPI interface, I set the needed Port and Pins in Ethernut
> configurator. Then I compiled Ethernnut. Then I compiled my application
> (based on httpserv). 

I suppose you use the urom filesystem to include your websites in your
application? supposedly you have included either a large webroot folder
or you forgott to remove backup files or any other crap from your
webfolder.

The webfolder will be converted by the crurom tool into a c file which
is then included in your code. Have you checked how large your urom.c
file got?

Bye,

Ole

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list