Program size

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
Post Reply
ajneal4uk
Posts: 22
Joined: Sun Mar 03, 2013 10:30 pm
Has thanked: 1 time
Been thanked: 1 time
Contact:

Program size

Post by ajneal4uk »

Hi Matrix team;

As my arduino runs out of program space i thought that a possible solution would be to only compile C code that is used.

Please correct me if i'm wrong

I noticed that component parts that i was not using were still compiled to C code. Maybe a check box system or auto detection could be included in the component macro that would ignor unused parts of the code.

For example if i don't use "LCD clear" then why do i need to include the LCD clear routine?


Andy

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Program size

Post by Benj »

Hi Andy,

The LCD clear is called as part of the initialise routine. The compiler should strip out any C functions you do not actually use in your program.

Post Reply