Gast
#3788343
Guten Tag,
ich versuche momentan float oder double zahlen mit printf übern UART
auszugeben (Programmiersprache C).
Jedoch fängt der an zu meckern, wenn ich folgenden Programmcode anwende:
[...]
float floatvar;
printf("T1:%f",floatvar);
[...]
oder
[...]
double doublevar;
printf("T1:%Lf",doublevar);
[...]
Die Fehlermeldung:
------------------------------------------
c:\programme\microchip\mplab c30\bin\pic30-coff-ld.exe: Link Error:
region program is full (1-Wire.cof section .text)
data_init: Link Error: Could not allocate section .dinit, size = 308 PC
units, attributes = code
default_isr: Link Error: Could not allocate section .isr, size = 2 PC
units, attributes = code
Link Error: Could not allocate program memory
------------------------------------------
Meine Vermutung: Der PIC hat nicht genug Speicher für diese
Convertierung in printf.
Ich würde ungern auf float und double bei der Programmierung eines PICs
verzichten, deshalb wäre ich für jede Hilfe dankbar!
Grüße,
Heos