Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-12

Constants

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Carsten Bager

Hi
I am compiling for an embedded ARM processor and I am running out of data space. Is there a way to keep string constants in the code (they are automatically copied to the data segment).

Another problem is, I can not read anything below the data start address

data_c:array[0..4] of char Absolute $1; -- Write(data_c); -- This will read something from the data segment (data begin +1), it should be reading from the flash ram. Is this a compiler problem? Regards Carsten

Reply by email

Carsten Bager

Hi
I am compiling for an embedded ARM processor and I am running out of data space. Is there a way to keep string constants in the code (they are automatically copied to the data segment).

Another problem is, I can not read anything below the data start address

data_c:array[0..4] of char Absolute $1; -- Write(data_c); -- This will read something from the data segment (data begin +1), it should be reading from the flash ram. Is this a compiler problem? Regards Carsten

Reply by email