FORUM TOPIC · READ ONLY

Link Error: Could not allocate data memory

Link Error: Could not allocate data memory

Forum : General Remark and Questions

1 message(s) · archive en lecture seule

coolj
xxxxxx.o: Link Error: Could not allocate section .nbss, size = 64 bytes, attributes = bss near

Link Error: Could not allocate data memory


Link step failed.



If you're trying to compile source files in MPLAB (for debugging purposes) that compile fine in Matlab, but run into the error above, try enabling "Large data model" under Build Options -> Project -> MPLAB C30 -> Memory Model



Hope that helps!



Justin

Pièce jointe : large_data_model.gif