You need to log in to create posts and topics.

SDCC for pic at new version

dear my freind

i can't compile SDCC for PIC like befor look at the picture with the version 1.2.0 RC1

at file setting --> compiler the SDCC-PICAsem51 at the same line

can you please fix this

many thanks

MedTronic

@arcachofo  where are you sir

Hi Medtronic.

Thanks for reporting, I will fix it as soon as possible.

As a workaround you can change the name of the compiler in a way that it is before in the list.
For example edit file data/codeeditor/compilers/compilers/sdcc-PIC.xml and change to: name="0_SDCC-PIC"

<compiler name="0_SDCC-PIC" type="sdcc" buildPath="build" >

 

i test what you say .... the compiler it appear but can't copmpile as befor .... the compiler run but cat' generate a hex file

thanks in adavnced

I think the best you can do is to move the sdcc-PIC.xml that was working for you to your "user data folder":
your_data_folder/codeeditor/compilers/compilers/sdcc-PIC.xml

i make what you said

the following is the output after compiling

-------------------------------------------------------

Executing:

"D:/SDCC/bin/sdcc" --use-non-free -mpic14 -p16f628a -o"D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\" "D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/Test.c"

D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:87:Message[1304] Page selection not needed for this device. No code generated.

D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:122:Message[1304] Page selection not needed for this device. No code generated.

D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:124:Message[1304] Page selection not needed for this device. No code generated.

D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:132:Message[1304] Page selection not needed for this device. No code generated.

D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:134:Message[1304] Page selection not needed for this device. No code generated.

message: Using default linker script "d:\Program Files\gputils\lkr\16f628a_g.lkr".

warning: Relocation symbol "_cinit" [0x0000] has no section. (pass 0)

warning: Relocation symbol "_cinit" [0x0004] has no section. (pass 0)

warning: Relocation symbol "_cinit" [0x001E] has no section. (pass 0)

warning: Relocation symbol "_cinit" [0x0022] has no section. (pass 0)

warning: Relocation symbol "_cinit" [0x0000] has no section. (pass 0)

warning: Relocation symbol "_cinit" [0x0004] has no section. (pass 0)

warning: Relocation symbol "_cinit" [0x001E] has no section. (pass 0)

warning: Relocation symbol "_cinit" [0x0022] has no section. (pass 0)

 

what is the problem

 

please help

best regards

MedTronic

Thanks @arcachofo

the problem is solved

Best Regards

MedTronic

arcachofo has reacted to this post.
arcachofo