Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

C51: #pragma STRING(XDATA) fatal-error

$
0
0
I am having the problem that my program now uses 32kb which means the memory is full. void print(char *x) { while(*x) { SerialWrite(*x++);} } SerialWrite looks like: void SerialWrite(unsigned char c) { while(tx_buffer_size>250); ES=0; tx_buffer_size++; if (tx_buffer_empty == 0){ txBuffer[tx_in++] = c;} else { tx_buffer_empty = 0; SBUF = c;} ES=1; } //I

Viewing all articles
Browse latest Browse all 3049

Trending Articles