ATmega48. Нужна помощь срочно. Казалось бы простоя штука. __flash char *Mess[10] = { "11111111111111111111111111111111111111111111111111111111\r", . . . . "999999999999999999999999999999999999999999999999999999999\r" }; int main(void) { int k; for(k=0;k<10;++k) out_str(Mess[k]); }
выделяется массив в памяти программ(flash) - но компилятор ругается на RAM - где тут расход оперативки? что то не настроил???
Error[e16]: Segment NEAR_Z (size: 0x13 align: 0) is too long for segment definition. At least 0xa more bytes needed. The problem occurred while processing the segment placement command "-Z(DATA)NEAR_I,NEAR_Z,NEAR_N=_..X_SRAM_BASE-_..X_SRAM_END", where at the moment of placement the available memory ranges were "DATA:2f7-2ff" Reserved ranges relevant to this placement: DATA:100-13f CSTACK DATA:140-15f RSTACK DATA:160-2ff NEAR_I Error while running Linker Total number of errors: 1 Total number of warnings: 0
|