Цитата(at90 @ Jun 9 2006, 08:07)

Вроде с такой вот штукой скомпилировалось нормально.
#pragma constseg=FAR_F
скомпилироваться-то оно скомпилируется. а будет ли работать?

у меня - нет

занимаюсь тем же самым что и автор темы в 2006-ом году и пришёл к той же проблеме - большие массивы (шрифты для ucGUI) добровольно не хотят размещаться во flash. или дописывать __flash перед константой (и править много-много функций, использующих их), или попробовать вот таким вышеуказанным методом. да, массив разместили во flash, компилятор проглотил. а теперь все эти функции пытаются использовать данные, расположенные совсем не там где надо (отсюда или мусор вместо букв, или пустота).
насколько я понял, происходит вот это (из мануала):
"if you want to place an object in flash, you can use any of the memory attributes __tinyflash, __flash, __farflash, or __hugeflash. The object becomes a flash object, which means you cannot take the address of it and store it in a default pointer.
However, it is possible to store the address in either a __flash pointer or a __generic pointer, though neither of these are default pointers.
Note that if you attempt to take the address of a constant __flash object and use it as a default pointer object, the compiler will issue an error.
If you make an explicit cast of the object to a default pointer object, the error message disappears, instead there will be problems at run-time as the cast cannot copy the object from the flash memory to the data memory.
"
получается, выхода нет? или я неправ?
PS. очень интересно было бы услышать мнение автора темы.. хотя 2006-ой год....