You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appear to be two different sets of errors when trying to compile this on a fresh install.
I am trying to use a PIC32 Ethernet demo board and I get the following compile errors:-
data_init: Link Error: Could not allocate section .dinit, size = 8 PC units, attributes = code
data_init: Link Error: Could not allocate section .dinit, size = 8 PC units, attributes = code
Link Error: Could not allocate program memory
Digging around it seems the crt0.S has changed and added a new digit section taken from the release notes.
What I am not sure about is which sections to take across from the old crt0.s to the new one to get this to compile correctly.
These lines also needed to be added into the boot-linkerscript.ld to stop it producing errors.
There appear to be two different sets of errors when trying to compile this on a fresh install.
I am trying to use a PIC32 Ethernet demo board and I get the following compile errors:-
data_init: Link Error: Could not allocate section .dinit, size = 8 PC units, attributes = code
data_init: Link Error: Could not allocate section .dinit, size = 8 PC units, attributes = code
Link Error: Could not allocate program memory
Digging around it seems the crt0.S has changed and added a new digit section taken from the release notes.
What I am not sure about is which sections to take across from the old crt0.s to the new one to get this to compile correctly.
These lines also needed to be added into the boot-linkerscript.ld to stop it producing errors.
.debug_varnames 0 : { *(.debug_varnames) }
.debug_pubtypes 0 : { *(.debug_pubtypes) }
.debug_range 0 : { *(.debug_ranges) }
The text was updated successfully, but these errors were encountered: